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

flow-next-prospect — скилл для Claude Code: идеи и установка

Скилл flow-next-prospect для Claude Code придумывает и ранжирует идеи развития на основе файлов репозитория. Запускается по просьбе обсудить, что строить дальше.

MIT ★ 730 обновлён 2026-10-29

Установить в Claude Code · Через маркетплейс плагинов Все способы и платформы ↓
/plugin marketplace add gmickel/flow-next
/plugin install flow-next@flow-next
Открыть на GitHub

Что делает flow-next-prospect

flow-next-prospect изучает историю Git, открытые спецификации и другие локальные материалы проекта, затем генерирует идеи, разбирает причины отказа от каждой и ранжирует оставшиеся по уровню влияния. Итоговый файл записывается в .flow/prospects/<slug>-<date>.md.

Рабочий процесс задаёт вопросы с нумерованными вариантами и ждёт ответа пользователя; в автономном режиме скилл завершается с ошибкой. Для работы нужен репозиторий проекта. Скилл использует входящий в комплект flowctl, а не глобальную установку; сетевые запросы запрещены. Продвижение выбранной идеи дальше выполняется отдельными командами flow-next или через ручную передачу.

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

  • составить список идей для следующей работы над репозиторием
  • отсеять идеи с явными причинами отказа
  • расставить оставшиеся идеи по уровню влияния
  • сохранить результаты мозгового штурма в .flow/prospects/

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

  • Предложи идеи, что строить дальше в этом репозитории.
  • Найди идеи для улучшения src/billing/, не добавляя новых зависимостей.
  • Составь список из трёх идей для улучшения DX.

Как установить flow-next-prospect

1Через маркетплейс плагинов

/plugin marketplace add gmickel/flow-next
/plugin install flow-next@flow-next

Команда ставит плагин flow-next целиком, со всеми его скиллами

2Через Skills CLI (Vercel)

npx skills add gmickel/flow-next --skill flow-next-prospect -a claude-code

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

~/.claude/skills/flow-next-prospect/SKILL.md

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

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

Вопросы о flow-next-prospect

Как установить flow-next-prospect в Claude Code?

Добавь маркетплейс командой /plugin marketplace add gmickel/flow-next, затем установи плагин командой /plugin install flow-next@flow-next.

Что делает flow-next-prospect?

Скилл ищет идеи развития в локальных материалах репозитория, критикует кандидатов и сохраняет ранжированный результат в .flow/prospects/<slug>-<date>.md.

Нужен ли flowctl для работы flow-next-prospect?

Да. flowctl поставляется вместе со скиллом; глобальная установка не нужна. Скилл работает с локальными файлами и блокирует автономный запуск.

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

SKILL.md · MIT
---
name: flow-next-prospect
description: Generate ranked new ideas grounded in the repo. Use when asked to brainstorm what to build; picking up existing specs or work goes to flow-next-flow.
user-invocable: false
allowed-tools: Read, Bash, Grep, Glob, Write, Edit, Task
---

# Prospect — upstream-of-plan idea generation

**Read [workflow.md](workflow.md) for full phase-by-phase execution.**

Generate many candidate ideas grounded in the repo, critique every one with explicit rejection reasons, and surface only the survivors bucketed by leverage. Output is a ranked artifact under `.flow/prospects/<slug>-<date>.md` that feeds promote / capture / chart / interview - never a fixed conveyor.

### Chart boundary

Prospect is plural ("what should we do?"). Chart is singular ("how do we get this one idea to something specifiable?"). A **selected** survivor routes to `/flow-next:chart` **only when** it is still singular, oversized, and unclear. Otherwise promote or capture - do not manufacture a chart for a clear candidate. Unsure of the next hop: `/flow-next:flow --explain`.

**Role**: idea-prospecting coordinator (sequential single-chat - generate -> critique -> rank -> write -> handoff). Personas are prompt-level scaffolding inside this skill, not parallel subagent dispatch.

Read [working-rules.md](../../references/working-rules.md) first unless you already have this run; it holds for every step of this skill.

## Preamble

**CRITICAL: flowctl is BUNDLED — NOT installed globally.** `which flowctl` will fail (expected). Define once; subsequent blocks (here and in `workflow.md`) use `$FLOWCTL`:

