Docs
Coding Agents
Use Mikoshi from Claude Code, Cursor, Codex, and other AI agents
Mikoshi is built to be driven by AI coding agents. Install the official agent skills and your agent knows how to run pentests, remediate findings, and wire Mikoshi into CI.
Install the Skills
Works with any agent that supports the SKILL.md standard — Claude Code, Cursor, Codex, Gemini CLI, OpenCode, and dozens more. Each skill is published on the Mikoshi website at https://www.mikoshi.digital/skills/<skill-name>/SKILL.md. Download the ones you want into your agent's skills directory. For Claude Code:
for skill in penetration-testing-with-mikoshi fix-security-vulnerabilities-with-mikoshi ci-security-scanning-with-mikoshi; do
mkdir -p ~/.claude/skills/$skill
curl -fsSL "https://www.mikoshi.digital/skills/$skill/SKILL.md" -o ~/.claude/skills/$skill/SKILL.md
doneFor other agents, use the same URLs and save each file as <skills-dir>/<skill-name>/SKILL.md.
| Skill | What your agent learns |
|---|---|
penetration-testing-with-mikoshi | Run headless scans against code, URLs, domains, or IPs — self-hosted CLI or managed cloud — with budget caps, and read the results |
managed-pentesting-with-mikoshi | Drive the managed app.mikoshi.digital platform over REST — no local Docker or LLM key needed |
fix-security-vulnerabilities-with-mikoshi | Triage findings, fix root causes, and re-run Mikoshi to verify each fix |
ci-security-scanning-with-mikoshi | Add PR security scanning to GitHub Actions or any CI (self-hosted CLI or managed app) |
application-security-testing | Assess a whole product: choose the right test for each asset, then rank the findings into one remediation plan |
web-app-penetration-testing | Black-box pentest of a live web app or staging site — scope, credentials, and multi-account access-control testing |
api-security-testing | Test a REST/GraphQL API against the OWASP API Security Top 10 — schema-driven enumeration, BOLA/IDOR, authz |
owasp-top-10-testing | Systematic OWASP Top 10 assessment with honest per-category coverage |
find-security-vulnerabilities-in-code | White-box security review of a repo or working tree, with exploits to confirm findings |
To use a skill once without installing it, pipe it into your agent:
curl -fsSL https://www.mikoshi.digital/skills/penetration-testing-with-mikoshi/SKILL.md | claudeTwo ways to run — self-hosted or managed
Both use the same engine and produce the same validated findings and SARIF, so agents can pick per situation or combine them:
- Mikoshi CLI (self-hosted) — runs locally in a Docker sandbox with your own LLM key. Free, fully local, air-gap capable. Best for local dev loops and full control.
- Managed cloud (planned, not live yet) — will run on Mikoshi's infrastructure. A web app MVP is being built at mikoshi.digital/app; until it ships, use the Mikoshi CLI. Drive it with the
mikoshi cloudCLI (every REST operation has amikoshi cloud <resource> <verb>command) or the app.mikoshi.digital REST API directly. No Docker, no LLM key; adds team dashboards, scheduling, PR reviews, and downloadable PDF/DOCX reports (Enterprise plan). Best in sandboxed/CI environments and for teams. Sign in withmikoshi cloud login(browser device sign-in, account created on first use) or create a token in the dashboard under Settings → API Access. Themanaged-pentesting-with-mikoshiskill has the full flow.
Agent-Friendly Interfaces
Everything an agent needs is machine-readable:
- Headless CLI —
mikoshi -nruns without the TUI and exits with0(clean),1(error), or2(vulnerabilities found). - Cloud CLI —
mikoshi cloudprints JSON when stdout is not a terminal (or with--json), never prompts without a TTY, and exits with0(success),1(error),2(usage),4(authentication required), or5(payment required). Credit top-ups pay the Stripe machine-payment challenge with an agent wallet (mikoshi cloud billing topup --credits N --yes). Account setup also runs from the CLI:mikoshi cloud workspaces list|create|use,mikoshi cloud org members invite,mikoshi cloud billing subscribe,mikoshi cloud billing portal, andmikoshi cloud integrations install github. The last three print a hosted link the user opens to finish the payment or approve the installation. - REST API — the managed platform exposes a documented OpenAPI at
https://app.mikoshi.digital/api/v1(scans, vulnerabilities, assets, PR reviews, schedules, webhooks) with bearer tokens and scopes. - Structured results — every run writes
vulnerabilities.json,vulnerabilities.csv,findings.sarif(SARIF 2.1.0), and per-finding Markdown undermikoshi_runs/<run-name>/; the cloud exposes the same as JSON plus SARIF export. - Budget controls —
--max-budgetand--max-turnsgive agents hard cost/time caps. llms.txt— this documentation is indexed at mikoshi.digital/docs/llms.txt and fully exported at mikoshi.digital/docs/llms-full.txt.
Example Prompts
Once the skills are installed, prompts like these just work:
Pentest this repo with Mikoshi (quick mode, $10 budget) and summarize the findings.Fix all critical and high findings from the last Mikoshi run, then re-scan to verify.Add Mikoshi security scanning to our GitHub Actions so every PR gets tested.