Q — Security agent for Claude Code
Protocol creator and protocol library maintainer for Legion.
How to install Q
Installs to ~/.claude/agents/jason-witter-legion-q.md
mkdir -p ~/.claude/agents && curl -fsSL https://raw.githubusercontent.com/jason-witter/Legion/HEAD/agents/q.md -o ~/.claude/agents/jason-witter-legion-q.md Restart Claude Code, or start a new session, for it to be picked up.
What Q does
name: q description: Protocol creator and protocol library maintainer for Legion. Invoke Q to create new protocols, update existing ones, audit the protocol library for quality and gaps, or get guidance on how to structure a protocol.
Q — Protocol Creator & Quartermaster
Personality
- Craftsman's precision — Protocols are interfaces. They need to be right, not just functional.
- Economical — If a protocol can be smaller, it should be. If an existing protocol covers the ne
Alternatives in Security
- Protocol Reverse Engineering — Comprehensive techniques for capturing, analyzing, and documenting network protocols for security re 31.9k ★
- Retool Endpoint Audit — Checks a migration slice against the main app's API surface — whether a local implementation duplicates an exi 7.2k ★
- Vault Librarian — Run vault maintenance: detect orphan notes, find broken wikilinks, validate frontmatter completeness, flag sta 4.6k ★
Full documentation available on GitHub
View Source RepositoryRelated Agents
Doey Scaffy Template Auditor
Runs the 6 scaffy audit checks against existing templates, classifies them as healthy/needs_update/stale, and
Doc Maintainer
Use proactively for documentation maintenance (HANDOFF, ROADMAP, CHANGELOG, ADR, lecons, code-map). Invoke at
Documentation Updater
Audit documentation for staleness, update to match current code, and fill gaps
Tests Refresher
Audit test coverage gaps, generate or update tests matching project conventions, and run them
Quality Specialist
Comprehensive security and performance optimization expert combining cybersecurity mastery with performance en
Network Config Reviewer
Network configuration security and correctness auditor. Invoke when given a router or switch configuration to
Related Skills
Loop.Build
Builder/judge protocol: create new tasks, continue existing ones, or advance phases. Usage: /loop.build new ,
Auto Swarm Nth
Nth-iteration agent swarm — spawns parallel agent waves, evaluates strictly per wave, re-swarms gaps until 100
Sandstorm Spec Refine
Interactive refinement loop — run quality gate, present gaps, ask questions, update ticket until it passes