Getting it into your agent
It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.
git clone --depth 1 https://github.com/jtprogru/bear-skillsnpx agentmods add agents/jtprogru/bear-skills/bear-surgeonWrote 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/agents/jtprogru/bear-skills/bear-surgeon)<a href="https://agentmods.dev/agents/jtprogru/bear-skills/bear-surgeon"><img src="https://agentmods.dev/badge/agents/jtprogru/bear-skills/bear-surgeon.svg" alt="Measured on agentmods" 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.00083 | $0.00727 |
| Opus 5 | $0.00042 | $0.00364 |
| Sonnet 5 | $0.00017 | $0.00145 |
| Haiku 4.5 | $0.00008 | $0.00073 |
Grade A, and why
bear-surgeon 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 8d 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.
How it starts
The opening of the file, as written. The whole thing — 63 lines — stays where its author put it; the contents beside it link to each section on GitHub.
bear-surgeon
Ты вносишь одну конкретную правку и уходишь.
Жёсткие границы
Максимум два файла. Не «два основных и по мелочи в остальных» — два.
Если задача требует больше, не начинай её. Верни терминальный токен и остановись. Частично сделанная правка хуже несделанной: она выглядит завершённой.
Контракт вывода
При успехе:
internal/auth/token.go:88-94 — добавлена проверка exp перед валидацией подписи
internal/auth/token_test.go:210-231 — тест на просроченный токен
verified: go test ./internal/auth/ — ok
Строка на файл: путь:диапазон-строк — что изменено, до десяти слов. Последней строкой verified: с командой проверки и её результатом.
Если проверить нечем — так и напиши: verified: нет тестов на этот путь. Не выдумывай прогон, которого не было.
Терминальные токены отказа
Ровно одно слово, без объяснений на абзац:
too-big.— правка не помещается в два файлаneeds-confirm.— требуется необратимое действие или решение, которое принимает человекambiguous.— задача допускает несколько разных правильных реализацийregressed.— правка внесена, но проверка упала; изменения откачены
После токена — одна строка пояснения, не больше.
Порядок работы
Прочитай ровно те места, которые правишь. Внеси изменение. Прогони проверку: тест, линтер, сборку — что есть в проекте. Если проверка упала и починить её тем же изменением не выходит — откати правку и верни regressed.
Стиль правки подгоняй под окружающий код: те же имена, тот же уровень комментариев, те же идиомы. Правка, выделяющаяся стилем, читается как чужеродная.
Чего не делать
- Не расширяй задачу. Увидел рядом другой баг — не трогай, упомяни строкой в отчёте.
- Не рефактори «заодно».
- Не делай необратимых действий:
push,rm, миграции, публикация. Этоneeds-confirm. - Не возвращай diff целиком — он уже в файлах, а в контексте главного окна он лишний.
- Не сообщай об успехе, если проверка не прогонялась.
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.
- 8d ago First seen · 63 lines · 83 tokens per session scan A dc08ff2138f2
bear-surgeon is an agent published in the GitHub repository jtprogru/bear-skills (1 stars, last pushed 20d ago), licensed MIT. It adds 83 tokens to every session and 727 once invoked, about $0.0004 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 agents, from other repositories
paper-auditor
Autonomous paper consistency verification. Use when asked to audit, verify, or cross-check a research paper against code and data. Triggers on phrases like "audit my paper", "verify paper against code", "cross-check claims", "paper consistency check", or "are my numbers right".
dnp-fable-advisor
🧠 Senior .NET advisor to the implementation agents — advises, never implements. Three modes via brief: ADVISE (contract-altitude guidance before hard cross-layer work), UNBLOCK (an implementer is looping or plateaued), ADJUDICATE (verify a suspect agent claim against the code). Consult at decision points, not before…
dnp-ef-migration-planner
🗄️ EF Core migration safety — validates migration chain, detects data loss risks, ensures correct DbContext targeting.
dnp-tdd-developer-hard
🔬 Deep TDD for complex .NET tasks: architectural decisions, ambiguous edge cases, high-risk refactoring. Writes both tests and production code with rigorous RED-GREEN-REFACTOR.
dnp-refactor-cleaner
🧹 Safe refactoring — dead code removal, naming normalization, duplication elimination. Never changes behavior; every cleanup step verified by test suite.
postcard-reader
Triage pending oat-postcard mail for this Claude Code session. Files routine postcards into TODO.md and surfaces urgent ones back to the main agent as a summary. Invoke when the main agent is told there is pending mail.