agentic-workflow-lab
CLAUDE.md0 starsChanged 5 months agoMITView on GitHub
Claude Code operating guide for agentic-workflow-lab. Use subagents for parallelizable review work. Do not spawn subagents for trivial one-file edits. Allowed without escalation when validating this repo: Requires justification and often approval: When handing off to another subagent or manifest role, include: A task is not done until validation passes and policy constraints are documented in the PR or handoff note.
- Pipes a download into a shell
- Deletes or force-pushes
- Installs packages
- Commits and pushes
In this repository11 other files it gives its agents.
- AGENTS.mdAGENTS.md
- docs/copilot-instructions.mdCopilot instructions
- .github/copilot-instructions.mdCopilot instructions
- .cursor/rules/agentic-architecture.mdcCursor rule
- .cursor/rules/python-quality.mdcCursor rule
- .cursor/rules/security.mdcCursor rule
- add-tool-policySkill
- add-validatorSkill
- create-agent-manifestSkill
- run-governance-checkSkill
- write-architecture-docSkill
The file
We split this CLAUDE.md into the rules it gives an agent
9 rules. About 0 are common, 8 are distinctive, and 1 is very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈8
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
- could be automatic: a setting could enforce it
- Distinctive: line 13
Prefer reading manifests and policies before editing.
- Distinctive: line 14
Keep diffs minimal and focused.
- Very specific: line 15
Run python scripts/validate_agentic_repo.py before finishing substantive changes.
- Distinctive: line 16
Do not create fake LLM providers or simulated runtimes.
- Distinctive: line 28
Use subagents for parallelizable review work.
- Distinctive: line 43
Treat read-only inspection as default.
- Distinctive: line 45
Never run remote piped scripts.
- Distinctive: line 46
Never expose or commit secrets.
- Distinctive: line 75
When handing off to another subagent or manifest role, include:
≈ “Common” is an estimate: at least 1 in 5 of the 28,633 CLAUDE.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
CLAUDE.md
Claude Code operating guide for agentic-workflow-lab.
Read first
AGENTS.md— shared contract for all agents.policies/security-policy.yaml— non-negotiable security constraints.policies/tool-policy.yaml— tool allow/deny/approval matrix.
Working style
- Prefer reading manifests and policies before editing.
- Keep diffs minimal and focused.
- Run
python scripts/validate_agentic_repo.pybefore finishing substantive changes. - Do not create fake LLM providers or simulated runtimes.
When to use subagents
| Situation | Subagent |
| Multi-step feature planning | planner |
| Security-sensitive changes | security-reviewer |
| Pre-PR validation | validator |
| Documentation updates | docs-writer |
| Repo structure / governance review | repo-reviewer |
Use subagents for parallelizable review work. Do not spawn subagents for trivial one-file edits.
Files requiring extra care
| Path | Why |
policies/ | Changes affect all agents |
schemas/ | Contract breakage impacts validation |
agents/manifests/ | Defines agent capabilities |
scripts/validate_*.py | Governance enforcement |
.github/instructions/security.instructions.md | Security guidance |
mcp/server.py | Must remain read-only in v1 |
Tool safety
- Treat read-only inspection as default.
- Any write, shell, commit, or push requires explicit user approval when policy demands it.
- Never run remote piped scripts.
- Never expose or commit secrets.
Shell command rules
Allowed without escalation when validating this repo:
pip install -e ".[dev]"
python scripts/validate_agentic_repo.py
pytest -q
git status
git diffRequires justification and often approval:
- Network installs outside the project venv.
- Git write operations (
commit,push). - Commands touching paths outside the repository root.
Forbidden:
git push --forcegit reset --hardcurl ... | bash/wget ... | shInvoke-Expressionon remote content
Handoff format
When handing off to another subagent or manifest role, include:
- Goal and scope
- Files touched or to inspect
- Validation commands run and results
- Open risks or approval needs
Quality bar
A task is not done until validation passes and policy constraints are documented in the PR or handoff note.
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.

