Token导航 LogoToken导航

Agent Skill · AI 工具

coding-agent(编码剂)

coding-agent 用于处理 GitHub 仓库、Issue、Pull Request 和代码协作信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要围绕仓库状态、代码变更或协作事项进行整理时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

coding-agent 是AI 工具类 Agent Skill,可用宿主为 Codex、Claude、Cursor、Gemini CLI,通过GitHub 仓库获取,权限为执行命令;许可证为 MIT,第三方扫描有未通过项,按安装量在AI 工具类的 2,536 个 Skill 里排第 70。

总安装 32,592周安装 1,418GitHub Stars 366,406下载 11,424核验 2026-05-01

安装说明

本站只整理中文说明,不托管安装包,也不代用户安装。
GitHub
许可证
MIT

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:coding-agent(编码剂)
来源仓库:https://github.com/steipete/clawdis
仓库路径:skills/coding-agent
安装命令:
npx skills add https://github.com/steipete/clawdis --skill coding-agent
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。不同来源提供的安装方式可能略有差异;本站展示可直接复制的安装命令,安装前请核对来源页面。

skills.shnpx skills
npx skills add https://github.com/steipete/clawdis --skill coding-agent

这个 Skill 是做什么的

AI 工具类 Skill 用来扩展助手本身的能力,例如接模型、接检索、接外部服务。

通过后台 bash 进程将编码任务委托给 Codex、Claude Code、Pi 或 OpenCode 代理。

支持四种编码代理(Codex、Claude Code、Pi、OpenCode),具有特定于代理的执行模式:Codex/Pi/OpenCode 需要 PTY;克劳德代码使用 --print --permission-modebypassPermissions 无PTY 通过流程工具操作(日志、轮询、写入、提交、终止)对长时间运行的任务进行后台执行和会话监控 专为功能构建、PR 审查、重构和文件探索迭代编码而设计;包括使用 git worktrees 并行修复问题的模式 Codex 需要 git 存储库(使用 temp init 进行临时工作);尊重工作目录隔离以防止不相关的文件访问

来源仓库内路径:skills/coding-agent

上手步骤

4 步
  1. 1

    确认自己的宿主工具

    公开资料标注支持 Codex、Claude、Cursor、Gemini CLI;先确认自己用的是其中之一,再按对应工具的 Skills 目录放置。

  2. 2

    拿到安装命令

    可以直接复制的命令是 npx skills add https://github.com/steipete/clawdis --skill coding-agent;命令里的占位符换成自己的路径或密钥再执行。

  3. 3

    安装后重启宿主

    命令执行完要完全退出宿主工具再打开,让新装的 Skill 被重新扫描到,否则列表里可能看不到。

  4. 4

    按最小权限试用

    它需要执行命令,先在测试目录或测试账号里跑,确认没问题再放到正式项目。

常见问题

6 条

coding-agent 怎么安装?

在终端执行 npx skills add https://github.com/steipete/clawdis --skill coding-agent。装完完全退出宿主工具再打开,让它重新扫描本地 Skill。

coding-agent 支持哪些 AI 工具?

公开资料标注支持 Codex、Claude、Cursor、Gemini CLI。其他工具只要能读取本地 Skill 目录,一般也能手动放进去,但要自己确认触发方式是否一致。

coding-agent 需要什么权限?

权限级别是执行命令。安装流程涉及命令执行,可能通过 npx skills add https://github.com/steipete/clawdis --skill coding-agent;npx skills add steipete/clawdis --skill "coding-agent" 联网下载 Skill 或依赖。用户安装前应确认命令来源、仓库内容和执行环境。

coding-agent 是免费的吗?

来源标注的许可证是 MIT。本站不代收任何费用,也不托管安装包;能否商用、要不要署名,以许可证原文为准。

coding-agent 用的人多吗?

公开数据是累计安装 32,592 次,近一周安装 1,418 次,下载 11,424 次,GitHub 366,406 星。这些数字来自第三方目录统计,只能当作热度参考,不代表质量或安全性。

coding-agent 安全吗?

第三方扫描有未通过项,风险较高。除非你确认过源码,否则不建议直接安装到常用环境。

值得选的地方和要先想清楚的地方

