linux-pentester-commands — Claude Code skill
A Linux command reference for reconnaissance, enumeration, exploitation, and privilege escalation during authorized penetration testing.
npx skills add reason-machines/security-skills --skill linux-pentester-commands -a claude-codeWhat linux-pentester-commands does
This skill groups Linux pentesting commands by workflow stage. The sections cover basic system work, local and network reconnaissance, user and service enumeration, exploitation, privilege escalation, post-exploitation, and quick-reference one-liners. Examples cover system details, network connections, SUID files, cron jobs, and sudo checks.
Use it when an agent needs to choose commands for inspecting a Linux host or explain a local enumeration sequence. The skill is available for Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, and OpenCode. Its reference includes reverse-shell and root-access examples, so use those parts only on systems you are authorized to test.
What it helps with
- inspect a Linux host and identify the current user context
- map interfaces, routes, and listening network services
- enumerate users, processes, services, and readable files
- check SUID files, cron jobs, and sudo permissions
- plan post-exploitation checks on an authorized system
Example prompts for the agent
- Run an authorized Linux reconnaissance pass and organize commands for kernel, user, and network checks.
- Explain a step-by-step service and SUID enumeration plan for this Linux host, including what each command reveals.
- Create a permission-escalation review covering
sudo, cron jobs, and writable files.
How to install linux-pentester-commands
1Skills CLI (Vercel)
npx skills add reason-machines/security-skills --skill linux-pentester-commands -a claude-code2Manually: put the files in place
~/.claude/skills/linux-pentester-commands/SKILL.mdCopy the whole skill folder; for one project use .claude/skills/linux-pentester-commands/
1Skills CLI (Vercel)
npx skills add reason-machines/security-skills --skill linux-pentester-commands -a codex2Manually: put the files in place
.agents/skills/linux-pentester-commands/SKILL.mdFor all projects use ~/.agents/skills/
1Skills CLI (Vercel)
npx skills add reason-machines/security-skills --skill linux-pentester-commands -a cursor2Manually: put the files in place
.cursor/skills/linux-pentester-commands/SKILL.mdCursor also reads .agents/skills/ and .claude/skills/
1GitHub CLI
gh skill install reason-machines/security-skills linux-pentester-commands2Manually: put the files in place
.github/skills/linux-pentester-commands/SKILL.md1Skills CLI (Vercel)
npx skills add reason-machines/security-skills --skill linux-pentester-commands -a gemini-cli2Platform CLI
gemini skills install https://github.com/reason-machines/security-skills --path skills/linux-pentester-commandsManually: put the files in place
.devin/skills/linux-pentester-commands/SKILL.mdThe legacy .windsurf/skills/ path still works
Skills CLI (Vercel)
npx skills add reason-machines/security-skills --skill linux-pentester-commands -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 linux-pentester-commands
How do I install linux-pentester-commands in Claude Code?
Run npx skills add reason-machines/security-skills --skill linux-pentester-commands -a claude-code, then check ~/.claude/skills/linux-pentester-commands/SKILL.md.
What does linux-pentester-commands do?
It gives the agent a structured Linux command reference for reconnaissance, enumeration, exploitation, privilege escalation, and post-exploitation work.
Which platforms support this skill?
It supports Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, and OpenCode.