Borrowing it
Nothing to install: this file belongs to ZealynxSecurity/krait. 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/ZealynxSecurity/krait/main/.claude/commands/krait-init.mdgit clone --depth 1 https://github.com/ZealynxSecurity/kraitWrote 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/zealynxsecurity/krait/krait-init)<a href="https://agentmods.dev/commands/zealynxsecurity/krait/krait-init"><img src="https://agentmods.dev/badge/commands/zealynxsecurity/krait/krait-init/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/commands/zealynxsecurity/krait/krait-init"><img src="https://agentmods.dev/badge/commands/zealynxsecurity/krait/krait-init.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.00000 | $0.00347 |
| Opus 5.5 | $0.00000 | $0.00139 |
| Sonnet 5.5 | $0.00000 | $0.00069 |
| Haiku 4.5 | $0.00000 | $0.00035 |
Grade A, and why
krait-init 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 1mo 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.
What it actually says
Krait Init — Project Readiness Check
Standalone readiness check before running /krait. Verifies tools, project shape, gitignore, MCP wiring, and ~/.claude install. Reports what's missing — does NOT install or modify anything.
Use this when you want to validate your environment without committing to a full audit run (CI setup, debugging, "is my env ready?"). /krait runs the hard checks automatically on every invocation, so most users will never need to call this directly.
Usage
/krait-init
/krait-init src/contracts/ # check a specific subdir
Instructions
Read and follow ~/.claude/skills/krait/preflight/instructions.md in report mode.
That skill defines every check, the hard-vs-soft distinction, and the output table format. Your job is to run all of its checks (hard + soft, including ~/.claude skills sync) and emit the full summary table with a single-line verdict at the end.
CRITICAL:
- Read-only. Do NOT install dependencies, modify
.gitignore, edit.mcp.json, or write.audit/*files unless the user explicitly says "go ahead" / "fix it" / "yes". - For environmental misses (e.g.
forgenot on PATH), propose the install command but don't run it yourself. - Do all checks in parallel where possible. A tight pass/fail table beats narration.
If the verdict is READY or READY (warnings), suggest /krait next. If it is NOT READY, do not suggest /krait — fix the env first.
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.
- 1mo ago First seen · 26 lines · 0 tokens per session scan A 39740aaffd16
krait-init is a command published in the GitHub repository ZealynxSecurity/krait (26 stars, last pushed today), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 347 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.
Other commands, from other repositories
audit
Full security audit of a Solidity/Vyper/Rust contract or directory. Runs the entire vuln-skills library and dispatches DeFi specialist subagents based on detected protocol type.
exploit
Generate a working Foundry PoC that exploits a specific finding. Compiles and passes.
pre-deploy
Interactive pre-launch security checklist — walk the operational and code-safety gates and produce a final GO / NO-GO with each item PASS / FAIL / N-A.
prover
Formal verification entrypoint — prove a property holds for all inputs with Halmos (symbolic, offline) or Certora (CVL) using ready-made property templates.
audit-strict
Multi-pass consensus audit — runs the audit twice with different prompts, only reports consensus findings. Aggressively cuts false positives.
invariant
Generate Foundry invariant tests for property-based fuzzing. The high-value command for serious teams.