ccswarm
AGENTS.md153 starsChanged 8 months agoMITView on GitHub
ccswarm is the workflow, governance, A2A, and provider execution layer. Keep terminal/session primitives, provider output parsing, and persistence in crates/ccswarm/src/session; keep workflow orchestration in crates/ccswarm/src/workflow. - Write comments, rustdoc, commit messages, and markdown docs in English. - Prefer Result<T, E> with thiserror; avoid .unwrap() in production code. - Prefer Rust-native patterns already used in this repo: type-state, channels, iterator pipelines, and actor-style isolation where they improve clarity. - Keep workflow logic out of low-level session helpers. - Keep tests focused…
Where files are headingNew AGENTS.md files have more rules about keeping secrets out of the code, and fewer about checking a change actually works.
Of the AGENTS.md files we read, the 11,773 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 repository25 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- benchmark-runnerSkill
- check-implSkill
- check-production-readySkill
- deploy-workflowSkill
- git-worktreeSkill
- hitl-approvalSkill
- mutation-testSkill
- review-allSkill
- review-architectureSkill
- review-duplicatesSkill
- review-fixSkill
- rust-agent-specialistSkill
- benchmark-runnerSkill
- check-implSkill
- check-production-readySkill
- deploy-workflowSkill
- git-worktreeSkill
- hitl-approvalSkill
- mutation-testSkill
- review-allSkill
- review-architectureSkill
- review-duplicatesSkill
- review-fixSkill
- rust-agent-specialistSkill
The file
We split this AGENTS.md into the rules it gives an agent
7 rules. About 0 are common, 3 are distinctive, and 4 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈3
Distinctive · estimate
This author's own choices. Worth a look.
4
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 6
Keep terminal/session primitives, provider output parsing, and persistence in crates/ccswarm/src/session.
- Distinctive: line 25
Write comments, rustdoc, commit messages, and markdown docs in English.
- Very specific: line 26
Prefer Result<T, E> with thiserror.
- Distinctive: line 27
Prefer Rust-native patterns already used in this repo: type-state, channels, iterator pipelines, and actor-style isolation where they …
- Very specific: line 29
Keep workflow logic out of low-level session helpers.
- Distinctive: line 30
Keep tests focused on core behavior instead of growing broad fragile suites.
- Very specific: line 31
Never hardcode secrets. Use environment variables and SensitiveString when handling API keys.
≈ “Common” is an estimate: at least 1 in 5 of the 16,595 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
ccswarm Codex Guide
Goal
ccswarm is the workflow, governance, A2A, and provider execution layer.
Keep terminal/session primitives, provider output parsing, and persistence in
crates/ccswarm/src/session; keep workflow orchestration in
crates/ccswarm/src/workflow.
Read First
CLAUDE.mddocs/ARCHITECTURE.mddocs/APPLICATION_SPEC.md
Build And Verify
cargo fmt --allcargo clippy --workspace -- -D warningscargo test --workspacecargo run -p ccswarm -- --help
Project Rules
- Write comments, rustdoc, commit messages, and markdown docs in English.
- Prefer
Result<T, E>withthiserror; avoid.unwrap()in production code. - Prefer Rust-native patterns already used in this repo: type-state, channels, iterator pipelines, and actor-style isolation where they improve clarity.
- Keep workflow logic out of low-level
sessionhelpers. - Keep tests focused on core behavior instead of growing broad fragile suites.
- Never hardcode secrets. Use environment variables and
SensitiveStringwhen handling API keys.
Codex Assets
- Repo skills live in
.agents/skills/. - Custom subagents are defined in
.agents/agents/*.tomland registered from.codex/config.toml. - The original Claude configuration is mirrored under
.codex/claude/for reference. - Detailed project rules remain available in
.codex/claude/rules/*.md.
Available Subagents
frontend-specialistbackend-specialistdevops-specialistqa-specialistrust-fix-agentcode-refactor-agentarchitecture-reviewerall-reviewerreview-fix-agent
Recommended Codex Skills
review-fix: review the current diff, fix clear issues, then re-runcargo clippy --workspace -- -D warningsandcargo test --workspace --no-run. This is the repo-local Codex counterpart to the personalhome-self-reviewworkflow.
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.

