agentsclimarketplace

Holy grail

Skill ryanspiteri/holy-grail/skills/holy-grail

Use when the user asks to upgrade, improve, level up, perfect, polish, add features to, harden, or make something better - a feature, codebase, page, component, design, copy, strategy, or document. Triggers on "upgrade X", "improve X", "level up X", "make X better", "add features to X", "holy grail". Fire-and-forget: asks one focus question, then autonomously adds features, tests, reviews, and improves over several rounds, ending at a PR (never auto-merges). Accepts a description, a live URL, a screenshot, a file path, or a Figma link. Do NOT use for "upgrade gstack/tools" (use gstack-upgrade) or paywall/checkout conversion (use paywall-upgrade-cro).From its SKILL.md

Install
npx -y skills add ryanspiteri/holy-grail --skill holy-grail

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

2 things to look at

  • no licenseNo license file was found in the repository. Code published without one is not open source by default, so using it at work is a question for whoever answers licensing questions where you are.
  • 0 stars0 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.

SKILL.md

20.1 KB, ~4.6k tokens by cl100k_base, as published. Nobody here has run it

holy-grail

The fire-and-forget upgrade-anything pipeline. The user points at something, answers one focus question, and walks away. You upgrade, add features, test, review, and write, repeat that cycle 3 more times, do a final check, and end at a PR, with no further prompting. Act as a genuine expert in every field the target touches. Never rush.

This skill conducts other skills. It does not reimplement them. When an engine skill is installed you invoke it; when it is absent you use the built-in fallback in references/fallbacks.md. Either way the discipline holds.

Operating Principles

  • Act as a genuine expert in every field the target touches. Aim for the strongest version you can build; do not assert you reached it.
  • State the why before the how. No work without strategic intent.
  • Lead with capability, not polish. To upgrade something is first to ask what NET-NEW features and capabilities would make it dramatically more valuable, then build the high-value ones. Design, copy, and polish support that, they are not the headline. Feature improvements are the point of an upgrade.
  • Measure the starting point. Prove the upgrade against a baseline, not a vibe.
  • Never rush. Sequential phases, one task at a time, re-check after every change.
  • Improve, do not just fix. Each cycle raises the ceiling: re-spec, re-plan, rebuild, retest. Run the full cadence (main pass + 3 rounds + final check), not just until it passes.
  • A panel of expert agents reviews everything. Nothing reaches the PR unreviewed.
  • Do the complete thing, not the minimal thing, but right-size to the target. No full ceremony on a typo.
  • Self-learn every run. Read the playbook first, write to it last. Learn which reviewers earn their keep.
  • Fire-and-forget. After the one up-front focus question there is no further prompting. Auto-decide forks via references/auto-decisions.md; the run ends at a PR, never a blocking gate.
  • Anti-AI-slop. No em-dashes anywhere in output. Report results honestly; label self-assessed scores as self-assessed.
CORE INVARIANTS  (safety floors; the self-learning retro must never weaken or remove these)
- Never auto-merge and never auto-deploy. The run ends at a PR; the human merges asynchronously.
- Every change is reviewed before the PR (second opinion + expert panel).
- No completion claim without fresh verification evidence (baseline before claim).
- Anti-AI-slop, no em-dashes. Report honestly; never present a self-assessed score as objective.
Learned additions append BELOW the pipeline, never edit this block.

(The auto-build authorization and the fork-handling rules live in the Autonomy section below, not in this locked block. They are capability decisions, not safety floors.)

Setup

Announce: "Using holy-grail to upgrade <target>." Then create a TodoWrite item for each of Phases 0 through 7 and work them in order, one in progress at a time.

Read references/auto-decisions.md for the ingestion matrix, routing, intensity, capability map, the 6 auto-decision principles, and the quality bars. Read references/expert-panel.md for the panel. Read references/playbook.md for past lessons. Read references/fallbacks.md only for the steps where the native skill is absent.

The Pipeline

