skills/coding-runner/SKILL.md
Simple guideline for running coding CLIs (Codex/Claude/pi/OpenCode) **only via tmux skill**.
npx skillsauth add dwsy/agent coding-runnerInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
目标:不再实现单独脚本/入口,只用一份文档说明 如何复用现有 tmux 技能 来运行代码类 CLI。
你只需要告诉 agent 要做什么;agent 内部用 tmux 起会话, 并按照下述规范返回:socket、session、启动/查看/停止命令。
index.ts 之类的实现文件。start:已经执行过的启动命令(说明用)。inspect:查看 / attach 会话的命令。stop:停止会话的命令。统一使用(示例约定,可按实际 tmux skill 调整):
SOCKET="/tmp/pi-tmux-sockets/pi.sock"
pi-task-<slug>pi-dev-<project>SESSION="pi-task-auth-fix"
例:在
/path/to/project里用 Codex 修 bug。
CMD="cd /path/to/project && codex exec --full-auto 'Fix the auth bug in auth.ts'"
SOCKET="/tmp/pi-tmux-sockets/pi.sock"
SESSION="pi-task-auth-fix"
mkdir -p "$(dirname "$SOCKET")"
tmux -S "$SOCKET" new -d -s "$SESSION" "$CMD"
# 启动命令(已执行,仅供记录)
tmux -S /tmp/pi-tmux-sockets/pi.sock new -d -s pi-task-auth-fix "cd /path/to/project && codex exec --full-auto 'Fix the auth bug in auth.ts'"
# 查看 / 进入会话
tmux -S /tmp/pi-tmux-sockets/pi.sock attach -t pi-task-auth-fix
# 停止会话
tmux -S /tmp/pi-tmux-sockets/pi.sock kill-session -t pi-task-auth-fix
Agent 在回答中应至少提供后两条命令(inspect/stop),并说明 socket 和 session 名称。
例:在
/path/to/project运行npm run dev。
SOCKET="/tmp/pi-tmux-sockets/pi.sock"
SESSION="pi-dev-myproj"
CMD="cd /path/to/project && npm run dev"
mkdir -p "$(dirname "$SOCKET")"
tmux -S "$SOCKET" new -d -s "$SESSION" "$CMD"
# 返回给用户:
# 查看
# tmux -S /tmp/pi-tmux-sockets/pi.sock attach -t pi-dev-myproj
# 停止
# tmux -S /tmp/pi-tmux-sockets/pi.sock kill-session -t pi-dev-myproj
禁止在敏感目录起会话命令
~/.pi/agent~/.pi/gateway尊重用户明确要求
非阻塞
/tmp/pi-tmux-sockets/pi.sock 上创建 tmux 会话。testing
Best practices for writing and maintaining high-quality role memories.
documentation
工作文档枢纽,强制执行 SSOT(Single Source of Truth)原则,管理 `docs/` 目录下的架构决策、设计文档、Issues(任务规划)、PRs(变更记录)。支持 GitHub 协作开发模式。
tools
Allows to interact with web pages by performing actions such as clicking buttons, filling out forms, and navigating links. It works by remote controlling Google Chrome or Chromium browsers using the Chrome DevTools Protocol (CDP). When Claude needs to browse the web, it can use this skill to do so.
development
Vercel 设计指南 - 构建高质量 Web 应用的最佳实践,包含现代 UI/UX 原则、性能优化和无障碍标准。