Agent skill

File Inclusion

by NeoTheCapt in NeoTheCapt/RedteamAgent

Detect and exploit local and remote file inclusion vulnerabilities for sensitive data access and code execution

No licenceAuto-check: warningsSecurity

Install File Inclusion

The automated check flagged lines worth reading first. See the safety section below.

skills CLI
$ npx skills add NeoTheCapt/RedteamAgent --skill file-inclusion -a claude-code

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

GitHub CLI
$ gh skill install NeoTheCapt/RedteamAgent file-inclusion --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/file-inclusion .claude/skills/file-inclusion && 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
file-inclusion
GitHub stars
142
Token cost
~988 tokens
SKILL.md length
96 words
Files
1
Skills in repo
25
Repo updated
First seen
Licence
None found

At a glance

Detect and exploit local and remote file inclusion vulnerabilities for sensitive data access and code execution

  • Tasks that involve Penetration testing
  • SKILL.md covers When to Activate, LFI Detection, Sensitive Files and PHP Wrappers, plus 2 more sections
  • Calls ssh and python3

What it does

File Inclusion is an agent skill from NeoTheCapt/RedteamAgent. Detect and exploit local and remote file inclusion vulnerabilities for sensitive data access and code execution

Its SKILL.md is about 990 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. It works with PHP. 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

  • “/file-inclusion”

Requirements

  • Python 3

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:

    • ssh
    • python3

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

  • Network

    No URLs in SKILL.md. Its commands use ssh, 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

File Inclusion loads about 988 tokens when it runs. Until then it costs about 32 tokens; SKILL.md has 96 words of instructions outside code blocks.

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

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: warnings

The automated check found patterns that need a careful read before installing.

  • WarningMentions a credentials file (SSH keys, cloud or package-manager tokens)SKILL.md:50
    fd/0-20, /proc/net/tcp, /home/USER/.ssh/id_rsa
  • NoteMentions a .env fileSKILL.md:57
    /var/www/html/config.php, /var/www/html/.env
  • NoteMentions a .env fileSKILL.md:58
    /var/www/html/wp-config.php, .env, config.php, config.yml, database.yml, settings.py

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 96 words (~988 tokens).

name
file-inclusion
origin
RedteamOpencode

Read the full SKILL.md on GitHub

Files

Just SKILL.md in agent/skills/file-inclusion of NeoTheCapt/RedteamAgent.

Open the folder on GitHubat commit 2e60476

Compare with similar skills

File Inclusion 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.

File Inclusion compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
File Inclusion this skillNeoTheCapt/RedteamAgent142—~988Automated safety check: WarnNone
Code Audit3stoneBrother/code-audit8921 repos~2.7kAutomated safety check: PassNone
SstiPentesterFlow/agent1.4k—~1.2kAutomated safety check: PassApache-2.0
Insecure Deserialization PlaybookPentesterFlow/agent1.4k—~1.7kAutomated safety check: PassApache-2.0
Kantor Agenthumaedihume/kantor-agent101—~1kAutomated safety check: PassMIT
Fix Strix Security Findingsusestrix/strix67k—~1.5kAutomated safety check: PassApache-2.0

Similar skills

  • Code Audit

    3stoneBrother/code-audit

    Professional code security audit skill covering 55+ vulnerability types.

    892 GitHub starsUsed in 1 repo~2.7k tokens
    SecurityAuto-check passed
  • Ssti

    PentesterFlow/agent

    Server-Side Template Injection — fingerprint the engine first (Jinja2 / Twig / Velocity / Freemarker / ERB / Smarty / Mako / Handlebars / Pug), then escalate the engine-specific primitive to RCE or…

    1.4k GitHub stars~1.2k tokensUpdated 1 mo ago
    SecurityAuto-check passed
  • Fingerprints which language or framework produced a serialized blob, then helps build a working gadget chain to test for insecure deserialization.

    1.4k GitHub stars~1.7k tokensUpdated 1 mo ago
    SecurityAuto-check passed
  • Kantor Agent

    humaedihume/kantor-agent

    Jalankan "Kantor Agent" — kantor 3D (three.js) tanpa konfigurasi di http://127.0.0.1:8788/kerja yang menampilkan apa yang sedang dikerjakan Claude di project ini.

    101 GitHub stars~1k tokensUpdated 10 days ago
    Game DevelopmentAuto-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
  • Audit Skills

    RuoJi6/audit-skills

    当用户要求审计 Java、.NET 或 PHP 源码/部署产物/反编译产物/安全发现,并需要默认脚本输出目录、报告输出目录、Java/.NET 反编译与反混淆参考、Java 组件 YAML 正则匹配扫描、确认漏洞判定标准、安全 Payload 和 BurpSuite 原始 HTTP 请求包证据时使用。仅用于授权代码审计和防御性安全验证。

    1k GitHub stars~447 tokensUpdated 3 mo ago
    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

    142 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

    142 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

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

    NeoTheCapt/RedteamAgent

    Cross-site request forgery testing for state-changing operations

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

    NeoTheCapt/RedteamAgent

    Insecure deserialization detection and gadget chain exploitation

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

    NeoTheCapt/RedteamAgent

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

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

Works with

Categories

Questions about File Inclusion

What does File Inclusion do?

Detect and exploit local and remote file inclusion vulnerabilities for sensitive data access and code execution. File Inclusion is an agent skill from NeoTheCapt/RedteamAgent.

When should I use File Inclusion?

File Inclusion fits situations like: tasks that involve Penetration testing.

How do I install File Inclusion in Claude Code?

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

How do I install File Inclusion in Codex?

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

Can I use File Inclusion 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 file-inclusion -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/file-inclusion, .gemini/skills/file-inclusion, .github/skills/file-inclusion and .opencode/skills/file-inclusion in your project.

What does File Inclusion need to run?

Going by SKILL.md and its folder, File Inclusion needs the command-line tools its instructions call (ssh and python3). Our summary lists: Python 3.

Does File Inclusion access the network?

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

Is File Inclusion safe to install?

Our automated static check of SKILL.md flagged 1 warning(s): mentions a credentials file (ssh keys, cloud or package-manager tokens). Read the flagged lines before installing; the check is not a guarantee either way.

What licence does File Inclusion use?

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

How many tokens does File Inclusion use?

About 988 tokens (SKILL.md is roughly 4k 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 File Inclusion?

Skills that share tags, products or a category with File Inclusion: Code Audit (3stoneBrother/code-audit, 892 stars), Ssti (PentesterFlow/agent, 1.4k stars), Insecure Deserialization Playbook (PentesterFlow/agent, 1.4k stars) and Kantor Agent (humaedihume/kantor-agent, 101 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains File Inclusion?

NeoTheCapt (a GitHub user) maintains it in NeoTheCapt/RedteamAgent, which has 142 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.