Agent skill

Command Injection

by NeoTheCapt in NeoTheCapt/RedteamAgent

OS command injection detection, exploitation, and filter bypass

No licenceAuto-check passedSecurity

Install Command Injection

skills CLI
$ npx skills add NeoTheCapt/RedteamAgent --skill command-injection -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install NeoTheCapt/RedteamAgent command-injection --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/NeoTheCapt/RedteamAgent.git skills-src && mkdir -p .claude/skills && cp -r skills-src/agent/skills/command-injection .claude/skills/command-injection && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
command-injection
GitHub stars
140
Token cost
~754 tokens
SKILL.md length
291 words
Files
1
Skills in repo
25
Repo updated
First seen
Licence
None found

At a glance

OS command injection detection, exploitation, and filter bypass

  • Works in 7 steps: Identify Injection Points → Basic Detection Payloads → Blind Command Injection → …
  • Tasks that involve Penetration testing
  • SKILL.md covers When to Activate, Tools, Methodology and What to Record
  • Calls curl and bash

What it does

Command Injection is an agent skill from NeoTheCapt/RedteamAgent. OS command injection detection, exploitation, and filter bypass

Its SKILL.md is about 750 tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Security, covering Penetration testing. The repository describes itself as: An AI red-team agent for authorized labs and web app pentesting workflows. Turns Claude Code / OpenCode / Codex into a structured recon → test → exploit → report workflow, with…

When your agent uses it

  • Tasks that involve Penetration testing

Example prompts

  • “/command-injection”

Workflow steps

7 steps, taken from the step headings in SKILL.md.

  1. Identify Injection Points
  2. Basic Detection Payloads
  3. Blind Command Injection
  4. Filter Bypass Techniques
  5. Windows-Specific
  6. Exploitation
  7. Context-Specific Checks

What it can do on your machine

Read from SKILL.md and the folder at commit 2e60476. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • curl
    • bash

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md. Its commands use curl, which can reach the network depending on how they are called.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Command Injection loads about 754 tokens when it runs. Until then it costs about 20 tokens; SKILL.md has 291 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~20
When it runs · the whole SKILL.md, loaded when a task matches
~754

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

Without a licence we can't republish the file, so here is its outline and opening line. It has 291 words (~754 tokens).

name
command-injection
origin
RedteamOpencode

Read the full SKILL.md on GitHub

Files

Just SKILL.md in agent/skills/command-injection of NeoTheCapt/RedteamAgent.

Open the folder on GitHubat commit 2e60476

Compare with similar skills

Command Injection next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Command Injection compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Command Injection this skillNeoTheCapt/RedteamAgent140—~754Automated safety check: PassNone
Strix Code Vulnerability Scanusestrix/strix67k—~1.1kAutomated safety check: PassApache-2.0
Code Audit3stoneBrother/code-audit8931 repos~2.7kAutomated safety check: PassNone
Fix Strix Security Findingsusestrix/strix67k—~1.5kAutomated safety check: PassApache-2.0
Metabigor OSINT Reconj3ssie/metabigor1.8k—~2.4kAutomated safety check: PassMIT
Wooyun Legacytanweai/wooyun-legacy1.8k—~1.9kAutomated safety check: PassCustom licence

