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 CraftOS-dev/CraftBot --skill sharp-edgesgit clone --depth 1 https://github.com/CraftOS-dev/CraftBotWrote 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/craftos-dev/craftbot/sharp-edges)<a href="https://agentmods.dev/skills/craftos-dev/craftbot/sharp-edges"><img src="https://agentmods.dev/badge/skills/craftos-dev/craftbot/sharp-edges/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/craftos-dev/craftbot/sharp-edges"><img src="https://agentmods.dev/badge/skills/craftos-dev/craftbot/sharp-edges.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.00074 | $0.02583 |
| Opus 5.5 | $0.00030 | $0.01033 |
| Sonnet 5.5 | $0.00015 | $0.00517 |
| Haiku 4.5 | $0.00007 | $0.00258 |
Grade A, and why
sharp-edges 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 2mo 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.
This is a copy
91% identical to sharp-edges — 15 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.
How it starts
The opening of the file, as written. The whole thing — 295 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Sharp Edges Analysis
Evaluates whether APIs, configurations, and interfaces are resistant to developer misuse. Identifies designs where the "easy path" leads to insecurity.
When to Use
- Reviewing API or library design decisions
- Auditing configuration schemas for dangerous options
- Evaluating cryptographic API ergonomics
- Assessing authentication/authorization interfaces
- Reviewing any code that exposes security-relevant choices to developers
When NOT to Use
- Implementation bugs (use standard code review)
- Business logic flaws (use domain-specific analysis)
- Performance optimization (different concern)
Agent
The sharp-edges-analyzer agent runs the full sharp edges analysis workflow autonomously. Use it when you want a dedicated analysis of APIs, configurations, or interfaces for misuse resistance and footgun potential. The agent follows the four-phase workflow (Surface Identification, Edge Case Probing, Threat Modeling, Validate Findings) and reads language-specific references on demand.
Core Principle
The pit of success: Secure usage should be the path of least resistance. If developers must understand cryptography, read documentation carefully, or remember special rules to avoid vulnerabilities, the API has failed.
Rationalizations to Reject
| Rationalization | Why It's Wrong | Required Action |
|---|---|---|
| "It's documented" | Developers don't read docs under deadline pressure | Make the secure choice the default or only option |
| "Advanced users need flexibility" | Flexibility creates footguns; most "advanced" usage is copy-paste | Provide safe high-level APIs; hide primitives |
| "It's the developer's responsibility" | Blame-shifting; you designed the footgun | Remove the footgun or make it impossible to misuse |
| "Nobody would actually do that" | Developers do everything imaginable under pressure | Assume maximum developer confusion |
| "It's just a configuration option" | Config is code; wrong configs ship to production | Validate configs; reject dangerous combinations |
| "We need backwards compatibility" | Insecure defaults can't be grandfather-claused | Deprecate loudly; force migration |
What ships with it
16 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.
- references/auth-patterns.md 6.9 KB
- references/case-studies.md 8.0 KB
- references/config-patterns.md 9.5 KB
- references/crypto-apis.md 5.1 KB
- references/lang-c.md 5.5 KB
- references/lang-csharp.md 7.2 KB
- references/lang-go.md 6.5 KB
- references/lang-java.md 6.7 KB
- references/lang-javascript.md 6.8 KB
- references/lang-kotlin.md 6.6 KB
- references/lang-php.md 6.0 KB
- references/lang-python.md 6.5 KB
- references/lang-ruby.md 6.1 KB
- references/lang-rust.md 6.4 KB
- references/lang-swift.md 6.1 KB
- references/language-specific.md 13 KB
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.
- 2mo ago First seen · 295 lines · 74 tokens per session scan A 611426924c50
sharp-edges is a skill published in the GitHub repository CraftOS-dev/CraftBot (431 stars, last pushed yesterday), licensed MIT. It adds 74 tokens to every session and 2,583 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it A with 0 findings. It is 91% identical to sharp-edges, differing in 15 lines, and is treated as a copy.
sharp-edges compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| sharp-edgesCraftOS-dev/CraftBot | Skill | 431 | yesterday | MIT | A | 74 | Claude Code |
| development-estimationfrumu-ai/tandem | Skill | 125 | 1mo ago | none | A | 53 | Claude Code, Codex |
| asplos-writing-stylebrycewang-stanford/Awesome-Journal-Skills | Skill | 1.5k | 2d ago | MIT | A | 65 | Claude Code |
| code-reviewerRightNow-AI/openfang | Skill | 18k | 5mo ago | Apache-2.0 | A | 17 | Claude Code, Codex |
| updaterdotcommander/cclint | Skill | 18 | 11d ago | MIT | A | 69 | Claude Code, Codex |
| writing-typescriptalexei-led/cc-thingz | Skill | 37 | yesterday | MIT | A | 78 | Claude Code, Codex |
| river-review-architectures977043/river-review | Skill | 8 | yesterday | MIT | A | 53 | Claude Code |