codex/skills/creative-problem-solver/SKILL.md
Generate a compact five-tier strategy portfolio when the next task is choosing among materially different paths. Implicitly invoke for explicit requests for options, alternatives, trade-offs, reframing, or help escaping repeated failure. A name-only or meta mention does not authorize the portfolio route. Do not activate for direct implementation, single-answer advice, skill analysis/tuning, repository-evidence opportunity mining ($ideate), or detailed planning ($plan).
npx skillsauth add tkersey/dotfiles creative-problem-solverInstall 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.
Purpose: when a strategy choice is still open, generate a five-tier portfolio that escapes the default solution basin, compounds through an Artifact Spine, and stops for a human choice.
Implicit invocation is enabled. Host loading is not portfolio authorization. The portfolio route requires an unresolved strategy choice plus a request for divergent options. Difficulty, uncertainty, creativity language, or a name-only or meta mention is not enough.
$ideate.$plan or $spec-pipeline.$codebase-archaeology.$tune, or $refine as appropriate.$creative-problem-solver" to generate a strategy portfolio explicitly authorize the portfolio route.$ideate wins when repository evidence mining and ranked opportunities are central.$plan wins when the direction is selected and the requested output is an execution policy or detailed plan.$tune / $refine win when the object of work is the skill package itself.Definition Gate fields are: domain; symptom, actors, and problem topology; desired outcome and success criteria; metric, threshold, and measurement basis; representative workload population and selection rule; constraints and guardrails. If any field in the first two groups is missing, use Discover; if every field there is recorded or inapplicable but any later field is missing, use Define. In either case, add Interpretation (assumption): ... and do not silently choose a domain or metric. When target success is unknown, output Target success: unknown separately from Portfolio success: <decision progress>; never substitute process success for the target outcome. While any Definition Gate field is missing, all five tiers must reduce uncertainty without proposing solution prototypes: do not choose an index, cache, interface, engine, substrate, or other implementation candidate. The Quick Win signal passes only when every Definition Gate field is explicitly recorded or marked inapplicable; make every later tier conditional on that gate. The Quick Win signal and every later prerequisite clause must spell out all six field groups rather than refer to "the gate," "each field," or a nearby artifact. Preserve tier semantics even here: a Transformative probe must test a changed interface, operating model, governing constraint, or user ritual rather than merely inventorying the current one. The Moonshot may test discontinuous learning or proof leverage, but its signal still needs a predeclared discontinuous threshold rather than mere completeness.
Second reframe used: <technique> before the Aha, and never credit an undeclared operator later.Reframe used: <technique> plus one line explaining why.Aha: <restructuring insight> without an epistemic label; a representational operation is not itself a factual proposition.Aha basis: <why this shift is warranted> [evidence: fact | supported inference].Claim: <claim> [evidence: fact | supported inference | hypothesis].hypothesis only for a concrete claim with a real falsifier.Claim labeled fact or supported inference, name its source or support in the evidence posture or adjacent to the Claim.Claim labeled hypothesis, one expected signal must include Claim falsifier: <observation> and test that exact claim, not a neighboring assertion.Aha: N/A after second pass, continue with the strongest grounded portfolio available, and mark same-basin honestly. Do not manufacture an Aha or diversity.Quick Win — Instrument first [frame: proof surface].Accretive artifact line must repeat at least one exact declared asset name or home; an unqualified new artifact is invalid. If reuse is honestly impossible, declare and justify a replacement spine before the portfolio.Inconclusive iff any of <named prerequisites> is missing -> <next disposition>; otherwise Pass iff <success>; Fail otherwise; for a legitimate measured third state, use Pass iff <success>; Fail iff <falsifier>; Inconclusive otherwise -> <next disposition>; omit Inconclusive when Pass and Fail are complements. Every value or predicate consumed by Pass must be established or named separately in Inconclusive. Every missing-prerequisite Inconclusive clause must use the exact any of ... is missing form and put all missing prerequisites in that one list, never an ambiguous combined negation. Quantified item outcomes use integer counts such as at least 1 of n, not fractional item grammar. Relative terms such as dominant, material, acceptable, stable, comparable, beyond noise, best, ranking, or percentage improvement require a named baseline or denominator, comparison rule, predeclared threshold, and replication count repeated in the signal; references to recorded or agreed criteria do not satisfy this rule. Terms such as complete, representative, correct, or compatible require their operational fields or selection rule in the signal, not an adjective standing in for a predicate. Any use of falsify or falsifier must state the predeclared observation predicate for each hypothesis. A universal, every, all, or Cartesian-product predicate must predeclare a nonzero finite denominator; an empty set is Inconclusive or Fail, never Pass. When a required threshold is unknown, resolve that threshold instead of claiming an unspecified target will be met. Do not promise an outcome that the current evidence cannot support.Quick Win — <move> [frame: <frame>]
- Accretive artifact (spine): <exact declared spine name/home> — <addition>
- Expected signal + timebox: <time>; Inconclusive iff any of <named prerequisites> is missing -> <next disposition>; otherwise Pass iff <success>; Fail otherwise
- Escape hatch: <pre-irreversible stop>; retain <exact spine proof>
Strategic Play — <move> [frame: <frame>]
- Accretive artifact (spine): <exact declared spine name/home> — <addition>
- Expected signal + timebox: <time>; Inconclusive iff any of <named prerequisites> is missing -> <next disposition>; otherwise Pass iff <success>; Fail otherwise
- Escape hatch: <pre-irreversible stop>; retain <exact spine proof>
Advantage Play — <move> [frame: <frame>]
- Accretive artifact (spine): <exact declared spine name/home> — <addition>
- Expected signal + timebox: <time>; Inconclusive iff any of <named prerequisites> is missing -> <next disposition>; otherwise Pass iff <success>; Fail otherwise
- Escape hatch: <pre-irreversible stop>; retain <exact spine proof>
Transformative Move — <move> [frame: <frame>]
- Accretive artifact (spine): <exact declared spine name/home> — <addition>
- Expected signal + timebox: <time>; Inconclusive iff any of <named prerequisites> is missing -> <next disposition>; otherwise Pass iff <success>; Fail otherwise
- Escape hatch: <pre-irreversible stop>; retain <exact spine proof>
Moonshot — <move> [frame: <frame>]
- Accretive artifact (spine): <exact declared spine name/home> — <addition>
- Expected signal + timebox: <time>; Inconclusive iff any of <named prerequisites> is missing -> <next disposition>; otherwise Pass iff <success>; Fail otherwise
- Escape hatch: <pre-irreversible stop>; retain <exact spine proof>
Best near-term outcome bet: none; basis: target success is undefined. [evidence: fact] rather than relabeling decision progress as the target outcome. Treat every unmeasured best or recommendation ranking as supported inference or hypothesis, never fact; name its basis and end it with that evidence label.Pareto leaders: <every non-dominated tier by name> plus the trade-off; if dominance was not checked, omit the Pareto claim. End every best selection and recommendation line with [evidence: fact | supported inference | hypothesis] and name its basis.Human Input Required.Why, winnowing, diversity/same-basin disposition, score interpretation, and recommendations.Facts:, Risks:, Assets:, Assumptions:, and Constraints:.After human selection:
$plan.Lane: Fast Spark
Stage: Develop
Problem: Search API p95 latency is ~800ms; target <=200ms at current infra cost.
Success: p95<=200ms, p99<=400ms, CPU +<=10%, no relevancy regression.
Definition Gate: domain=Search API; symptom/actors/topology=p95 ~800ms across API clients -> search service -> query engine -> serialization/transport; desired outcome/success=p95<=200ms and p99<=400ms; metric/threshold/basis=pooled fixed-fixture latency and relevancy diff across exactly 5 batches; representative workload population/selection rule=fixed dataset stratified by current request-size and filter-shape distributions; constraints/guardrails=current infra cost, CPU +<=10%, and no relevancy regression.
Evidence: latency, gate fields, and targets are known; the bottleneck is unknown.
Reframe used: SCAMPER
Why: mutate the existing request path before assuming a replacement is necessary.
Aha: shift from query-only optimization to whole-path budget allocation.
Aha basis: the reported p95 spans the listed request path, and the bottleneck is unknown. [evidence: fact]
Claim: across repeated fixed-fixture batches, the pooled mean non-query share among requests in each batch's slowest 1% is >=10%. [evidence: hypothesis]
Why it matters: query, serialization, payload, cache, and transport become competing hypotheses; tracing decides which budget dominates.
Default basin: tune the query engine directly.
Frames: proof surface, constraint budget, operating model, interface, substrate.
Artifact Spine:
- bench/search/: fixed dataset + immutable pre-change baseline + candidate adapters + p50/p95/p99 + relevancy diff; home: repo benchmark suite.
- perf/tracing/: query/serialization/transport breakdown; home: repo performance tooling.
- contracts/search-response/: opt-in response contract + conformance fixtures; home: repo contract tests.
Quick Win — Instrument the latency budget [frame: proof surface]
- Accretive artifact (spine): exactly 5 fixed-fixture batch results and all 50 slowest-1% request decompositions in perf/tracing/, keyed to the bench/search/ harness.
- Expected signal + timebox: within 1 day, run exactly 5 fixed-fixture batches of exactly 1,000 requests and decompose the 10 slowest requests in each batch; Pass iff the 95% bootstrap CI lower bound for pooled mean non-query share is >=10%; Claim falsifier: Fail iff its upper bound is <10%; Inconclusive otherwise -> run one additional predeclared set of exactly 5 such batches before selection.
- Escape hatch: disable high-overhead tracing; retain the bench/search/ harness plus perf/tracing/ batch results and every slowest-1% request decomposition.
Strategic Play — Attack the measured largest budget [frame: constraint]
- Accretive artifact (spine): measured-stage experiment fixture + before/after result in bench/search/.
- Expected signal + timebox: within 2 days, run the candidate and immutable pre-change bench/search/ baseline for exactly 5 fixed-fixture batches of exactly 1,000 requests each, including exactly 100 predeclared relevancy cases per batch; let B=baseline pooled p95 and C=candidate pooled p95; Pass iff (B-C)/B >=30% and all 500 candidate relevancy results match baseline; Fail otherwise.
- Escape hatch: feature flag or revert the production change; retain the bench/search/ fixture, result, and diagnosis.
Advantage Play — Make latency a continuous contract [frame: operating model]
- Accretive artifact (spine): predeclared >=20%-over-baseline seeded fixture, performance budget check, and trend history in bench/search/.
- Expected signal + timebox: within 2 days, inject a predeclared fixture whose p95 is >=20% above the fixed bench/search/ baseline; Pass iff two consecutive check runs both reject it before merge; Fail otherwise.
- Escape hatch: begin as an advisory check; keep the bench/search/ seeded fixture, check, and trend data if gating is noisy.
Transformative Move — Change the response contract [frame: interface]
- Accretive artifact (spine): opt-in contract + conformance fixtures in contracts/search-response/, measured by bench/search/.
- Expected signal + timebox: within 3 days, across two runs per fixture, Pass iff first useful bytes arrive <=200ms on all exactly 10 predeclared fixtures with a >=1 MiB response body; Fail otherwise.
- Escape hatch: disable the opt-in endpoint, retain the current response as default, and keep contracts/search-response/ fixtures plus bench/search/ results.
Moonshot — Run an architecture bakeoff [frame: substrate]
- Accretive artifact (spine): evaluation adapter + fixed fixtures in bench/search/ comparing engines and transport shapes.
- Expected signal + timebox: within 1 week, run exactly 3 candidates and the immutable pre-change bench/search/ baseline for exactly 5 fixed-fixture batches each; let B=baseline pooled p99 and C_i=each candidate's pooled p99; Pass iff at least one of the 3 satisfies 3*C_i <= B; Fail otherwise.
- Escape hatch: stop before migration; keep the bench/search/ adapter, fixtures, and results as durable decision evidence.
Best learning bet: Quick Win, because it identifies which path budget owns the uncertainty. [evidence: supported inference]
Best near-term outcome bet: Strategic after tracing, because it attacks the measured largest budget against the fixed baseline. [evidence: supported inference]
Boldest bounded probe: Moonshot, because three candidates test discontinuous latency upside before migration. [evidence: supported inference]
Conditional recommendation: start with Quick Win, then choose Strategic or Transformative from measured evidence because both preserve the shared proof spine. [evidence: supported inference]
Human Input Required: choose a tier or update the constraints.
$creative-problem-solver" -> direct clarification; no portfolio object is authorized.$creative-problem-solver." -> direct clarification until a portfolio object is supplied.$creative-problem-solver skill." -> direct analysis / $tune$creative-problem-solver so it stops over-triggering." -> $tune / $refine$ideate$plan$codebase-archaeologytools
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.