autopentestx-automated-pentesting — Claude Code skill
This skill automates reconnaissance, vulnerability checks, and security reports. Use it to assess hosts, target lists, and web applications.
npx skills add reason-machines/security-skills --skill autopentestx-automated-pentesting -a claude-codeWhat autopentestx-automated-pentesting does
autopentestx-automated-pentesting brings a Python-based pentesting tool into the agent workflow. It can inspect ports, identify services and operating systems, and detect common vulnerabilities. Web checks cover SQL injection, XSS, and directory traversal.
The skill supports single targets, target files, and selected scan modules. Results can be turned into PDF or HTML reports, while persistent options can be stored in config.json, including enabled modules and the output directory. Python 3.8 or later and the packages from requirements.txt are required. Linux is recommended, and some scan features need root or sudo access.
What it helps with
- check a host for exposed ports and services
- detect common vulnerabilities on a target
- test a web application for SQL injection and XSS
- scan several hosts from
targets.txt - turn findings into a PDF or HTML report
Example prompts for the agent
- Run an automated security assessment against
192.168.1.100and create an HTML report. - Scan every target in
targets.txtusing reconnaissance and vulnerability modules. - Test this web application for SQL injection, XSS, and directory traversal, then generate a report.
How to install autopentestx-automated-pentesting
1Skills CLI (Vercel)
npx skills add reason-machines/security-skills --skill autopentestx-automated-pentesting -a claude-code2Manually: put the files in place
~/.claude/skills/autopentestx-automated-pentesting/SKILL.mdCopy the whole skill folder; for one project use .claude/skills/autopentestx-automated-pentesting/
1Skills CLI (Vercel)
npx skills add reason-machines/security-skills --skill autopentestx-automated-pentesting -a codex2Manually: put the files in place
.agents/skills/autopentestx-automated-pentesting/SKILL.mdFor all projects use ~/.agents/skills/
1Skills CLI (Vercel)
npx skills add reason-machines/security-skills --skill autopentestx-automated-pentesting -a cursor2Manually: put the files in place
.cursor/skills/autopentestx-automated-pentesting/SKILL.mdCursor also reads .agents/skills/ and .claude/skills/
1GitHub CLI
gh skill install reason-machines/security-skills autopentestx-automated-pentesting2Manually: put the files in place
.github/skills/autopentestx-automated-pentesting/SKILL.md1Skills CLI (Vercel)
npx skills add reason-machines/security-skills --skill autopentestx-automated-pentesting -a gemini-cli2Platform CLI
gemini skills install https://github.com/reason-machines/security-skills --path skills/autopentestx-automated-pentestingManually: put the files in place
.devin/skills/autopentestx-automated-pentesting/SKILL.mdThe legacy .windsurf/skills/ path still works
Skills CLI (Vercel)
npx skills add reason-machines/security-skills --skill autopentestx-automated-pentesting -a opencodeClaude.ai
Zip the folder and upload it in Settings → Capabilities → Skills
Step by step, with commands for each platform: How to install skills in Claude Code: five ways
Questions about autopentestx-automated-pentesting
How do I install autopentestx-automated-pentesting in Claude Code?
Run npx skills add reason-machines/security-skills --skill autopentestx-automated-pentesting -a claude-code. The installed skill is located at ~/.claude/skills/autopentestx-automated-pentesting/SKILL.md.
What does autopentestx-automated-pentesting do?
It automates reconnaissance, port and vulnerability scanning, web application checks, and PDF or HTML report generation.
What does the skill require?
You need Python 3.8 or later plus the packages in requirements.txt. Some scanning features require root or sudo privileges.