Skip to main content
skill CX Codex

linux-pentesting-command-reference — Claude Code skill

linux-pentesting-command-reference — a skill that feeds the agent a Linux command cheat sheet for recon, service enumeration, privilege escalation and staying on the box. Handy in labs and CTFs where a one-liner beats theory.

no license 290 installs ★ 13 updated 2026-10-09

Install into Claude Code · Skills CLI (Vercel) All methods and platforms ↓
npx skills add reason-machines/security-skills --skill linux-pentesting-command-reference -a claude-code
Open on GitHub

What linux-pentesting-command-reference does

Commands are grouped by pentest phase: basic system handling, recon, enumeration of services and users, getting a shell, privilege escalation, persistence. What you get are one-liners tried in labs and CTFs — hunting SUID binaries, listing capabilities with getcap -r /, reading sudo -l, walking cron, spawning a reverse shell through bash, Python or netcat, upgrading a dumb TTY, serving files with python3 -m http.server.

It all lives in SKILL.md. Triggers cover questions about enumerating services on a Linux target, local recon on a host you already have a shell on, and privilege escalation. The agent pulls the matching block rather than guessing, so plain wording works fine without knowing how the notes are arranged.

Placeholders like ATTACKER_IP and PORT stay as written; your own address goes in. SUID cases point at GTFOBins, kernel work starts from uname -a plus searchsploit. A reverse shell or a hand-edited /etc/passwd comes back verbatim — the fallout is yours.

What it helps with

  • find SUID binaries and files carrying capabilities
  • pick a reverse shell that fits the interpreter on the box
  • check what sudo -l allows before trying anything
  • list cron jobs and writable directories in one pass
  • send /etc/passwd back to your own host over HTTP

Example prompts for the agent

  • How do I enumerate services on this Linux target?
  • Show me privilege escalation commands: SUID, sudo -l, cron.
  • I have a shell on a Linux box, what local recon should I run?

How to install linux-pentesting-command-reference

1Skills CLI (Vercel)

npx skills add reason-machines/security-skills --skill linux-pentesting-command-reference -a claude-code

2Manually: put the files in place

~/.claude/skills/linux-pentesting-command-reference/SKILL.md

Copy the whole skill folder; for one project use .claude/skills/linux-pentesting-command-reference/

Step by step, with commands for each platform: How to install skills in Claude Code: five ways

Questions about linux-pentesting-command-reference

How do I install linux-pentesting-command-reference in Claude Code?

Run npx skills add reason-machines/security-skills --skill linux-pentesting-command-reference -a claude-code. The skill file lands at ~/.claude/skills/linux-pentesting-command-reference/SKILL.md.

What does linux-pentesting-command-reference do?

It hands the agent a set of Linux commands sorted by pentest phase, from recon to persistence. The agent answers with concrete commands instead of general advice.

What does the privilege escalation part rely on?

For SUID cases it sends you to GTFOBins. For kernel work it starts with uname -a and searchsploit linux kernel.

Similar skills

All skills for Security →

From the same set129

The whole set →
malwarebytes-premium-security-cracked-distribution The malwarebytes-premium-security-cracked-distribution skill covers a pirated, pre-activated Malwarebytes Premium build and flags the security and legal risks. It should not be used to obtain cracked software. CX Codex +1 324installs linux-pentester-commands linux-pentester-commands — a Linux command reference for reconnaissance, enumeration, exploitation, and privilege escalation during authorized penetration testing. CX Codex +1 323installs iac-security-scan-skills iac-security-scan-skills is a Claude Code skill for auditing Terraform and CloudFormation, tracing cross-domain attack paths and calculating minimal fixes. CX Codex +1 319installs linux-pentester-command-reference linux-pentester-command-reference — a skill that hands your agent a Linux command reference split by pentest phase: recon, enumeration, exploitation, privesc. CX Codex +1 313installs microsoft-security-skills-plugin This skill gives AI agents Microsoft Security guidance for Defender, Sentinel, Entra, Purview, and Intune. Use it when planning policies or security workflows. CX Codex +1 276installs pentest-r1-autonomous-penetration-testing pentest-r1-autonomous-penetration-testing guides setup of a two-stage reinforcement learning pipeline for autonomous penetration testing. Ideal for training security models in interactive sandboxes. CX Codex +1 271installs solana-security-standard solana-security-standard is a Claude Code skill that detects 37 vulnerability classes in Solana and Anchor programs during development and CI. CX Codex +1 268installs jellyfin-security-plugin jellyfin-security-plugin walks your coding agent through adding two-factor login, passkeys, OIDC single sign-on and IP bans to a Jellyfin 10.11+ server. CX Codex +1 265installs

Project sponsors

Companies that keep this analytics open