kali-mcp: Command for Claude Code

.claude/commands/kali-start.md

kali-start is a command for Claude Code from pabpereza/kali-mcp. It costs 0 tokens per session (565 once invoked), scanned A, original, MIT.

A command that starts an authorised penetration-testing session for one or more targets. Penetration testing is a security assessment that looks for weaknesses under agreed rules, and the command records those targets and rules in a session workspace.

In plain words
What is it for?
Use it to set targets, choose passive scanning, credential testing, or full testing, create a timestamped session directory, and begin documenting the engagement.
Why use it?
It creates a consistent place to store the assessment details before scanning begins. Asking for authorisation limits helps distinguish permitted testing from activity that could be unsafe or illegal.

Command for Claude Code

Written for Claude Code: $ARGUMENTS substitution. Also seen: mentions subagents; names the AskUserQuestion tool.

This is pabpereza/kali-mcp's own configuration. It tells Claude Code how to work on kali-mcp itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything kali-mcp configures →

Reuse

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.

Copy the file
curl -O https://raw.githubusercontent.com/pabpereza/kali-mcp/main/.claude/commands/kali-start.md
Clone the repo
git clone --depth 1 https://github.com/pabpereza/kali-mcp

Made for: Claude Code.

Wrote 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.

agentmods badge for kali-start

README.md
[![agentmods](https://agentmods.dev/badge/commands/pabpereza/kali-mcp/kali-start/github.svg)](https://agentmods.dev/commands/pabpereza/kali-mcp/kali-start)
Your own site
<a href="https://agentmods.dev/commands/pabpereza/kali-mcp/kali-start"><img src="https://agentmods.dev/badge/commands/pabpereza/kali-mcp/kali-start/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.

agentmods 80×15 button for kali-start

Your own site · 80×15
<a href="https://agentmods.dev/commands/pabpereza/kali-mcp/kali-start"><img src="https://agentmods.dev/badge/commands/pabpereza/kali-mcp/kali-start.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 0 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 565 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.00000 $0.00565
Opus 5 $0.00000 $0.00282
Sonnet 5 $0.00000 $0.00113
Haiku 4.5 $0.00000 $0.00056

Measured 10d ago against content hash ee58e2a8fe66, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-10, from the pricing page.

Security

Grade A, and why

kali-start 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 10d 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.

.claude/commands/kali-start.md · 66 lines

How it starts

The opening of the file, as written. The whole thing — 66 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Initialize a penetration testing session for target: $ARGUMENTS

You are the session manager. Set up the session workspace before any scanning begins.

Step 1: Collect Session Parameters

Parse the target(s) from $ARGUMENTS if present (comma-separated for multiple). Then use a single AskUserQuestion call with up to two questions (skip any already answered by $ARGUMENTS):

  1. Target(s) (only if not in $ARGUMENTS): "Enter the target(s) for this engagement (IP, hostname, URL, or CIDR range):"
  2. Authorization scope: "Select the authorization scope for this engagement:"
    • Passive only — scanning and vulnerability identification, no brute force, no exploitation.
    • Passive + Credential testing — adds brute force with small wordlists.
    • Full pentest — all phases including exploitation. May cause service disruption.

There is a single engagement type — /kali-audit — so no need to ask about it.

Step 2: Create the Session

  1. Sanitize the target name (replace /, :, . with _), timestamp with date +%Y%m%d_%H%M.
  2. mkdir -p sessions/<sanitized_target>_<timestamp>/assets
  3. Write sessions/<dir>/session.md:
    # Pentest Session
    
    - **Target(s)**: <target list>
    - **Date**: <current date/time>
    - **Scope**: <authorization scope>
    - **Status**: IN PROGRESS
    
    ## Timeline
    - [<time>] Session initialized
    
    ## Sub-Agents Dispatched
    _None yet._
    
    ## Summary
    _In progress. Run `/kali-finish` when done._
    
  4. Write sessions/<dir>/targets.md:
    # Targets
    
    | Target | Status | Findings |
    |--------|--------|----------|
    | <target> | Pending | — |
    
    ## Scope
    **Authorization level**: <scope>
    
  5. Write an empty sessions/<dir>/assets/.gitkeep so the directory is tracked.

Step 3: Present Summary

SESSION INITIALIZED
━━━━━━━━━━━━━━━━━━
Target(s): <targets>
Scope:     <authorization scope>
Directory: sessions/<dir>/

Next: /kali-audit <target>
Then: /kali-finish   — finalize, report, and consolidate tool-efficiency lessons

Read the full file on GitHub · 66 lines

Changes

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.

  1. 10d ago First seen · 66 lines · 0 tokens per session scan A ee58e2a8fe66

Subscribe to this mod's changes

kali-start is a command published in the GitHub repository pabpereza/kali-mcp (57 stars, last pushed 1mo ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 565 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-08-30.