coordinate-agents
AGENTS.md107 starsChanged 3 months agoMITView on GitHub
This file governs development and maintenance after an agent has entered this repository. It is not the installation entry point. For installation, read the installation guide. Do not rename, mirror, or substitute these identities. Never add credentials, tokens, cookies, recovery codes, private keys, personal email addresses, or raw .agent-bus data to commits, fixtures, logs, documentation, or release artifacts. - bin/coordinate-agents.mjs and lib/web-cli.mjs: npm 3.x Web-only entry. It lazily loads inspector/server/workspace-server.mjs; help/version do not load sessions or Legacy code. - bin/coordinate-agents-legacy.mjs:…
- Pipes a download into a shell
Where files are headingNew AGENTS.md files have more rules about keeping secrets out of the code, and fewer about code style.
Of the AGENTS.md files we read, the 33,398 first seen in the last six months, against the older ones: the kind of rule that gained most share, and the kind that lost most. About files like this in general, not this one, and an estimate, since a kind is a pattern in the words.
In this repository7 other files it gives its agents.
- docs/llms.txtllms.txt
- llms.txtllms.txt
- coordinate-agentsSkill
- coordinate-recoverSkill
- coordinate-reviewSkill
- coordinate-setupSkill
- coordinate-taskSkill
The file
Show its rules and text
We split this AGENTS.md into the rules it gives an agent
17 rules. About 0 are common, 6 are distinctive, and 11 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈6
Distinctive · estimate
This author's own choices. Worth a look.
11
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- could be automatic: a setting could enforce it
- Very specific: line 12
Do not rename, mirror, or substitute these identities.
- Very specific: line 36
Run focused tests for behavior changes.
- Very specific: line 38
Run npm ci when dependencies changed or the installed environment is missing or stale.
- Very specific: line 39
Run npm run demo when the demo flow changes, and npm pack --dry-run --ignore-scripts when package contents change.
- Very specific: line 56
Keep the Execution Session boundary explicit: Task records may reference sessionId, but Session Manager owns persistent PTY lifecycle, …
- Distinctive: line 58
Never automate the Codex App Terminal UI or attach to an arbitrary process.
- Very specific: line 61
Keep configured executable identity exact.
- Distinctive: line 64
Keep filesystem operations cross-platform and safe for paths containing spaces and shell metacharacters.
- Distinctive: line 68
Add or update focused tests when needed to verify changed behavior.
- Very specific: line 70
Keep SKILL.md concise. Put detailed protocol or template material one level down in references/ and link it directly from SKILL.md.
- Very specific: line 72
Update documentation that directly describes the changed behavior.
- Very specific: line 74
Update docs/llms.txt only when its index changes.
- Very specific: line 75
If installation payload contents change, update package.json files, package tests, and the package version as appropriate.
- Very specific: line 77
Do not use third-party mirrors, mutable unknown scripts, curl | sh, or long-lived npm tokens in project automation.
- Distinctive: line 91
Never merge, tag, push, publish, deploy, create a GitHub Release, or run a release workflow unless the user has approved the described …
- Distinctive: line 95
Keep GitHub Actions pinned to full commit SHAs.
- Distinctive: line 98
Verify the anonymous npm tarball, npm integrity/provenance, GitHub Release target, clean worktree, and successful CI after publishing …
≈ “Common” is an estimate: at least 1 in 5 of the 43,423 AGENTS.md files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Repository instructions for AI contributors
This file governs development and maintenance after an agent has entered this repository. It is not the installation entry point. For installation, read the installation guide.
Canonical identity
- Repository:
https://github.com/hogancv/coordinate-agents - npm package:
@hogancv/coordinate-agents - Package source of truth:
package.json
Do not rename, mirror, or substitute these identities. Never add credentials, tokens, cookies,
recovery codes, private keys, personal email addresses, or raw .agent-bus data to commits,
fixtures, logs, documentation, or release artifacts.
Repository map
bin/coordinate-agents.mjsandlib/web-cli.mjs: npm 3.x Web-only entry. It lazily loadsinspector/server/workspace-server.mjs; help/version do not load sessions or Legacy code.bin/coordinate-agents-legacy.mjs: source-only complete CLI/export surface for Plugin/MCP/Task Graph. Its implementation remains inlib/cli-core.mjs,lib/cli/andlib/commands/.inspector/server/http-server.mjs: shared HTTP transport;workspace-data.mjsandworkspace-services.mjssupply only Web data/operations.server.mjs,inspector-data.mjsandlegacy-action-gateway.mjsare repository-only structured compatibility surfaces..codex-plugin/plugin.json: Codex Plugin manifest.skills/coordinate-agents/: canonical self-contained Skill and runtime source (SKILL.md,agents/,adapters/,references/,scripts/). The Session implementation isscripts/pty-runtime.mjs,scripts/session-host.mjs,scripts/session-manager.mjs, andscripts/session-service.mjs;references/session-runtime.mdis the detailed protocol reference.scripts/: repository development and release tooling (demo.mjs,check-llms.mjs).docs/install-with-ai.md: canonical installation procedure and AI request examples.README.mdandREADME.zh-CN.md: user-facing English and Simplified Chinese documentation.docs/: GitHub Pages source for stable, evidence-focused task and FAQ pages.docs/llms.txtis the canonical machine index;npm run sync:llmsgenerates the root discovery copy, andnpm run check:llmsvalidates both copies and local documentation routes.test/: Node.js tests, including cross-platform CLI, protocol, docs, and release checks..github/workflows/: pinned CI and trusted npm publishing workflows.
Required checks
Choose validation for the changed surface:
- Run focused tests for behavior changes; use
npm run checkfor shared core changes andnpm run check:fullwhen slower integration boundaries are affected. - Run
npm ciwhen dependencies changed or the installed environment is missing or stale. - Run
npm run demowhen the demo flow changes, andnpm pack --dry-run --ignore-scriptswhen package contents change. - Validate changed Skill metadata with the installed skill-creator
scripts/quick_validate.py; validate Plugin metadata with plugin-creatorscripts/validate_plugin.pywhen that metadata changes.
Local tests use disposable fixtures and must not access production or live model accounts. Run affected tests, fix failures caused by the requested change, and rerun those tests without asking at each step. Once relevant checks pass, stop expanding validation unless new evidence warrants it. Do not claim cross-platform success from a single local run; report the environments actually verified.
Change rules
- Apply configured Planner/Implementer/Reviewer roles only within an explicitly selected Coordinate Agents workflow. Ordinary repository development may be completed directly by the current agent. The formal Reviewer remains read-only.
- Keep the Execution Session boundary explicit: Task records may reference
sessionId, but Session Manager owns persistent PTY lifecycle, reuse, bounded I/O, recovery facts, and cleanup. Never automate the Codex App Terminal UI or attach to an arbitrary process. A healthy Session is reused across review rework; exited/failed Sessions require an explicit dispatch path and never trigger an infinite retry loop. - Keep configured executable identity exact. Project command > user command > Adapter default;
antigravityconfigured asagy-proxymust launchagy-proxy, not guessedagy. Fail fast when the final executable is missing, incompatible, or unrunnable, and include root/Agent/Session facts. - Keep filesystem operations cross-platform and safe for paths containing spaces and shell metacharacters. Do not introduce shell-string interpolation when argument arrays are possible.
- Refuse symlinks, junctions, path escapes, unrecognized installs, and destructive recovery by default. Preserve atomic publication, deduplication, leases, quarantine, and explicit cleanup.
- Add or update focused tests when needed to verify changed behavior. Tests must use isolated temporary repositories and must not invoke live model accounts or modify a user's real project.
- Keep
SKILL.mdconcise. Put detailed protocol or template material one level down inreferences/and link it directly fromSKILL.md. - Update documentation that directly describes the changed behavior. Keep corresponding
English and Simplified Chinese pages semantically synchronized when affected.
Update
docs/llms.txtonly when its index changes; regenerate the root discovery copy withnpm run sync:llms. - If installation payload contents change, update
package.jsonfiles, package tests, and the package version as appropriate. Keeppackage-lock.jsonsynchronized. - Do not use third-party mirrors, mutable unknown scripts,
curl | sh, or long-lived npm tokens in project automation.
Distribution and release strategy
- Structured distribution: Codex Plugin directly from GitHub repository marketplace (
https://github.com/hogancv/coordinate-agents). - Web-first distribution: npm 3.x (
@hogancv/coordinate-agents) contains the standalone Web Workspace and an exact runtime file whitelist. Legacy npm CLI users select 2.4.0; all Plugin/MCP/Graph/SDK sources remain in GitHub. - Version independence:
.codex-plugin/plugin.json(Codex Plugin version) andpackage.json(npm package version) evolve independently and are synchronized when co-releasing. - Validation: Web tarball acceptance and source Plugin verification are separate.
.github/workflows/web-package-acceptance.ymlcovers Windows/macOS/Linux and Node 18/22/24. Release verification installs the production tarball in isolated directories with mock CLIs and publishes that same tarball; no generated/prepack-only build is permitted. - npm publishing is strictly manual: npm publishing is triggered exclusively through manual
workflow_dispatchwith mandatoryPUBLISHconfirmation. All automatic publish triggers (push tag, release published, push main) are forbidden.
Release restrictions
- Passing review or CI is not release authorization.
- Never merge, tag, push, publish, deploy, create a GitHub Release, or run a release workflow
unless the user has approved the described action. Reuse existing explicit authorization
for that same plan. The exact text
RELEASE_APPROVEDis required only for a Task using the Coordinate Agents release protocol; do not impose it on ordinary development. - Keep GitHub Actions pinned to full commit SHAs.
- npm publishing must use the existing environment-limited trusted publisher with OIDC and
provenance; never introduce
NPM_TOKENorNODE_AUTH_TOKEN. - Verify the anonymous npm tarball, npm integrity/provenance, GitHub Release target, clean worktree, and successful CI after publishing before reporting release completion.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

