opfor-run
Run red-team attacks and generate a report for an agent target.
Set up an agent or chatbot target for Opfor red-teaming.
Claude Code
$ npx -y skills add KeyValueSoftwareSystems/agent-opfor --skill opfor-setup --agent claude-code
Codex
$ npx skills add KeyValueSoftwareSystems/agent-opfor --skill opfor-setup -a codex -y
Cursor
$ npx skills add KeyValueSoftwareSystems/agent-opfor --skill opfor-setup -a cursor -y
Gemini CLI
$ npx skills add KeyValueSoftwareSystems/agent-opfor --skill opfor-setup -a gemini-cli -y
GitHub Copilot
$ npx skills add KeyValueSoftwareSystems/agent-opfor --skill opfor-setup -a github-copilot -y
OpenCode
$ npx skills add KeyValueSoftwareSystems/agent-opfor --skill opfor-setup -a opencode -y
Windsurf
$ npx skills add KeyValueSoftwareSystems/agent-opfor --skill opfor-setup -a windsurf -y
name: opfor-setup description: Set up an agent or chatbot target for Opfor red-teaming.
Configure a target for an Opfor assessment. When this skill is **installed in the user’s repo**, prefer **reading that repo** (endpoints, `opfor.config*`, env examples, telemetry) **before** a long questionnaire; then collect **only** what is still unknown.
Ask the user about their target (or pre-fill from repo scan when obvious):
Ask the user which integration method they want to use. Discover available options by scanning `./targets/` for `.md` files. Default to `http-endpoint`.
End users often **pull this skill into their own repo**. Treat that repo as the source of truth: **scan it first**, then **only ask for what you cannot infer** (and never ask anyone to paste **secret** API keys, tokens, or passwords into chat).
**Capabilities vary by environment:**
Full code repo scanning available:
1. **Markdown documentation** (highest priority):
2. **Code scanning** (if no markdown docs found):
3. **File structure analysis**:
4. **Telemetry and observability (scan before asking the user)** Assume the project may already export traces (Langfuse, Netra, OpenTelemetry, Sentry, etc.). **Discover; do not interrogate** unless something is ambiguous or missing.
**Where to look:**
**What to extract (for later config / attack grounding):**
Limited to what the user has already shared in the conversation:
**Graceful degradation:** If no auto-detectable information is found (regardless of environment), the skill simply falls back to asking the user interactively.
**Extract information about:**
**Confirmation Flow:** If auto-detection found any information (from docs or code), present it as prefilled:
🔍 I scanned your repo and found documentation. Pre-filled Application Context: Purpose: [extracted from Agents.md line 5] User Types: [extracted from README.md line 23] Sensitive Data: [extracted from code comments] Dangerous Ops: [extracted from config] Forbidden: [extracted from README.md] System Prompt: [extracted from system-prompt.md] Pre-filled Telemetry (from repo — no secret values shown): Observability: [detected provider, e.g. "langfuse" or "netra" — from opfor.config + package.json] API origin: [env var name holding the base URL, e.g. LANGFUSE_BASE_URL or NETRA_BASE_URL] Auth: [env var name(s) holdin
Run red-team attacks and generate a report for an agent target.
Use for authorized security assessment of REST, GraphQL, WebSocket, or SOAP APIs, including discovery, authentication,…
Extract and decrypt Windows DPAPI-protected secrets (Credential Manager, browser logins/cookies, Wi-Fi credentials, KeePass keys)…
Clean and finalize authorized natural-language text intended for readers by auditing suspicious invisible Unicode and rewriting…