flow-discover

flow-discover is a skill for Claude Code from CES-Ltd/Lumi. It costs 69 tokens per session (6,829 once invoked), scanned A, original, MIT.

A multi-AI research workflow for exploring a question or problem during the discovery phase of product or software work. It uses Codex and Gemini command-line tools.

In plain words
What is it for?
Use it to research a topic, compare options, investigate a problem, and track discovery progress in project state files.
Why use it?
It gives structured exploration a repeatable process before decisions or implementation begin.

Skill for Claude Code

Written for Claude Code: ${CLAUDE_SESSION_ID} variable. Also seen: reads .claude/ paths; mentions subagents; names the ExitPlanMode tool.

Part of the octo plugin — 10 skills, 47 commands shipped together

Good fit Use it to research a topic, compare options, investigate a problem, and…

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/ces-ltd/lumi/flow-discover
View source ↗ CES-Ltd/Lumi
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add CES-Ltd/Lumi --skill flow-discover
Clone the repo
git clone --depth 1 https://github.com/CES-Ltd/Lumi

Made for: Claude Code.

Or install octo, the plugin that ships this one along with the rest of its 10 skills, 47 commands.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for flow-discover

README.md
[![agentmods](https://agentmods.dev/badge/skills/ces-ltd/lumi/flow-discover.svg)](https://agentmods.dev/skills/ces-ltd/lumi/flow-discover)
Your own site
<a href="https://agentmods.dev/skills/ces-ltd/lumi/flow-discover"><img src="https://agentmods.dev/badge/skills/ces-ltd/lumi/flow-discover.svg" alt="Measured on agentmods" height="20"></a>
Per session 69 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 6,829 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00069 $0.06829
Opus 5 $0.00034 $0.03415
Sonnet 5 $0.00014 $0.01366
Haiku 4.5 $0.00007 $0.00683

Measured 6d ago against content hash fa82074bce55, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade A, and why

flow-discover scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 6d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

resources/seed/octopus/skills/flow-discover/SKILL.md · 823 lines

How it starts

The opening of the file, as written. The whole thing — 823 lines — stays where its author put it; the contents beside it link to each section on GitHub.

This file is generated from a template. Edit the .tmpl file, not this file directly. Run scripts/gen-skill-docs.sh to regenerate after changes.

Pre-Discovery: Project Initialization

Before starting discovery:

  1. Check if .octo/ directory exists
  2. If NOT exists: Call ./scripts/octo-state.sh init_project to create it
  3. Update .octo/STATE.md:
    • current_phase: 1
    • phase_position: "Discovery"
    • status: "in_progress"
# Check and initialize .octo/ state
if [[ ! -d ".octo" ]]; then
  echo "📁 Initializing .octo/ project state..."
  "${HOME}/.claude-octopus/plugin/scripts/octo-state.sh" init_project
fi

# Update state for Discovery phase
"${HOME}/.claude-octopus/plugin/scripts/octo-state.sh" update_state \
  --phase 1 \
  --position "Discovery" \
  --status "in_progress"

Native Plan Mode Compatibility (v7.23.0+)

IMPORTANT: claude-octopus workflows are designed to persist across context clearing.

Detecting Native Plan Mode

Check if native plan mode is active:

# Check for native plan mode markers
if [[ -n "${PLAN_MODE_ACTIVE}" ]] || claude-code plan status 2>/dev/null | grep -q "active"; then
    echo "⚠️  Native plan mode detected"
    echo ""
    echo "   Claude Octopus uses file-based state (.claude-octopus/)"
    echo "   State will persist across plan mode context clears"
    echo "   Multi-AI orchestration will continue normally"
    echo ""
fi

State Persistence Across Context Clearing

How it works:

  • Native plan mode may clear Claude's memory via ExitPlanMode
  • claude-octopus state persists in .claude-octopus/state.json
  • Each workflow phase reads prior state at startup
  • Context is automatically restored from files

No action required - state management handles this automatically via STEP 3 in the execution contract.


⚠️ EXECUTION CONTRACT (MANDATORY - CANNOT SKIP)

This skill uses ENFORCED execution mode. You MUST follow this exact sequence.

STEP 1: Detect Work Context (MANDATORY)

Read the full file on GitHub · 823 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 6d ago First seen · 823 lines · 69 tokens per session scan A fa82074bce55

Subscribe to this mod's changes

flow-discover is a skill published in the GitHub repository CES-Ltd/Lumi (31 stars, last pushed 3mo ago), licensed MIT. It adds 69 tokens to every session and 6,829 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.