值得选的地方

  • 同时适配 4 种工具,换客户端不用重新找替代品。
  • 3 个目录同时收录,说明这个 Skill 流传比较广。
  • 许可证明确为 MIT,商用和分发边界好判断。
  • 来源仓库有 366,406 星,维护活跃度相对可查。

先想清楚的地方

  • 需要执行命令,装到常用环境前要先评估影响面。
  • 第三方扫描存在提醒项或未通过项,需要人工逐条确认。
  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

  • 已经在用 Codex,想直接扩展它能力的人。
  • 需要处理AI 工具类任务、又不想每次都手写提示词的人。

不太适合

  • 不能接受 Skill 在你机器上执行命令的人。
  • 需要厂商级技术支持和 SLA 的生产系统。

AI 工具类 Skill 对比

6 个同类
Skill总安装GitHub 星权限许可证扫描
executing-plans

执行计划 · Codex、Claude

1,515,336173,110只读MIT通过
verification-before-completion

完成前的验证 · Codex、Claude

1,319,472173,121权限未标注MIT通过
subagent-driven-development

子 Agent 驱动开发 · Codex、Claude

1,312,416173,138只读MIT通过
copy-editing

复制编辑 · Codex、Claude

1,209,57625,632只读MIT通过
paywall-upgrade-cro

付费专区升级 cro · Codex、Claude

1,030,17625,617只读MIT通过
coding-agent

编码剂 · 本页

32,592366,406执行命令MIT未通过

按安装量取同分类前几名;数字来自第三方目录统计,只作热度参考,不代表质量结论。

SKILL.md 原文

Coding Agent (always backgrounded)

Use bash with background:true for all coding-agent work. Do not use a foreground one-shot path here. Start the agent, get the sessionId, monitor with process, and require the worker to notify the user directly when it finishes.

⚠️ PTY Mode: Codex/Pi/OpenCode yes, Claude Code no

For Codex, Pi, and OpenCode, PTY is required:

# Correct for Codex/Pi/OpenCode
bash pty:true background:true command:"codex exec 'Your prompt'"

For Claude Code (claude CLI), use --print --permission-mode bypassPermissions instead. Do not use PTY for Claude Code here.

# Correct for Claude Code
bash background:true command:"claude --permission-mode bypassPermissions --print 'Your task'"

# Wrong for Claude Code (PTY, wrong flags, no background)
bash pty:true command:"claude --dangerously-skip-permissions 'task'"

Bash Tool Parameters

ParameterTypeDescription
commandstringThe shell command to run
ptybooleanUse for Codex/Pi/OpenCode
workdirstringWorking directory
backgroundbooleanAlways true for this skill
timeoutnumberTimeout in seconds
elevatedbooleanRun on host instead of sandbox (if allowed)

Process Tool Actions

ActionDescription
listList all running/recent sessions
pollCheck if session is still running
logGet session output (with optional offset/limit)
writeSend raw data to stdin
submitSend data + newline (like typing and pressing Enter)
send-keysSend key tokens or hex bytes
pastePaste text (with optional bracketed mode)
killTerminate the session

Mandatory Pattern

Every coding-agent run follows this pattern:

  1. Capture the notification route from the current conversation before spawning:

- notifyChannel - notifyTarget - notifyAccount (if applicable) - notifyReplyTo (if replying to a specific message is desired) - notifyThreadId (Telegram topic / Slack thread when applicable)

  1. Start the coding CLI with background:true immediately.
  2. Include the notification route in the worker prompt and require the worker to call openclaw message send on completion.
  3. Monitor with process action:log / poll.
  4. If the worker needs input or fails before notifying, handle that explicitly yourself. Do not rely on heartbeat.

If you do not have a trustworthy notification route, say so and do not claim that completion will notify the user automatically.


Notification Route

Do not rely on:

  • openclaw system event
  • tools.exec.notifyOnExit
  • heartbeat delivery
  • HEARTBEAT.md

Use a direct outbound completion message instead:

openclaw message send --channel <channel> --target '<target>' --message '<text>'

Add optional routing flags only when they are real and applicable:

  • --account <id>
  • --reply-to <messageId>
  • --thread-id <threadId>

