capture-skill — плагин для Claude Code: установка и работа
Плагин превращает неструктурированный поток мыслей, задач и идей в список действий. Подходит для разбора brain dump прямо в рабочем пространстве.
/plugin marketplace add alirezarezvani/claude-skills
/plugin install capture-skill@claude-code-skillsЧто делает capture-skill
capture-skill принимает длинный неструктурированный ввод и раскладывает его по четырём разделам: Projects & Ideas, Tasks, Connections и How I Can Help. Он сохраняет мелкие пункты, группирует связанные темы и задаёт не более одного уточняющего вопроса, если один пункт трудно отличить от задачи или проекта. В конце просит выбрать, за что взяться первым.
Для явного запуска есть слэш-команда /cs-capture <dump>. В плагин входят субагент, инструкция скилла и Python-скрипты для инвентаризации workspace, классификации строк и оценки сложности вывода. Скрипт классификации эвристический, а не авторитетный. Связи с файлами проверяются через Glob и Grep, поэтому плагин не должен придумывать их.
Для ручной проверки доступны команды с workspace_inventory.py, dump_classifier.py и complexity_estimator.py. Инвентаризация использует только стандартную библиотеку Python. Если в рабочем пространстве нет доступного контекста, раздел Connections не получит выдуманных ссылок.
Какие задачи решает
- разобрать длинный brain dump
- отделить задачи от проектов и идей
- сгруппировать связанные мысли
- найти связи с файлами workspace
- выбрать следующий пункт для работы
Примеры запросов агенту
- Разбери этот brain dump и покажи, что делать дальше:
... - Запусти
/cs-captureдля этого списка мыслей:path/to/dump.txt - Сначала проверь связи с файлами проекта, затем разложи этот поток по разделам:
...
Как установить capture-skill
Через маркетплейс плагинов
/plugin marketplace add alirezarezvani/claude-skills/plugin install capture-skill@claude-code-skillsПо шагам, с командами для каждой платформы: Плагины Claude Code: маркетплейсы, установка и как собрать свой
Вопросы о capture-skill
Как установить capture-skill в Claude Code?
Добавьте маркетплейс командой /plugin marketplace add alirezarezvani/claude-skills, затем установите плагин командой /plugin install capture-skill@claude-code-skills.
Что делает capture-skill?
Он превращает поток задач, идей и мыслей в разделы Projects & Ideas, Tasks, Connections и How I Can Help. После разбора плагин ждёт, пока вы выберете пункт для работы.
Как capture-skill находит связи с проектом?
Для этого используется workspace-инвентаризация через Glob и Grep. Скрипт ищет совпадения файлов и структуру папок, а классификатор строк работает по эвристикам.
Исходный текст
capture · MIT
# capture Brain-dump organizer. Catches an unstructured stream of mixed thoughts, tasks, and ideas and transforms it into a clean four-section actionable system with zero information loss. ## What it does When the user dumps (explicitly with phrases like "brain dump" / "let me get this out of my head", or implicitly by pasting a long unstructured block of mixed ideas), the skill: 1. Captures everything (zero loss; trivial items go in) 2. Asks at most ONE mid-organization clarifying question — only if a single item is genuinely ambiguous between task and project 3. Returns four sections: - **Projects & Ideas** — clustered themes with embedded questions/decisions - **Tasks** — flat scannable action list - **Connections** — real workspace links (Glob/Grep verified — never fabricated) - **How I Can Help** — concrete offers with `what + where` 4. Ends with a directive question: "Which of these should I tackle?" 5. Waits for the user's pick before any further action. When the dump is small (≤5 items, unrelated), the skill drops into a compressed output instead of forcing 4 sections. ## Source spec This skill is a Path-B direct conversion of `megaprompts/05-capture-megaprompt.md` (maintainer-local draft spec — gitignored, not in the public repo) (PR #657). The megaprompt is the canonical spec; this plugin is the working implementation. Drift between the two is a bug — re-grill with `/cs-grill-with-docs` if they diverge. ## Plugin layout | File | Role | |---|---| | `skills/capture/SKILL.md` | The skill itself (Claude reads this when triggered) | | `skills/capture/scripts/workspace_inventory.py` | Glob+Grep helper for Section 3 — given a working dir + keyword list, returns a structured inventory of file matches + folder structure. Stdlib-only. | | `skills/capture/scripts/dump_classifier.py` | Regex-classify dump lines into task / decision / question / project-component. Heuristic, not authoritative. | | `skills/capture/scripts/complexity_estimator.py` | Count items in dump; recommend full 4-section vs compressed output format. | | `skills/capture/references/workspace_detection.md` | Context-specific detection tactics (CLI / web / MCP / inaccessible) | | `skills/capture/references/voice_preservation.md` | Concrete examples of corporate-speak anti-patterns | | `skills/capture/references/complexity_matching.md` | When to compress vs full 4-section, with worked examples | | `agents/cs-capture.md` | Capture-organizer persona (no-fabrication, voice-preservation enforcer) | | `commands/cs-capture.md` | `/cs-capture <dump>` slash command for explicit invocation | ## Quick start ```bash # Run the workspace-inventory helper against this repo python skills/capture/scripts/workspace_inventory.py --root . --keywords "skill,megaprompt,capture" # Classify a dump file python skills/capture/scripts/dump_classifier.py path/to/dump.txt # Estimate output complexity python skills/capture/scripts/complexity_estimator.py path/to/dump.txt ``` ## License MIT.
© Alireza Rezvani · MIT · alirezarezvani/claude-skills