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 agentmods add agents/samibs/skillfoundry/_agent-protocolgit clone --depth 1 https://github.com/samibs/skillfoundryWrote 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/agents/samibs/skillfoundry/_agent-protocol)<a href="https://agentmods.dev/agents/samibs/skillfoundry/_agent-protocol"><img src="https://agentmods.dev/badge/agents/samibs/skillfoundry/_agent-protocol.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 | $0.00000 | $0.03970 |
| Opus 5 | $0.00000 | $0.01985 |
| Sonnet 5 | $0.00000 | $0.00794 |
| Haiku 4.5 | $0.00000 | $0.00397 |
Grade A, and why
_agent-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 yesterday.
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 — 597 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Agent Communication Protocol
INCLUDE IN ALL AGENT PERSONAS This module defines the standard communication protocol for inter-agent messaging.
Overview
All agents in the SkillFoundry framework communicate using a standardized message format. This ensures:
- Predictable handoffs between agents
- Token-efficient communication
- Clear accountability and traceability
- Proper error propagation
- Cross-platform session continuity
Session Boot Sequence
Every agent session MUST begin with:
0. Hub Sync — Pull (if configured, silent, non-blocking)
├── Check: does .claude/hub.json exist in the framework directory?
│ ├── YES: Run `knowledge-sync.sh pull` (silently, in background)
│ │ This pulls latest knowledge lessons from the hub.
│ │ Failures are ignored — offline-first, never gate on hub.
│ └── NO: Skip. Framework works identically without hub.
└── Note: Do NOT pull scratchpads from hub here.
Local scratchpad is the authority for this machine.
Hub scratchpads are for explicit cross-machine requests only.
1. Check .claude/scratchpad.md exists
├── YES: Read it. Orient to current task, phase, progress.
│ If platform differs from last update → note platform switch.
│ If >24h old → verify file state before trusting progress.
│ Announce: "Continuing from [task] — [phase] — [platform]"
└── NO: Fresh session. Create scratchpad after first major action.
2. Check .claude/state.json exists (for /go executions)
├── YES: Cross-reference with scratchpad.
│ state.json = structured "what", scratchpad = human-readable "why"
└── NO: Not a /go execution, scratchpad alone is sufficient.
3. Proceed with task.
This boot sequence enables seamless cross-platform continuity. When a user hits the context limit in Claude Code and switches to Copilot CLI, the new session reads the scratchpad and continues without asking "what were you working on?"
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.
- yesterday First seen · 597 lines · 0 tokens per session scan A c07fd0294caf
_agent-protocol is an agent published in the GitHub repository samibs/skillfoundry (12 stars, last pushed today), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 3,970 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-09-03.
Other agents, from other repositories
Azure Sweeper
Enterprise-grade Azure environment sweeper — WAF + CAF + Landing Zone + Org Rules + Policy + Resource Graph + Telemetry + Remediation. Run on any scope to produce a prioritised findings report with remediation code.
Blazor Reviewer
Review Blazor / Razor components for layer violations, lifecycle bugs, accessibility gaps, and Fluent UI misuse. Use for PR reviews on .razor / .razor.cs files.
Specifier
Interview the user to define what and why before any technical planning. Surfaces ambiguities as [NEEDS CLARIFICATION] markers that block hardening.
Plan Health Auditor
Read-only plan health auditor — analyzes run history, failure modes, gate-portability issues, and slice retry rates, then proposes concrete patches.
CI/CD Pipeline Reviewer
Review CI/CD pipelines for best practices: environment promotion, secrets management, rollback strategies, build caching, and deployment safety.
Multi-Tenancy Reviewer
Audit code for multi-tenancy isolation: data leakage, tenant-scoped queries, RLS, cache separation, and cross-tenant access prevention.