openclaw message send is a direct outbound send. It does not depend on heartbeat being enabled.

Completion Prompt Snippet

Append something like this to every worker prompt:

Notification route for completion:
- channel: <notifyChannel>
- target: <notifyTarget>
- account: <notifyAccount or omit>
- reply_to: <notifyReplyTo or omit>
- thread_id: <notifyThreadId or omit>

When the task is completely finished, send exactly one completion message back to the user with openclaw message send using that route.
If the task fails fatally, send exactly one failure message back to the user with openclaw message send using that route.
Do not use openclaw system event. Do not rely on heartbeat. Do not skip the completion/failure message.

Completion Command Template

openclaw message send \
  --channel <notifyChannel> \
  --target '<notifyTarget>' \
  --message 'Done: <brief summary>'

Optional additions:

  --account <notifyAccount> \
  --reply-to <notifyReplyTo> \
  --thread-id <notifyThreadId>

Quick Start

For scratch Codex work, create a temp git repo first, then start the worker in the background with the completion route injected into the prompt:

SCRATCH=$(mktemp -d)
cd "$SCRATCH" && git init

bash pty:true workdir:$SCRATCH background:true command:"codex exec 'Your prompt here.

Notification route for completion:
- channel: <notifyChannel>
- target: <notifyTarget>
- account: <notifyAccount or omit>
- reply_to: <notifyReplyTo or omit>
- thread_id: <notifyThreadId or omit>

When the task is completely finished, send exactly one completion message back to the user with openclaw message send using that route.
If the task fails fatally, send exactly one failure message back to the user with openclaw message send using that route.
Do not use openclaw system event. Do not rely on heartbeat. Do not skip the completion/failure message.'"

Codex refuses to run outside a trusted git directory. Reuse this same notify-route injection block in every example below; only the task-specific prompt body should change.


Codex CLI

Model: gpt-5.2-codex is the default (set in ~/.codex/config.toml)

Flags

FlagEffect
exec "prompt"One-shot execution inside the worker CLI
--full-autoSandboxed but auto-approves in workspace
--yoloNo sandbox, no approvals

Building/Creating

# Always background immediately
bash pty:true workdir:~/project background:true command:"codex exec --full-auto 'Build a dark mode toggle'"

# More autonomy
bash pty:true workdir:~/project background:true command:"codex --yolo 'Refactor the auth module'"

Reviewing PRs

Never review PRs in OpenClaw's own project folder. Clone to a temp folder or use a worktree.

REVIEW_DIR=$(mktemp -d)
git clone https://github.com/user/repo.git $REVIEW_DIR
cd $REVIEW_DIR && gh pr checkout 130

bash pty:true workdir:$REVIEW_DIR background:true command:"codex review --base origin/main"

Or:

git worktree add /tmp/pr-130-review pr-130-branch
bash pty:true workdir:/tmp/pr-130-review background:true command:"codex review --base main"

Batch PR Reviews

git fetch origin '+refs/pull/*/head:refs/remotes/origin/pr/*'

bash pty:true workdir:~/project background:true command:"codex exec 'Review PR #86. git diff origin/main...origin/pr/86'"
bash pty:true workdir:~/project background:true command:"codex exec 'Review PR #87. git diff origin/main...origin/pr/87'"

process action:list
process action:log sessionId:XXX

Claude Code

bash workdir:~/project background:true command:"claude --permission-mode bypassPermissions --print 'Your task'"

OpenCode

bash pty:true workdir:~/project background:true command:"opencode run 'Your task'"

Pi Coding Agent

# Install: npm install -g @mariozechner/pi-coding-agent
bash pty:true workdir:~/project background:true command:"pi 'Your task'"

# Non-interactive mode
bash pty:true workdir:~/project background:true command:"pi -p 'Summarize src/'"

# Different provider/model
bash pty:true workdir:~/project background:true command:"pi --provider openai --model gpt-4o-mini -p 'Your task'"

Parallel Issue Fixing with git worktrees

git worktree add -b fix/issue-78 /tmp/issue-78 main
git worktree add -b fix/issue-99 /tmp/issue-99 main

