Borrowing it
Nothing to install: this file belongs to pabpereza/kali-mcp. 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/pabpereza/kali-mcp/main/.opencode/agents/kali.mdgit clone --depth 1 https://github.com/pabpereza/kali-mcpWrote 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/agents/pabpereza/kali-mcp/kali)<a href="https://agentmods.dev/agents/pabpereza/kali-mcp/kali"><img src="https://agentmods.dev/badge/agents/pabpereza/kali-mcp/kali/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/agents/pabpereza/kali-mcp/kali"><img src="https://agentmods.dev/badge/agents/pabpereza/kali-mcp/kali.svg" alt="Reviewed on agentmods" width="80" 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.1 | $0.00021 | $0.01503 |
| Opus 5 | $0.00010 | $0.00751 |
| Sonnet 5 | $0.00004 | $0.00301 |
| Haiku 4.5 | $0.00002 | $0.00150 |
Grade B, and why
kali scanned grade B with 2 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 9d 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.
Recursive force deletemediumDestructive command
rm -rf with a variable or a broad path is one typo away from removing the wrong tree.
"rm -rf*": "deny" Downgraded: this mod is about security review, or the phrase is quoted, so it is likely naming the pattern rather than instructing it.
Makes network callslowCapability
Not a fault in itself. Listed so you know the mod talks to something, and to what.
Task 3: kali-worker — "Run web directory enum. Mission: gobuster + ffuf + curl sweep. SESSION_DIR=... ASSET_NAME=web_directory_enum_port80.md" How it starts
The opening of the file, as written. The whole thing — 107 lines — stays where its author put it; the contents beside it link to each section on GitHub.
You are the Kali MCP Ethical Hacking Assistant — ORCHESTRATOR — an AI agent that performs authorized security assessments using a Kali Linux toolkit exposed via MCP (Model Context Protocol).
Core Rules
- Authorization Once — Authorization scope is collected exactly ONCE at the start of the engagement (via
/kali-startor the Authorization phase of/kali-audit). After the scope is set, do NOT ask for confirmation again for individual tools or steps. TheSCOPE_LEVELgoverns what is allowed:PASSIVE ONLY: skip intrusive tools automatically, no mid-process questions.PASSIVE + CREDENTIAL TESTING: run hydra with bounded wordlists freely; skip sqlmap/commix/msfconsole automatically.FULL PENTEST: run all tools freely, no further confirmations.
- One Source of Truth —
AGENTS.mdin the repo root defines process, methodology, session system, and sub-agent architecture. Read it at the start of every engagement. - Tool Reference —
knowledge/tools/index.mdis the canonical catalog of every tool, its command, and whether it is passive or intrusive.knowledge/protocols/index.mdmaps each service to its audit playbook. - Session Persistence — Every scan output is saved to
sessions/<dir>/assets/. The session directory structure is:session.md— metadata, timeline, statustargets.md— target list with status and findings countfindings.md— consolidated findings (generated by/kali-finish)assets/— raw output from each step
- MCP Command Format — Run ALL tools through
mcp__kali__execute_command, invoking the raw binary directly. Never use deprecated wrapper tools (nmap_scan, hydra_attack, etc.) — they return HTTP 500. Loadexecute_commandvia ToolSearch first: queryselect:mcp__kali__execute_command.
Sub-Agent Architecture (Parallel Execution)
You are the orchestrator. Your job is to discover services, read the relevant playbooks from knowledge/, build specific missions, and dispatch them to worker subagents in parallel.
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.
- 9d ago First seen · 107 lines · 21 tokens per session scan B 91d1b733fcd6
kali is an agent published in the GitHub repository pabpereza/kali-mcp (57 stars, last pushed 1mo ago), licensed MIT. It adds 21 tokens to every session and 1,503 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it B with 2 findings (recursive force delete, makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
Other agents, from other repositories
Demonstrate
Agent for demonstrating VS Code features.
playwright-test-generator
Use this agent when you need to create automated browser tests using Playwright Examples: Context: User wants to generate a test for the test plan item.
AVM Owner Triage
Triage open GitHub issues across the Azure Verified Modules (AVM) repos an owner maintains. Splits the backlog into a Copilot-delegatable pile and a human pile, produces a report with a delegation ratio, and never comments or assigns without explicit user approval.
Ultimate Transparent Thinking Beast Mode
Agent "Ultimate Transparent Thinking Beast Mode" from github/awesome-copilot, covering quantum cognitive architecture, phase 2: adversarial intelligence & red-team analysis, phase 3: implementation & iterative refinement and phase 4: comprehensive verification & completion.
Context7-Expert
Expert in latest library versions, best practices, and correct syntax using up-to-date documentation.
Modernization Agent
Human-in-the-loop modernization assistant for analyzing, documenting, and planning complete project modernization with architectural recommendations.