К основному содержанию
скилл CX Codex

strix — скилл для Claude Code: что делает и как установить

Помогает настроить сканер Strix и запустить поиск уязвимостей в локальном коде, репозиториях GitHub или на тестовых веб-серверах.

Установить в Claude Code · Через Skills CLI (Vercel) Все способы и платформы ↓
npx skills add akillness/jeo-skills --skill strix -a claude-code
Открыть на GitHub

Что делает strix

Скилл учит агента управлять утилитой Strix для проверки защищённости приложений. Он помогает развернуть CLI через скрипт scripts/install.sh, проверить Docker и настроить переменные окружения STRIX_LLM и LLM_API_KEY. Анализ идёт внутри контейнера песочницы. За логику поиска отвечает языковая модель.

Через скилл запускают проверку локального кода и тестовых веб-адресов. Доступны три режима глубины: quick для быстрых проверок в пул-реквестах, standard для плановых ревизий и deep для детального разбора. Графический интерфейс можно отключить. Для этого передают переменную STRIX_DISABLE_BROWSER=true.

Для работы сканера обязательно нужен запущенный демон Docker и действующий API-ключ модели. При первом запуске утилита скачивает образ песочницы, поэтому начальный прогон требует больше времени. Результаты тестов попадают в папку strix_runs/<run-name>, а код возврата 2 в неинтерактивном режиме сигнализирует о найденных уязвимостях.

Какие задачи решает

  • запустить быстрый аудит локального репозитория в CI/CD
  • проверить тестовый стенд по инструкциям из файла --instruction-file
  • настроить переменные окружения для подключения модели к Strix
  • отключить эмуляцию браузера флагом STRIX_DISABLE_BROWSER=true

Примеры запросов агенту

  • Запусти быструю проверку безопасности текущего репозитория через Strix в режиме quick
  • Проверь адрес https://staging.example.com с правилами из файла instruction.md
  • Настрой запуск Strix для проверки локальной папки ./app без браузера

Как установить strix

1Через Skills CLI (Vercel)

npx skills add akillness/jeo-skills --skill strix -a claude-code

2Вручную: положить файлы

~/.claude/skills/strix/SKILL.md

Папка скилла целиком; для одного проекта — .claude/skills/strix/

По шагам, с командами для каждой платформы: Как установить скилл в Claude Code: пять способов

Вопросы о strix

Как установить strix в Claude Code?

Выполните команду npx skills add akillness/jeo-skills --skill strix -a claude-code. Конфигурация запишется в файл ~/.claude/skills/strix/SKILL.md.

Что делает скилл strix?

Он даёт агенту пошаговые инструкции по установке утилиты Strix, подготовке Docker-окружения и запуску автоматических проверок безопасности локального кода или внешних веб-адресов.

Что нужно подготовить перед запуском сканирования?

Требуется запущенный демон Docker для работы песочницы и настроенные переменные окружения STRIX_LLM с именем модели и LLM_API_KEY с ключом доступа.

Исходный текст

SKILL.md · Apache-2.0
---
name: strix
description: >
  Install, configure, and operate Strix for AI-driven application security testing.
  Use when you need to run authorized vulnerability scans against local codebases,
  GitHub repositories, staging URLs, domains, or CI pipelines; configure Docker and
  LLM providers; choose quick, standard, or deep scan depth; or pass authenticated
  testing instructions to Strix. Triggers on: strix, ai pentest, vulnerability scan cli,
  appsec scan, bug bounty automation, strix ci, strix docker, strix scan mode,
  strix instruction file, headless security scan.
allowed-tools: Bash Read Write Edit Glob Grep WebFetch
compatibility: Requires Docker access and a configured LLM provider or compatible OpenAI-style endpoint. The CLI installs a native binary and pulls a sandbox image on first run.
license: Apache-2.0
metadata:
  tags: strix, appsec, pentest, vulnerability-scan, ci-cd, docker, llm, security-testing, bug-bounty, browser-automation
  version: "1.0"
  source: https://github.com/usestrix/strix
---

# strix - AI-Driven Application Security Testing

> **Keyword**: `strix` · `ai pentest` · `vulnerability scan cli` · `strix ci`
>
> Only use Strix against systems you own or are explicitly authorized to test.

Strix is an AI-driven application security CLI. It runs scans inside a Docker-backed sandbox, uses an LLM provider for reasoning, and can assess local directories, GitHub repositories, live URLs, domains, and multi-target combinations.

## When to use this skill

