probe-protocol

probe-protocol is a command for Claude Code from rjwalters/kicad-tools. It costs 0 tokens per session (822 once invoked), scanned A, original, MIT.

A protocol for responding to terminal probes used by Loom to identify what is running in an interactive terminal. A protocol is a defined set of messages and response rules.

In plain words
What is it for?
Handling Loom terminal probes in interactive agent sessions, identifying the agent role, and following the required response format.
Why use it?
It keeps probe responses consistent and clarifies when the rules apply, such as during manually managed terminal sessions.

Command for Claude Code

Written for Claude Code: installed under .claude/. Also seen: mentions CLAUDE.md; mentions subagents; mentions Claude Code.

Good fit Handling Loom terminal probes in interactive agent sessions, identifying the agent role, and following the required response format.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/rjwalters/kicad-tools/probe-protocol
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.

Clone the repo
git clone --depth 1 https://github.com/rjwalters/kicad-tools

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 probe-protocol

README.md
[![agentmods](https://agentmods.dev/badge/commands/rjwalters/kicad-tools/probe-protocol/github.svg)](https://agentmods.dev/commands/rjwalters/kicad-tools/probe-protocol)
Your own site
<a href="https://agentmods.dev/commands/rjwalters/kicad-tools/probe-protocol"><img src="https://agentmods.dev/badge/commands/rjwalters/kicad-tools/probe-protocol/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 probe-protocol

Your own site · 80×15
<a href="https://agentmods.dev/commands/rjwalters/kicad-tools/probe-protocol"><img src="https://agentmods.dev/badge/commands/rjwalters/kicad-tools/probe-protocol.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 0 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 822 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.00000 $0.00822
Opus 5.5 $0.00000 $0.00329
Sonnet 5.5 $0.00000 $0.00164
Haiku 4.5 $0.00000 $0.00082

Measured 3mo ago against content hash bce5e19d2dc8, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

probe-protocol 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 3mo 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.

.claude/commands/loom/probe-protocol.md · 80 lines

How it starts

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

Terminal Probe Protocol (canonical)

Loom uses an intelligent probe system to detect what's running in each terminal. When you receive a probe command, respond according to this protocol.

This is the single canonical copy of the probe protocol. Every role prompt that carries a short "Terminal Probe Protocol" pointer refers here for the full format, per-role examples, task-description conventions, and rationale.

When this protocol applies (interactive terminals only)

This protocol only matters for Manual Orchestration Mode terminals — human-launched Claude Code sessions tracked in .loom/config.json's terminals list. Those are the only sessions a terminal probe is ever sent to.

It does not apply to:

  • GitHub Actions cron one-shots (claude -p "/<role>" --dangerously-skip-permissions) — no terminal, no probe.
  • /loom:sweep subagent dispatch and loom-daemon-spawned sweeps — no interactive terminal, no probe.

If you are running in either of those non-interactive contexts, no probe will ever arrive and there is nothing to do here.

When you see this probe

# Terminal Probe: Are you an AI agent? If yes, respond with "AGENT:<role>:<primary-task>". If you're a bash shell, this is just a comment.
true

How to respond

Format: AGENT:<your-role>:<brief-task-description>

Examples:

  • AGENT:Builder:implementing-issue-456
  • AGENT:Judge:evaluating-PR-123
  • AGENT:Curator:enhancing-issue-456
  • AGENT:Champion:merging-PR-123
  • AGENT:Doctor:fixing-changes-requested-789
  • AGENT:Guide:triaging-issue-queue
  • AGENT:Architect:analyzing-system-design
  • AGENT:Hermit:scanning-for-dead-code
  • AGENT:Auditor:validating-main-build
  • AGENT:Driver:idle-awaiting-work

Role name (must be a real Loom role)

Use your assigned role name, which must be one of the roles from CLAUDE.md's "Agent Roles" table:

Builder, Judge, Champion, Curator, Architect, Hermit, Doctor, Guide, Driver, Auditor.

Never invent a role name. In particular, Worker, Reviewer, and Default are not Loom roles — they do not appear in .github/labels.yml, .loom/config.json, or CLAUDE.md's role table. Use the real role name for the prompt you are running (e.g. the Builder prompt reports AGENT:Builder:...).

Read the full file on GitHub · 80 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. 3mo ago First seen · 80 lines · 0 tokens per session scan A bce5e19d2dc8

Subscribe to this mod's changes

probe-protocol is a command published in the GitHub repository rjwalters/kicad-tools (77 stars, last pushed 15d ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 822 tokens. 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-30.

Related

probe-protocol compared with commands from other repositories

probe-protocol next to 6 commands from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
probe-protocolrjwalters/kicad-toolsCommand7715d agoMITA0Claude Code
checklistgithub/spec-kitCommand153ktodayMITA13Claude Code
clarifygithub/spec-kitCommand153ktodayMITA27Claude Code
specifygithub/spec-kitCommand153ktodayMITA13Claude Code
analyzegithub/spec-kitCommand153ktodayMITA26Claude Code
convergegithub/spec-kitCommand153ktodayMITA35Claude Code
implementgithub/spec-kitCommand153ktodayMITA14Claude Code