Agent skill

Coding Agent

by swarmclawai in swarmclawai/swarmclaw

Delegate coding tasks to external coding agents (Claude Code, Codex, Pi, OpenCode) via shell.

MITAuto-check passedAgent Workflows

Install Coding Agent

skills CLI
$ npx skills add swarmclawai/swarmclaw --skill coding-agent -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install swarmclawai/swarmclaw coding-agent --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/swarmclawai/swarmclaw.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/coding-agent .claude/skills/coding-agent && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
coding-agent
GitHub stars
688
Token cost
~900 tokens
SKILL.md length
207 words
Files
1
Skills in repo
12
Repo updated
First seen
Licence
MIT

At a glance

Delegate coding tasks to external coding agents (Claude Code, Codex, Pi, OpenCode) via shell.

  • Works in 5 steps: Use the right execution mode per agent:… → Respect tool choice — if the user asks… → Be patient — don't kill sessions because… → …
  • Building new features
  • SKILL.md covers Agent Execution Modes, PR Reviews, Parallel Issue Fixing and Rules, plus 1 more section
  • Calls git, codex and gh; reaches github.com

What it does

Coding Agent is an agent skill from swarmclawai/swarmclaw. Delegate coding tasks to external coding agents (Claude Code, Codex, Pi, OpenCode) via shell. Use when: (1) building new features or apps in a separate project, (2) reviewing PRs, (3) refactoring large codebases, (4) iterative coding that needs file exploration. NOT for: simple one-liner fixes (just edit directly), reading code (use read/file tools), or work inside the SwarmClaw workspace itself.