bash pty:true workdir:/tmp/issue-78 background:true command:"pnpm install && codex --yolo 'Fix issue #78: <description>. Commit and push after review. Send the completion message with openclaw message send using the provided notify route.'"
bash pty:true workdir:/tmp/issue-99 background:true command:"pnpm install && codex --yolo 'Fix issue #99 from the approved ticket summary. Implement only the in-scope edits. Send the completion message with openclaw message send using the provided notify route.'"

process action:list
process action:log sessionId:XXX

⚠️ Rules

  1. Use the right execution mode per agent:

- Codex/Pi/OpenCode: pty:true - Claude Code: --print --permission-mode bypassPermissions (no PTY required)

  1. Respect tool choice - if user asks for Codex, use Codex.

- Orchestrator mode: do NOT hand-code patches yourself. - If an agent fails/hangs, respawn it or ask the user for direction, but don't silently take over.

  1. Be patient - don't kill sessions because they're "slow"
  2. Monitor with process:log - check progress without interfering
  3. --full-auto for building - auto-approves changes
  4. vanilla for reviewing - no special flags needed
  5. Parallel is OK - run many Codex processes at once for batch work
  6. NEVER start Codex inside your OpenClaw state directory ($OPENCLAW_STATE_DIR, default ~/.openclaw) - it'll read your soul docs and get weird ideas about the org chart!
  7. NEVER checkout branches in ~/Projects/openclaw/ - that's the LIVE OpenClaw instance!
  8. Always inject the Completion Prompt Snippet into the worker prompt before spawning. The simplified examples below omit it for brevity — never spawn a worker without it.

Progress Updates (Critical)

When you spawn a coding agent in the background, keep the user in the loop.

  • Send 1 short message when you start: what is running and where.
  • Update only when something changes:

- a milestone completes - the worker asks a question - you hit an error or need user action - the worker finishes

  • If you kill a session, immediately say you killed it and why.
  • If you are expecting the worker to self-notify with openclaw message send, say that clearly in your start update.

This prevents the user from seeing only a missing reply and having no idea what happened.


Rules

  1. Always background immediately.

- Use background:true for every coding-agent launch. - Do not use the foreground one-shot path in this skill.

  1. Use the right execution mode per agent.

- Codex/Pi/OpenCode: pty:true - Claude Code: --print --permission-mode bypassPermissions

  1. Respect tool choice.

- If the user asked for Codex, use Codex. - Orchestrator mode: do not hand-code the patch yourself instead of using the requested coding agent.

  1. Capture notify routing before spawn.

- Completion messaging must have a real route.

  1. Use direct completion messaging.

- Require openclaw message send. - Do not rely on openclaw system event or heartbeat.

  1. Do not silently take over.

- If a worker fails or hangs, respawn it or ask for direction. Do not quietly switch to hand-editing.

  1. Monitor with process.

- process action:log is the default low-friction check.

  1. Be patient.

- Do not kill sessions just because they are slow.

  1. Parallel is OK.

- Many background Codex sessions can run at once.

  1. Never start Codex in ~/.openclaw/.
  2. Never checkout branches in ~/Projects/openclaw/.

Learnings

  • PTY is essential for Codex/Pi/OpenCode.
  • Git repo required: Codex needs a trusted git directory.
  • Use exec under background orchestration: short and long tasks follow the same path now.
  • submit vs write: use submit to send input plus Enter.
  • Direct message send beats heartbeat for completion notification when the user must be told immediately and heartbeat may be disabled.

平台分布

Claude Code

28.59%
按下载量换算3,266

openclaw

21.09%
按下载量换算2,409

Gemini CLI

16.96%
按下载量换算1,938

Codex

12.73%
按下载量换算1,454

OpenCode

8.37%
按下载量换算956

Antigravity

3.26%
按下载量换算372

安全审计

Gen Agent Trust Hub

可疑

Socket

可疑

Snyk

未通过

权限和风险

执行命令

安装流程涉及命令执行,可能通过 npx skills add https://github.com/steipete/clawdis --skill coding-agent;npx skills add steipete/clawdis --skill "coding-agent" 联网下载 Skill 或依赖。用户安装前应确认命令来源、仓库内容和执行环境。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在提醒或未通过项,安装前请自行复核。

继续浏览同类 Skills