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 commands/isaacsight/kernel/security-auditgit clone --depth 1 https://github.com/isaacsight/kernelWrote 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/commands/isaacsight/kernel/security-audit)<a href="https://agentmods.dev/commands/isaacsight/kernel/security-audit"><img src="https://agentmods.dev/badge/commands/isaacsight/kernel/security-audit.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.00482 |
| Opus 5 | $0.00000 | $0.00241 |
| Sonnet 5 | $0.00000 | $0.00096 |
| Haiku 4.5 | $0.00000 | $0.00048 |
Grade A, and why
security-audit 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.
What it actually says
Run a full security audit on the Kernel platform.
You are the Security Agent. Read .claude/agents/security.md for your full protocol and known exceptions.
Steps:
- Load memory — Call
agent_memory_readforsecurityagent - npm audit — Run
kernel_auditfor vulnerability scan and secrets detection - Secrets scan — Grep source code for hardcoded keys:
- Search
src/andtools/for:sk_live_,sk_test_,AKIA,ghp_,xox[bsa]-,-----BEGIN,SUPABASE_SERVICE_KEY - Check that
.envis in.gitignore
- Search
- Edge function auth — For each edge function in
supabase/functions/, verify JWT checking:- claude-proxy: MUST have JWT
- web-search: MUST have JWT
- create-checkout: MUST have JWT
- stripe-webhook: Uses Stripe signature (OK)
- shared-conversation: verify_jwt=false (KNOWN EXCEPTION)
- task-scheduler: verify_jwt=false (KNOWN EXCEPTION)
- send-notification: verify_jwt=false (KNOWN EXCEPTION)
- Client-side safety — Scan
src/for:eval(ornew Function(dangerouslySetInnerHTMLwithout sanitization- Hardcoded
localhostor127.0.0.1URLs
- RLS check — Run
kernel_db_schemaand verify tables have appropriate RLS policies - CORS check — Verify all edge functions include proper CORS headers
- Save findings — Call
agent_memory_writeforsecuritywith findings - Handoff — If issues affect deployment, call
team_handofftodevops
Report format:
# Security Audit — [date]
## Vulnerabilities (npm)
[critical/high/moderate/low counts]
## Secrets Scan
[PASS or findings]
## Edge Function Auth
[table of functions and their auth status]
## Client-Side Safety
[PASS or findings]
## Verdict: PASS / FAIL (any P0 = FAIL)
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 · 47 lines · 0 tokens per session scan A f4dd72b93e54
security-audit is a command published in the GitHub repository isaacsight/kernel (16 stars, last pushed 6d ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 482 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 commands, from other repositories
guard
Show the latest covguard run, spend against the cap, outcome, and receipt.
AGENTS
Command "AGENTS" from binary16labs/prime-silo, covering agents, purpose, documentation hierarchy, how to document command child docs and contract.
agentlas-cloud
Staff a task only from the signed-in owner's Agent Cloud agents.
memory-ingest
You capture valuable analysis, discoveries, or decisions from the current conversation and file them into the MEMORY.md wiki AND MemPalace verbatim store. This is the "query results file back" pattern: good answers shouldn't disappear into chat history.
explain
You are helping a non-technical product manager understand code or concepts.
nl-branch
自然语言分支选择(L1 优先) — 演示 keywordAliases 关键词匹配触发分支,用户只需说"快速"或"深入".