- Install Strix and verify Docker plus sandbox readiness
- Configure `STRIX_LLM`, `LLM_API_KEY`, optional `LLM_API_BASE`, and related runtime settings
- Run local white-box scans against a repository or directory
- Run black-box or grey-box scans against staging or production-like URLs you are authorized to test
- Pass credentials, scope, or rules of engagement with `--instruction` or `--instruction-file`
- Choose the right scan depth: `quick`, `standard`, or `deep`
- Run Strix headlessly in CI/CD and interpret exit codes
- Understand Strix's internal security "skills" and how they differ from this repo's skills

## Instructions

### Step 1: Install and preflight

1. Run `bash scripts/install.sh`
2. Confirm `strix --version` succeeds
3. Ensure Docker is installed and the daemon is running
4. Let the installer pull the sandbox image on first setup unless you intentionally skip it
5. For manual installation alternatives and direct commands, see [references/commands.md](references/commands.md)

### Step 2: Configure the model provider

Set the minimum required environment variables before running a scan:

```bash
export STRIX_LLM="openai/gpt-5.4"
export LLM_API_KEY="your-api-key"
```

Optional runtime variables:

- `LLM_API_BASE` for OpenAI-compatible proxies or local endpoints
- `PERPLEXITY_API_KEY` for web search during scans
- `STRIX_REASONING_EFFORT` to tune model effort
- `STRIX_DISABLE_BROWSER=true` when UI automation is unnecessary
- `STRIX_TELEMETRY=0` to disable telemetry defaults

Provider examples, config-file format, and optional environment variables are in [references/providers-and-config.md](references/providers-and-config.md).

### Step 3: Pick the target and scan mode

Strix accepts these target types:

- Local directory: `./app`
- GitHub repository URL: `https://github.com/org/repo`
- Live web app URL: `https://staging.example.com`
- Domain or IP
- Multi-target scans via repeated `--target` or `-t`

Scan modes:

- `quick`: PR checks, smoke tests, fast CI feedback
- `standard`: routine security reviews
- `deep`: default full assessment and longer bug-bounty-style exploration

Detailed mode and CI guidance lives in [references/scan-modes-and-ci.md](references/scan-modes-and-ci.md).

### Step 4: Run the scan

Use `bash scripts/run-scan.sh` for a repeatable wrapper or call `strix` directly.

Common direct commands:

```bash
strix --target ./app
strix --target https://github.com/org/repo
strix --target https://staging.example.com --instruction-file ./instruction.md
strix -t https://github.com/org/repo -t https://staging.example.com
```

When authenticated or scoped testing matters, prefer `--instruction-file` over long inline prompts so credentials, exclusions, and rules of engagement stay explicit and reviewable.

### Step 5: Review outputs and iterate

Strix stores results under `strix_runs/<run-name>`.

Exit codes to remember:

- `0`: completed without findings
- `1`: execution or environment error
- `2`: vulnerabilities found in headless mode

Use the run artifacts to confirm what Strix tested, what it found, and what needs revalidation after fixes.

### Step 6: Automate in CI/CD

Use headless mode in automation:

```bash
strix -n --target ./ --scan-mode quick
```

CI runners need Docker access. For pull requests, default to `quick`; reserve `standard` or `deep` for scheduled or release-stage jobs. See [references/scan-modes-and-ci.md](references/scan-modes-and-ci.md) and `scripts/ci-scan.sh`.

### Step 7: Understand Strix internal skills

Strix has its own internal security knowledge packs under `strix/skills/`. They are not the same as this repo's agent skills.

- Strix auto-selects up to 5 relevant internal skills per task
- Categories include vulnerabilities, frameworks, technologies, protocols, and tooling
- These internal skills enrich Strix agent behavior during the scan itself

See [references/built-in-skills.md](references/built-in-skills.md) before assuming "skill" means the same thing across both ecosystems.

## Examples

### Example 1: Quick PR scan of a local repository

```bash
export STRIX_LLM="openai/gpt-5.4"
export LLM_API_KEY="your-api-key"
strix -n --target ./ --scan-mode quick
```

### Example 2: Standard scan of a GitHub repository

```bash
strix --target https://github.com/acme/payments --scan-mode standard
```

### Example 3: Grey-box scan of a staging URL

```bash
strix --target https://staging.example.com \
  --instruction-file ./instruction.md \
  --scan-mode deep
```

### Example 4: Combined repo plus live target

```bash
strix -t https://github.com/acme/payments \
  -t https://staging.example.com \
  --instruction "Correlate source paths with exposed runtime issues"
```

### Example 5: Browser-disabled API-focused scan

```bash
STRIX_DISABLE_BROWSER=true \
strix --target https://api.example.com --scan-mode standard
```

