一键导入
cc-run-skill-template
Template file for the Run skill generator showing the frontmatter and section structure for a project-specific run skill
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Template file for the Run skill generator showing the frontmatter and section structure for a project-specific run skill
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Reference guide covering decision heuristics for building agents on the Claude API, including tool surface design, context management, caching strategies, and composing tool calls
Template for presenting language-specific reference documentation with quick task navigation
Guides Claude in building LLM-powered applications using the Anthropic SDK, covering language detection, API surface selection (Claude API vs Managed Agents), model defaults, thinking/effort configuration, and language-specific documentation reading
Skill definition for the /catch-up periodic heartbeat that scans current priorities, triages actionable changes, reports a short digest, and updates catch-up state
Instructions for using computer-use MCP tools including tool selection tiers, app access tiers, link safety, and financial action restrictions
Prompt for creating verifier skills for the Verify agent to automatically verify code changes
| name | cc-run-skill-template |
| description | Template file for the Run skill generator showing the frontmatter and section structure for a project-specific run skill |
<One-sentence description: what this is and how an agent drives it.
Name the handle here — "drive it via
.claude/skills/run-<unit-name>/driver.mjs under xvfb" for a desktop
app, or "start the dev server then drive it via chromium-cli" for a
web app — so an agent knows where to look first.>
<If the unit isn't at repo root:>
All paths below are relative to <unit-dir>/.
<System-level requirements. The exact apt-get install line you ran —
not a generic list, the one that actually worked. Target Ubuntu.>
sudo apt-get update
sudo apt-get install -y <packages-you-actually-installed>
# Example: Node 20 via nvm, Python 3.12 via uv, etc.
<One-time setup after clone: install deps, configure, apply any patches (feature-gate overrides, config stubs) with the exact command.>
<commands>
<Env vars — required vs optional, with sensible defaults:>
export FOO_API_KEY=... # required — get from <where>
export BAR_MODE=dev # optional — default is prod
<command>
<This is the section a future agent actually uses. If you built a
driver/REPL/smoke script, this documents how to launch it and what it
does. If the app is simple enough that curl or a one-liner suffices,
that one-liner goes here.>
<launch-the-driver-or-smoke-script>
<For REPL-style drivers, show the tmux wrapping. Poll for a ready marker between send-keys and capture-pane — faster than a fixed sleep and fails loudly instead of capturing a half-rendered screen:>
tmux new-session -d -s app -x 200 -y 50
tmux send-keys -t app '<launch command>' Enter
timeout 30 bash -c 'until tmux capture-pane -t app -p | grep -q "<ready-marker>"; do sleep 0.2; done'
tmux send-keys -t app '<first driver command>' Enter
tmux capture-pane -t app -p
<Where artifacts land (screenshots, logs) — absolute paths:>
Screenshots → /tmp/shots/. Logs → /tmp/<app>.log.
<If the driver has commands, a table:>
| command | what it does |
|---|---|
<cmd> |
<If meaningfully different from the agent path. Brief — agents won't use this, humans can figure it out.>
<command> # → <what happens>. <how to stop>.
<command>
<Expected result — "N suites pass", or specific known-flaky tests.>
<Optional sections below — include only if relevant and only with content you actually hit, not generic advice.>
<Non-obvious traps. The things that look like they should work but don't, with the workaround. If this section is generic, delete it.>
<Symptom → fix. Only errors you actually encountered.>
<---
NOTE ON THE FRONTMATTER ABOVE:
name: and description:. The name:
becomes the slash command (/run-) and must match the
directory name.description: is what Claude scans to decide whether to load this
skill automatically. Keep the verbs — "start," "run," "build," "test,"
"screenshot" — they're what an asking agent will actually type.NOTE ON THE DRIVER:
chromium-cli
heredoc in the Run section is the harness.Delete everything from --- above onwards before committing. --->