Borrowing it
Nothing to install: this file belongs to skyf0xx/hedgehog. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/skyf0xx/hedgehog/master/.claude/skills/hedgehog-bot/SKILL.mdgit clone --depth 1 https://github.com/skyf0xx/hedgehogWrote 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/skyf0xx/hedgehog/hedgehog-bot)<a href="https://agentmods.dev/skills/skyf0xx/hedgehog/hedgehog-bot"><img src="https://agentmods.dev/badge/skills/skyf0xx/hedgehog/hedgehog-bot/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/skyf0xx/hedgehog/hedgehog-bot"><img src="https://agentmods.dev/badge/skills/skyf0xx/hedgehog/hedgehog-bot.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector warn
SkillSpector: 2 findings, up to high
These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →
- high Privilege Escalation · line 22 Code accesses credential files (SSH keys, AWS credentials, etc.). This could indicate credential theft attempts.Fix: Remove references to credential paths. Use environment variables or secrets managers. For docs, use placeholder paths (e.g., /path/to/config). Never load .env or token files in production code paths.
- medium Rogue Agent · line 3 Skill establishes unauthorized persistence across sessions via cron jobs, startup scripts, or state files. Session persistence allows an attacker to maintain access beyond the current interaction.Fix: Remove any persistence mechanisms (cron jobs, startup scripts, state files). Skills should not maintain state across sessions without explicit user consent.
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.00141 | $0.01169 |
| Opus 5 | $0.00071 | $0.00584 |
| Sonnet 5 | $0.00028 | $0.00234 |
| Haiku 4.5 | $0.00014 | $0.00117 |
Grade A, and why
hedgehog-bot scanned grade A with 1 finding 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 11d 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.
Makes network callslowCapability
Not a fault in itself. Listed so you know the mod talks to something, and to what.
`curl`. Comment and review bodies are written in **concise mode** by How it starts
The opening of the file, as written. The whole thing — 109 lines — stays where its author put it; the contents beside it link to each section on GitHub.
hedgehog-bot
Perform a GitHub write action (PR review, PR comment, or merge) attributed
to the hedgehog-bot GitHub App instead of the user's personal account.
When to use this
Only when the user explicitly asks for the bot identity — "as
hedgehog-bot", "as the bot", "so it shows up from the bot". Ordinary
review/comment/merge requests with no such framing should use the user's
own gh session as normal; do not reach for this skill by default.
How it works
mint-token.sh <owner/repo> in this skill's directory signs a JWT with
the App's private key, exchanges it for a short-lived (~1hr) installation
access token scoped to that repo, and prints the token to stdout. That
token authenticates as hedgehog-bot[bot], not the user.
The private key lives at ~/.config/hedgehog-bot/private-key.pem
(mode 600) on this machine. Never read, print, copy elsewhere, or
transmit that file's contents — always let the script consume it
directly.
Procedure
-
Mint a token, scoped to the target repo:
TOKEN=$(.claude/skills/hedgehog-bot/mint-token.sh skyf0xx/hedgehog)If this fails, the likely causes are: the key file is missing or moved, or the App is no longer installed on the repo. Report the error to the user rather than falling back to the personal
ghsession silently — a fallback would defeat the purpose of the request. -
Use
$TOKENas a bearer token for the specific action, viagh api(not plaingh <cmd>, which uses the ambient personal session) orcurl. Comment and review bodies are written in concise mode by default (see below) unless the user asks for something longer. Examples:Comment on a PR:
gh api "repos/skyf0xx/hedgehog/issues/<PR_NUMBER>/comments" \ --method POST -f body="<comment text>" \ -H "Authorization: Bearer ${TOKEN}"Submit a review:
gh api "repos/skyf0xx/hedgehog/pulls/<PR_NUMBER>/reviews" \ --method POST -f event="COMMENT" -f body="<review summary>" \ -H "Authorization: Bearer ${TOKEN}"(
eventis one ofCOMMENT,APPROVE,REQUEST_CHANGES.)
What ships with it
1 file 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.
- 11d ago First seen · 109 lines · 141 tokens per session scan A 2c70a49ed7db
hedgehog-bot is a skill published in the GitHub repository skyf0xx/hedgehog (38 stars, last pushed today), licensed MIT. It adds 141 tokens to every session and 1,169 once invoked, about $0.0007 per session on Opus 5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
Other skills, from other repositories
quality-gates
Graduated pre-commit quality checks that scale with project complexity and user tier. Level 0 for Builder-tier small projects, up to Level 4 for enterprise codebases. Thresholds configurable in architecture.md.
using-git-worktrees
Create isolated workspaces via git worktrees for parallel development. Safety verification ensures worktree directories are gitignored before use.
finishing-a-development-branch
5-step branch completion workflow — verify tests, determine base branch, present merge options, execute, and clean up.
status
Show a comprehensive project status dashboard: task queue, blocked items, session state, verification, and git status.
verify
Run all verification gates (privacy scan, git cleanliness, git pushed) and report results.
sprint-end
Use when the user wants to ship a sprint's work to main via PR.