用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/mkusaka/ccskills --skill run-cli-tool-example命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
Reference guide covering decision heuristics for building agents on the Claude API, including tool surface design, context management, caching strategies, and composing tool calls
Step-by-step migration guide for upgrading Python projects from the Anthropic SDK 0.x to 1.x, covering Python and dependency requirements, httpx2, removed APIs and parameters, response handling, testing, and verification
Catalogs reusable Artifact components and supplies the exact scripts, styles, tokens, markup contract, and composition limits for embedding interactive decision blocks
正在显示 SKILL.md
| name | run-cli-tool-example |
| description | Example file for the Run app skill showing how to document building, invoking, and testing a CLI tool |
| metadata | {"originalName":"Skill: Run CLI tool example","ccVersion":"2.1.246","sourceUrl":"https://github.com/Piebald-AI/claude-code-system-prompts/blob/main/system-prompts/skill-run-cli-tool-example.md","source":{"owner":"Piebald-AI","repo":"claude-code-system-prompts","ref":"main","path":"system-prompts/skill-run-cli-tool-example.md"}} |
CLIs are the simplest case - there's usually no background process to manage, no ports, no lifecycle. The skill focuses on installation, representative invocations, and testing.
PATH. Installed globally? Run via
npx/uv run? Built to ./target/release/foo? Be explicit.
name: run-mytool description: Build, install, and run mytool. Use when asked to run mytool, test it, or verify it's installed correctly.
Setup
pip install -e .This puts
mytoolon PATH. Verify:mytool --version # -> mytool 0.3.1Run
Process a single file:
mytool process input.json # -> Processed 42 records, wrote output.jsonRead from stdin, write to stdout:
cat input.json | mytool process -Lint a directory (exits non-zero on problems):
mytool lint ./src echo $? # 0 if clean, 1 if issues foundTest
pytest
A CLI's run skill can be very compact. Don't pad it with every flag -
the --help output covers that. Just show enough that an agent can
(a) build it, (b) confirm it works, (c) run the tests.