commands
Imported from danoszz/penthera/docs/commands.
Install
npx skills add https://github.com/danoszz/penthera/tree/main/docs/commands
claude plugin marketplace add https://llmmart.ai/marketplace.json && claude plugin install danoszz-penthera@llmmart
git clone https://github.com/danoszz/penthera.git
The skills CLI installs just this skill, for any of its supported agents. Claude Code installs the whole danoszz/penthera collection as a plugin from our marketplace. Git is the plain clone.
README
Commands
One page per command, with every flag that matters and an example. The
README has the short version; penthera <command> --help
has the full flag list.
| Command | Page | What it does |
|---|---|---|
penthera, penthera init |
init.md | Set up in one command: detect, check, then hook, workflow and dashboard |
penthera <url>, --repo . |
scan.md | Scan a running app and its source: modes, profiles, outputs, exit codes, CI |
penthera agents |
agents.md | Audit skills, MCP servers, hooks, plugins and rule files |
penthera deps |
deps.md | What each package can do, the upgrade diff, typosquats, license policy |
penthera install |
install.md | Check a new package before any install script runs |
penthera fix, penthera agent --loop |
fix.md | Deterministic fix recipes and the local scan, fix, verify loop |
penthera hook |
hook.md | Pre-commit hook for secrets, agent config and dependency changes |
penthera rules list, penthera rules verify <dir> |
rule-packs.md | Signed, versioned rule packs (IOCs, patterns); add your own with --rules <dir>, never fetched |
| GitHub Action | action.md | The capability diff as a pull-request comment, plus SARIF |
| Agent Skill | skill.md | Let Claude Code, Cursor and other agents drive Penthera |
penthera ui |
dashboard.md | The local dashboard: one view with projects, findings, side cards, and the fix loop from the page |
Compliance flags (--framework nis2, --readiness, --cra, --aibom, ...)
are covered in compliance-nis2.md and
compliance-cra.md. Reports and evidence bundles are in
evidence.md. Network use and --offline are in
privacy.md.
Skill manifest
Penthera as an Agent Skill
For your AI coding agent
Penthera ships as an Agent Skill, the open format used by Cursor, Claude Code, Claude.ai, and 40+ agent tools. The skill teaches an agent to run authorized scans, pick the right profile, and summarize findings, so you can just describe what you want.
Install (any of these):
# Cross-agent, frictionless
npx skills add danoszz/penthera
# Or the one-line installer (also links the CLI)
curl -fsSL https://raw.githubusercontent.com/danoszz/penthera/main/install.sh | bash
# Or copy into a single project for team sharing
cp -r skills/penthera .cursor/skills/penthera # Cursor
cp -r skills/penthera .claude/skills/penthera # Claude Code
Or as a Claude Code plugin (installs the skill):
/plugin marketplace add danoszz/penthera
/plugin install penthera@penthera
For Claude.ai (web), zip and upload the skill:
npm run package:skill # produces penthera-skill.zip; upload in Settings > Capabilities > Skills
Prompts that trigger it:
- "Scan my localhost app on port 3000 for security issues"
- "Run a pre-deploy audit on staging.myapp.com and summarize critical findings"
- "Scan this repo for hardcoded secrets and exposed API routes"
- "Compare today's scan to last week's baseline and show only new findings"
- "Generate a SARIF report for GitHub code scanning"
- "Audit my MCP servers, skills and Claude Code hooks"
The skill adds an authorization gate: it instructs the agent to refuse targets you do not own or are not authorized to test, and the wizard asks you to confirm before scanning a remote host. It is an agent-level and interactive safeguard, not something the raw CLI enforces. You are responsible for every target you pass it. Run preflight before the first scan:
bash skills/penthera/scripts/preflight.sh http://localhost:3000
Skill source and workflows live in skills/penthera/SKILL.md.
Files (penthera)
-
action.md 906 B
Loading… -
agents.md 2.8 KB
Loading… -
deps.md 6.4 KB
Loading… -
fix.md 4.8 KB
Loading… -
hook.md 2.4 KB
Loading… -
init.md 5.2 KB
Loading… -
install.md 2.3 KB
Loading… -
README.md 1.9 KB
# Commands One page per command, with every flag that matters and an example. The [README](../../README.md) has the short version; `penthera <command> --help` has the full flag list. | Command | Page | What it does | |---|---|---| | `penthera`, `penthera init` | [init.md](init.md) | Set up in one command: detect, check, then hook, workflow and dashboard | | `penthera <url>`, `--repo .` | [scan.md](scan.md) | Scan a running app and its source: modes, profiles, outputs, exit codes, CI | | `penthera agents` | [agents.md](agents.md) | Audit skills, MCP servers, hooks, plugins and rule files | | `penthera deps` | [deps.md](deps.md) | What each package can do, the upgrade diff, typosquats, license policy | | `penthera install` | [install.md](install.md) | Check a new package before any install script runs | | `penthera fix`, `penthera agent --loop` | [fix.md](fix.md) | Deterministic fix recipes and the local scan, fix, verify loop | | `penthera hook` | [hook.md](hook.md) | Pre-commit hook for secrets, agent config and dependency changes | | `penthera rules list`, `penthera rules verify <dir>` | [rule-packs.md](../rule-packs.md) | Signed, versioned rule packs (IOCs, patterns); add your own with `--rules <dir>`, never fetched | | GitHub Action | [action.md](action.md) | The capability diff as a pull-request comment, plus SARIF | | Agent Skill | [skill.md](skill.md) | Let Claude Code, Cursor and other agents drive Penthera | | `penthera ui` | [dashboard.md](../dashboard.md) | The local dashboard: one view with projects, findings, side cards, and the fix loop from the page | Compliance flags (`--framework nis2`, `--readiness`, `--cra`, `--aibom`, ...) are covered in [compliance-nis2.md](../compliance-nis2.md) and [compliance-cra.md](../compliance-cra.md). Reports and evidence bundles are in [evidence.md](../evidence.md). Network use and `--offline` are in [privacy.md](../privacy.md). -
scan.md 4.6 KB
Loading… -
skill.md 2.1 KB
# Penthera as an Agent Skill ## For your AI coding agent Penthera ships as an [Agent Skill](https://agentskills.io), the open format used by Cursor, Claude Code, Claude.ai, and [40+ agent tools](https://agentskills.io/clients). The skill teaches an agent to run authorized scans, pick the right profile, and summarize findings, so you can just describe what you want. **Install** (any of these): ```bash # Cross-agent, frictionless npx skills add danoszz/penthera # Or the one-line installer (also links the CLI) curl -fsSL https://raw.githubusercontent.com/danoszz/penthera/main/install.sh | bash # Or copy into a single project for team sharing cp -r skills/penthera .cursor/skills/penthera # Cursor cp -r skills/penthera .claude/skills/penthera # Claude Code ``` Or as a Claude Code plugin (installs the skill): ```bash /plugin marketplace add danoszz/penthera /plugin install penthera@penthera ``` For Claude.ai (web), zip and upload the skill: ```bash npm run package:skill # produces penthera-skill.zip; upload in Settings > Capabilities > Skills ``` **Prompts that trigger it:** - "Scan my localhost app on port 3000 for security issues" - "Run a pre-deploy audit on staging.myapp.com and summarize critical findings" - "Scan this repo for hardcoded secrets and exposed API routes" - "Compare today's scan to last week's baseline and show only new findings" - "Generate a SARIF report for GitHub code scanning" - "Audit my MCP servers, skills and Claude Code hooks" The skill adds an authorization gate: it instructs the agent to refuse targets you do not own or are not authorized to test, and the wizard asks you to confirm before scanning a remote host. It is an agent-level and interactive safeguard, not something the raw CLI enforces. You are responsible for every target you pass it. Run preflight before the first scan: ```bash bash skills/penthera/scripts/preflight.sh http://localhost:3000 ``` Skill source and workflows live in [`skills/penthera/SKILL.md`](../../skills/penthera/SKILL.md). [Back to the README](../../README.md) · [All commands](README.md)
Comments (0)
Sign in to join the conversation.
Reviews (0)
No reviews yet.
No comments yet.