run
This skill should be used when the user asks to "run security scan", "scan for vulnerabilities", "security check", "check security", or invokes /appsec:run…
от florianbuetow★ 22 звезды на GitHub
Установить run в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
AppSec Run -- Smart Orchestrator
The primary way to run security analysis. Detects the project's tech stack, selects the most relevant scanners and category skills, runs everything in parallel, consolidates results, and optionally launches red team simulation.
This skill is the automated version of /appsec:start. Where start gives
recommendations and lets the user choose, run makes the choices and
executes them. It handles ALL cross-cutting flags and adapts its behavior
to the detected codebase.
Supported Flags
Read ../../shared/schemas/flags.md for the
full flag specification. This orchestrator supports ALL cross-cutting flags.
| Flag | Orchestrator Behavior |
|---|---|
--scope |
Propagated to all scanners and subagents. Default changed. |
--depth quick |
Scanners only. No code analysis subagents. Fastest mode. |
--depth standard |
Scanners + relevant category subagents (default). |
--depth deep |
Standard + cross-file data flow tracing + additional frameworks. |
--depth expert |
Deep + red team agent simulation with DREAD scoring. |
--severity |
Applied during consolidation to filter merged output. |
--format |
Applied to final consolidated output. |
--only A01,S,secrets |
Run only the listed tools/categories. Accepts OWASP codes (A01-A10), STRIDE letters (S,T,R,I,D,E), and tool names (secrets, deps, surface). |
--fix |
Propagated to subagents; each produces fix suggestions inline. |
--quiet |
Suppress explanations, output findings only. |
--explain |
Add learning material per finding. |
--persona all|insider|apt|... |
Select red team personas (requires --depth expert). |
--skip-redteam |
Skip red team phase even in expert mode. |
Workflow
Phase 1: Detection (Main Agent)
Execute these steps sequentially in the main agent context before launching any subagents. Use Glob, Grep, Read, and Bash tools to gather evidence.
Step 1.1: Check for Cached Assessment
Look for .appsec/start-assessment.json. If it exists and is fresh (less
than 24 hours old, and manifest files have not changed since), load it and
skip to Step 1.5.
The cached assessment is also stale if any of:
- Scanner availability has changed (a new scanner was installed or one was removed)
.appsec/config.yamlhas been modified since the assessment- The current git branch differs from the branch recorded in the assessment
If no cache exists or it is stale, run Steps 1.2 through 1.4.
Step 1.2: Detect Tech Stack
Read project manifests to determine languages, frameworks, and databases. Check for each of these files using Glob:
| File Pattern | Reveals |
|---|---|
package.json |
Node.js, npm dependencies |
requirements.txt, Pipfile, pyproject.toml |
Python |
go.mod |
Go |
Cargo.toml |
Rust |
Gemfile |
Ruby |
pom.xml, build.gradle, build.gradle.kts |
Java/Kotlin |
*.csproj, *.sln |
.NET/C# |
composer.json |
PHP |
Dockerfile, docker-compose.yml |
Containers |
serverless.yml, serverless.yaml |
Serverless |
**/*.tf |
Terraform IaC |
.github/workflows/*.yaml, .github/workflows/*.yml |
GitHub Actions CI/CD |
Read each found manifest to extract framework names and notable dependencies.
Step 1.3: Detect Architecture & Data Sensitivity
Scan for patterns indicating sensitive data and architecture type:
Architecture signals:
- API-only: route handlers without templates, OpenAPI spec
- Full-stack: template engines alongside API, React/Vue/Angular
- GraphQL:
.graphqlfiles,graphqlin dependencies - WebSocket:
ws,socket.ioin dependencies - Serverless: Lambda handlers, Cloud Functions
Data sensitivity signals:
- PII:
email,phone,ssn,date_of_birthin models - Financial:
stripe,paypal,card_number,transaction - Health:
hipaa,patient,diagnosis,medical_record - Auth:
jwt,oauth,bcrypt,session
Step 1.4: Detect Installed Scanners
Check PATH for known scanner binaries using Bash which commands. Run
these checks in parallel:
which semgrep && which bandit && which gosec && which brakeman
which gitleaks && which trufflehog && which trivy && which osv-scanner
which npm && which pip-audit && which cargo-audit
Read ../../shared/schemas/scanners.md
for the full scanner registry. Only mark language-specific scanners as
relevant if that language is in the detected stack.
Step 1.5: Build Execution Plan
Based on detected stack, data sensitivity, architecture, and installed scanners, build an execution plan that determines:
- Which scanners to run (only those installed and relevant).
- Which category skills to dispatch (based on architecture and data).
- Which frameworks to use (OWASP is always included; STRIDE added for apps with user auth; LINDDUN added when PII detected).
**Tool selection rule
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл run?
This skill should be used when the user asks to "run security scan", "scan for vulnerabilities", "security check", "check security", or invokes /appsec:run. Smart orchestrator that detects the tech stack, selects relevant security tools, and runs them in parallel.
Как установить скилл run?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл run запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
theme-factory
AnthropicToolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
access
AnthropicManage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
configure
AnthropicSet up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
access
AnthropicManage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…