agentleFS
patrick-fupatrick-fu/awesome-skills/claude-code-coding-agent/SKILL.md

claude-code-coding-agent

Skill66 starsChanged 2 months agoMITView on GitHub

Run Claude Code CLI (`claude`) as an external coding executor. Use only when explicitly selected by name.

The file

Show its rules and text

We split this skill into the rules it gives an agent

16 rules. About 0 are common, 11 are distinctive, and 5 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈11

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 5

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Use Claude Code only after the user or active workflow explicitly selects it as the external executor.

    line 10
  2. Very specific:

    Run <launcher> --help before composing version-sensitive flags.

    line 22
  3. Distinctive:

    Use monitor mode by default for any task that may take time.

    line 26
  4. Distinctive:

    Run from the intended repository or workspace, pass a bounded task contract, and wait for the external process to finish.

    line 28
  5. Distinctive:

    Verify completion evidence before claiming success: findings plus an untouched worktree for read-only tasks.

    line 30
  6. Distinctive:

    Use the highest tier only when its quality benefit justifies the extra latency or cost, and after checking whether that tier has additional …

    line 41
  7. Distinctive:

    Do not hardcode model names or effort levels from this skill.

    line 44
  8. Very specific:

    Put the bounded task contract in a task-specific TASK_PROMPT variable and pass it through stdin.

    line 52
  9. Distinctive:

    Use Claude Code's semantic JSON stream without requesting partial messages:

    line 56
  10. Very specific:

    After the init event, check that its tools list is exactly Glob, Grep, Read.

    line 69
  11. Very specific:

    Never append a bare positional prompt after --tools, --allowedTools, --add-dir, or another variadic option.

    line 74
  12. Distinctive:

    Start the command with the host's long-running process facility.

    line 77
  13. Distinctive:

    Follow the current help and wrapper contract for permissions and tool access.

    line 109
  14. Very specific:

    Never add --dangerously-skip-permissions, --permission-mode bypassPermissions, or --allow-dangerously-skip-permissions without the user's …

    line 110
  15. Distinctive:

    Do not silently create worktrees, commit, push, deploy, or widen task scope.

    line 115
  16. Distinctive:

    Put optional captures in the system temporary directory.

    line 116

≈ “Common” is an estimate: at least 1 in 5 of the 213,895 skill 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
SKILL.md

Claude Code Coding Agent

Use Claude Code only after the user or active workflow explicitly selects it as the external executor.

Minimal Workflow

  1. Set <launcher> to the requested Claude Code binary, absolute path, alias, or wrapper. Preserve a provided wrapper; it may inject model, authentication, or permission settings, including bypass permissions. Treat wrappers as opaque: discover their contract only by invoking <launcher> --version or <launcher> --help; do not run inspection commands that may print an alias or function definition, open or print wrapper source, or dump its environment because it may contain credentials.
  2. Run <launcher> --help before composing version-sensitive flags. Use other subcommand help only when the task needs it.
  3. Choose the model and thinking effort deliberately, following the guidance below and the choices currently exposed by the launcher.
  4. Use monitor mode by default for any task that may take time. Use final mode only when the task is clearly trivial and short.
  5. Run from the intended repository or workspace, pass a bounded task contract, and wait for the external process to finish.
  6. Verify completion evidence before claiming success: findings plus an untouched worktree for read-only tasks; diff and tests for write tasks.

Model and Effort

Honor explicit model or effort choices. Otherwise inspect current help before launching:

  • For routine, bounded work, prefer a balanced model and moderate effort.
  • For deep review, ambiguous debugging, cross-module design, or other high-risk work, prefer a frontier model and high or maximum supported effort.
  • Use the highest tier only when its quality benefit justifies the extra latency or cost, and after checking whether that tier has additional behavior.

Do not hardcode model names or effort levels from this skill; the launcher's current help is authoritative. A wrapper may inject the model instead of exposing a catalog: the stream's init event reports the effective model and effort state, and stderr may warn unrecognized_model for wrapper aliases. Report what actually ran instead of silently overriding it.

Monitor Mode (Default)

Put the bounded task contract in a task-specific TASK_PROMPT variable and pass it through stdin. This remains unambiguous when options such as --tools accept multiple values and would otherwise consume a trailing positional prompt.

Use Claude Code's semantic JSON stream without requesting partial messages:

printf '%s' "$TASK_PROMPT" | <launcher> --print --output-format stream-json --verbose

For a read-only review, restrict capabilities explicitly and verify the restriction took effect:

printf '%s' "$TASK_PROMPT" | <launcher> --print --output-format stream-json --verbose --restricted --strict-mcp-config --tools Read Grep Glob

After the init event, check that its tools list is exactly Glob, Grep, Read. Unknown tool names silently empty the list, and a wrapper that injects a bypass flag reduces the guarantee to this allowlist — say so in the report. --strict-mcp-config excludes configured MCP servers from this review.

Never append a bare positional prompt after --tools, --allowedTools, --add-dir, or another variadic option.

Start the command with the host's long-running process facility. Keep the task ID returned by the host, then use the host's wait, poll, or resume facility to read only newly available output while the process runs.

Reduce the stream to small liveness signals such as:

running — process alive
working — Read completed
running — no new semantic event; process alive
turn ended — verify task evidence

Ignore raw thinking/reasoning and token deltas. Do not add --include-partial-messages for ordinary monitoring. Treat the terminal result event together with process exit as turn completion evidence. Verify task-critical tool results before claiming task success; do not kill a live process merely because it has produced no recent semantic event.

Final Mode

For a clearly trivial, short task that needs no tools, wait for one final response. Tasks that need file reads or other tool evidence use monitor mode:

printf '%s' "$TASK_PROMPT" | <launcher> --print --restricted --strict-mcp-config --tools ""

Task Boundaries

  • State explicitly whether the task may edit files. Keep review and explanation prompts read-only and findings-first.
  • Follow the current help and wrapper contract for permissions and tool access.
  • Never add --dangerously-skip-permissions, --permission-mode bypassPermissions, or --allow-dangerously-skip-permissions without the user's explicit authorization for that task, and do not pass -w/--worktree; when the task contract forbids worktrees, also forbid EnterWorktree in the prompt.
  • Do not silently create worktrees, commit, push, deploy, or widen task scope.
  • Put optional captures in the system temporary directory. Cleanup is optional.

For event mapping, terminal-state handling, wrapper details, and current capability discovery, read references/monitoring.md.

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.