Skip to content
Mikoshi

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:

bash
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
done

For other agents, use the same URLs and save each file as <skills-dir>/<skill-name>/SKILL.md.

SkillWhat your agent learns
penetration-testing-with-mikoshiRun headless scans against code, URLs, domains, or IPs — self-hosted CLI or managed cloud — with budget caps, and read the results
managed-pentesting-with-mikoshiDrive the managed app.mikoshi.digital platform over REST — no local Docker or LLM key needed
fix-security-vulnerabilities-with-mikoshiTriage findings, fix root causes, and re-run Mikoshi to verify each fix
ci-security-scanning-with-mikoshiAdd PR security scanning to GitHub Actions or any CI (self-hosted CLI or managed app)
application-security-testingAssess a whole product: choose the right test for each asset, then rank the findings into one remediation plan
web-app-penetration-testingBlack-box pentest of a live web app or staging site — scope, credentials, and multi-account access-control testing
api-security-testingTest a REST/GraphQL API against the OWASP API Security Top 10 — schema-driven enumeration, BOLA/IDOR, authz
owasp-top-10-testingSystematic OWASP Top 10 assessment with honest per-category coverage
find-security-vulnerabilities-in-codeWhite-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:

bash
curl -fsSL https://www.mikoshi.digital/skills/penetration-testing-with-mikoshi/SKILL.md | claude

Two 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 cloud CLI (every REST operation has a mikoshi 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 with mikoshi cloud login (browser device sign-in, account created on first use) or create a token in the dashboard under Settings → API Access. The managed-pentesting-with-mikoshi skill has the full flow.

Agent-Friendly Interfaces

Everything an agent needs is machine-readable:

  • Headless CLI — mikoshi -n runs without the TUI and exits with 0 (clean), 1 (error), or 2 (vulnerabilities found).
  • Cloud CLI — mikoshi cloud prints JSON when stdout is not a terminal (or with --json), never prompts without a TTY, and exits with 0 (success), 1 (error), 2 (usage), 4 (authentication required), or 5 (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, and mikoshi 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 under mikoshi_runs/<run-name>/; the cloud exposes the same as JSON plus SARIF export.
  • Budget controls — --max-budget and --max-turns give 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:

text
Pentest this repo with Mikoshi (quick mode, $10 budget) and summarize the findings.
text
Fix all critical and high findings from the last Mikoshi run, then re-scan to verify.
text
Add Mikoshi security scanning to our GitHub Actions so every PR gets tested.