penetration-testing · aj-geddes — Claude Code skill: what it does, how to install
Security testing skill that guides ethical hacking, simulated attacks, and vulnerability documentation across applications and infrastructure.
npx skills add aj-geddes/useful-ai-prompts --skill penetration-testing -a claude-codeWhat penetration-testing does
The skill provides systematic methodologies for identifying and documenting security flaws before code ships. It includes a Python framework skeleton using a Finding dataclass to track target information, severity, CVSS scores, evidence, and concrete remediation steps.
Included reference guides focus on Burp Suite automation and security scripts such as SQL injection testing. Scope boundaries must stay firm. Running tests against production without written authorization violates the operational rules, which explicitly ban destructive payloads and sensitive data exfiltration.
What it helps with
- Validate application security posture before shipping to production
- Meet compliance assessment requirements for PCI-DSS and ISO 27001
- Document security findings with CVSS scores and remediation steps
- Automate vulnerability checks using Python and Burp Suite scripts
Example prompts for the agent
- Create an ethical penetration testing plan for our pre-production API.
- Set up a Python dataclass structure to log vulnerability findings with CVSS scores.
- Generate a remediation guide for SQL injection vulnerabilities discovered during testing.
How to install penetration-testing
1Skills CLI (Vercel)
npx skills add aj-geddes/useful-ai-prompts --skill penetration-testing -a claude-code2Manually: put the files in place
~/.claude/skills/penetration-testing/SKILL.mdCopy the whole skill folder; for one project use .claude/skills/penetration-testing/
1Skills CLI (Vercel)
npx skills add aj-geddes/useful-ai-prompts --skill penetration-testing -a codex2Manually: put the files in place
.agents/skills/penetration-testing/SKILL.mdFor all projects use ~/.agents/skills/
1Skills CLI (Vercel)
npx skills add aj-geddes/useful-ai-prompts --skill penetration-testing -a cursor2Manually: put the files in place
.cursor/skills/penetration-testing/SKILL.mdCursor also reads .agents/skills/ and .claude/skills/
1GitHub CLI
gh skill install aj-geddes/useful-ai-prompts penetration-testing2Manually: put the files in place
.github/skills/penetration-testing/SKILL.md1Skills CLI (Vercel)
npx skills add aj-geddes/useful-ai-prompts --skill penetration-testing -a gemini-cli2Platform CLI
gemini skills install https://github.com/aj-geddes/useful-ai-prompts --path skills/penetration-testingManually: put the files in place
.devin/skills/penetration-testing/SKILL.mdThe legacy .windsurf/skills/ path still works
Skills CLI (Vercel)
npx skills add aj-geddes/useful-ai-prompts --skill penetration-testing -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 penetration-testing
How do I install penetration-testing in Claude Code?
Run npx skills add aj-geddes/useful-ai-prompts --skill penetration-testing -a claude-code. The skill file will be placed in ~/.claude/skills/penetration-testing/SKILL.md.
What does the penetration-testing skill do?
It guides ethical security assessments, simulated attacks, and structured flaw documentation. It is designed for red team exercises, compliance audits, and pre-production reviews.
What operational rules does this skill enforce?
It demands written authorization, explicit scope boundaries, and execution only within controlled environments. Destructive payloads, service disruption, and unauthorized production scans are strictly forbidden.
Source text
SKILL.md · MIT
---
name: penetration-testing
description: >
Ethical hacking and security testing methodologies using penetration testing
tools, exploit frameworks, and manual security validation. Use when assessing
application security posture and identifying exploitable vulnerabilities.
---
# Penetration Testing
## Table of Contents
- [Overview](#overview)
- [When to Use](#when-to-use)
- [Quick Start](#quick-start)
- [Reference Guides](#reference-guides)
- [Best Practices](#best-practices)
## Overview
Systematic security testing to identify, exploit, and document vulnerabilities in applications, networks, and infrastructure through simulated attacks.
## When to Use
- Pre-production security validation
- Annual security assessments
- Compliance requirements (PCI-DSS, ISO 27001)
- Post-incident security review
- Third-party security audits
- Red team exercises
## Quick Start
Minimal working example:
```python
# pentest_framework.py
import requests
import socket
import subprocess
import json
from typing import List, Dict
from dataclasses import dataclass, asdict
from datetime import datetime
@dataclass
class Finding:
severity: str
category: str
target: str
vulnerability: str
evidence: str
remediation: str
cvss_score: float
class PenetrationTester:
def __init__(self, target: str):
self.target = target
self.findings: List[Finding] = []
def test_sql_injection(self, url: str) -> None:
// ... (see reference guides for full implementation)
```
## Reference Guides
Detailed implementations in the `references/` directory:
| Guide | Contents |
|---|---|
| [Automated Penetration Testing Framework](references/automated-penetration-testing-framework.md) | Automated Penetration Testing Framework |
| [Burp Suite Automation Script](references/burp-suite-automation-script.md) | Burp Suite Automation Script |
## Best Practices
### ✅ DO
- Get written authorization
- Define clear scope
- Use controlled environments
- Document all findings
- Follow responsible disclosure
- Provide remediation guidance
- Verify fixes after patching
- Maintain chain of custody
### ❌ DON'T
- Test production without approval
- Cause service disruption
- Exfiltrate sensitive data
- Share findings publicly
- Exceed authorized scope
- Use destructive payloads
© aj-geddes · MIT · aj-geddes/useful-ai-prompts
Similar skills
Everything for Security →penetration-testing by other authors comes first.