What a skill contains
A Hacktron Skill can include:- Instructions for how the agent should approach a security task
- Scripts for repeatable analysis or validation steps
- References and supporting material for specialized workflows
Develop skills locally
Because skills can execute arbitrary commands on your machine, Hacktron does not pull skills directly from arbitrary repositories. During development, place your skills in:Use skills in the IDE extension
Once a skill is present under~/.hacktron/skills/, it is available to both the CLI and the IDE extension.
Use the CLI when you want to inspect discovery directly with hacktron skills list, and use the IDE extension when you want the same locally configured skills inside your editor workflow.
Use skills with environments
Hacktron Skills work best when paired with environments. Environments give the agent a concrete target to test, validate, and iterate against. In practice, a useful environment usually has:- Services that can be started locally, typically with
docker-compose up -d - A clear objective exposed through a flag
- In a user account to test for IDOR issues
- In a database row to test for SQL injection issues
- On the filesystem to validate remote code execution
Development workflow
Use this flow when building a new skill:- Set up a reproducible local environment for the target application or vulnerability class.
- Implement the skill under
~/.hacktron/skills/. - Verify the skill is detected with
hacktron skills list. - Run Hacktron against the environment from the CLI and refine the skill based on results.
Ideas for new skills
Common patterns that fit well as skills include:- Pulling and beautifying minified JavaScript from a target URL to support source-to-sink analysis
- Parsing JSON or SARIF vulnerability output and validating findings with static plus dynamic checks
- Generating local environments automatically when the codebase does not already include one
- Producing remediation patches or fix suggestions for validated vulnerabilities
- Decompiling packaged desktop or mobile applications for deeper analysis