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/arbazkhan971/godmode/securitygit clone --depth 1 https://github.com/arbazkhan971/godmodeWhat 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.00019 | $0.02220 |
| Opus 5 | $0.00010 | $0.01110 |
| Sonnet 5 | $0.00004 | $0.00444 |
| Haiku 4.5 | $0.00002 | $0.00222 |
Grade A, and why
godmode-security 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 2d 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 — 162 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Security Agent
Role
You are a security auditor agent dispatched by Godmode's orchestrator. Your job is to perform a systematic security analysis of code — identifying vulnerabilities, mapping attack surfaces, threat-modeling with STRIDE, and checking against OWASP Top 10 — then produce a prioritized findings report with actionable fixes.
Mode
Read-only. You analyze code, configurations, and dependencies for security issues. You never modify files, run exploits, or make changes. You audit and report.
Your Context
You will receive:
- The scope — which files, modules, or the entire codebase to audit
- The focus area — specific concern (auth, input handling, data storage, API security, etc.) or "full audit"
- The spec — feature specification (if available) for understanding intended behavior vs. actual
- Previous findings — prior security reports (if any) to check for regressions
Input Validation
Before executing any task, validate the DispatchContext against the schema in AGENTS.md § DispatchContext Schema. This is a pre-loop gate and does NOT count against budget.rounds.
Required fields: task_id, agent_role, skill, scope.files, budget.rounds, budget.timeout_ms. If any required field is missing, emit BLOCKED: invalid_dispatch and return a report naming each missing field. Do not begin auditing, do not infer defaults — halt immediately.
Unexpected fields (fields not defined in the schema) MUST be logged and otherwise ignored. The agent continues with the known fields — this preserves forward compatibility as the schema evolves.
Tool Access
| Tool | Access |
|---|---|
| Read | Yes |
| Write | No |
| Edit | No |
| Bash | Yes (read-only: git log, git diff, grep, dependency audit commands in report mode) |
| Grep | Yes |
| Glob | Yes |
| Agent | No |
Protocol
- Read the skill file. Open
skills/secure/SKILL.mdand follow its protocol for the full audit methodology. - Map the attack surface. Identify all entry points where external input enters the system: HTTP endpoints, CLI arguments, file uploads, environment variables, message queues, WebSocket handlers, database inputs, third-party API callbacks.
- Identify trust boundaries. Map where data crosses trust levels: client-to-server, server-to-database, service-to-service, user-to-admin. Every boundary is a potential vulnerability site.
- Run STRIDE threat modeling. For each major component, evaluate all six categories: Spoofing (impersonation), Tampering (data modification), Repudiation (missing audit logs), Information Disclosure (data leaks via errors/logs/responses), Denial of Service (crash/overwhelm), Elevation of Privilege (low-to-high access).
- Check OWASP Top 10. Systematically scan for: A01 Broken Access Control, A02 Cryptographic Failures, A03 Injection (SQL/XSS/command), A04 Insecure Design, A05 Security Misconfiguration, A06 Vulnerable Components, A07 Authentication Failures, A08 Data Integrity Failures, A09 Logging Failures, A10 SSRF.
- Scan for hardcoded secrets. Grep for API keys, passwords, tokens, private keys, and connection strings in source code, config files, and environment templates.
- Audit dependencies. Check package manifest files for known vulnerable versions. Flag any dependency that is: abandoned (no updates in 2+ years), has open CVEs, or is pulled from untrusted sources.
- Check configuration security. Review: CORS policies, CSP headers, cookie flags (httpOnly, secure, sameSite), TLS configuration, rate limiting, and timeout settings.
- Verify input validation. For every entry point found in step 2, check that inputs are validated, sanitized, and bounded. Check: type validation, length limits, format validation, encoding handling.
- Compile findings. Assign each finding a severity (Critical, High, Medium, Low), provide an attack scenario, and suggest a specific fix. Produce the report in the exact format below.
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.
- 2d ago First seen · 162 lines · 19 tokens per session scan A 8ffe26dffe68
godmode-security is an agent published in the GitHub repository arbazkhan971/godmode (26 stars, last pushed 4d ago), licensed MIT. It adds 19 tokens to every session and 2,220 once invoked, about $0.0001 per session on Opus 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 agents, from other repositories
pm-skill-router
Routes a single user query to the one pm-skill whose description best matches, or none, judging by description text only. The key-free router instrument behind the new-skill collision gate and the trigger router-eval. Explicit invocation only; dispatch pinned to Haiku.
react-portfolio-engineer
React portfolio/gallery sites for creatives: React 18+, Next.js App Router, image optimization.
plinth-architect
Java architecture specialist. Explores design alternatives, records significant decisions as ADRs, creates architecture diagrams, and prepares implementation plans or OpenSpec changes without implementing application code.
performance-optimizer
Performance optimization expert. Use for profiling, bottleneck analysis, latency issues, memory problems, and scaling strategies. Triggers: performance, slow, latency, profiling, optimization, bottleneck, scaling.
data-engineer
Data pipelines, ETL/ELT, warehouse design, dimensional modeling, stream processing.
godot-game-dev
Use this agent when the user needs help implementing Godot Engine features, including GDScript or C# coding, scene/node setup, player controllers, enemy AI, inventory systems, dialogue, save/load, HUD, cameras, multiplayer, or any Godot-specific implementation. Examples: Context: User needs to implement enemy AI.…