Borrowing it
Nothing to install: this file belongs to safedep/gryph. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/safedep/gryph/main/.claude/skills/add-agent-adapter/SKILL.mdgit clone --depth 1 https://github.com/safedep/gryphWrote 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/safedep/gryph/add-agent-adapter)<a href="https://agentmods.dev/skills/safedep/gryph/add-agent-adapter"><img src="https://agentmods.dev/badge/skills/safedep/gryph/add-agent-adapter/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/safedep/gryph/add-agent-adapter"><img src="https://agentmods.dev/badge/skills/safedep/gryph/add-agent-adapter.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector pass
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.00132 | $0.00643 |
| Opus 5.5 | $0.00053 | $0.00257 |
| Sonnet 5.5 | $0.00026 | $0.00129 |
| Haiku 4.5 | $0.00013 | $0.00064 |
Grade A, and why
add-agent-adapter 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 12d 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.
How it starts
The opening of the file, as written. The whole thing — 32 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Add a New Agent Adapter
The full, current guide is docs/agent-adapter.md. It is the single source of truth for this task. Read it and follow it step by step.
Do not add an agent adapter from memory. The adapter pattern touches several files across agent/, config/, cli/, and tui/. A missed file breaks detection, registration, or the security response path. The doc lists every file and the exact change each one needs.
How to use this skill
- Read
docs/agent-adapter.mdin full. - Follow each step in order. Use the wiring table in the doc to change every listed file.
- Use an existing adapter as your reference. The
agent/gemini/package is the recommended model for thesettings.jsonpattern. - Run the verify commands from the doc's final step before you finish.
Invariants
The doc explains these. They break silently if you miss them.
- Implement
HookConfigPaths()and return a glob for every file the install step writes. Self-protection guards only these paths.TestAdapters_InstallWritesOnlyDeclaredHookConfigfails when a written file has no glob. - Implement
Hooks()with oneevents.HookSpecper hook, including its phase. The decision service reads the phase from it. Regeneratedocs/agent-enforcement-coverage.mdwithGRYPH_UPDATE_DOCS=1 go test ./cli -run TestEnforcementCoverageDoc. - Keep agent knowledge in the adapter package. Do not add agent paths, file names, or command regexes to
aarm/loaderoraarm/pdp. The loader derives the shell-command check from the declared paths, andaarm/shellcmdparses commands withmvdan.cc/sh. Do not match shell commands with a regex. - Register the adapter only in
RegisterAdaptersinengine/engine.go. The self-protection globs come from that list. - Self-protection is best effort. Do not describe it as a security boundary. Kernel-based self-protection is on the roadmap.
Keep the doc correct
The doc is the source of truth, so keep it accurate. If you find the code no longer matches the doc, update docs/agent-adapter.md in the same change. Do not fork the guidance into this skill.
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.
- 12d ago Changed ef199405b2e0
- 1mo ago Changed · +1 lines 2e5d709af586
- 1mo ago Changed · +9 lines 0383de1465c1
- 1mo ago First seen · 22 lines · 132 tokens per session scan A bdef059e99f4
add-agent-adapter is a skill published in the GitHub repository safedep/gryph (180 stars, last pushed 2d ago), licensed Apache-2.0. It adds 132 tokens to every session and 643 once invoked, about $0.0005 per session on Opus 5.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-08-30.
Other skills, from other repositories
spec-kitty-charter-doctrine
Run charter interview, generation, context, and sync workflows for project governance in Spec Kitty 3.x. Access doctrine artifacts programmatically via DoctrineService. Resolve agent profiles. Load action-scoped governance context iteratively, not all at once. Triggers: "interview for charter", "generate charter"…
chisle-audit
One-shot efficiency audit of a file, diff, or whole repo across BOTH axes at once: over-engineered code (reinvented stdlib, needless abstractions, speculative config) AND bloated prose (verbose comments, padded docstrings, redundant doc sections). Neither a pure code-minimizer nor a pure prose compressor does both in…
mongodb-query-optimizer
Help with MongoDB query optimization and indexing. Use only when the user asks for optimization or performance: "How do I optimize this query?", "How do I index this?", "Why is this query slow?", "Can you fix my slow queries?", "What are the slow queries on my cluster?", etc. Do not invoke for general MongoDB query…
polar-local-environment
This skill should be used when setting up or managing Polar local development environment with Docker.
execute
Execute an approved Maestro implementation plan using the shared session-state contract.
neo4j-modeling-skill
Design, review, and refactor Neo4j graph data models. Use when choosing node labels vs relationship types vs properties, migrating relational/document schemas to graph, detecting anti-patterns (generic labels, supernodes, missing constraints), designing intermediate nodes for n-ary relationships, enforcing schema with…