Docs
Skills
Specialized knowledge packages that enhance agent capabilities
Skills are structured knowledge packages that give Mikoshi agents deep expertise in specific vulnerability types, technologies, and testing methodologies.
The Idea
LLMs have broad but shallow security knowledge. They know about SQL injection, but lack the nuanced techniques that experienced pentesters use—parser quirks, bypass methods, validation tricks, and chain attacks.
Skills inject this deep, specialized knowledge directly into the agent's context, transforming it from a generalist into a specialist for the task at hand.
How They Work
When Mikoshi spawns an agent for a specific task, it selects up to 5 relevant skills based on the context:
# Agent created for JWT testing automatically loads relevant skills
create_agent(
task="Test authentication mechanisms",
skills=["authentication_jwt", "business_logic"]
)The skills are injected into the agent's system prompt, giving it access to:
- Advanced techniques — Non-obvious methods beyond standard testing
- Working payloads — Practical examples with variations
- Validation methods — How to confirm findings and avoid false positives
Skill Categories
Vulnerabilities
Core vulnerability classes with deep exploitation techniques.
| Skill | Coverage |
|---|---|
authentication_jwt | JWT attacks, algorithm confusion, claim tampering |
idor | Object reference attacks, horizontal/vertical access |
sql_injection | SQL injection variants, WAF bypasses, blind techniques |
xss | XSS types, filter bypasses, DOM exploitation |
ssrf | Server-side request forgery, protocol handlers |
csrf | Cross-site request forgery, token bypasses |
xxe | XML external entities, OOB exfiltration |
rce | Remote code execution vectors |
business_logic | Logic flaws, state manipulation, race conditions |
race_conditions | TOCTOU, parallel request attacks |
path_traversal_lfi_rfi | File inclusion, path traversal |
open_redirect | Redirect bypasses, URL parsing tricks |
mass_assignment | Attribute injection, hidden parameter pollution |
insecure_file_uploads | Upload bypasses, extension tricks |
information_disclosure | Data leakage, error-based enumeration |
subdomain_takeover | Dangling DNS, cloud resource claims |
broken_function_level_authorization | Privilege escalation, role bypasses |
Frameworks
Framework-specific testing patterns.
| Skill | Coverage |
|---|---|
fastapi | FastAPI security patterns, Pydantic bypasses |
nextjs | Next.js SSR/SSG issues, API route security |
Technologies
Third-party service and platform security.
| Skill | Coverage |
|---|---|
supabase | Supabase RLS bypasses, auth issues |
firebase | Firebase Firestore, Storage rules, Auth, and Functions |
Protocols
Protocol-specific testing techniques.
| Skill | Coverage |
|---|---|
graphql | GraphQL introspection, batching, resolver issues |
Reconnaissance
Asset discovery and network assessment workflows.
| Skill | Coverage |
|---|---|
asset_discovery | CT, TLS SAN pivoting, passive DNS, and ASN/IP asset enumeration |
internal_network | Corporate network discovery, AD infrastructure, file shares, management interfaces, lateral trust paths, and segmentation |
Tooling
Sandbox CLI playbooks for core recon and scanning tools.
| Skill | Coverage |
|---|---|
nmap | Port/service scan syntax and high-signal scan patterns |
nuclei | Template selection, severity filtering, and rate tuning |
httpx | HTTP probing and fingerprint output patterns |
ffuf | Wordlist fuzzing, matcher/filter strategy, recursion |
subfinder | Passive subdomain enumeration and source control |
naabu | Fast port scanning with explicit rate/verify controls |
katana | Crawl depth/JS/known-files behavior and pitfalls |
sqlmap | SQLi workflow for enumeration and controlled extraction |
Skill Structure
Each skill is a Markdown file with YAML frontmatter for metadata:
---
name: skill_name
description: Brief description of the skill's coverage
---
# Skill Title
Key insight about this vulnerability or technique.
## Attack Surface
What this skill covers and where to look.
## Methodology
Step-by-step testing approach.
## Techniques
How to discover and exploit the vulnerability.
## Bypass Methods
How to bypass common protections.
## Validation
How to confirm findings and avoid false positives.Load skills yourself
Agents pick skills from a catalog of names and one-line descriptions. The pick depends on the subtask the agent was given. To make sure the root agent starts with a skill, name it on the command line:
mikoshi --target https://api.example.com --skills idor,mass_assignment
mikoshi --target https://api.example.com --skills vulnerabilities/idor,custom/my_methodMikoshi loads the named skills into the root agent's system prompt before the scan starts. The root agent can still pass them to child agents with create_agent(skills=[...]). An unknown name stops the run and prints the available skills. A resumed scan keeps the skills of the original run.
Add your own skills
Point Mikoshi at a directory that uses the same <category>/<name>.md layout as the built-in skills:
mikoshi --target https://app.com --skills-dir ./my-skills --skills custom/my_methodmy-skills/
├── custom/
│ └── my_method.md
└── vulnerabilities/
└── idor.md # replaces the built-in idor skillRepeat --skills-dir for more directories, or set MIKOSHI_SKILLS_DIR to a list of directories separated by the OS path separator. Mikoshi searches these directories before the packaged skills. A file with the same path as a built-in skill replaces it. This works for installed builds too, so you do not have to rebuild the package to add a skill.
Mikoshi lists your skills first in the catalog, before the built-in skills, and marks them as operator skills. When one of your skills fits a task, agents load it or assign it before a built-in skill. Mikoshi does not load your skills into an agent automatically. To do that for the root agent, use --skills.
Each file needs the frontmatter description field. Agents only see the name and this description in the catalog, so write the description for the subtask that should trigger the skill.
Skills or instructions?
A cross-cutting methodology that spans the whole engagement belongs in an instruction file. If the methodology also needs knowledge that the built-in skills do not have, put that part in a custom skill and name it from the instruction file.
Writing Good Skills
Built-in skills are maintained by the Mikoshi team; to suggest one, contact us. For your own skills, create a .md file with YAML frontmatter (name and description fields) and load it with --skills-dir. Good skills include:
- Real-world techniques — Methods that work in practice
- Practical payloads — Working examples with variations
- Validation steps — How to confirm without false positives
- Context awareness — Version/environment-specific behavior