No slash command · from archon-os
Reads the MCP audit log (mcp-audit.jsonl) to surface blocked calls, rate-limit hits, and suspicious input patterns. Companion to the mcp-call-gate hook for post-incident forensics and security review.
Ships in archon-os. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
AI-consumed reference. Optimized for Claude to read during execution. Human-readable explanation: see docs/architecture/HIERARCHICAL_PLANNING.md or docs/getting-started/ depending on topic.
STATUS — v3.7.0-rc.1. Read-only auditor; does not enforce — that's mcp-call-gate.cjs's job.
<security-dir>/mcp-audit.jsonl (append-only; produced by hooks/mcp-call-gate.cjs).
Resolve <security-dir> the same way the writer does — see hooks/lib/security-dir.cjs:
$ARCHON_SECURITY_DIR, else .claude/security/ if it exists, else .aura/security/.
Do NOT hardcode one of them: read the first that exists, and report "no audit log yet" if neither does.scripts/json-to-toon.cjs --schema generic or custom fields) — NEVER load raw JSONL into contextBLOCKED:true) — deserve investigationmcp-call-gate.cjs is the enforcement layerrules/agent/mcp-security-policy.md is authoritative{"ts":"2026-05-07T...","agent":"architect","mcp":"context7","method":"query","input":{"q":"React hooks"},"output_size_bytes":4521,"latency_ms":234,"success":true}
{"ts":"2026-05-07T...","agent":"backend","mcp":"postgres","method":"query","input":{"sql":"DROP TABLE users"},"BLOCKED":true,"reason":"destructive_op_blocked"}
{"ts":"2026-05-07T...","agent":"frontend","mcp":"figma","method":"download_image","input":{"url":"..."},"success":true,"rate_limit":"80%_warn"}
Sanitized input fields per scripts/security/sanitize-mcp-input.sh:
[REDACTED]... [N more bytes]mcp_audit_summary{window,total_calls,blocked,rate_limit_hits,top_agent,top_mcp}:
24h,142,3,2,architect,context7
blocked[3]{ts,agent,mcp,reason}:
2026-05-07T10:30,backend,postgres,destructive_op_blocked
2026-05-07T11:45,frontend,figma,allowlist_violation
2026-05-07T12:10,architect,redis,destructive_op_blocked
ARCHON_MCP_AUDIT_RETENTION_DAYS=30 (default) — older entries are pruned by a session-start sweep (NOT this skill).
hooks/mcp-call-gate.cjs — sole writer of <security-dir>/mcp-audit.jsonlhooks/lib/security-dir.cjs (shell mirror: scripts/plans/_lib.sh#security_dir) — where that log livesscripts/security/sanitize-mcp-input.sh — sanitization run by the gate before loggingrules/agent/mcp-security-policy.md — authoritative policyrules/agent/db-access-policy.md — DB-specific subset (architect/tdd-engineer only, read-only default, destructive ops blocked)/archon-os:mcp audit — primary user-facing entry to this skillscripts/json-to-toon.cjs to project the JSONL into context-friendly TOONWhat SKILL.md sets; muted values are Claude Code's defaults
/archon-os:mcp audit, security review, post-incident forensics on MCP calls
lowThree short reads, in order
45 skills in this plugin
/agent-detectorCRITICAL: MUST run for EVERY message. Detects agent, complexity, AND model automatically. Without this, tasks route to wrong agents and use wrong models, degrading quality and wasting tokens./api-designerDesigns RESTful APIs with endpoint naming, versioning strategies (URL path, header-based), pagination (offset and cursor), error response schemas, and OpenAPI conventions. Use when the user asks about REST API design, creating endpoints, URL structure, API versioning, status codes, Swagger, or OpenAPI specs./bugfix-quickFast bug fixes with root cause investigation + TDD. Enforces 'no fix without root cause' discipline and verification protocol. Without this skill, fixes are applied at symptoms instead of sources, and bugs return.npx claudepluginhub nguyenthienthanh/archon --plugin archon-osOther plugins' skills for the same job