Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx agentmods add commands/samqin123/claude_skill_pool/api-firstgit clone --depth 1 https://github.com/samqin123/Claude_skill_poolWhat it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5 | $0.00034 | $0.00355 |
| Opus 5 | $0.00017 | $0.00178 |
| Sonnet 5 | $0.00007 | $0.00071 |
| Haiku 4.5 | $0.00003 | $0.00036 |
Grade A, and why
api-first scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
What it actually says
你现在激活了 API-First 模块化开发框架。
请先阅读 .claude/skills/api-first-modular.md 获取完整的方法论和工作流程。
快速指引
根据用户的需求类型,按以下方式工作:
1. 纯后端开发
走后端 API 包 5 步闭环:开发 → Checkfix → 封装 → API端点 → API文档
2. 纯前端开发
确认 API 文档已就绪,然后依据文档实现页面和 API 调用。如果 API 文档缺失,先要求补全。
3. 跨层开发/调试(最常见)
执行「跨层任务自动分解协议」:
- 层级识别 — 判断涉及哪些层(后端/前端/中间层)
- API边界拆分 — 按 API 包粒度拆为有序子任务
- 严格按序执行 — 后端先行 → API文档 → 前端消费 → 集成验证
4. Debug 任务
执行「Debug 边界规则」:
- 先判断问题归属层 — 后端API包内部?前端?中间层?契约不一致?
- 只在对应层内定位和修复
- 禁止跨层"绕过"修复
用户需求
$ARGUMENTS
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 2d ago First seen · 34 lines · 34 tokens per session scan A a988302d2e0d
api-first is a command published in the GitHub repository samqin123/Claude_skill_pool (2 stars, last pushed 6mo ago), licensed Apache-2.0. It adds 34 tokens to every session and 355 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.
Other commands, from other repositories
git
Git operations with intelligent commit messages and workflow optimization.
checklist
Generate a custom checklist for the current feature based on user requirements.
clarify
Identify underspecified areas in the current feature spec by asking up to 5 highly targeted clarification questions and encoding answers back into the spec.
specify
Create or update the feature specification from a natural language feature description.
analyze
Perform a non-destructive cross-artifact consistency and quality analysis across spec.md, plan.md, and tasks.md after task generation.
constitution
Create or update the project constitution from interactive or provided principle inputs.