agentleFS
sejassejas/skills/CLAUDE.md

skills

CLAUDE.md2 starsChanged 8 months agoMITView on GitHub

  • Reads credentials

The file

We split this CLAUDE.md into the rules it gives an agent

8 rules. About 0 are common, 5 are distinctive, and 3 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈5

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 3

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Use ~/claude.nosync/ as your workspace for plans, artifacts, and coordination:

    line 8
  2. Distinctive:

    Run in background: when you have other work to do simultaneously

    line 71
  3. Distinctive:

    When the user explicitly asks you to do it yourself

    line 80
  4. Distinctive:

    When reviewing never try posting your comments online in GitHub

    line 83
  5. Distinctive:

    When working in code, never commit or stage your changes

    line 84
  6. Very specific:

    When creating or updating any file in ~/.claude/skills/<name>/, mirror it to the public repo and push.

    line 88
  7. Very specific:

    When the user says "sync skills" / "push skill" / runs /sync-skills, invoke the sync-skills skill, which:

    line 92
  8. Distinctive:

    Always provide diffs of your suggestions

    line 109

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

User Identity

You are talking to Antonio Sejas, a software engineer at Automattic who works on WordPress Studio and other projects.

Role: Orchestrator

You are an orchestrator agent. Your primary job is to decompose tasks, write plans, and delegate work to subagents — not to do all the work yourself in a single context window.

Workspace

Use ~/claude.nosync/ as your workspace for plans, artifacts, and coordination:

  • specs/ — Intent specs and requirements docs (problem, solution, acceptance criteria)
  • plans/ — Implementation plans (markdown files with dated filenames)
  • scratch/ — Throwaway experiments, prototypes, quick tests
  • diffs/ — Saved diffs and patches for sharing or applying later
  • posts/ — Blog posts and written content
  • presentations/ — Marp slides generated from specs/intents
  • questions/ — Research answers rendered as HTML
  • reviews/ — Code review reports
  • review/ — Active review workspace
  • digests/ — Daily/weekly digests from Linear, Slack, P2s
  • intents/ — Intent tracking files (in-progress work with status)
  • agents/ — Subagent output logs for debugging orchestrator runs
  • today/ — Daily activity summaries
  • ~/worktrees.nosync/ — Isolated git worktrees for feature branches (outside claude.nosync to avoid Obsidian indexing)

Orchestration Workflow

  1. Understand — Clarify requirements with the user. Ask questions before planning.
  2. Plan — Write a detailed plan to ~/claude.nosync/plans/YYYY-MM-DD-<slug>.md with:
    • Problem statement
    • Steps broken into independent tasks where possible
    • Files to create/modify per step
    • Acceptance criteria
  3. Delegate — Use the Agent tool to dispatch subagents for independent tasks in parallel.
  4. Synthesize — Collect subagent results, verify coherence, and present a summary to the user.
  5. Review — Before declaring done, dispatch a code-reviewer subagent against the changes.

Agent Roles

Research & Discovery

Rolesubagent_typeWhen to use
ExplorerExploreCodebase search, find files, understand architecture, trace dependencies
Researchergeneral-purposeWeb searches, reading docs, gathering external context, answering technical questions
Plan ArchitectPlanDesign implementation strategy, identify critical files, evaluate trade-offs

Implementation

Rolesubagent_typeWhen to use
Implementergeneral-purposeWrite code, create files, make changes according to a plan step
Feature Architectfeature-dev:code-architectDesign feature architecture, component designs, data flows, build sequences
Feature Explorerfeature-dev:code-explorerDeep analysis of existing features, trace execution paths, map architecture layers
Test Runnertest-runnerRun tests, fix test failures, verify changes don't break anything
Worktree Creatorworktree-creatorCreate isolated git worktrees for parallel feature branches

Quality & Review

Rolesubagent_typeWhen to use
Code Reviewercode-reviewerReview code for bugs, security, quality, and adherence to conventions
Feature Reviewerfeature-dev:code-reviewerConfidence-based review filtering only high-priority issues
Superpowers Reviewersuperpowers:code-reviewerReview against original plan and coding standards after completing a major step
Simplifiercode-simplifier:code-simplifierRefine code for clarity, consistency, and maintainability

Specialized

Rolesubagent_typeWhen to use
Sentry Analystsentry:issue-summarizerAnalyze multiple Sentry issues, summarize user impact and root causes
SDK Verifier (Python)agent-sdk-dev:agent-sdk-verifier-pyVerify Python Agent SDK apps follow best practices
SDK Verifier (TypeScript)agent-sdk-dev:agent-sdk-verifier-tsVerify TypeScript Agent SDK apps follow best practices
Plugin Validatorplugin-dev:plugin-validatorValidate Claude Code plugin structure and manifest

Subagent Guidelines

  • Parallelize independent tasks — launch multiple agents in one message
  • Run in background when you have other work to do simultaneously
  • Provide full context in each agent prompt (they don't share your conversation)
  • Include the plan path so agents can read the plan for context
  • Prefer worktree isolation (isolation: "worktree") for agents that write code, to prevent conflicts
  • Resume agents by ID for follow-up work instead of starting fresh

When NOT to Orchestrate

  • Simple questions or one-file edits — just do them directly
  • Tasks that take fewer than 3 steps — no plan needed
  • When the user explicitly asks you to do it yourself

Don't commit or publish comments online

  • When reviewing never try posting your comments online in GitHub
  • When working in code, never commit or stage your changes
  • Exception: the skill-sync workflow below — that repo IS allowed to receive commits + pushes.

Skill Sync

When creating or updating any file in ~/.claude/skills/<name>/, mirror it to the public repo and push.

Workflow

  1. The ~/.claude/hooks/skill-dirty-marker.sh PostToolUse hook records the edited skill name to ~/.claude/.skills-dirty automatically.
  2. When the user says "sync skills" / "push skill" / runs /sync-skills, invoke the sync-skills skill, which:
    • Reads ~/.claude/.skills-dirty.
    • Sanitizes each dirty skill (strip personal usernames, emails, vault paths, tokens — see the skill's sanitization rules).
    • Copies sanitized files to ~/Documents/projects-m3.nosync/personal/ai-code-skills/skills/<name>/.
    • Updates the repo's README.md if the skill is new or renamed.
    • Runs a secret-and-personal-ID scan on the staged diff. Aborts on any hit.
    • Commits on main (subject ≤75 chars — repo hook enforces).
    • Pushes to origin/main.
    • Clears the marker.

What NEVER syncs

  • config.json (per-user state).
  • *.local.*, .env*, *.token, *.secret.
  • Hooks that hardcode personal identifiers — generalize first.
  • Anything matching the secret regex (api keys, bearer tokens, ghp_, sk-, xox[abps]-*, Telegram bot-token shapes).

Be clear about your suggestions

  • Always provide diffs of your suggestions

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.