Coding agents
VULCAN sets up seven coding agents (eight entries, because Copilot is two products). You choose the ones you use on your own machine (vulcan project sync, vulcan agent); the choice is stored in .agents/local/profile.json and is never committed. The same file may hold board.agents (the board's roster) and common.local.tmp (a short temporary folder), in the config's own shape; on your machine each replaces the committed value of the same key, and vulcan project sync keeps them. AGENTS.md is the one file every project commits, and it is the file all of these agents read, except Claude Code, which reads it through a CLAUDE.md shim.
The table below is the content of base/agents.json, the table sync is driven by.
| Agent | Name | Instructions | Atlas MCP entry | Skills | Guards | The atlas server's own text |
|---|---|---|---|---|---|---|
claude | Claude Code | AGENTS.md through the shim CLAUDE.md (@AGENTS.md) | .mcp.json (shared) | .claude/skills | hooks in .claude/settings.json | shown to the model |
omp | omp (oh-my-pi) | AGENTS.md | .mcp.json (shared) | .agents/skills | .omp/hooks/pre/vulcan-guards.ts | shown to the model |
codex | Codex | AGENTS.md | .codex/config.toml | .agents/skills | .codex/hooks.json | shown to the model (documented) |
cursor | Cursor | AGENTS.md | .cursor/mcp.json | .agents/skills | not yet | not documented |
copilot-cli | Copilot CLI | AGENTS.md | .mcp.json (shared) | .agents/skills | not yet | not documented |
copilot-vscode | Copilot in VS Code | AGENTS.md | .vscode/mcp.json | .agents/skills | not yet | not documented |
antigravity | Antigravity CLI | AGENTS.md | .agents/mcp_config.json | .agents/skills | .agents/hooks.json | not shown: it keeps the text in files and lists only the tool names |
pi | Pi | AGENTS.md | .pi/mcp.json | .agents/skills | .pi/extensions/vulcan-guards.ts | one line only, as a server summary |
What you get
- The rules and the Atlas block. Every agent reads
AGENTS.md, which routes to the rules and the knowledge bundle and carries the Atlas block (the corpora, ruleV-P-07, the four triggers:symbol,searchthenget,versionorchanges,presets). The block exists because not every agent shows the model what the atlas server says about itself, as the last column shows. - Atlas.
syncregisters the atlas server where the agent looks for MCP servers. Claude, omp and Copilot CLI read the root.mcp.json, one file for the three;syncwrites it on your machine when you chose one of them, with the same relative entry for everyone (--root .), and keeps it out of git in your clone. The others get an entry in their own file, merged with what you have there; that entry carries the absolute path of the project, so runsyncagain if you move it. A project that still tracks.mcp.jsonkeeps it:syncdoes not touch a tracked file. - The shipped skills, and every skill you write in
.agents/skills/<name>/SKILL.md. All agents except Claude read that folder; for Claude,synclinks the skills into.claude/skills.
What the other agents lose
The session-start digest (a config problem, where scratch goes, the owner card), the owner-reply check and the agent.claude.settings of the config exist for Claude Code only. The rules themselves are the generated block of AGENTS.md, which every agent that reads AGENTS.md gets: a real run showed it reaching Claude Code and omp. The guards reach four more agents, through a file sync writes for them: omp loads .omp/hooks/pre/vulcan-guards.ts, pi loads .pi/extensions/vulcan-guards.ts, Antigravity reads a hook in .agents/hooks.json and Codex one in .codex/hooks.json; all four run the same guard scripts Claude Code runs (see omp and pi, Antigravity and Codex, Cursor and Copilot; the Codex hook was built from the documentation and not run). Cursor and both Copilots read the Claude hooks of .claude/settings.json themselves, so sync writes nothing for them; for those the rules in AGENTS.md are still written, and the guards run only as far as the section on Cursor and Copilot says. For the other agents the rules in AGENTS.md are still written, but nothing enforces V-W-02, V-W-03, V-W-06 or the package guard yet.
Things only you can do
- Codex: Codex loads .codex/config.toml only for trusted projects: trust this project in Codex.
- Codex: Codex runs the guard hook of .codex/hooks.json only after you review and trust it in /hooks.
- Pi: Pi loads .pi/mcp.json and .agents/skills only after you trust this project: start pi here and answer the trust prompt.
sync prints these as note lines.
Temporary files
Rule V-B-08 keeps everything an agent makes inside the project, in .agents/tmp/, or in the folder common.local.tmp names (read tmp/ below as that folder). A command that makes a temporary file (mktemp, a script, bun, node) uses the folder in TMPDIR, so that variable is what moves the files. These routes were run in Claude Code 2.1.311 (a session driven by a stand-in for the model, in a scratch project), not read from its documentation:
How TMPDIR is set | Bash commands | Claude Code's own task-output files | MCP servers |
|---|---|---|---|
| Nothing | the system temp folder | /tmp/claude-<uid>/ | the system temp folder |
env in the project's .claude/settings.json or settings.local.json | not applied (Claude Code applies the block, but not these two variables) | not applied | not applied |
The session-start hook of vulcan project sync | yes | no | no |
| The variables in the launch environment, or in your user settings file | yes | yes | yes |
What vulcan project sync sets up, for Claude Code: the session-start hook appends export TMPDIR=<project>/.agents/tmp (or the common.local.tmp folder) to the file Claude Code sources before each Bash command. Nothing to start differently; from the first command of a session, mktemp -d and every script it runs use the project folder, and guard-outside no longer asks about a bare mktemp.
What the hook does not reach: Claude Code's own task-output files, its MCP servers (Playwright included) and the scratchpad folder it offers a session, which stay under /tmp/claude-<uid>/. The session digest tells the agent to keep scratch in $TMPDIR, not in that scratchpad, and guard-outside refuses a write there. A path an agent writes by hand (/tmp/x) still asks, on purpose. To move Claude Code's own files into the project too, export the variable in your own shell before you start it, for example export CLAUDE_CODE_TMPDIR="$PWD/.agents/tmp" (VULCAN no longer writes a launch file for this). Any agent other than Claude Code has no hook of this kind: the rules and the session digest tell it to use .agents/tmp, and it needs TMPDIR in its own launch environment (export TMPDIR=$PWD/.agents/tmp); VULCAN has not checked whether those agents can set it from their configuration.
vulcan project doctor warns when the folder is missing, and vulcan project sync fixes it. The folder is a task scratch folder: remove what you made when the task ends; vulcan project clean lists what is older than a day.
A long checkout path. The session-start hook points TMPDIR of every command at <project>/.agents/tmp. A browser puts a unix socket in that folder (org.chromium.Chromium.XXXXXX/SingletonSocket for Chromium, the longest name; 45 characters more), and a socket path is at most 107 characters, so a project path of about 45 characters or more makes the browser, started by Playwright for example, exit with Socket path too long. vulcan project doctor warns about it. Set common.local.tmp in the config, or in your own .agents/local/profile.json when the team should not share it, to a short folder of the project (for example tmp) and run vulcan project sync: the hooks, vulcan project clean and vulcan package add use it, and vulcan project doctor fails when even that folder is too deep.
Detecting your agents
The first sync in a terminal looks for each agent on the machine: a binary on PATH, a folder in your home, a folder in the project. It only pre-selects; you confirm.
| Agent | Signals |
|---|---|
claude | claude, ~/.claude, .claude/ |
omp | omp, ~/.omp, .omp/ |
codex | codex, ~/.codex, .codex/ |
cursor | cursor, cursor-agent, ~/.cursor, .cursor/ |
copilot-cli | copilot |
copilot-vscode | the extension folder ~/.vscode/extensions/github.copilot-chat-* |
antigravity | agy, ~/.gemini/antigravity-cli |
pi | pi, ~/.pi/agent, .pi/ |
Adding an agent to VULCAN
An agent is one entry of packages/cli/base/agents.json: its detection signals, whether it reads AGENTS.md or needs a shim, where its MCP entry goes and in which format (mcpServers, servers or codex-toml), its skills folder, what was measured about its MCP instructions, and any note for the user. A test checks the schema and this page.