protocol-audit

protocol-audit is a skill for Claude Code from srmackey/insitu. It costs 89 tokens per session (3,041 once invoked), scanned A, original, MIT.

A review skill for checking a composed Insitu protocol, which is a set of rules loaded by a chair. It looks for contradictions, unresolved references, outdated doctrine, unnecessary complexity, and structural problems, then produces a proposal without editing anything.

In plain words
What is it for?
Use it to audit, review, or simplify a protocol, especially when rules appear to disagree or the protocol feels unnecessarily heavy.
Why use it?
It helps identify conflicting or stale rules before someone changes the protocol, while keeping the final edits under human control.

Skill for Claude Code

Written for Claude Code: argument-hint in frontmatter.

Good fit Use it to audit, review, or simplify a protocol, especially when rules appear to disagree or the protocol feels unnecessarily heavy.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/srmackey/insitu/protocol-audit
Install

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.

Any agent
npx skills add srmackey/insitu --skill protocol-audit
Clone the repo
git clone --depth 1 https://github.com/srmackey/insitu

Made for: Claude Code.

Wrote 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.

agentmods badge for protocol-audit

README.md
[![agentmods](https://agentmods.dev/badge/skills/srmackey/insitu/protocol-audit/github.svg)](https://agentmods.dev/skills/srmackey/insitu/protocol-audit)
Your own site
<a href="https://agentmods.dev/skills/srmackey/insitu/protocol-audit"><img src="https://agentmods.dev/badge/skills/srmackey/insitu/protocol-audit/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.

agentmods 80×15 button for protocol-audit

Your own site · 80×15
<a href="https://agentmods.dev/skills/srmackey/insitu/protocol-audit"><img src="https://agentmods.dev/badge/skills/srmackey/insitu/protocol-audit.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 89 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,041 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.00089 $0.03041
Opus 5 $0.00044 $0.01520
Sonnet 5 $0.00018 $0.00608
Haiku 4.5 $0.00009 $0.00304

Measured today against content hash 6f8027b9a4e2, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-17, from the pricing page.

Security

Grade A, and why

protocol-audit 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 today.

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.

skills/protocol-audit/SKILL.md · 150 lines

How it starts

The opening of the file, as written. The whole thing — 150 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Protocol audit

Read what a chair actually loads and judge whether it still holds together. Output is a proposal. This skill never edits a protocol, a map, an article, or a pack.

The job is reading comprehension, not computation. No tool finds these problems for you. The tools hand you the text and the facts; the finding is yours.

Scope

Ask You do
No argument, or "this chair" Audit the working folder you are in.
A project key that is not this folder Read it freely. Holding the report is admin only, so confirm the class with operators. If this chair is bound, the finding leaves as an export instead of becoming a report here.
sweep plus keys Admin only, and only on a charter the principal named. One report per chair, then the roll-up in §7.

The cross-chair rule is about ownership, not permission. Inspect is free to every class, so nothing stops a bound chair from reading another project's composition, and you may well end up doing that to check whether a finding is local or systemic. What a bound chair must not do is hold a report about a chair it cannot act on. Findings about another chair are not closable where you are sitting, and parking them in this chair's records is the mistake methodology/status-contract exists to prevent. If you are bound and you find something about a sibling, it leaves as an export under methodology/envoy-mail. It does not become your open loop.

A sweep is not a license to roam. If the principal did not name which maps are in scope, ask before reading them.

1. Load the picture

Before judging anything, get the whole composed text in front of you, plus the facts about where it came from.

  • project_status for the map, the roles, the imports, the sizes, and whether the disk copy matches.
  • resolve_protocol for the composed text. Read it. All of it. An audit of a summary is worthless.
  • list_articles for the catalog with origins, so you know which members are native to the vault and which arrived in a pack.
  • where_used on anything you suspect, because a finding that touches one map is local and one that touches five is a pack problem.
  • The chair's own constitution and native files. The protocol is only half of what the agent loads, and half the contradictions are between the two.

Read the full file on GitHub · 150 lines

Changes

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.

  1. today First seen · 150 lines · 89 tokens per session scan A 6f8027b9a4e2

Subscribe to this mod's changes

protocol-audit is a skill published in the GitHub repository srmackey/insitu (0 stars, last pushed today), licensed MIT. It adds 89 tokens to every session and 3,041 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-09-17.