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 skills add CHENyiru3/AI-Skills-Collections --skill api-designgit clone --depth 1 https://github.com/CHENyiru3/AI-Skills-CollectionsWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/chenyiru3/ai-skills-collections/api-design)<a href="https://agentmods.dev/skills/chenyiru3/ai-skills-collections/api-design"><img src="https://agentmods.dev/badge/skills/chenyiru3/ai-skills-collections/api-design/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/chenyiru3/ai-skills-collections/api-design"><img src="https://agentmods.dev/badge/skills/chenyiru3/ai-skills-collections/api-design.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What 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.1 | $0.00041 | $0.00387 |
| Opus 5.5 | $0.00016 | $0.00155 |
| Sonnet 5.5 | $0.00008 | $0.00077 |
| Haiku 4.5 | $0.00004 | $0.00039 |
Grade A, and why
designing-python-apis 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 3d 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
Python API Design
Start from representative calling code and the package's current supported users. Preserve established naming and behavior unless the requested change includes a migration. Optimize a common call without making exceptional use impossible.
- Distinguish public exports from internal implementation. A new abstraction needs a concrete caller; underscore naming alone does not enforce privacy.
- Specify accepted types/shapes, mutability/ownership, return types and side effects. Decide whether an iterable may be consumed once, copied or modified in place.
- Use keyword-only options when adjacent positional values are ambiguous. Preserve positional/keyword compatibility when changing an existing signature.
- Distinguish absent values from valid false/empty values. Avoid mutable defaults and coercions that silently erase caller intent.
- Document actionable exception types and failure conditions; keep diagnostic messages useful without exposing secrets. Do not invent exception classes that the package does not define.
- For a deprecation, identify affected callers, a replacement, a supported warning path and removal policy. Test that compatibility wrappers preserve results and warning attribution. A rename is not compatible merely because it reads better.
Read EVOLUTION.md for migration work and PATTERNS.md when a builder/factory solves an actual interface problem. Treat examples as illustrative, not a mandate to add patterns.
Validate representative calls and a relevant error/compatibility case. Stop when the requested interface contract is clear and verified; do not require a package redesign for a narrow API question.
What ships with it
2 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
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.
- 3d ago Changed · -85 lines · -29 tokens per session e61b098809bd
- 1mo ago First seen · 122 lines · 70 tokens per session scan A aa6f166f42ab
designing-python-apis is a skill published in the GitHub repository CHENyiru3/AI-Skills-Collections (2 stars, last pushed 3d ago), licensed MIT. It adds 41 tokens to every session and 387 once invoked, about $0.0002 per session on Opus 5.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-10-02.
designing-python-apis compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| designing-python-apisCHENyiru3/AI-Skills-Collections | Skill | 2 | 3d ago | MIT | A | 41 | Claude Code |
| mcore-linting-and-formattingNVIDIA/skills | Skill | 4.0k | yesterday | Apache-2.0 | A | 44 | Claude Code |
| python-engineering-guidelinesanywhere-labs/Agents-Anywhere | Skill | 3.4k | yesterday | Apache-2.0 | A | 75 | Codex |
| python-review-checklistawslabs/cli-agent-orchestrator | Skill | 1.6k | today | Apache-2.0 | A | 20 | Claude Code, Codex |
| best-practicesFradSer/dotclaude | Skill | 596 | 8d ago | MIT | A | 52 | Claude Code |
| plankton-code-qualityloulanyue/awesome-claude-notes | Skill | 271 | 1mo ago | MIT | A | 34 | Claude Code |
| python-servicesiliaal/whetstone | Skill | 36 | yesterday | MIT | A | 48 | Claude Code, Codex |