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 jtprogru/bear-skills --skill agentops-canarygit clone --depth 1 https://github.com/jtprogru/bear-skillsWrote 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/jtprogru/bear-skills/agentops-canary)<a href="https://agentmods.dev/skills/jtprogru/bear-skills/agentops-canary"><img src="https://agentmods.dev/badge/skills/jtprogru/bear-skills/agentops-canary/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/jtprogru/bear-skills/agentops-canary"><img src="https://agentmods.dev/badge/skills/jtprogru/bear-skills/agentops-canary.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.00164 | $0.01177 |
| Opus 5 | $0.00082 | $0.00589 |
| Sonnet 5 | $0.00033 | $0.00235 |
| Haiku 4.5 | $0.00016 | $0.00118 |
Grade A, and why
agentops-canary 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 9d 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 — 93 lines — stays where its author put it; the contents beside it link to each section on GitHub.
agentops-canary — Канарейка контекста
Контекст не заканчивается резко. Он деградирует: агент начинает игнорировать часть инструкций, забывает договорённости из начала сессии, теряет формат вывода. Заметно это становится по плохому результату — то есть с задержкой, уже после того как работа испорчена.
Канарейка делает деградацию видимой раньше, чем она испортит работу.
Как это работает
В начале каждого ответа идёт одна строка фиксированного формата:
[🐤 <обращение> · ход <N> · <самопроверка>]
<обращение>— как пользователь просил себя называть, байт-в-байт<N>— номер хода в сессии, монотонно растёт<самопроверка>— три символа состояния: помню ли контракт сессии, помню ли текущую задачу, помню ли ограничения.✓✓✓или, честно,✓✓?
Смысл в байт-стабильности. Пока хватка держится, строка воспроизводится точно. Когда внимание начинает плыть, канарейка ломается раньше содержательной части ответа: сбивается формат, теряется счётчик, обращение меняется на общее. Это дешёвый и ранний сигнал.
Самопроверка должна быть честной. ? в третьей позиции — полезная информация, а ✓✓✓ из вежливости обесценивает весь механизм.
Установка канарейки
Когда скилл вызван, спроси и зафиксируй:
- как обращаться к пользователю
- контракт сессии: что делаем, чего не делаем, что требует подтверждения
- где лежит чекпоинт-файл (по умолчанию
./.session-checkpoint.md)
Дальше отвечай с канарейкой в первой строке до конца сессии.
Признаки того, что канарейка сработала
- счётчик хода сбился или перестал расти
- обращение изменилось или исчезло
- формат строки поехал: другие разделители, пропавшие поля
- самопроверка ушла в
?по любой позиции - ты поймал себя на том, что переспрашиваешь про уже согласованное
Любой из признаков — повод объявить trip, а не продолжать.
Trip-протокол
Сработала — не «постарайся собраться». Внимание уже деградировало, и попытка компенсировать его усилием не работает.
1. Чекпоинт. Запиши в файл всё, что нужно для продолжения с нуля:
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.
- 9d ago First seen · 93 lines · 164 tokens per session scan A e3fc7603b6e8
agentops-canary is a skill published in the GitHub repository jtprogru/bear-skills (1 stars, last pushed 22d ago), licensed MIT. It adds 164 tokens to every session and 1,177 once invoked, about $0.0008 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 skills, from other repositories
obsidian-safe-write
A process for clarifying and prioritising software requirements before detailed planning. It identifies the request type, asks six core questions, and can rank work by reach, impact, confidence, effort, and other priority methods.
memory-log
A read-only timeline of changes to an agent's stored memories, including additions, corrections, downgrades, migrations, and rollbacks. It rebuilds the timeline from event records and current memory metadata.
obsidian-doc-structure
A read-only tool for inspecting the structure and properties of Obsidian notes. Obsidian is a note-taking app that stores linked Markdown files, and properties are fields such as status or date.
session-digest
A session-summary tool that records what changed during a coding session in a Markdown file for the next session to read.
librarian
A memory-maintenance role that reviews temporary notes and promotes well-supported facts into longer-term memory files. It also keeps shared knowledge concise and records what changed.
agent-memory
Set up repo-level agent memory: create an agent-memory.md learnings log at the repository root and wire up CLAUDE.md so agents read it when stuck and append durable learnings as they work. Use this whenever the user wants to add, set up, bootstrap, install, enable, or repair "agent memory," a "learnings file," a…