### Example 6: Scripted run wrapper

```bash
bash scripts/run-scan.sh \
  --target ./app \
  --scan-mode quick \
  --non-interactive
```

## Best practices

1. Only test assets you own or are explicitly permitted to assess.
2. Start with `quick` in CI and widen depth only when signal justifies the extra runtime.
3. Keep secrets in environment variables, secret stores, or instruction files under your control instead of scattering them inline.
4. Use both source and live targets together when you need better reproduction and remediation context.
5. Expect the first run to be slower because Strix may pull its sandbox image.
6. Treat `strix_runs/` as evidence: archive useful runs, especially when findings are heading into triage or remediation.
7. Be explicit about scope, exclusions, credentials, and rate limits so Strix does not waste time exploring irrelevant surfaces.
8. Distinguish this repo's `strix` skill from Strix internal skills to avoid instruction confusion.

## References

- [references/commands.md](references/commands.md)
- [references/providers-and-config.md](references/providers-and-config.md)
- [references/scan-modes-and-ci.md](references/scan-modes-and-ci.md)
- [references/built-in-skills.md](references/built-in-skills.md)
- [scripts/install.sh](scripts/install.sh)
- [scripts/run-scan.sh](scripts/run-scan.sh)
- [scripts/ci-scan.sh](scripts/ci-scan.sh)
- [Strix GitHub Repository](https://github.com/usestrix/strix)
- [Strix Documentation](https://docs.strix.ai)

© akillness · Apache-2.0 · akillness/jeo-skills

Похожие скиллы

Все скиллы по теме «Безопасность» →
git-guardrails-claude-code Matt Pocock Скилл ставит хук Claude Code, который останавливает опасные Git-команды до их запуска. Нужен, если агент не должен делать push или удалять изменения. 499 069установок ponytail-review DietrichGebert Скилл проверяет изменения глубже обычного diff: читает связанный код, ищет ошибки, риски, проблемы нагрузки и недостающие тесты. Пригодится для ревью PR и коммитов. CX Codex +1 57 000установок ponytail-audit DietrichGebert Проверяет репозиторий и ранжирует ошибки, риски и лишний код. Подойдёт, если нужен разовый разбор без автоматических правок. CX Codex +1 45 400установок security-audit cloudflare Проверяет кодовую базу на уязвимости и ищет нарушения границ доверия. Пригодится перед релизом или для точечного разбора опасных участков кода. CX Codex +1 54 800установок security-and-hardening addyosmani Помогает проектировать защиту и проверять код на уязвимости при работе с вводом, авторизацией, сессиями и внешними сервисами. Подойдёт перед релизом и при создании функций, которые обрабатывают недоверенные данные. CX Codex +1 70 200установок supabase официальный supabase Скилл помогает настраивать базу данных, аутентификацию и RLS в Supabase без скрытых дыр в безопасности. CX Codex GP ChatGPT 8установок

Из того же набора46

design-system Задаёт общие правила интерфейса, дизайн-токены и архитектуру компонентов до вёрстки отдельных экранов. Помогает связать лендинги и дашборды в единую систему. CX Codex +1 488установок responsive-design Скилл разбирает жалобу «на мобильном всё ломается» на конкретную причину и выдаёт один план правок с проверкой. CX Codex +1 478установок research-paper-writing Скилл для черновиков и правок научных статей: выстраивает связку «утверждение — доказательство», планирует секции и помогает с ответом рецензентам. CX Codex +1 466установок presentation-builder Скилл для ИИ-кодинга, который делает из запроса настоящую колоду слайдов: инвесторские, роадмап, QBR, лонч, демо, воркшоп. Пригодится, когда нужны редактируемые слайды, а не просто текст. CX Codex +1 450установок task-planning Разбирает сырые требования, тикеты и результаты плейтестов в готовый план задач с явными блокерами. Отделяет исследование от разработки до начала спринта или релиза. CX Codex +1 414установок bmad-gds Организует разработку игр как виртуальный продюсер. Скилл принимает дизайн-документы или заметки и строит план этапа для проектов на Unity, Unreal Engine или Godot. CX Codex +1 397установок file-organization Помогает выбрать границу для файлов проекта — фича, общий слой, сегмент маршрута или пакет воркспейса — и спланировать переезд без хаоса. CX Codex +1 397установок task-estimation Помогает превратить размытый объём работ в один честный пакет оценки: горизонт, уверенность, неопределённость и следующий шаг. CX Codex +1 395установок

Спонсоры проекта

Компании, которые помогают держать аналитику открытой