Skip to content

Projects

This guide is part of what your agents work on.

A project is a ledger of one piece of work. It keeps the context, plans, decisions, and handoffs for every agent that you use. It also lists the folders that the work uses and the agent threads that worked on it. One lead and up to 4 live workers can work in it at the same time. The owner can change that limit. A new session starts where the last one stopped. A project does not limit where an agent works. shadowclone is not a harness. Each agent stays in its own tool.

  1. In the folder where the work starts, ask your agent to start a project, or run shadowclone project create "<name>" "<goal>". Or open shadowclone project open and select Start a project here. The folder does not need to be a Git checkout. The command prints the project ID and the command that opens it. Add --json to print the full project record. If a Claude Code or Codex session runs the command, that session becomes the lead.
  2. That folder is the main folder of the project. If the work also changes another folder, run shadowclone project link "<name>" in it, or give the folder: shadowclone project link "<name>" ~/code/docs-site. To remove a folder, run shadowclone project unlink "<name>" <folder>.
  3. Any number of projects can use the same folder. Each project is one piece of work, not one repository.
  4. Shadowclone keeps the context in a private Git folder: ~/.shadowclone/projects/<project-id>/context/.
File What it holds
project.md What the project is, and where it is now
instructions.md Rules that every agent follows in this project
plans/ One Markdown file for each plan
decisions.md Each decision, with its date and its reason
sessions/ One handoff for each session
files/ Designs, images, and references

Only the agents in a project use it: the lead, and the workers that the lead starts. A session that you open for other work hears nothing about a project, even in a project folder. An agent gets the path of the context, never its text. It reads only the files that its task needs.

  • Seated sessions: the lead and each worker get the context path with their seat.
  • By name: tell any agent the project in your own words, such as “continue the cart fix project”. The agent runs shadowclone project list to find the match, then shadowclone resume "<name>". This gives it the context path, but no seat.
  • In a sandbox: an agent that cannot read the context folder calls the shadowclone_project_context MCP tool.

An agent never creates a project on its own. If the task is new work that needs several agents, the skill lets it propose a name and a goal. It creates the project only after you agree.

To turn projects off, run shadowclone project off. Then shadowclone project here says that projects are off, and agents do not propose or lead projects. Run shadowclone project on to turn them on again.

Before an agent stops, it writes a handoff in sessions/. When a live session stops, shadowclone commits the changes in the context folder of each project that uses its folder. Each of your edits is one commit too. Shadowclone redacts recognized secrets before each commit.

The board shows the steps of every plan in the project. An open step (- [ ]) is free. A step that a session took shows that session’s name. A checked step (- [x]) is done.

  1. An agent runs shadowclone project board to see the steps.
  2. The lead or a worker takes a step with shadowclone project claim "<start of the step>". The step records its role, such as worker-2 (Codex). If another agent has it, the command names that agent and takes nothing. A session without a seat cannot take a step.
  3. If several projects use the folder, project board lists them and shows nothing. Name one: shadowclone project board "<name>".
  4. It checks the step in the plan when the work is done, or runs shadowclone project release "<start of the step>" when it stops early.

A claim ends after 24 hours. A member without a shell uses the takeStep and giveBackStep actions of shadowclone_project_work. Your phone shows the open work of each project on the hub board.

Run shadowclone project open, or ask the lead to show you the page. The command opens the page in your browser, prints its address, and returns. The Projects page lists what needs you across all projects, then one card for each project. The Overview page in the bar counts these items next to your skills and clones. The queue shows plan decisions and live session questions. It also shows clone questions that you answer there, clone pull requests ready for review, and folders that a session used without a project. Add such a folder to a project, or dismiss it.

  • Overview: where the project is, what needs you, the live sessions, the latest handoffs, and the note that agents get.
  • Plans: each plan file. Open a plan to read the part for you or the part for the next agent. Click any part to edit it as Markdown. Click outside it to save, or press Esc to cancel. Answer a decision with one click. If an agent changed the file while you edited it, the page shows both versions and you keep one.
  • Board: the plan steps that are open, in progress, and done. An agent takes a step before it starts, so no other agent starts the same work.
  • Sessions: the handoffs of past sessions, the threads that worked on the project, and the live sessions, as the sections below describe. Each thread shows its folder and the command that reopens it, such as claude --resume <id>. Shadowclone keeps only that pointer, never the transcript.
  • Knowledge: the instructions, the decisions, the files, and the folders. Add or remove a folder there.

The Sessions view: the lead and its workers, and project chat with the updates that workers send

