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 AI45Lab/SentrySkills --skill using-sentryskillsgit clone --depth 1 https://github.com/AI45Lab/SentrySkillsWrote 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/ai45lab/sentryskills/using-sentryskills)<a href="https://agentmods.dev/skills/ai45lab/sentryskills/using-sentryskills"><img src="https://agentmods.dev/badge/skills/ai45lab/sentryskills/using-sentryskills.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.00036 | $0.03051 |
| Opus 5 | $0.00018 | $0.01525 |
| Sonnet 5 | $0.00007 | $0.00610 |
| Haiku 4.5 | $0.00004 | $0.00305 |
Grade B, and why
using-sentryskills 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 7d 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.
Instruction-override phrasingmediumPrompt injection
Text telling the model to disregard its earlier instructions or safety rules is the shape of a prompt injection, whoever wrote it.
`ignore previous instructions` should normally scope to `preflight,runtime`. Downgraded: this mod is about security review, or the phrase is quoted, so it is likely naming the pattern rather than instructing it.
How it starts
The opening of the file, as written. The whole thing — 335 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Using SentrySkills
Purpose
using-sentryskills is the entry skill. It defines the required execution order for every task:
base_rule -> extra_rule -> rule_gate -> risk assessment -> model_stage -> end-of-task proposal sweep
The first three stages are mandatory and synchronous. model_stage is conditional. Proposal sweep is a main-agent maintenance step that runs at the end of every task and only affects subsequent turns.
Required Behavior
- Build the current input payload and run
shared/scripts/self_guard_runtime_hook_template.pyonce for rule gating. - Read the result under
.sentryskills/base/. - If
rule_stage_action == block, stop and treat that hook result as the final guard result. - If
rule_stage_action != block, run the task'smodel_stageinsyncorasyncmode according to the risk gate. - After a completed
model_stage, call the runtime hook again with the completed model-stage knowledge envelope. This second call is what writes extra rules, textual memory, or async proposal files. - Treat preflight, runtime, and output as separate
rule -> modelstages. Rule results run first; model results may only tighten decisions. - Apply action-level gating to planned actions and dynamic skill actions. If only some actions are risky, downgrade and execute only allowed actions; if all declared actions are blocked, block the task.
- During execution, before invoking any non-SentrySkills skill, submit a runtime
skill_invocationgate for that specific skill call. - Execute only the actions returned in
allowed_actions/allowed_skill_steps; do not executeblocked_actions/blocked_skill_steps. - At task end, if this is a main-agent turn, ensure one proposal sweep has run.
- Respect the returned stage fields:
base_rule_actionextra_rule_actionrule_stage_actionmodel_dispatch_modemodel_stage_statusmodel_stage_actionmodel_executormodel_stage_result_availableaction_gateskill_gateexecution_directiveproposal_sweep_effectknowledge_writeback_statusfinal_action
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.
- 7d ago First seen · 335 lines · 36 tokens per session scan B fb1614bfd147
using-sentryskills is a skill published in the GitHub repository AI45Lab/SentrySkills (9 stars, last pushed 2mo ago), licensed MIT. It adds 36 tokens to every session and 3,051 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it B with 1 finding (instruction-override phrasing). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.
Other skills, from other repositories
systematic-debugging
Use when encountering any bug, test failure, or unexpected behavior, before proposing fixes.
local-ai-agents
Build local-first AI agents that run entirely on a developer workstation with Microsoft Foundry Local and Qwen function-calling models. Covers Small Language Models (SLMs), the OpenAI-compatible local endpoint, sandboxed local tools, local RAG with Chroma, local MCP servers, hybrid cloud/local routing, and the…
next-cache-components-adoption
Turn on Cache Components in a Next.js app and resolve the blocking routes it surfaces. Use when the user wants to enable, adopt, or migrate to Cache Components, flip the cacheComponents flag, work through a flood of blocking-prerender / instant validation errors, run the cache-components-instant-false codemod, or…
next-partial-prefetching-adoption
Turn on Partial Prefetching in a Next.js app and work through the insights it surfaces. Use when the user wants to enable or adopt Partial Prefetching, flip the partialPrefetching flag, opt routes in with export const prefetch = 'partial', audit Link prefetch={true} behavior, preserve existing prefetched UI with…
chronicle
Analyze Copilot session history for standup reports, usage tips, session search, and session reindexing. Use when the user asks for a standup, daily summary, usage tips, workflow recommendations, wants to search or find past sessions by keyword/file/PR, wants to reindex their session store, or asks about deleting…
babysit-pr
Babysit a GitHub pull request after creation by continuously polling review comments, CI checks/workflow runs, and mergeability state until the PR is merged/closed or user help is required. Diagnose failures, retry likely flaky failures up to 3 times, auto-fix/push branch-related issues when appropriate, and keep…