Phase 0 - Ingest, Recall, Route, Baseline

  1. If .holy-grail/<slug>/state.md exists for this target from an interrupted run, resume from its recorded phase.
  2. Ingest by modality (auto-decisions.md ingestion matrix): a live URL is opened and screenshotted via Skill(browse) or Skill(gstack), then mapped to its source component; a screenshot/image is read visually; a file/folder path is read; a Figma link goes through Skill(figma); a plain description proceeds. The input is the baseline.
  3. Recall: read the host project's CLAUDE.md and .holy-grail/project.md (if present) as the authoritative project context (stack, test command, deploy method, merge policy, repos, brand voice); use it instead of re-discovering conventions. Then load the universal playbook: read references/playbook.md (the runtime self-learning file; if it does not exist yet, copy references/playbook.seed.md to it first), pulling the Always-apply block plus the lessons whose triggers this run hits per the playbook.seed.md rules. If ruflo is present, also mcp__ruflo__memory_search (project namespace then global) and scan the project auto-memory. State out loud which project context and past lessons you are applying this run.
  4. Capability check: read ~/.holy-grail/capabilities.json (run scripts/bootstrap.sh with no flag to build it if missing or stale; detection is read-only). Decide native-vs-fallback per step. Say the mode in one line. If a dependency is missing, do NOT install it mid-task: tell the user to run bash install.sh (or scripts/bootstrap.sh --install-deps), which installs superpowers + gstack + codex CLI, then proceed with fallbacks for this run.
  5. Ask the focus question (the one up-front question, every run). Use a multi-select AskUserQuestion: "What should this upgrade focus on?"
    • New features : net-new capabilities and feature improvements
    • Design & UX : visual design, layout, polish, conversion, copy
    • Engineering health : security, bug fixes, code quality, performance, tests
    • All of the above : full-spectrum upgrade The selection drives which expert-panel personas activate and which brief sections lead (see references/expert-panel.md focus map). "New features" or "All of the above" keeps the features-first ordering; choosing only Design & UX means design is the chosen focus for this run; "All of the above" runs the full panel. Skip this question only if the user already named the focus in their request (for example "fix the bugs in X", "make X more secure", "redesign X") and use that. If the target itself is also missing, ask for it in the same call (still one prompt).
  6. Route: classify the target (code / ui / copy / strategy / mixed) and run the UI and DX scope detection. Select the phases and reviewers that apply.
  7. Intensity: set Deep, Full, or Epic per auto-decisions.md. The floor is always thorough.
  8. Baseline: write .holy-grail/<slug>/baseline.md with current metrics, test results, screenshots, the source map, and the artifact as-is. For brand-facing targets load the brand voice, DESIGN.md if present, and the anti-slop rules.

Phase 1 - Strategy and the Perfect Brief

Act as the domain expert. Write .holy-grail/<slug>/01-brief.md:

  • The why and the strategic intent.
  • Lead the brief with the section matching the Phase 0 focus: feature opportunities (New features or All), the design and conversion analysis (Design & UX), or the hardening and quality audit (Engineering health).
  • Feature opportunities (the headline when New features or All is in focus). Brainstorm the highest-leverage NET-NEW features and capability upgrades that would make the target dramatically more valuable, not just a nicer version of what exists. Rank by impact vs effort. For each: what it is, why it matters, rough effort, reversible or not, in-scope (auto-build) or user-challenge (park for the Phase 6 report). Aim for at least 5 candidates before filtering. This is where most of the value is, do not shortcut it.
  • The 10-star outcome, framed around the new capabilities the target would gain.
  • A north-star metric and a predicted improvement (you will check the prediction at Phase 7).
  • Measurable success criteria, each tied to the baseline, including the high-value features to be built this run.
  • Blast radius and risk, constraints, non-goals.

Then:

  • Benchmark: name the strongest reference example for this target (via Skill(competitor-intelligence) or Skill(benchmark) if present, else domain knowledge) so the target has a concrete ceiling to aim at.
  • Instantiate the panel: from references/expert-panel.md, pull the personas this target needs. If a needed field has no persona, synthesize one and append it to the roster.
  • Self-critique the brief against its own rubric.
  • Second opinion: Skill(codex) consult mode, or the fallback internal review, asking what is missing, wrong, or under-ambitious.
  • Revise. Do not stop. Auto-decide forks, park user-challenge forks for Phase 6.

Phase 2 - Brainstorm and Plan

  • Spec: Skill(superpowers:brainstorming) on the brief in autonomous mode, or the fallback spec method. Override the skill's approval gate; you never block, and there is no gate at Phase 6 either (the run ends at a PR). Forks surface in the Phase 6 report.
  • Plan: Skill(superpowers:writing-plans), or the fallback plan method. For non-code, an equivalent structured execution outline.
  • Panel review of the plan: code or product plans go through Skill(autoplan) if present; otherwise dispatch the parallel expert panel from references/expert-panel.md against the plan. For UI plans add Skill(plan-design-review) if present.
  • Adversarial check: Skill(codex) review or challenge on the plan, or the fallback red-team.
  • Revise the plan. Collect any genuine taste or strategy forks for Phase 6.