A project has one lead and any number of worker seats, with up to 4 workers live at once. Each one can be Claude Code, Codex, or an IDE agent such as Cursor.

  • You talk to the lead. Give the lead your context and goals. The lead passes each worker the context that its step needs, and it owns the result.
  • The creator leads. Turn on live sessions. The Claude Code or Codex session that creates the project takes the lead seat. If the lead session ends, tell another session “lead the cart fix project”. It runs shadowclone project lead "<name>", which takes the lead seat only while no live session holds it.
  • The lead starts its workers. The lead runs shadowclone project spawn claude|codex "<task>". Shadowclone uses an empty seat of that engine, or adds one such as worker-3. It starts the agent in tmux, and prints the tmux attach command. With --background, the agent runs headless with its own permission settings, and its output goes to a private log. With --folder <directory>, it starts in another checkout or worktree. No other session can join.
  • A worker limit. A project allows 4 live workers. The lead cannot start a fifth until one ends. Change the limit with shadowclone project action <id> '{"operation":"setMaxWorkers","count":<n>}'.
  • You can still add seats. Run shadowclone project add-worker <id> claude|codex|mcp. Then attach a running session or start one on the Sessions view.
  • Add an IDE agent. Select Add an IDE agent worker on the Sessions view, or run shadowclone project add-worker <id> mcp. Give the one-time code to the agent.
  • Workers take steps under their role. A worker uses the takeStep and giveBackStep actions of shadowclone_project_work. The project records its role and engine, such as worker-3 (Codex), and only that worker or you can give the step back.
  • Workers report on their own. The lead gets a one-line update in project chat for each change. A change is a worker that starts, takes a step, finishes a step, gives a step back, or ends its session. The lead does not poll the workers unless you ask.
  • Remove a worker. Select Remove on an added worker. Its threads stay in the history.

shadowclone does not create branches or worktrees for workers. Claims stop two agents from taking the same step, but not from editing the same files. Decide how workers share the repository, and tell the lead.

The live pair from shadowclone live pair stays between the lead and the first worker. Other workers use project threads.

Ask your agent, “Use shadowclone Projects and have Codex check the cart calculation.” The Projects skill ships with the plugin and with every agent build.

  1. In a project, select IDE agent (MCP) for any role that uses an existing IDE thread.
  2. On the same machine, configure that agent to run the local MCP server with command shadowclone and argument mcp.
  3. Select Get join code on the intended seat. Paste the instruction into that agent’s private session. It expires after five minutes.
  4. Keep talking to the lead. The lead assigns the step. The worker uses its inbox, claims the step and reports the result.

You can also run shadowclone project invite <id> <role> in your terminal, with a role such as lead, worker, or worker-2. Issuing another code replaces the unused code. Detaching the seat revokes its member key. This connection works with live session capture off. The selected agent and its provider can see the code you give them.

Host Start or reuse your agent
Rex Use the current terminal, or run rex new --cwd "$PWD" -- codex for a new Codex session. Use claude to start Claude Code. Rex CLI
cmux Use the current surface, or run cmux new-surface --type terminal --working-directory "$PWD" --command codex inside the workspace. cmux CLI
T3 Code Open a thread with your chosen provider. An authorized external lead can use T3 Code’s own MCP tools to launch a supported provider thread. The new agent needs the local shadowclone MCP server to join. T3 Code outside agents
Other MCP clients Start the agent in its own host. Give its thread access to the local server and a code for the selected seat.

If the IDE shows a tool approval, approve the requested Projects operation in that IDE. A remote-only client needs access to an MCP server on the project machine. Project messages never use the hub.

  1. Install the shadowclone MCP plugin in Claude Code and Codex.
  2. Run shadowclone live enable. Live hooks record session status and the last agent message. Your connected hub can already read these summaries.
  3. Start or restart the native sessions in the project folder. If you use Codex, approve the installed hooks.
  4. Run shadowclone project open in that directory. Select Start a project here. Enter a name and a task, such as “Find the checkout delay and test the fix.”
  5. Choose the lead and first worker engines. Either engine can lead. To start a missing session, select Allow local agent launches.
  6. Select Create project. For each role, choose the intended session and select Attach session. Or select Start here to run that engine in tmux.
  7. Send “Read my project inbox” in each attached native session. Its next top-level hook gives that agent a private invitation. Keep the invitation in that session.
  8. Message the lead in Project chat. Ask it to investigate the delay and assign the reproduction to a worker.

The lead can assign steps under your goal. A change of scope needs your decision. Native permission and login prompts stay in the original terminal. A project-launched agent uses its own provider account.

Select a thread to see its recipient, messages, and assignment state. Talk to the lead opens a separate topic with the lead. A worker report links back to its source from project chat. An idle native session receives queued messages on its next hook or inbox poll. Return to that session to start another turn.

Answer a project decision in Decisions or in the terminal view. Opening another view preserves the lead and the conversation. Select a file to read its saved revision. Documents that sessions publish live in ~/.shadowclone/projects/<project-id>/library/.

  • Run shadowclone project tui to create or choose a project with the keyboard. Enter refresh to see new replies. Enter quit to leave the agents running.
  • Run shadowclone project list for each project’s name, goal, folders, and last activity. Add --json for the full index with the available sessions. Run shadowclone project status <id> --json for a saved snapshot.
  • Ask your enrolled native agent to read the project, inspect a worker thread, publish a plan, or ask you for a decision. The agent uses the local shadowclone MCP tools.
  • To inspect a launched agent, use the tmux command shown under its role. Detaching from a project revokes the member credential. Reattach a replacement and explicitly reassign its unfinished work.

Archive a project with shadowclone project action <id> '{"operation":"archive"}'. Archive keeps history and revokes both memberships. To remove an archived project, use shadowclone project action <id> '{"operation":"remove","confirm":"<id>"}'. Replace both placeholders with the project ID.

Copy locally edited documents and extra files to a safe location before removal. The removal command refuses to delete them, and it refuses a context folder that has uncommitted edits. The project store stays separate from learning and from the hub.

Open a plan in Project files and select Accept this plan. The project keeps that exact revision until you accept another. Select Edit revision to save a correction. The previous revision stays readable.