Agent-Daemon
AGENTS.md0 starsChanged 7 days agoMITView on GitHub
This project uses agent-daemon for multi-agent orchestration and self-improving memory. Memory files with {{PLACEHOLDER}} text haven't been bootstrapped yet. The digest pipeline keeps memory updated automatically after bootstrapping. Use multi-agent when ALL of these are true: - Task spans 2+ domains (backend + frontend, code + tests, etc.) - Subtasks can run in parallel - Estimated work exceeds ~30 minutes Stay single-agent for: quick fixes, single-file changes, questions, reviews of small scope. Keep the docs, CHANGELOG and skills/daemon/* in step…
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 31,774 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 repository174 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- ad-ci-readinessSkill
- ad-pre-pushSkill
- accessibilitySkill
- agent-evalSkill
- agent-harness-constructionSkill
- agentic-engineeringSkill
- agent-introspection-debuggingSkill
- agent-sortSkill
- ai-first-engineeringSkill
- ai-regression-testingSkill
- api-connector-builderSkill
- architecture-decision-recordsSkill
- article-writingSkill
- automation-audit-opsSkill
- autonomous-agent-harnessSkill
- autonomous-loopsSkill
- backend-patternsSkill
- benchmarkSkill
- blueprintSkill
- brand-voiceSkill
- browser-qaSkill
- bun-runtimeSkill
- canary-watchSkill
- cavemanSkill
- ckSkill
- claude-devfleetSkill
- click-path-auditSkill
- codebase-onboardingSkill
- code-tourSkill
- coding-standardsSkill
- content-engineSkill
- content-hash-cache-patternSkill
- context-budgetSkill
- continuous-agent-loopSkill
- continuous-learningSkill
- continuous-learning-v2Skill
- cost-aware-llm-pipelineSkill
- councilSkill
- crosspostSkill
- ad-harnessSkill
- ad-state-migrateSkill
- ad-tui-devSkill
- agent-daemon-memorySkill
- big-feature-flowSkill
- bootstrap-daemonSkill
- bug-flowSkill
- engine-upgradeSkill
- feature-flowSkill
- gepa-evolve-inlineSkill
- harness-troubleshootSkill
- orchestrate-teamSkill
- release-flowSkill
- session-closeSkill
- skill-authorSkill
- skill-installerSkill
- dashboard-builderSkill
- database-migrationsSkill
- deep-researchSkill
- deployment-patternsSkill
- The first 60 shown.
The file
We split this AGENTS.md into the rules it gives an agent
2 rules. About 0 are common, 1 is distinctive, and 1 is very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈1
Distinctive · estimate
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 38
Use multi-agent when ALL of these are true:
- Very specific: line 64
Keep the docs, CHANGELOG and skills/daemon/* in step with the code, and push nothing personal or internal (see .gitignore).
≈ “Common” is an estimate: at least 1 in 5 of the 40,246 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
Agent Daemon
This project uses agent-daemon for multi-agent orchestration and self-improving memory.
Getting Started
- Scaffold:
ad init— creates.agent-daemon/memory/templates,AD-INSTRUCTIONS.md(the operating manual) and a managed section inCLAUDE.md - Bootstrap: Tell Claude "bootstrap the daemon memory" — reads your project and populates memory with real context
- Verify:
ad doctor— confirms everything is wired up
Memory files with {{PLACEHOLDER}} text haven't been bootstrapped yet.
The digest pipeline keeps memory updated automatically after bootstrapping.
Quick Reference
| Command | Alias | What it does |
ad doctor | Verify install — hooks, PATH, settings, harness login and sandbox | |
ad init | Scaffold .agent-daemon/ in this project | |
ad | Open the terminal UI (ad's own agent harness; signs in on first run) | |
ad team list-templates | ad tt | Show available team templates |
ad team create --template <name> --task "..." | ad tc | Create a team with roles + task graph |
ad team status --team <id> | ad ts | Kanban board — tasks, agents, progress |
ad team inbox --team <id> --agent <name> | ad ti | Read completion messages |
ad spawn --team <id> --role <role> --task "..." --cwd . | ad sp | Launch a worker in an isolated worktree (a sandboxed worker on ad's engine by default; --engine claude for headless claude) |
ad team delete --team <id> | ad td | Remove a team |
ad team cleanup | ad tu | Prune stale worktrees |
Templates
- solo-with-qa — 1 dev + 1 QA (simplest, good for most tasks)
- full-stack-feature — lead + backend + frontend + QA (parallel work)
- bug-triage-team — lead + investigator + fixer + reviewer
- code-review-team — lead + security + performance reviewers
When to use multi-agent
Use multi-agent when ALL of these are true:
- Task spans 2+ domains (backend + frontend, code + tests, etc.)
- Subtasks can run in parallel
- Estimated work exceeds ~30 minutes
Stay single-agent for: quick fixes, single-file changes, questions, reviews of small scope.
Workflow
- Analyze — Break the task into subtasks with dependencies
- Ask the user — Present the team plan (template, roles, task graph) and wait for approval
- Create —
ad tc --template <name> --task "..." - Spawn —
ad sp --team <id> --role <role> --task "..." --cwd .for each worker - Monitor —
ad ts --team <id>to check progress,ad tifor inbox - Merge — Review agent branches, merge in dependency order, test
- Cleanup —
ad td --team <id>when done
Rules
- Always ask before spawning — Never create teams or spawn agents without showing the plan and getting user approval first.
- Leader = your session — You (the agent in this session) are the team lead. Workers run in background worktrees.
- Isolation — Each agent works on its own git branch. Changes don't touch the user's working branch until explicitly merged.
- Review before merge — Always let the user review agent output before merging branches.
Before every push
Keep the docs, CHANGELOG and skills/daemon/* in step with the code, and push nothing personal or internal (see .gitignore). The full checklist is .claude/skills/ad-pre-push/SKILL.md; verify with node runtime/scripts/check-doc-links.mjs and cd runtime && npm test.
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.