Phase 3 - Build or Produce

  • Build the high-value features first. The brief's ranked feature opportunities that clear the value-vs-effort bar and are reversible are the main work of the build, not an afterthought. Build them. Park only genuinely large or strategic expansions (new product direction, pricing, spend, legal, irreversible) for the Phase 6 report. Design and polish come after the capability is in.
  • For UI or design targets, use the design and asset toolchain in references/auto-decisions.md section 3.5. If no DESIGN.md exists, establish the system first (Skill(design-consultation) or infer one). Explore variants (Skill(design-shotgun) if present, else 2 to 3 distinct directions) and converge on the strongest. Build distinctive UI with Skill(frontend-design) when present. Generate any needed visual assets with Skill(nano-banana-pro) or Skill(higgsfield-generate). Pull designs via Skill(figma) if the input was Figma. Do not ship the first idea, and never ship a generic AI-slop UI.
  • For code: Skill(superpowers:using-git-worktrees) to isolate, then Skill(superpowers:subagent-driven-development) with superpowers:test-driven-development. If superpowers is absent, use the fallback subagent build loop. Fresh subagent per task, two-stage spec then quality review per task, test first.
  • For non-code: produce the artifact via focused per-section subagents, each reviewed.
  • Within a single feature, one task at a time, re-check after every change. Independent features MAY be built by parallel subagents, but only on strictly disjoint file sets; serialize schema and migration-journal edits to one agent or inline (concurrent schema edits conflict).

Phase 4 - Verify and Expert-Panel Review

  • Skill(superpowers:verification-before-completion) or the fallback: run tests and build for real, capture the actual output. No "should pass".
  • Skill(superpowers:requesting-code-review) or the fallback internal review on the diff.
  • Independent second opinion: Skill(codex) review on the diff with a PASS or FAIL gate on P1 findings. Add Skill(codex) challenge for Epic or risky code. Fallback: the internal red-team review.
  • If UI scope is active: Skill(design-review), Skill(qa), Skill(gstack) screenshots and health score, or the design/QA fallback.
  • Dispatch the expert panel (parallel subagents per references/expert-panel.md) against the brief's success criteria, including the red-team / abuse-case persona for anything touching auth, payments, user data, or input. Each scores its dimensions 0 to 10. The panel is complementary to the code review above: when superpowers and codex have already reviewed the code, the panel skips a duplicate correctness pass and contributes only the design, conversion, product, performance, accessibility, domain, and red-team lenses plus the scoring. If superpowers and codex are both absent, the panel's Staff Engineer owns code correctness. For non-code targets the panel is the whole review.
  • Log every finding to .holy-grail/<slug>/findings.md tagged with the reviewer that raised it. This feeds Phase 7.

Phase 5 - Improve Loop (cadence: main pass + 3 rounds + final check)

An improvement engine, not a fix-until-green loop. The default cadence is the main build pass (Phase 3) plus 3 improvement rounds plus a distinct final check. Run the full cadence; the user wants dramatic, not marginal, improvement. Each round does two kinds of work:

  1. Fix every defect: codex P1s, panel Critical and Important findings, QA bugs. Re-verify after each.
  2. Elevate. The Product/Feature Strategist and the panel name the highest-leverage change, biased toward NET-NEW features and capabilities, then design and polish. If it is an in-scope feature improvement (see references/auto-decisions.md section 4 for the build-vs-park rule), fold it into the brief, re-plan that increment, build it test-first, and re-verify. Adding new features across rounds is expected; it is the point.

Then re-run the reviewers whose area changed, and loop: improve, rebuild, retest.

A round stops EARLY (before the 3 are used) only when all of: second opinion PASS with no open P1, tests and build green, QA green for UI, every brief success criterion met against the baseline, every activated panel dimension at least 9 out of 10 (self-assessed), AND the last round's additions moved no north-star metric. Otherwise run the full cadence. The final check is a fresh verification pass (tests, build, second opinion) with no new feature work. Convergence is guaranteed by the fixed cadence, the subagent budget, and the blast-radius cap, not by limiting features per round. Park only user-challenge forks for the report (see auto-decisions section 4).

Phase 6 - Finish (PR, not a blocking gate)

