orgcode-ai
v0.2.0
Published
OpenCode plugin for the ORGCODE senior/techlead/manager workflow.
Downloads
1,172
Readme
ORGCODE
ORGCODE is an opinionated multi-agent workflow plugin for OpenCode. It adds three specialized agents and a task tracker to your OpenCode project:
- Manager — plans, assigns, and orchestrates the workflow.
- Senior — implements features using TDD.
- Techlead — reviews the senior's output.
Quick start
Make sure you have a project folder with OpenCode already initialized.
Create or open your
opencode.jsonfile in the project root.Add
orgcode-aito thepluginarray:{ "$schema": "https://opencode.ai/config.json", "plugin": ["orgcode-ai"] }Save the file and restart OpenCode.
OpenCode will automatically download and install the ORGCODE plugin from npm.
In your OpenCode session, type
/orgcodeto start the workflow.
No npm install, no cloning, no manual setup is required.
Install
ORGCODE is published on npm. OpenCode auto-installs npm plugins, so you do not need to clone this repository or run any install command yourself.
Step 1: add the plugin to your OpenCode config
Open opencode.json in your project root and add "orgcode" to the plugin array:
{
"$schema": "https://opencode.ai/config.json",
"plugin": ["orgcode-ai"]
}Step 2: restart OpenCode
Quit and restart OpenCode. The plugin will be downloaded and installed automatically.
Step 3: verify it loaded
Type / in the OpenCode prompt. You should see /orgcode and /orgcode_yolo in the command list.
Usage
Checkpoint mode
Run one full task cycle at a time and ask for confirmation before continuing:
/orgcodeAutonomous mode
Run continuously until all tasks are done or an error occurs:
/orgcode_yoloRun only specific tasks:
/orgcode_yolo feat-001 feat-002Missing or already-done tasks are skipped automatically.
Creating tasks
Before running /orgcode, create at least one task in the .orgcode/tasks/ folder.
Tasks are Markdown files with a TOML frontmatter block:
+++
[task]
id = "feat-001"
title = "Add user authentication"
status = "todo"
assignee = "senior"
priority = "high"
+++
# Add user authentication
Implement email/password authentication.Allowed values:
status:todo,in_progress,in_review,doneassignee:manager,senior,techleadpriority:low,medium,high
Agents manage tasks through the orgcode_task custom tool. Do not edit task files directly unless you have to.
Workflow
- Manager lists tasks and picks the next
todoone. - Manager assigns it to the senior agent.
- Senior implements the feature using TDD.
- Manager assigns it to the techlead agent.
- Techlead reviews and either approves or lists issues.
- If issues are found, the task goes back to the senior.
- Once approved, the manager marks the task as
doneand moves to the next one.
Development
These commands are for contributors working on the ORGCODE plugin itself:
vp install
vp test
vp check
vp packLicense
MIT