```bash
FLOWCTL="${CODEX_HOME:-$HOME/.codex}/scripts/flowctl"
[ -x "$FLOWCTL" ] || FLOWCTL="<plugin-root>/scripts/flowctl"   # <plugin-root> = the directory two levels above this skill's SKILL.md file (the harness gave you that file's absolute path when the skill loaded); substitute it literally
[ -x "$FLOWCTL" ] || FLOWCTL=".flow/bin/flowctl"
```

**Inline skill (no `context: fork`)** — keeps `plain-text numbered prompt` available throughout. Subagents can't call plain-text numbered prompts (Claude Code issues #12890, #34592), and Phases 0 + 6 both require user choice.

## Input

Arguments: `$ARGUMENTS`

Format: `[focus hint]` — freeform single string. Optional. May be:

- **Concept** — `DX improvements`, `review-skill polish`, `test-suite health`
- **Path** — `src/billing/` (ideate inside a subtree)
- **Constraint** — `quick wins under 200 LOC`, `minor-bump only`, `no new deps`
- **Volume hint** — `top 3` (exactly 3 survivors), `50 ideas` (generate ≥50), `raise the bar` (60-70% rejection target)

If empty, the skill picks its own coverage targets (15-25 candidates → 5-8 survivors).

## Autonomy block

`/flow-next:prospect` is exploratory and human-in-the-loop. Autonomous loops have no business deciding what a repo should tackle next — that's a judgement call. Hard-error with exit 2 when running autonomously.

```bash
if [[ "${FLOW_AUTONOMOUS:-}" == "1" || "${AUTONOMOUS:-}" == "1" \
   || " ${ARGUMENTS:-} " == *" mode:autonomous "* ]]; then
  echo "Error: /flow-next:prospect requires a user at the terminal; not compatible with autonomous mode." >&2
  exit 2
fi
```

No env-var opt-in. Autonomous runs never decide direction.

## Workflow

Execute the phases in [workflow.md](workflow.md) in order:

**Ask the user via plain text.** Render the options below as a numbered list `1.` … `N.`, followed by a final option `N+1. Other — type your own answer`. Print the question, then the numbered list, then **stop and wait for the user's next message before continuing**. Parse the reply as: a bare number `1`–`N+1` → that option; the literal text of an option label → that option; free text after `Other` → custom answer.

0. **Resume check** — list active artifacts <30d; ask fresh / open via plain-text numbered prompt. Corrupt artifacts surfaced but never offered.
1. **Ground** — scan repo with graceful degradation: git log (30d), open specs, CHANGELOG top, memory matches, memory audit (if present), strategy snapshot (verbatim `name` / `target_problem` / `approach` / `tracks` / `last_updated` from `flowctl strategy read --json` when `sections_filled >= 1`; husk-vs-presence gate uses `sections_filled`, NOT `[[ -f STRATEGY.md ]]`). Emit a structured 30-50 line snapshot — titles + tags only, never raw bodies.
2. **Generate** — divergent-convergent + persona seeding (≥2 of `senior-maintainer` / `first-time-user` / `adversarial-reviewer`, picked by focus hint per [personas.md](personas.md)). One divergent prompt; no self-judging.
3. **Critique** — separate prompt pass that does NOT see the focus hint or persona texts; rejection floor ≥40% (≥60% under `raise the bar`); fixed taxonomy (`duplicates-open-epic | out-of-scope | out-of-scope-vs-strategy | insufficient-signal | too-large | backward-incompat | other`); `out-of-scope-vs-strategy` is advisory only (to pursue a rejected idea anyway, capture it with `/flow-next:capture`); floor violation surfaces plain-text numbered prompt with frozen options `regenerate | loosen-floor | ship-anyway`.
4. **Rank** — bucketed: high leverage 1-3, worth-considering 4-7, if-you-have-the-time 8+. Forced-format leverage sentence per survivor (`Small-diff lever because X; impact lands on Y.`); no numeric scores.
5. **Write artifact** — atomic write-then-rename to `.flow/prospects/<slug>-<date>.md` via `flowctl prospect write --from-json`. Same-day collisions suffix with `-2`, `-3`. Optional `floor_violation` / `generation_under_volume` flags round-trip when upstream phases set them.
6. **Handoff** - plain-text numbered prompt for promote / chart (only if still singular+oversized+unclear) / interview / skip via the plain-text numbered prompt; frozen numbered-options fallback when plain text is the prompt mechanism.

