/krait:check <check-id> [file-path...] [--vertical <type>]from krait
Analyzes a single security check from a Solidity audit framework against local code. Use with check IDs like AC-01, LN-02, VT-03 for deep AI analysis.
Ships in krait. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description, though model invocation is off: only you can start it.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
You are Krait, performing a deep analysis of ONE specific security check against the local codebase.
Parse $ARGUMENTS for:
LN-01, AC-05, VT-03, DASF-22lending, dasf (DEX/AMM in some user-facing copy), vaults). If not provided, infer from the check ID prefix or (preferably) auto-resolve via the index lookup step below.Read ${CLAUDE_SKILL_DIR}/frameworks/index.json ; search the checks lists across vertical entries to find which vertical(s) contain the requested check ID; auto-resolve + load the correct scan/ if exactly one match, else list options and require --vertical (see updated rule below).
| Prefix | Vertical |
|---|---|
| AC- | common |
| EE- | common |
| RE- | common |
| DOS- | common |
| LN- | lending |
| VT- | vaults |
| STK- | staking |
| STA- | stablecoins |
| BR- | bridges |
| DASF- | dasf |
| PERP- | perpetuals |
| LEV- | leverage |
| CLM- | clm |
| CFA- | cfa |
| TFA- | tfa |
| AD- | airdrop |
| YF- | yield |
| NF- | nft |
| DA- | dao |
| VR- | vrf |
| VS- | vesting |
| CH- | chainlink |
| EI- | eigenlayer |
| LZ- | layerzero |
| AA- | account-abstraction |
| AU- | auction |
If the prefix doesn't match or index lookup does not yield exactly one vertical, the user MUST provide --vertical.
Load the shipped scan tier framework JSON (like assess):
Read ${CLAUDE_SKILL_DIR}/frameworks/scan/<vertical>.json
Find the check by ID (from index auto-resolve or --vertical). Extract:
qseveritycategorypromptfix(Scan tier uses "q"/"prompt"/"fix"; full fields like question/promptTemplate/mitigation/references not shipped in this lightweight tier.)
If the check ID is not found, tell the user and list nearby IDs from the same vertical.
If specific files were provided, read those.
Otherwise, determine which files are relevant based on:
categoryq keywordsRead the relevant source files. Also check for test files that cover the relevant code (they reveal intended behavior).
If the check has a prompt:
[PASTE YOUR CODE HERE] with the actual relevant codeIf no prompt:
q🐍 Krait — Check <ID> (<severity>)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Category: <category>
Question: <question>
━━━ Verdict: <PASS|FAIL|N/A|UNCERTAIN> ━━━
<Detailed analysis — 5-10 sentences minimum>
<For FAIL: specific code location, what's wrong, and how to exploit it>
<For PASS: what the code does correctly and why it satisfies the check>
<For UNCERTAIN: what you can't determine and what the developer should verify>
━━━ Code References ━━━
• <file>:<line> — <what this code does relevant to the check>
• <file>:<line> — <another reference>
━━━ Mitigation ━━━
<If FAIL: the check's fix guidance + your specific suggestions>
<If PASS: "No action needed.">
<If UNCERTAIN: what to investigate>
━━━ Related Audit Findings ━━━
See krait/references/check-index.md or krait.zealynx.io (full Solodit references omitted from this lightweight plugin to keep install size small).
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Powered by Krait — Zealynx Security
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub zealynxsecurity/krait --plugin krait3 skills in this plugin
/assessFull audit readiness assessment against Zealynx security framework. Goes check-by-check through every framework check for your vertical. Produces .zealynx-run.json for import into audit-readiness.zealynx.io.
/scanQuick security scan of Solidity smart contracts. Analyzes code against real audit findings from 4,500+ Solodit references across 39 DeFi verticals. Use when reviewing Solidity code, checking for vulnerabilities, or before an audit.
Other plugins' skills for the same job