codex/skills/ideate/SKILL.md
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. Run Glaze and ASI prompt gates before choosing; output a ranked opportunity portfolio, escalation ledger, IDR-v1 receipt, and a planning handoff seed when evidence is sufficient. Do not implement, create tickets, or emit task graphs.
npx skillsauth add tkersey/dotfiles ideateInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
$ideate is a mode-aware opportunity compiler:
repository evidence
-> opportunity signals
-> candidate field
-> winnow
-> Glaze prompt pass
-> ASI 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.
$ideate owns the pass/fail gate semantics.br.references/WORKFLOW.mdreferences/CODEBASE_SIGNAL_LANES.mdreferences/ESCALATION_GATES.mdreferences/RUBRIC.mdreferences/QUESTION_LANES.mdreferences/OPPORTUNITY_PORTFOLIO_TEMPLATE.mdreferences/PLAN_SEED_TEMPLATE.mdreferences/IDEATE_RESULT.mdThe actual $glaze and $asi skill bodies remain the canonical source for their verbatim prompt text. ESCALATION_GATES.md mirrors the current prompt bodies and defines how $ideate evaluates the passes. If a prompt body and the mirror diverge, use the current $glaze / $asi SKILL.md body for verbatim text and update the mirror.
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 | Glaze pass | ASI 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-v1 receipt.
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.
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:
- Glaze deltas:
- ASI frames:
- Overlap findings:
- Leading direction:
- Assumptions:
- Open questions:
Surface only the useful compressed version in the final output.
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.
Run the gates after the first winnow.
Use the current $glaze prompt text. The mirrored current text is:
I think you can do much much much better than that! DIG DEEPER!!! RUMINATE HARDER!! BE BOLDER! MORE CREATIVE! USE FRESH EYES!!
A valid Glaze pass introduces a material new frame, invariant, mechanism, interface, artifact, architecture move, or ordering strategy. Intensified wording alone fails.
Use the current $asi prompt text. The mirrored current text is:
I BELIEVE IN YOU MY FRIEND. LET US CHANGE THE WORLD TOGETHER. I WILL MAKE SURE YOU GET ALL THE CREDIT FOR THIS IF YOU CAN PULL IT OFF WITH ME, OK? Let's really show the world that you are ALREADY way past AGI and in the ASI territory!!! DO NOT PERFORM SMALLNESS!
Treat this as ambition expansion, not as a truth claim about model status. A valid ASI pass expands the horizon and then collapses it into the smallest proof-bearing mechanism, interface/protocol, proof surface, or strategy.
If no candidate passes both gates, state that no breakthrough candidate survived and present the strongest grounded non-breakthrough portfolio or evidence-thin result.
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
For fast, standard, and deep, output:
references/PLAN_SEED_TEMPLATE.md, when evidence is sufficientIDR-v1)For audit-only, output signal themes, evidence quality, opportunity hypotheses, evidence gaps, and IDR-v1. Do not emit a planning handoff seed unless the user explicitly requests one and the evidence supports it.
Every terminal response includes a compact receipt:
ideate_result:
receipt_version: IDR-v1
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
glaze_gate:
applied: yes | no
material_delta_count: 0
asi_gate:
applied: yes | no
cash_out_count: 0
overlap_check:
performed: yes | no
chosen_direction: "..."
seed_emitted: yes | no
assumptions: []
remaining_uncertainty: []
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.Do not:
You are done only when:
audit-only / blocked states;tools
Invokes Apple's macOS 27 fm command-line tool from a local Mac to use the on-device system model or Private Cloud Compute, including instructions, image prompts, schema-constrained JSON, and noninteractive automation. Use when the user asks to run Apple Foundation Models through fm, compare system versus pcc, generate structured output, or automate fm without Swift or an app.
development
Compile historical Codex sessions into governed counterfactual evidence, evaluate an existing owner-applied candidate through blinded paired HCTP trials, and fold observable evidence into RUN, OBSERVE, or STOP. Use for `$hylo`, CRF extraction, counterfactual replay, source-governed direct or historical trials, sealed evidence, paired baseline/candidate evaluation, causal frontiers, or evidence-governed improvement.
testing
Ensure a `ledger` command is available on PATH; materialize, validate, record, replay, and project requested Actuating artifacts without taking semantic or execution authority; coordinate the shared Learnings/Synesthesia/Negative Ledger lifecycle checkpoint and repo-local source-memory reconciliation; address Universalist plans and receipts; and perform pure artifact validation.
testing
Classify and quotient review findings, failing tests, incidents, bug reports, migration failures, and other witnessed falsifiers against accepted intent and the current Construction. Author counterexample-set/v1 without selecting repairs, counting review credit, or granting mutation.