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 oscarsterling/clelp-skills --skill model-switch-sentinelgit clone --depth 1 https://github.com/oscarsterling/clelp-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/oscarsterling/clelp-skills/model-switch-sentinel)<a href="https://agentmods.dev/skills/oscarsterling/clelp-skills/model-switch-sentinel"><img src="https://agentmods.dev/badge/skills/oscarsterling/clelp-skills/model-switch-sentinel/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/oscarsterling/clelp-skills/model-switch-sentinel"><img src="https://agentmods.dev/badge/skills/oscarsterling/clelp-skills/model-switch-sentinel.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.00073 | $0.01803 |
| Opus 5 | $0.00036 | $0.00901 |
| Sonnet 5 | $0.00015 | $0.00361 |
| Haiku 4.5 | $0.00007 | $0.00180 |
Grade B, and why
model-switch-sentinel scanned grade B 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 10d 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.
Reads agent configuration directoriesmediumAgent snooping
.claude/, .codex/, .gemini/ hold keys, settings and other credentials a mod has no legitimate need for.
`~/.claude/settings.json` (user scope), `.claude/settings.json` (project How it starts
The opening of the file, as written. The whole thing — 144 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Model Switch Sentinel
You are setting up a sentinel that watches the session model per turn and reacts when it silently falls back to a cheaper model. The recovery has to be SAFE: it must not interrupt live work, it must not trust a brief blindly, and it must not let degraded output silently become the foundation for later work.
The package gives you two portable, runnable pieces and one documented seam:
reference/model-sentinel.example.py- the per-turn hook. It detects the fallback, does a busy check first, tracks the span of fallback turns, and emits events. It never switches the model itself and never blocks a tool.scripts/brief-scrub.py- the mechanical scrubber that neutralizes turn-boundary and markup injection signatures in the context brief before it is injected into the restored session.- The SEAM: switch-back, context clear, and restore are harness-specific. The
hook emits events; your automation performs the actual plumbing. You wire it
at the config
on_event_commandfield. The package deliberately ships no environment-specific plumbing.
Ring-and-ask is the safe default throughout. Busy heuristics are imperfect, so the sentinel prefers to alert a human and wait over taking an automatic action on a wrong guess.
Step 1: Inspect the setup
- Settings location. Check, in order, for a hooks-capable settings file:
~/.claude/settings.json(user scope),.claude/settings.json(project scope),.claude/settings.local.json(local scope). Confirm which scope the user wants and read the chosen file. - Intended model marker. Ask which model the session is SUPPOSED to run on. You need a substring that appears in that model's harness id (case insensitive). Any observed model lacking that marker is treated as a fallback.
- Busy probe. Ask how the user can tell, mechanically, that work is in
flight. This becomes
busy_probe_command: a shell command that exits 0 when busy and non-zero when idle (for example, a check for an active lock file, a task file with open items, or a queue depth). Warn the user that any such heuristic is imperfect, which is exactly why the default is to ring and wait. If they have no reliable probe, leave it empty: the sentinel then stays in alert-and-wait and never claims idle on its own. - Automation seam. Ask what should perform the actual switch-back, clear,
and restore in their harness. This becomes
on_event_command: a shell command the hook runs once per event, with the event JSON on stdin. If they are not ready to automate, leave it empty and consume the handoff JSONL manually.
What ships with it
6 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.
- 10d ago First seen · 144 lines · 73 tokens per session scan B 94c25f178658
model-switch-sentinel is a skill published in the GitHub repository oscarsterling/clelp-skills (0 stars, last pushed 4d ago), licensed MIT. It adds 73 tokens to every session and 1,803 once invoked, about $0.0004 per session on Opus 5. A static security scan graded it B with 1 finding (reads agent configuration directories). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.
Other skills, from other repositories
orbit-notion
Open Orbit briefing skill — selected by the Orbit pipeline when Notion is the user's only connected connector, or when the user explicitly scopes their daily digest to Notion. Pulls the past 24 hours of document edits, comments, mentions, and database row changes from the user's authenticated Notion connection and…
Cortex
Operate Cortex, the LifeOS memory system — the typed Knowledge Archive (People, Companies, Ideas, Research with typed related: links) plus recall of prior work sessions, ISAs, and conversations. Search, add, harvest, develop, ingest, distill, graph-navigate, recall. USE WHEN cortex, knowledge, knowledge base, search…
pinchtab-mcp
Use this skill when a task requires browser automation through PinchTab's MCP server connected to a remote browser instance. Covers navigation, element interaction, data extraction, form filling, multi-step flows, and session management via MCP tools.
feishu
Work with Feishu or Lark bots, docs, sheets, bitables, approval flows, and OpenAPI/MCP setup without hardcoding credentials.
peekaboo
Capture and automate macOS UI with the Peekaboo CLI.
mochi-remind
Handle due reminders — notify the user with natural language and mark them done.