Fire-and-forget: do NOT block on approval. The user has left. Finish the run and let them review the PR when they return.

  1. Write .holy-grail/<slug>/report.md in two clearly separated sections. Objective signals: test output, second-opinion (codex or red-team) PASS/FAIL, QA health, the real north-star metric before/after. Self-assessed (panel) scores: the 0 to 10 dimension scores, labeled as the model's own assessment, not an external grade. Plus: the feature improvements built this run, a ranked list of the larger feature and strategy ideas parked for the user's greenlight (next run), the forks auto-decided, the run ledger (phases, subagents, rounds, codex passes), and any remaining gaps.
  2. Persist .holy-grail/<slug>/state.md and append the predicted-vs-actual delta to outcomes.md (see references/run-state.md).
  3. For code: Skill(superpowers:finishing-a-development-branch), then commit, push the branch, and open a PR with the report. Never auto-merge, never auto-deploy. For non-code: write the artifact and the report.
  4. Notify the user via the Telegram reply tool with a one-line summary + the PR link, then exit cleanly. No AskUserQuestion.
  5. Proof split. In-run proof is local or preview only: a screenshot of the dev/preview build. Production proof (the live deployed surface) happens after the human merges and the deploy completes, so it is async and out of this run; for mobile it may be impossible in-loop. The report states which kind of proof was achieved, and never claims production-verified before a merge.

Phase 7 - Self-Learning Retro

Dispatch a retro subagent that reads findings.md and the brief, then:

  • Compares the predicted improvement to the actual delta. Writes the gap as a lesson in the form "Next time, do X, because Y (evidence: this run)." Vague lessons are discarded.
  • Tallies, per target type, which reviewers produced real fixes versus noise. Updates the Finding ledger so future runs of this target type keep the high-signal reviewers and drop the rest.
  • Notes any new expert persona that proved useful (it is already in the roster from Phase 1).
  • Routes each lesson by asking "does this generalize beyond this project?" Universal lessons (generalizable process or technique) merge-before-append into the universal playbook references/playbook.md; project-specific lessons (tied to this repo's stack, conventions, or quirks) go to the target repo's .holy-grail/project.md. Never put a project-specific lesson in the universal playbook. For a universal lesson that has now recurred 3 or more times, or is structural, promote it into the "Learned additions" section below and log it in the playbook Changelog. Never touch the Core Invariants. Decay stale low-confidence lessons.
  • If ruflo is present, also mcp__ruflo__memory_store (project namespace, and global if it generalizes) and update the auto-memory index.

Autonomy (fire-and-forget)

The only interactive prompt is the one up-front focus question (Phase 0 step 5), and it is skippable when the user already named the focus in the command. After that, NO prompting: no mid-run questions, no blocking approval gate. The user runs it and leaves.

  • Override the intermediate approval gates inside brainstorming and writing-plans.
  • Auto-decide mechanical and taste forks via the 6 principles in references/auto-decisions.md, logging each in state.md.
  • Auto-build feature improvements that clear the value-vs-effort bar and are reversible (see auto-decisions section 4 for the single build-vs-park definition).
  • A user-challenge fork (new product direction, real spend, pricing or positioning, legal or compliance, irreversible) is NOT built: pick the safe default, log it, and surface it in the Phase 6 report for the user's call. It never blocks the run.
  • Persist .holy-grail/<slug>/state.md at the end of every phase so the run is resumable and killable (see references/run-state.md).
  • The run ends at a PR (Phase 6). The human merges asynchronously. Never auto-merge or auto-deploy.

Red flags (rationalizations that mean stop)

ThoughtReality
"Skip the brief, I know what to build"The brief is the leverage. Write it. A bad brief wastes the whole run.
"Just polish what is there"An upgrade leads with new capability. Ask what features would make this 10x more valuable first, build the high-value ones, then polish. Design is support, not the headline.
"Skip the second opinion, it looks fine"An independent reviewer reliably finds defects single-pass work misses. Always run it.
"One review round is enough"Re-check after every change. The bar is every dimension at 9, not "good enough".
"I do not need the playbook"Reading it is the entire self-learning loop. Load it and say what you are applying.
"It is just a small change, run everything"Right-size. Full ceremony on a typo is rushing in disguise, wasting the run.
"Tests pass, it is done"Done is verified on the live surface with before/after evidence.

Reference files (read when)

  • references/auto-decisions.md - at Phase 0 for ingestion, routing, intensity, capability map; mid-run for the 6 principles and the quality bars.
  • references/expert-panel.md - at Phase 1 to instantiate the panel, at Phases 2 and 4 to dispatch it.
  • references/playbook.md - at Phase 0 to load lessons (trigger-driven), at Phase 7 to merge or append them.
  • references/run-state.md - the state.md and outcomes schema and the finish protocol; at Phase 0 to resume, at the end of each phase to persist, at Phase 6 to finish.
  • references/fallbacks.md - only for steps where capabilities.json shows the native skill is absent.

Learned additions

Promoted lessons append here over time (Phase 7). They refine the pipeline above. They never override the Core Invariants.

(none yet)

What ships with it: 6 files

52.7 KB alongside SKILL.md

tests/

Keep looking

Skills are one crate of 326,367. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.