kali-exec
Foundational discovery skill for the `vigil assess kali` CLI surface — sync-vs-async decision, attribution/scope semantics, and pointers to…
от VigilOSS★ 35 звёзд на GitHub
Установить kali-exec в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
Kali Execution via vigil assess kali
Use when: every target-facing call, because all of them go through
vigil assess kali .... Pair it withagent/shared-constraints.md§2, which owns the execution rules: synchronous calls only for specialists, the--timeoutceiling, signalling only your own run, and no host-side probes. This skill covers what the per-verb mechanical layers don't tell you.
vigil assess kali runs Kali tools inside the runtime container. It writes a queued audit row
before exec, streams stdout/stderr to ${ENGAGEMENT_DIR}/scans/kali/<run-id>.{out,err} from line
one, and finalizes the row on exit.
Finding the right call
vigil assess list-commands --kali-only [--phase <tag>] [--grep <tool>]is the catalog of every verb (typed wrappers, theexec/jobfallbacks, thesweepfan-out, and thesweep-orphans/tool-helpmaintenance verbs), each with a one-line use.vigil assess kali <verb> --helpgives live flag spellings and defaults.vigil assess contract kali <verb>gives the schema, helper defaults, common mistakes and an example. It is generated from the same source as argparse, so it is always current.
kali exec runs tools the typed surface does not model (dirb, gobuster, hydra, john, hashcat,
custom scripts) and takes the same audit flags.
Reading a result
Every typed verb's result JSON has resolved_argv: the argv that actually ran after the
transparent injections (attribution -H headers, the --resolve IP pin, nuclei's default
-exclude-tags). Read it to see what was sent.
The exit code carries the run's verdict:
| Exit | Meaning |
|---|---|
0 |
completed, or waf_challenge. A WAF or edge block is a complete exchange but not a target verdict. Use kali browser only for a JS interstitial; hard blocks need a route, request or egress correction. |
3 / 4 / 5 / 6 |
failed / timed_out / killed / transport_error. No complete output exists to interpret. |
1 / 2 |
Vigil refusal (scope, policy, audit) / argparse rejection. |
7 |
The target response is in the JSON, but the terminal audit row never became durable. Reconcile with kali sweep-orphans instead of re-probing the target. |
141 |
The reader of stdout went away, so the JSON never arrived. It overrides every status above, but a refusal that reached stderr still stands. |
The fan-out verbs (kali sweep, arjun-sweep) exit non-zero only when every arm failed (with the
shared status's code, or 3 for a mixed set). A few dead arms still exit 0, with
failed/failed_by_status/failed_methods in the JSON and a stderr line. Those arms are holes,
not negatives, so re-run them before you read their absence as a result.
Long-tail flags via --extra-args
Every typed verb accepts --extra-args "<shell-quoted string>", which is shlex-split and appended
after the typed arguments. The audit row records the full final argv and keeps the verb identity
(command-run list --tool-bin httpx still finds the call), so prefer this to dropping into
kali exec. Headers (-H) and match codes (-mc) are typed flags, so pass those directly. If the
extra args write or delete (--os-shell for sqlmap, --script vuln for nmap), also pass
--destructive so the audit row records the real blast radius.
Quoting gotcha: argparse claims an --extra-args value that starts with a typed short flag (-H,
-t) and rejects it with "expected one argument". Use the typed flag, or the equals form
--extra-args=-X ... for an unmodeled dash-leading value.
Synchronous vs. async decision
| Mode | Who | When |
|---|---|---|
| Synchronous | every dispatched specialist | all target-facing work, light or heavy. The call blocks and finalizes its audit row on exit. On --timeout the CLI sends SIGTERM, then SIGKILL after 5 s, and records timed_out=true. |
kali job start |
operator only | one authorized sweep that must outlive a dispatch, never a per-step loop or a parallel fan-out. It returns a job id, runs under dtach in the container, and is managed with kali job status / tail / stop <id>. |
If a probe has to outlive your dispatch, say so in the handoff's next_steps and the operator
will run it as a job.
Audit-flag mapping
--technique, --intent, --probe-kind, --phase and --timeout are required on every typed
verb and kali exec. The CLI fails closed without them, because an env-var fallback could
mislabel the row. --destructive marks writes and deletes. --force only silences the
dedup-window warning for an intentional retry. The enums are in vigil assess contract kali <verb>.
Attribution resolves from --agent-name, then --agent-id, $AGENT_NAME, $VIGIL_AGENT_NAME,
then operator. A dispatched specialist passes --agent-id <your dispatch agent_id> and no
--agent-name, so the run belongs to the dispatch. A command run that backs verifier evidence
needs that dispatch id. A helper script that calls kali exec itsel
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл kali-exec?
Foundational discovery skill for the `vigil assess kali` CLI surface — sync-vs-async decision, attribution/scope semantics, and pointers to `list-commands`/`contract` for the verb catalog and per-verb schemas
Как установить скилл kali-exec?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл kali-exec запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
theme-factory
AnthropicToolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
access
AnthropicManage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
configure
AnthropicSet up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
access
AnthropicManage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…