Similar skills

  • Runs a Strix white-box security review that reads the source, then exploits what it finds in a sandbox so each reported issue has a proof-of-concept.

    67k GitHub stars~1.1k tokensUpdated today
    SecurityAuto-check passed
  • Code Audit

    3stoneBrother/code-audit

    Professional code security audit skill covering 55+ vulnerability types.

    893 GitHub starsUsed in 1 repo~2.7k tokens
    SecurityAuto-check passed
  • Triages findings from a Strix pentest by severity, fixes each root cause with a minimal change, and re-runs Strix to confirm the exploit no longer works.

    67k GitHub stars~1.5k tokensUpdated today
    SecurityAuto-check passed
  • Metabigor OSINT Recon

    j3ssie/metabigor

    Operates the metabigor CLI to map a target's network ranges, subdomains, ports, related domains, CDNs and archived URLs from free sources without API keys.

    1.8k GitHub stars~2.4k tokensUpdated 2 mo ago
    SecurityAuto-check passed
  • Wooyun Legacy

    tanweai/wooyun-legacy

    WooYun business logic vulnerability methodology — 22,132 real cases across 6 domains (authentication bypass, authorization bypass, payment tampering, information disclosure, logic flaws…

    1.8k GitHub stars~1.9k tokensUpdated 2 mo ago
    SecurityAuto-check passed
  • Runs Strix's autonomous exploit agents against each OWASP Top 10:2025 category and the API Security Top 10, reporting only what could actually be proven with a proof-of-concept.

    67k GitHub stars~1.6k tokensUpdated today
    SecurityAuto-check passed

More from NeoTheCapt/RedteamAgent

All 25 skills in this repo
  • Auth Bypass

    NeoTheCapt/RedteamAgent

    Test for authentication and authorization flaws including credential attacks, session issues, and access control bypasses

    140 GitHub stars~1.3k tokensUpdated 2 mo ago
    Auto-check passed
  • Business Logic Testing

    NeoTheCapt/RedteamAgent

    Business logic vulnerability detection — workflow bypass, price manipulation, state abuse, and application-specific flaws

    140 GitHub stars~2.8k tokensUpdated 2 mo ago
    Auto-check passed
  • Cors Testing

    NeoTheCapt/RedteamAgent

    CORS misconfiguration testing for data theft and access control bypass

    140 GitHub stars~904 tokensUpdated 2 mo ago
    Auto-check passed
  • Csrf Testing

    NeoTheCapt/RedteamAgent

    Cross-site request forgery testing for state-changing operations

    140 GitHub stars~791 tokensUpdated 2 mo ago
    Auto-check passed
  • Deserialization Testing

    NeoTheCapt/RedteamAgent

    Insecure deserialization detection and gadget chain exploitation

    140 GitHub stars~836 tokensUpdated 2 mo ago
    Auto-check passed
  • Directory Fuzzing

    NeoTheCapt/RedteamAgent

    Discover hidden directories, files, and endpoints on a web server

    140 GitHub stars~737 tokensUpdated 2 mo ago
    Auto-check: notes

Categories

Questions about Command Injection

What does Command Injection do?

OS command injection detection, exploitation, and filter bypass. Command Injection is an agent skill from NeoTheCapt/RedteamAgent.

When should I use Command Injection?

Command Injection fits situations like: tasks that involve Penetration testing.

How do I install Command Injection in Claude Code?

Run `npx skills add NeoTheCapt/RedteamAgent --skill command-injection -a claude-code`. Or copy the skill folder (agent/skills/command-injection in NeoTheCapt/RedteamAgent) into .claude/skills/command-injection in your project. Claude Code loads it when a task matches its description.

How do I install Command Injection in Codex?

Run `npx skills add NeoTheCapt/RedteamAgent --skill command-injection -a codex`. Or copy the skill folder (agent/skills/command-injection in NeoTheCapt/RedteamAgent) into .agents/skills/command-injection in your project. Codex loads it when a task matches its description.

Can I use Command Injection in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add NeoTheCapt/RedteamAgent --skill command-injection -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/command-injection, .gemini/skills/command-injection, .github/skills/command-injection and .opencode/skills/command-injection in your project.

What does Command Injection need to run?

Going by SKILL.md and its folder, Command Injection needs the command-line tools its instructions call (curl and bash).

Does Command Injection access the network?

SKILL.md contains no URLs. Its commands use curl, which can reach the network depending on how they are called. This is read from the text; nothing was executed.

Is Command Injection safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Command Injection use?

No licence was found for Command Injection or its repository. Without one, default copyright applies: ask the author before reusing or redistributing it.

How many tokens does Command Injection use?

About 754 tokens (SKILL.md is roughly 3k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Command Injection?

Skills that share tags, products or a category with Command Injection: Strix Code Vulnerability Scan (usestrix/strix, 67k stars), Code Audit (3stoneBrother/code-audit, 893 stars), Fix Strix Security Findings (usestrix/strix, 67k stars) and Metabigor OSINT Recon (j3ssie/metabigor, 1.8k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Command Injection?

NeoTheCapt (a GitHub user) maintains it in NeoTheCapt/RedteamAgent, which has 140 GitHub stars. The repository holds 25 skills in this directory. The repository was last updated on August 2, 2026.

Source: NeoTheCapt/RedteamAgent on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.