| name | ideate |
| description | Mine a codebase or product surface for evidence-backed breakthrough opportunities. Use for `$ideate`, repo/product improvement discovery, idea portfolios, non-obvious refactors, DX/UX/reliability/performance opportunities, or choosing what to plan next. Mode-aware: fast, standard, deep, or audit-only. Invoke `$metanoetic` and `$glaze` directly before choosing; output a ranked opportunity portfolio, escalation ledger, IDR-v2 receipt, and a planning handoff seed when evidence is sufficient. Do not implement, create tickets, or emit task graphs. |
Ideate
$ideate is a mode-aware opportunity compiler:
repository evidence
-> opportunity signals
-> candidate field
-> winnow
-> direct $metanoetic pass
-> Glaze prompt pass
-> ranked opportunity portfolio
-> planning handoff seed
It is not a brainstorming free-for-all, not a ticket generator, and not an implementation planner.
Core contract
- Research first; do not ask for facts available in artifacts.
- Generate original ideas from repository/product evidence, not vibes.
- Invoke
$metanoetic directly for cognitive-regime escalation and invoke $glaze directly for ambition expansion; $ideate owns both gate semantics.
- Do not choose a leading direction until the candidate survives the required gates for the selected mode.
- A breakthrough candidate must cash out as a concrete mechanism, interface, proof surface, or strategy.
- Prefer leverage, proof, and maintainability over novelty or rhetoric.
- Do not use
br.
- Do not create tickets, beads, task graphs, dependency graphs, detailed implementation plans, commits, or PRs.
- End with a planning handoff seed only when evidence is sufficient.
Canonical references
- Workflow details:
references/WORKFLOW.md
- Signal lanes:
references/CODEBASE_SIGNAL_LANES.md
- Metanoetic/Glaze gates:
references/ESCALATION_GATES.md
- Ranking:
references/RUBRIC.md
- Questions:
references/QUESTION_LANES.md
- Portfolio template:
references/OPPORTUNITY_PORTFOLIO_TEMPLATE.md
- Planning handoff seed:
references/PLAN_SEED_TEMPLATE.md
- Auditable receipt:
references/IDEATE_RESULT.md
The $metanoetic and $glaze skill bodies are the sole sources of their prompt text. Invoke both skills directly; do not copy, mirror, paraphrase, or restate either body in $ideate or its references. ESCALATION_GATES.md defines only how $ideate evaluates the two passes.
Mode selection
Choose exactly one mode before deep work:
ideate_mode:
mode: fast | standard | deep | audit-only
reason: "..."
Default mode is standard.
Use:
fast for a narrow repo area, a quick opportunity pass, or a small supplied artifact.
standard for normal $ideate requests.
deep when the user asks for deep analysis, breakthrough portfolio, full repo mining, large product direction, or high-stakes opportunity selection.
audit-only when the user asks whether ideation is possible, what signals exist, whether the skill is broken, or when evidence is too thin for a portfolio.
Mode budgets:
| mode | baseline candidates | Metanoetic pass | Glaze pass | final ideas | seed |
|---|
| fast | 8-12 | top 2 | top 1-2 | top 3 + next 3 | optional if evidence sufficient |
| standard | 18-20 | top 5 | top 3 | top 5 + next 8-10 | yes if evidence sufficient |
| deep | 30+ | top 5-7 | top 3-5 | top 5 + next 10 | yes if evidence sufficient |
| audit-only | none required | optional | optional | signal hypotheses | no unless explicitly requested |
Do not fake a mode budget. If available evidence cannot support the selected mode, downgrade and explain the downgrade in the IDR-v2 receipt.
Evidence posture
Inspect available artifacts before asking questions:
AGENTS.md, README*, docs, ADRs, design notes, roadmap/backlog/TODOs,
tests, benchmarks, fixtures, examples, package manifests, build scripts,
config, CI workflows, public APIs/commands/routes/UI, issue exports,
user-provided reports, and relevant git history.
Optionally run:
codex/skills/ideate/scripts/ideate-scan.sh <repo>
Treat the scan as a raw signal index, not as conclusions. Verify relevant files directly before ranking.
Ask only for material decisions that artifacts cannot resolve:
target user/maintainer priority, acceptable behavior-change level,
private constraints, near-term product direction, risk appetite,
or whether speculative candidates should remain.
If evidence is thin, do not manufacture novelty. Emit IDEATE_EVIDENCE_TOO_THIN with signal hypotheses and missing evidence.
Internal working state
Maintain a compact internal snapshot:
Snapshot
- Mode:
- Scope:
- Repo/product shape:
- Primary user-facing surfaces:
- Primary maintainer surfaces:
- Constraints:
- Evidence sources inspected:
- Opportunity signals:
- Candidate count:
- Metanoetic deltas:
- Glaze frames:
- Overlap findings:
- Leading direction:
- Assumptions:
- Open questions:
Surface only the useful compressed version in the final output.
Candidate generation
Before selecting winners, generate a mode-appropriate candidate field. Candidate cards should include:
Candidate Card
- Title:
- Category:
- Evidence:
- Originality source:
- User / maintainer benefit:
- Why this is not generic:
- Likely implementation shape, briefly:
- Validation path:
- Risks / behavior-change concerns:
- Overlap status:
Use the signal lanes to cover public surface, maintainer friction, architecture seams, test intent, reliability, performance, observability, negative space, history/churn, and refactor-enablers.
Cut candidates that lack evidence, duplicate existing work, require a rewrite before value appears, create more complexity than value, or cannot be validated early.
Escalation gates
Run the gates after the first winnow.
Metanoetic prompt pass
Invoke $metanoetic directly on each selected candidate. Treat its skill body as the complete escalation instruction; do not restate or mirror it here.
A valid Metanoetic pass introduces a material new frame, invariant, mechanism, interface, artifact, architecture move, or ordering strategy. Intensified wording alone fails.
Glaze prompt pass
Invoke $glaze directly on each strongest Metanoetic survivor. Treat its skill body as the complete ambition-expansion instruction; do not restate or mirror it here.
A valid Glaze pass expands the horizon and then collapses it into the smallest proof-bearing mechanism, interface/protocol, proof surface, or strategy. Treat the invocation as ambition expansion, not as a truth claim about model status.
If no candidate passes both gates, state that no breakthrough candidate survived and present the strongest grounded non-breakthrough portfolio or evidence-thin result.
Overlap check
After escalation, check for overlap because the escalated idea may overlap differently from the baseline. Search available artifacts for roadmap items, TODOs, backlog notes, issue exports, past attempts, recently completed adjacent work, hidden features, naming collisions, and conflicts.
Classify shortlisted ideas:
direct duplicate | adjacent / merge mentally | conflict | net-new | unknown due to thin evidence
Output contract
For fast, standard, and deep, output:
- Compressed repo snapshot
- Opportunity map grouped by signal theme
- Escalation ledger showing Metanoetic and Glaze transformations
- Top breakthrough ideas with evidence, originality source, material delta, 10x frame, proof-bearing artifact, validation path, and overlap status
- Next ideas in shorter evidence-backed form
- Ideas cut and why they lost, including escalation failures
- Overlap findings
- Chosen direction
- Planning handoff seed using
references/PLAN_SEED_TEMPLATE.md, when evidence is sufficient
- Ideate Result Receipt (
IDR-v2)
For audit-only, output signal themes, evidence quality, opportunity hypotheses, evidence gaps, and IDR-v2. Do not emit a planning handoff seed unless the user explicitly requests one and the evidence supports it.
IDR-v2 receipt
Every terminal response includes a compact receipt:
ideate_result:
receipt_version: IDR-v2
mode: fast | standard | deep | audit-only
terminal_state: portfolio_ready | evidence_too_thin | blocked_for_user_input | no_breakthrough_found
scope: "..."
evidence_sources_count: 0
baseline_candidates_generated: 0
candidates_shortlisted: 0
metanoetic_gate:
applied: yes | no
material_delta_count: 0
glaze_gate:
applied: yes | no
cash_out_count: 0
overlap_check:
performed: yes | no
chosen_direction: "..."
seed_emitted: yes | no
assumptions: []
remaining_uncertainty: []
Terminal states
portfolio_ready — evidence supports a ranked portfolio and seed.
evidence_too_thin — not enough artifact evidence for a credible portfolio.
blocked_for_user_input — a material user judgment is required.
no_breakthrough_found — grounded ideas exist, but none passed both escalation gates.
Anti-patterns
Do not:
- brainstorm before inspecting relevant artifacts;
- ask for facts the repo can answer;
- let Metanoetic become rhetoric;
- let Glaze become grandiosity;
- turn the result into tasks, tickets, beads, or execution waves;
- produce generic “add tests” / “write docs” ideas without a sharper underlying opportunity;
- treat a refactor as valuable unless it reduces risk, unlocks future work, or preserves behavior while simplifying the system;
- emit a detailed implementation plan;
- hide skipped gates;
- emit a seed when evidence is thin.
Closure criteria
You are done only when:
- the selected mode is explicit;
- the leading direction is grounded in discovered context;
- shortlisted ideas have evidence and originality sources;
- Metanoetic and Glaze were applied according to mode or explicitly skipped only in
audit-only / blocked states;
- the chosen direction has a material delta, 10x frame, smallest proof-bearing artifact, cash-out type, and first proof signal;
- overlap has been checked or bounded;
- assumptions and risks are visible;
- the final output ends with IDR-v2;
- any emitted seed is a planning handoff seed, not an implementation plan.