agentleFS
Atakan-EmreAtakan-Emre/agentic-workflow-lab/CLAUDE.md

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

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
  1. Distinctive:

    Prefer reading manifests and policies before editing.

    line 13
  2. Distinctive:

    Keep diffs minimal and focused.

    line 14
  3. Very specific:

    Run python scripts/validate_agentic_repo.py before finishing substantive changes.

    line 15
  4. Distinctive:

    Do not create fake LLM providers or simulated runtimes.

    line 16
  5. Distinctive:

    Use subagents for parallelizable review work.

    line 28
  6. Distinctive:

    Treat read-only inspection as default.

    line 43
  7. Distinctive:

    Never run remote piped scripts.

    line 45
  8. Distinctive:

    Never expose or commit secrets.

    line 46
  9. Distinctive:

    When handing off to another subagent or manifest role, include:

    line 75

≈ “Common” is an estimate: at least 1 in 5 of the 12,729 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.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
CLAUDE.md

CLAUDE.md

Claude Code operating guide for agentic-workflow-lab.

Read first

  1. AGENTS.md — shared contract for all agents.
  2. policies/security-policy.yaml — non-negotiable security constraints.
  3. 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.py before finishing substantive changes.
  • Do not create fake LLM providers or simulated runtimes.

When to use subagents

SituationSubagent
Multi-step feature planningplanner
Security-sensitive changessecurity-reviewer
Pre-PR validationvalidator
Documentation updatesdocs-writer
Repo structure / governance reviewrepo-reviewer

Use subagents for parallelizable review work. Do not spawn subagents for trivial one-file edits.

Files requiring extra care

PathWhy
policies/Changes affect all agents
schemas/Contract breakage impacts validation
agents/manifests/Defines agent capabilities
scripts/validate_*.pyGovernance enforcement
.github/instructions/security.instructions.mdSecurity guidance
mcp/server.pyMust 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 diff

Requires 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 --force
  • git reset --hard
  • curl ... | bash / wget ... | sh
  • Invoke-Expression on remote content

Handoff format

When handing off to another subagent or manifest role, include:

  1. Goal and scope
  2. Files touched or to inspect
  3. Validation commands run and results
  4. 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.

Download now (ZIP)

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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.