Its SKILL.md is about 900 tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Agent Workflows, covering Building AI agents and Refactoring. It works with Model Context Protocol. The repository describes itself as: Open-source self-hosted AI agent runtime and multi-agent framework for autonomous agent swarms. Agent memory, MCP tools, schedules, delegation, and 23+ LLM providers (Claude… The licence is MIT.

When your agent uses it

  • Building new features
  • Apps in a separate project
  • Refactoring large codebases
  • Iterative coding that needs file exploration

Example prompts

  • “/coding-agent”

Requirements

  • Node.js

Workflow steps

5 steps, taken from the first numbered list in SKILL.md.

  1. Use the right execution mode per agent: Claude Code uses --print (no PTY); Codex/Pi/OpenCode may need interactive terminal.
  2. Respect tool choice — if the user asks for Codex, use Codex. Don't silently switch agents.
  3. Be patient — don't kill sessions because they seem slow.
  4. Monitor progress — check output periodically without interfering.
  5. Never run coding agents inside the SwarmClaw project directory — use a separate project directory or temp folder.

What it can do on your machine

Read from SKILL.md and the folder at commit ed38ba5. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • git
    • codex
    • gh
    • claude
    • opencode

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    Hosts in commands or code, which the agent is likely to contact:

    • github.com

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Coding Agent loads about 900 tokens when it runs. Until then it costs about 103 tokens; SKILL.md has 207 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~103
When it runs · the whole SKILL.md, loaded when a task matches
~900

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from swarmclawai/swarmclaw at commit ed38ba5, republished under its MIT licence (© swarmclawai). 207 words, ~900 tokens.

Download SKILL.mdSave it as .claude/skills/coding-agent/SKILL.md (or your agent's skills folder).
name
coding-agent
description
Delegate coding tasks to external coding agents (Claude Code, Codex, Pi, OpenCode) via shell. Use when: (1) building new features or apps in a separate project, (2) reviewing PRs, (3) refactoring large codebases, (4) iterative coding that needs file exploration. NOT for: simple one-liner fixes (just edit directly), reading code (use read/file tools), or work inside the SwarmClaw workspace itself.

Coding Agent

Delegate coding tasks to external coding agents via shell tools.

Agent Execution Modes

Use --print --permission-mode bypassPermissions for non-interactive execution:

bash
cd /path/to/project && claude --permission-mode bypassPermissions --print 'Your task here'

For background execution, use the shell tool's background mode.

Do NOT use PTY mode with Claude Code — --print mode keeps full tool access and avoids interactive confirmation dialogs.

Codex

Codex requires a git repository and PTY mode:

bash
# Quick one-shot (auto-approves changes)
cd /path/to/project && codex exec --full-auto 'Build a dark mode toggle'

# Codex refuses to run outside a git directory. For scratch work:
SCRATCH=$(mktemp -d) && cd $SCRATCH && git init && codex exec "Your prompt"
Pi Coding Agent
bash
# Install: npm install -g @mariozechner/pi-coding-agent
cd /path/to/project && pi 'Your task'

# Non-interactive mode
pi -p 'Summarize src/'

# Different provider/model
pi --provider openai --model gpt-4o-mini -p 'Your task'
OpenCode
bash
cd /path/to/project && opencode run 'Your task'

PR Reviews

Clone to a temp folder or use git worktree — never review PRs in the SwarmClaw project directory:

bash
# Clone to temp for safe review
REVIEW_DIR=$(mktemp -d)
git clone https://github.com/user/repo.git $REVIEW_DIR
cd $REVIEW_DIR && gh pr checkout 130
codex review --base origin/main

# Or use git worktree
git worktree add /tmp/pr-130-review pr-130-branch
cd /tmp/pr-130-review && codex review --base main

Parallel Issue Fixing

Use git worktrees to fix multiple issues in parallel:

bash
# Create worktrees
git worktree add -b fix/issue-78 /tmp/issue-78 main
git worktree add -b fix/issue-99 /tmp/issue-99 main

# Launch agents (use background shell execution)
cd /tmp/issue-78 && codex --yolo 'Fix issue #78: <description>. Commit when done.'
cd /tmp/issue-99 && codex --yolo 'Fix issue #99: <description>. Commit when done.'

# Create PRs after
cd /tmp/issue-78 && git push -u origin fix/issue-78
gh pr create --repo user/repo --head fix/issue-78 --title "fix: ..." --body "..."

# Cleanup
git worktree remove /tmp/issue-78
git worktree remove /tmp/issue-99

Rules

  1. Use the right execution mode per agent: Claude Code uses --print (no PTY); Codex/Pi/OpenCode may need interactive terminal.
  2. Respect tool choice — if the user asks for Codex, use Codex. Don't silently switch agents.
  3. Be patient — don't kill sessions because they seem slow.
  4. Monitor progress — check output periodically without interfering.
  5. Never run coding agents inside the SwarmClaw project directory — use a separate project directory or temp folder.

Progress Updates

When spawning coding agents in the background:

  • Send a short message when you start (what's running, where).
  • Update only when something changes (milestone, error, completion).
  • If you kill a session, say so immediately and explain why.

© swarmclawai, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in skills/coding-agent of swarmclawai/swarmclaw.

Open the folder on GitHubat commit ed38ba5

Compare with similar skills

Coding Agent next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Coding Agent compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Coding Agent this skillswarmclawai/swarmclaw688—~900Automated safety check: PassMIT
OctomindMuvon/octomind151—~1.6kAutomated safety check: PassApache-2.0
Dashclaw Governanceucsandman/DashClaw310—~2.7kAutomated safety check: PassMIT
Harness Engineering LifecycleArenukvern/mcp_flutter386—~1.6kAutomated safety check: PassMIT
Claude Code Clawdbotwin4r/claude-code-clawdbot-skill123—~2.5kAutomated safety check: WarnNone
Magic ResumeMagic-Resume/Magic-Resume101—~663Automated safety check: PassMIT

Similar skills

  • Octomind

    Muvon/octomind

    Delegate coding to the Octomind CLI — a token-efficient, model-agnostic coding agent.

    151 GitHub stars~1.6k tokensUpdated today
    Agent WorkflowsAuto-check passed
  • Dashclaw Governance

    ucsandman/DashClaw

    Governance behavior for AI agents governed by DashClaw. An agent skill from ucsandman/DashClaw.

    310 GitHub stars~2.7k tokensUpdated 2 days ago
    Agent WorkflowsAuto-check passed
  • Harness Engineering Lifecycle

    Arenukvern/mcp_flutter

    Design, implement, and integrate generalized validation harnesses across a producer-consumer boundary after a local harness contract exists.

    386 GitHub stars~1.6k tokensUpdated 5 days ago
    Agent WorkflowsAuto-check passed
  • Claude Code Clawdbot

    win4r/claude-code-clawdbot-skill

    Run Claude Code (Anthropic) from this host via the claude CLI (Agent SDK) in headless mode (-p) for codebase analysis, refactors, test fixing, and structured output.

    123 GitHub stars~2.5k tokensUpdated 8 mo ago
    AI & LLM EngineeringAuto-check: warnings
  • Magic Resume

    Magic-Resume/Magic-Resume

    How AI agents integrate with Magic Resume — read and safely edit a user's resumes through the native MCP server (@magic-resume/mcp).

    101 GitHub stars~663 tokensUpdated 2 days ago
    Agent WorkflowsAuto-check passed
  • Build Dashclaw

    ucsandman/DashClaw

    Contribute to the DashClaw codebase — architecture, scaffolding, tests, CI

    310 GitHub stars~1.3k tokensUpdated 2 days ago
    AI & LLM EngineeringAuto-check passed

More from swarmclawai/swarmclaw

All 12 skills in this repo
  • Openai Image Gen

    swarmclawai/swarmclaw

    Generate images via OpenAI Images API (GPT Image, DALL-E 3, DALL-E 2).

    688 GitHub stars~705 tokensUpdated 3 mo ago
    Auto-check passed
  • Skill Creator

    swarmclawai/swarmclaw

    Create, edit, improve, or audit skills for SwarmClaw agents.

    688 GitHub stars~1.4k tokensUpdated 3 mo ago
    Auto-check passed
  • Nano Banana Pro

    swarmclawai/swarmclaw

    Generate or edit images via Gemini 3 Pro Image (Nano Banana Pro).

    688 GitHub stars~481 tokensUpdated 3 mo ago
    Auto-check passed
  • GitHub

    swarmclawai/swarmclaw

    GitHub operations via gh CLI: issues, PRs, CI runs, code review, API queries.

    688 GitHub stars~820 tokensUpdated 3 mo ago
    Auto-check passed
  • Swarmclaw

    swarmclawai/swarmclaw

    AI agent runtime and multi-agent orchestration platform. An agent skill from swarmclawai/swarmclaw.

    688 GitHub stars~2k tokensUpdated 3 mo ago
    Auto-check passed
  • Swarmclaw

    swarmclawai/swarmclaw

    Manage your SwarmClaw agent fleet — agents, tasks, chats, chatrooms, goals, schedules, memory, wallets, connectors, autonomy, and 40+ more command groups.

    688 GitHub stars~4.2k tokensUpdated 3 mo ago
    Auto-check passed

Questions about Coding Agent

What does Coding Agent do?

Delegate coding tasks to external coding agents (Claude Code, Codex, Pi, OpenCode) via shell. Coding Agent is an agent skill from swarmclawai/swarmclaw. Delegate coding tasks to external coding agents (Claude Code, Codex, Pi, OpenCode) via shell.

When should I use Coding Agent?

Coding Agent fits situations like: building new features; apps in a separate project; refactoring large codebases; iterative coding that needs file exploration.

How do I install Coding Agent in Claude Code?

Run `npx skills add swarmclawai/swarmclaw --skill coding-agent -a claude-code`. Or copy the skill folder (skills/coding-agent in swarmclawai/swarmclaw) into .claude/skills/coding-agent in your project. Claude Code loads it when a task matches its description.

How do I install Coding Agent in Codex?

Run `npx skills add swarmclawai/swarmclaw --skill coding-agent -a codex`. Or copy the skill folder (skills/coding-agent in swarmclawai/swarmclaw) into .agents/skills/coding-agent in your project. Codex loads it when a task matches its description.

Can I use Coding Agent in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add swarmclawai/swarmclaw --skill coding-agent -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/coding-agent, .gemini/skills/coding-agent, .github/skills/coding-agent and .opencode/skills/coding-agent in your project.

What does Coding Agent need to run?

Going by SKILL.md and its folder, Coding Agent needs the command-line tools its instructions call (git, codex, gh, claude and opencode). Our summary lists: Node.js.

Does Coding Agent access the network?

SKILL.md names 1 domain. In commands or code: github.com; the agent is likely to contact it when it follows the instructions. This is read from the text; nothing was executed.

Is Coding Agent safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Coding Agent use?

Coding Agent is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Coding Agent use?

About 900 tokens (SKILL.md is roughly 3.6k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Coding Agent?

Skills that share tags, products or a category with Coding Agent: Octomind (Muvon/octomind, 151 stars), Dashclaw Governance (ucsandman/DashClaw, 310 stars), Harness Engineering Lifecycle (Arenukvern/mcp_flutter, 386 stars) and Claude Code Clawdbot (win4r/claude-code-clawdbot-skill, 123 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Coding Agent?

swarmclawai (a GitHub organization) maintains it in swarmclawai/swarmclaw, which has 688 GitHub stars. The repository holds 12 skills in this directory. The repository was last updated on June 30, 2026.

Source: swarmclawai/swarmclaw on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.