Skip to main content
skill CX Codex

cairn-ai-pentest — Claude Code skill: what it does, how to install

Coordinates autonomous vulnerability discovery and CTF problem solving using a ReAct agent loop. Useful for security testing workflows.

Install into Claude Code · Skills CLI (Vercel) All methods and platforms ↓
npx skills add reason-machines/trending-skills --skill cairn-ai-pentest -a claude-code
Open on GitHub

What cairn-ai-pentest does

The skill provides an agent architecture centered on a ReAct cycle: thinking, acting, and evaluating results. The LLM formulates testing steps, triggers external tools like nmap or sqlmap, and evaluates server outputs to direct the next action.

Configuration relies on an environment file named .env. You specify an OpenAI-compatible endpoint, a model such as gpt-4o or deepseek-chat, and target boundaries. Scans fail to respect safety boundaries unless TARGET_SCOPE is explicitly defined.

What it helps with

  • break complex pentest objectives into progressive testing stages
  • automate tool execution with sqlmap, nmap, and ffuf
  • solve web CTF challenges by analyzing target responses
  • confine automated security actions to an authorized IP scope

Example prompts for the agent

  • Set up cairn for automated penetration testing on target 192.168.1.100
  • Run cairn against a target to discover SQL injection flaws
  • Configure cairn for security testing using gpt-4o and custom iterations

How to install cairn-ai-pentest

1Skills CLI (Vercel)

npx skills add reason-machines/trending-skills --skill cairn-ai-pentest -a claude-code

2Manually: put the files in place

~/.claude/skills/cairn-ai-pentest/SKILL.md

Copy the whole skill folder; for one project use .claude/skills/cairn-ai-pentest/

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

Questions about cairn-ai-pentest

How do I install cairn-ai-pentest in Claude Code?

Run npx skills add reason-machines/trending-skills --skill cairn-ai-pentest -a claude-code. The file will be placed in ~/.claude/skills/cairn-ai-pentest/SKILL.md.

What does cairn-ai-pentest do?

It orchestrates an autonomous security agent that inspects targets, executes command-line auditing utilities, and logs discovered exploit paths.

What prerequisites are needed?

You need a Python environment installed via uv sync or pip install -r requirements.txt, plus an OpenAI-compatible API key set in your .env file.

Similar skills

All skills for Security →

From the same set199

permiso-accessibility-permissions A skill for coding agents that shows how to add a guided macOS accessibility permission panel to a Swift app. CX Codex +1 386installs text-to-cad-harness This skill has your coding agent write build123d Python parts from a description, export them as STEP, STL or URDF, and open the geometry in a local viewer. CX Codex +1 380installs gpt2api-openai-gateway This skill walks your agent through deploying a self-hosted Anthropic-compatible gateway over chatgpt.com and wiring up an account pool. CX Codex +1 378installs opengame-agentic-game-creation Builds playable browser games from text prompts using TypeScript templates and repair loops. Useful for generating and testing web games directly inside your coding agent. CX Codex +1 378installs openai-privacy-filter A skill that wires a token-classification model into your project to find and blank out personal data. Useful before shipping logs or documents to an LLM. CX Codex +1 369installs oransim-causal-marketing-twin Simulates marketing campaign outcomes using causal digital twins. It predicts ROI distributions and tests counterfactual budget or creator shifts before spending money. CX Codex +1 369installs flashkda-delta-attention This skill guides FlashKDA setup for Kimi Delta Attention CUDA kernels, with direct flash_kda.fwd use and chunk_kda integration. CX Codex +1 368installs masterhttprelayvpn-proxy A skill that walks your agent through running a local HTTP/SOCKS5 proxy, with traffic tunnelled through Google Apps Script and dressed up as Google requests. CX Codex +1 365installs

Project sponsors

Companies that keep this analytics open
Gold sponsor

Impressions, clicks and code copies — open statistics. We keep the numbers public for the same reason NeBlask itself is public. Become a sponsor