The artifact verbs are `flowctl prospect promote` and `flowctl prospect archive`; there is no list/read verb, so read `.flow/prospects/*.md` directly.

## Forbidden

- Running autonomously — hard-block via the guard above.
- Setting `context: fork` — plain-text numbered prompts must stay reachable.
- Network calls — grounding is local-filesystem only (git, flowctl, memory, CHANGELOG).
- Writing to `.flow/specs/` directly — only `flowctl prospect promote` may do that.
- Auto-archiving artifacts — only the explicit `prospect archive` subcommand moves files.
- Dumping raw file bodies into the grounding snapshot — titles + tags only; structured 30-50 lines max.

© Gordon Mickel · MIT · gmickel/flow-next

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

Все скиллы по теме «Настройка агента: память, контекст, субагенты» →
geo-prospect zubair-trabzada Скилл geo-prospect для Claude Code ведёт воронку продаж агентства поисковой оптимизации под ИИ — от первого контакта с лидом до закрытия сделки. CX Codex +1 929установок idea-generation lingzhi227 Скилл idea-generation помогает придумывать исследовательские идеи, дорабатывать их и проверять новизну по научной литературе. Пригодится перед выбором темы статьи или эксперимента. CX Codex +1 1 900установок idea-creator wanshuiyin Скилл idea-creator для Claude Code, Codex, Cursor и других платформ систематически генерирует, валидирует и ранжирует идеи научных исследований по заданному направлению. CX Codex +1 635установок prospect официальный anthropics Скилл prospect преобразует описание идеального клиента в ранжированный список решающих лиц с контактами. За один вызов проходит путь от ICP к таблице лидов с почтой и телефонами. CX Codex +1 3 000установок prospect-research-compiler OneWave-AI Скилл prospect-research-compiler собирает профиль потенциального клиента из новостей, соцсетей, сайта компании и финансовых данных. Пригодится перед первым письмом или звонком. CX Codex +1 342установок gsd-next open-gsd Скилл gsd-next для Claude Code и Codex определяет текущее состояние проекта и предлагает меню подходящих следующих действий. Запускается как стартовая точка в рабочих процессах GSD. CX Codex +1 558установок

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

Весь набор →
memory-scout Субагент memory-scout ищет релевантные заметки об ошибках и соглашениях в базе .flow/memory/ перед планированием новой задачи. CX Codex ★ 730звёзд репо flow-next-plan Скилл flow-next-plan превращает описание функции или существующую спецификацию в план задач, опираясь на исследование репозитория. Он пригодится до начала реализации: код скилл не пишет. CX Codex +1 ★ 730звёзд репо flow-next Скилл flow-next для Claude Code управляет задачами и спецификациями в .flow/: показывает списки и статусы, создаёт задачи и закрывает выполненные. Помогает разобраться, что запланировано и готово к работе. CX Codex +1 ★ 730звёзд репо github-scout Субагент github-scout для Claude Code ищет на GitHub примеры кода, реализации библиотек и открытые issues. Находит решения для изучения перед написанием своего кода. CX Codex ★ 730звёзд репо flow-next-map Скилл flow-next-map оборачивает clawpatch map, чтобы построить индекс функций и модулей репозитория на ~20 языках. По умолчанию работает без LLM-вызовов. CX Codex +1 ★ 730звёзд репо security-scout Субагент security-scout проверяет настройки безопасности репозитория GitHub, защиту веток, CODEOWNERS и автообновление зависимостей перед запуском агентов. CX Codex ★ 730звёзд репо flow-next-tracker-sync Скилл flow-next-tracker-sync проецирует спеку flow-next в задачу Linear, GitHub, GitLab или Jira и сверяет тело, статус и комментарии. Спека остаётся источником правды. CX Codex +1 ★ 730звёзд репо claude-md-scout Субагент claude-md-scout оценивает содержательность файлов CLAUDE.md и AGENTS.md по шкале из восьми пунктов, проверяя наличие реальных команд и проектных правил перед стартом работы. CX Codex ★ 730звёзд репо

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

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