复制安装命令
用 Codex 或 Claude 安装复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它先审查 Skill 页面再帮你安装。
复制前请先查看来源、License 和安全提示。
Loop engineering for Codex, Claude Code, and Google Antigravity.
用 Codex 或 Claude 安装复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它先审查 Skill 页面再帮你安装。
复制前请先查看来源、License 和安全提示。
来源文件:README.md
Loop engineering for Codex, Claude Code, and Google Antigravity. Type loopy <task> — an agent does the work, proves each piece with real evidence, and only then says it's done.
English · 한국어 · 中文(简体) · 日本語 · Español

the crew — optional subagents, one job each
After installing, type your task in Codex, Claude Code, or Antigravity with a leading loopy:
loopy add the payments module
The agent plans it, proves each piece with a real file, and reports back — you don't run any commands yourself. The packaged Stop hook stays quiet unless SUPERLOOPY_STOP_HOOK=on. Set SUPERLOOPY_CALQUE_NUDGE=on to get an advisory note at your next prompt when the previous Korean reply carried an English calque such as 조용히 실패 or 우아하게 종료.
Superloopy is for Codex, Claude Code, and Antigravity work where "done" needs to mean more than a confident status sentence.
.superloopy/evidence/.Guarantee scope. Command-backed criteria are the strong guarantee: at completion Superloopy re-runs each command in-process and requires it to reproduce, so a stale or fabricated pass cannot reach "done". Manual (commandless) criteria are verified as a non-empty evidence artifact plus auditor/human judgment — their correctness rests on review, not the deterministic re-run.
Superloopy keeps the command layer small. Skills carry the specialist workflow: when to use it, what the agent should inspect, and what proof must be left under .superloopy/evidence/.
| Skill | Use it when | What it produces |
|---|---|---|
superloopy-loop | You type loopy <task> or loopy team <task> for a full loop; use loopywork, lpy, or $lpy for guidance-only context. | Full loops produce direct, concise, complete progress and final responses alongside a lightweight plan, proof, quality gate, and final evidence report. Exact English/Korean controls affect only the current incomplete loop; new loops reset enabled. Guidance aliases do not mutate state. |
superloopy-doctor | You diagnose install, wrapper, plugin cache, hook/bootstrap, agent, Codex/Claude Code host wiring, or stale-version problems. | A read-only health report with wrapper/cache/version evidence, failing checks, and the exact repair command to run only if approved. |
superloopy-research | You explicitly invoke Codex $superloopy:superloopy-research or Claude Code /superloopy:superloopy-research, or start the research task with a leading loopy/루피 (such as loopy research). Plain research, investigate, or summarize requests do not activate it. | Research axes, expansion waves, a verdict on every retrieval, graded and dated sources, a priced claim ledger, verification notes, and a cited synthesis artifact. |
superloopy-clone | You ask for loopy clone, authorized website cloning, rebuilding, migration, or pixel-focused page recovery. | Browser captures, page topology, design tokens, asset inventory, implementation notes, build output, and visual QA evidence. |
superloopy-frontend | You explicitly invoke Codex $superloopy:superloopy-frontend or Claude Code /superloopy:superloopy-frontend for supported screen-based application UI across browser-hosted Web (public, authenticated, private/internal, installed PWA, or extension), interactive deployed content-led Web (campaign, publication, or landing experiences with a user journey), desktop, mobile/tablet, embedded/hybrid clients, custom-rendered UI, Qt, or mixed targets, or start that work with a leading loopy/루피. Plain UI, platform, or framework terms do not activate it; TV, wearable, XR, automotive, game UI, TUI, static media/document artifacts, and non-UI work stay excluded. | One shared UX contract plus platform/composition routes. Evidence is proportional to changed claims and independently covers each browser, native target/shell, renderer, and mixed target. Standalone runs retain run-scoped receipts; active loops bind them to the goal and criterion. |
humanize-korean | Use when Korean users ask to remove AI tone, fix 번역투, or make Korean text sound human without changing facts. | Owns Korean naturalness, including semantic review of misplaced modifiers and the P-family calque rules (조용히 실패, 우아하게 종료, 단일 진실 공급원). It writes final.md, summary.md, and audit.json; in Superloopy loops it records evidence under .superloopy/evidence/humanize-korean/. |
i-have-adhd | You explicitly invoke Codex $superloopy:i-have-adhd or Claude Code /superloopy:i-have-adhd, or a leading loopy/루피 brief directly asks for ADHD-friendly, action-first, one-step, or easy-to-scan output. Writing style alone never activates it. | Shapes progress updates so the next action stays visible. It does not create a Superloopy evidence artifact or weaken planning, safety, validation, or completion gates. |
say-it-straight | Explicit Codex $superloopy:say-it-straight or Claude /superloopy:say-it-straight for direct, concise, natural prose and supplied task artifacts; never activates from writing style alone. Full Loopy progress/final output is direct by default, with exact English/Korean controls limited to the current incomplete loop. | Explicit artifact editing preserves facts, register, protected text, and required detail; file-backed edits use the audit. ADHD owns structure and Korean rewriting remains with humanize-korean. |
superloopy-slides | You ask for slides, a presentation, a deck, or a PPT/PPTX-to-web conversion. | A zero-dependency single-file HTML deck on a fixed 16:9 stage, three style previews to pick from, and a rendered-screenshot visual-QA artifact under .superloopy/evidence/slides/. |
Automatic reassurance-copy gate. Every full Loopy start or resume carries this conditional gate. It activates only when an affected artifact creates or changes user-visible Korean product-behavior copy, then adds RC-1 through RC-4 and humanize-korean naturalness review to the plan criterion. Internal logs and diagnostics, developer documentation and comments, test narration, quotations, general or marketing prose, and non-Korean copy are excluded. The gate uses supplied behavior and records a blocker or question when facts are missing instead of inventing an outcome; it has no standalone skill or invocation name.
The loop skill is the default guardrail. A complete leading loopy token starts or resumes the evidence loop; loopy team escalates to crew mode. Leading loopywork, lpy, and $lpy tokens only inject starter guidance. Structured SUPERLOOPY_STEER directives can adjust an active loop. Full-loop direct output never silently rewrites supplied prose or task artifacts: direct editing remains explicit-only. The prompt hook does not infer frontend or Korean-writing modes from ordinary text; invoke specialist skills explicitly or let an already-active loop route a real specialist subtask.
superloopy-clone reproduced Transferloom.com locally and passed desktop/mobile browser validation. The reference run preserved the sticky nav, animated hero, app preview sections, comparison table, security panel, sister app banner, footer, local assets, and Superloopy evidence trail.
superloopy-slides generated this live multilingual deck → — a zero-dependency single-file HTML presentation on a fixed 16:9 stage in English · 한국어 · 中文 · 日本語 · Español. It passed real-browser visual-QA (standalone, phone letterbox, and iframe embed) recorded under .superloopy/evidence/slides/.
The live writing-comparison viewer → puts one source document next to its humanize-korean (A), i-have-adhd (B), and say-it-straight (C) rewrites across fourteen Korean and English samples, plus eight benchmark fixtures with each skill's measured output and a benchmark page with the cost and latency numbers. Every Say It Straight edit carries a rationale note, and any comparison is shareable by URL.
The Northstar Qt Kanban demo is a runnable Qt Quick prototype acceptance fixture built through the superloopy-frontend Qt route, not production-editor proof. Board, search, filters, cards, drawers, and task creation are exercised; Timeline and Inbox are visibly passive demo-only context, Settings and Help are absent, and persistence and Undo remain out of scope. With Qt 6.11.1, CMake, and Ninja available, configure, build, and launch it from the repository root:
qt-cmake -S examples/qt-kanban -B build/qt-kanban -G Ninja -DCMAKE_BUILD_TYPE=Release
cmake --build build/qt-kanban --parallel
build/qt-kanban/src/app/qtkanban --window-size 1600x1000
# macOS: verify the exported native accessibility contract
examples/qt-kanban/scripts/audit-macos-accessibility.sh \
build/qt-kanban/src/app/qtkanban
For bigger work, Superloopy ships six optional subagents — each owns one lane. Claude Code uses the plugin-bundled agents/*.md. On Codex, bootstrap, superloopy install, and superloopy agents install materialize personal TOMLs under $CODEX_HOME/agents; model routing is resolved during that installation step.
Codex calls the stable model/list method only when resolution state is missing, the policy version or target changed, the cache is at least 24 hours old, or --refresh-models is supplied. When fresh state still matches the managed files, it reuses the exact manifest without a query or state rewrite. Profiles select the first supported complete model/effort/tier tuple: gpt-5.6-terra / high / priority for standard, gpt-5.6-sol / xhigh / priority for deep, and gpt-5.6-luna / low / fast for fast. If a preferred model is unavailable, that profile uses its explicit gpt-5.5 compatibility tuple. gpt-6-astra is allowed for the orchestrator (your own Codex session) when you select it in Codex; crew lanes keep their pins and never inherit the orchestrator's model. An unknown first probe conservatively selects policy compatibility; an unknown refresh preserves a valid existing resolution. --compat makes the compatibility choice deterministically without querying.
Upgrades from pre-managed Superloopy releases are hash-bound: a complete exact legacy fleet is adopted and upgraded without --force, while one edit, symlink, missing file, or unknown hash keeps the whole fleet in conflict. Changed agent definitions require a Codex restart; an unchanged fresh manifest does not. superloopy doctor --refresh-models can report preferred availability before managed state exists, detects a wrapper/plugin split-brain, and never rewrites resolution state or agent files.
Resolution finishes before launch, with no post-launch retry or model switch. The TOML pins configure routing, but a host that does not expose agent_type plus resolved-model attestation remains model_unverified; Superloopy never presents that as a proven GPT-5.6 runtime gate. The policy details are in docs/superloopy-model-policy.md (Codex) and docs/superloopy-model-policy-claude.md (Claude Code).
Installed-plugin truth. installedPluginTruth runs the read-only codex plugin list --json authority probe. A confirmed superloopy@beefiker version mismatch is informational in source scope, but fails installed scope. Missing Codex, no registered plugin, and invalid authority output stay informational and do not fail doctor. Never infer the installed version from cache directory names or repair without approval.
![]() franky builds it | ![]() zoro reviews it | ![]() usopp tests it |
![]() jinbe gates it | ![]() robin audits it | ![]() nami finds it |
Summon the crew with loopy team <task> — or loopy crew, the one-word loopycrew, or just ultrawork <task>. Superloopy fans the work out across the lanes in parallel and still proves every piece before it calls it done. A plain loopy <task> stays solo and only delegates when the slices are clearly independent.
For full crew runs, the parent records each lane with superloopy loop handoff, checks superloopy loop fleet --json, and keeps the human final gate report separate from the machine gate JSON. A gate report can be Markdown evidence; superloopy loop finish --artifact is for .json quality gate output.
When a tracked crew handoff finishes, Superloopy can print one original crew line before the normal handoff or fleet status. It follows the user's language from the assignment or scoped brief when it matches the supported catalog, with English as the safe fallback. The line is personality only; the verdict, evidence artifact, outstanding list, and attention list stay authoritative.
Superloopy sits well next to the Superpowers plugin. They handle different halves of the same job, so you don't have to choose one.
When Superpowers is installed (on Codex or Claude Code), Superloopy notices and steers its own guidance to match. It leaves design, planning, and TDD to Superpowers and keeps itself as the outer evidence gate. Detection is best-effort and only shapes advice; it never weakens a gate. Set SUPERLOOPY_SUPERPOWERS=off to opt out or on to force it, and run superloopy doctor to see what was found. More in docs/superloopy-interop-superpowers.md.
loopy team and the Superpowers subagent flow on the same slices at once.SUPERLOOPY_SUPERPOWERS=on|off.Superloopy installs on both Codex and Claude Code from one repo. The core (loop state, evidence gates, doctor) is host-agnostic; each host gets its own thin plugin manifest, hook wiring, and agent format.
For agent-driven installs such as install https://github.com/beefiker/superloopy, use installation.md. It is written as a host-selection and verification checklist for Codex and Claude Code agents.
Needs Node.js ≥ 22 and Codex CLI ≥ 0.131.0 for codex plugin add. Superloopy is dependency-free — zero runtime dependencies, just Node.
codex plugin marketplace add https://github.com/beefiker/superloopy
codex plugin add superloopy@beefiker
Restart Codex after installing the plugin. If Codex asks you to review hooks, approve them; the next approved session runs a SessionStart hook that does a one-time bootstrap — it installs the superloopy command and the agents. If superloopy isn't found, its folder isn't on your PATH; the bootstrap prints the exact line to add. Check everything with superloopy doctor.
Installing from a checkout instead? Run node src/cli.js install --json.
Needs Node.js ≥ 22. From the same repo:
/plugin marketplace add beefiker/superloopy
/plugin install superloopy@beefiker
Reload plugins (or restart Claude Code) and approve the hooks when prompted. On Claude Code the skills, subagents (agents/*.md), and hooks (hooks/hooks.json) are plugin-bundled — there is no ~/.codex install step and no superloopy wrapper; the hooks invoke the CLI directly via ${CLAUDE_PLUGIN_ROOT}, and SessionStart is a clean no-op (nothing to bootstrap). For local development, point Claude Code at a checkout with claude --plugin-dir <checkout>. Verify with node "${CLAUDE_PLUGIN_ROOT}/src/cli.js" doctor --json. The subagents' advisory model defaults for Claude are documented in docs/superloopy-model-policy-claude.md.
If you installed from the Codex marketplace, refresh the marketplace snapshot:
codex plugin marketplace upgrade beefiker
Superloopy checks for updates on SessionStart. Marketplace installs are Codex-managed, so Superloopy never starts an npx self-update for them; when a newer version is detected, it tells you to run the marketplace upgrade and re-approve modified hooks.
Restart Codex after the upgrade. If hooks show up as Modified, approve them; the following approved SessionStart automatically reconciles the generated wrapper, all six agents, and model-routing state from the new plugin version. No Superloopy migration command is required. If definitions changed, follow only the Codex restart notice so the host reloads them.
If a confirmed installedPluginTruth version mismatch still looks stale or degraded after that, approve a repair reinstall from the refreshed marketplace:
codex plugin add superloopy@beefiker --json
Then start a new Codex session.
If you installed from a checkout, update the checkout and rerun the installer:
git pull --ff-only
node src/cli.js install --json
superloopy doctor
Checkout installs are not npx-managed. npx self-update is reserved for a future installer that writes a superloopy-install.json snapshot into a stable install root.
Refresh the marketplace, update the installed plugin, then reload — no restart needed:
/plugin marketplace update beefiker
/plugin update superloopy@beefiker
/reload-plugins
/plugin update resolves the new version from the refreshed marketplace, and /reload-plugins applies it in the current session (no Claude Code restart, and hooks do not need re-approval). Verify with node "${CLAUDE_PLUGIN_ROOT}/src/cli.js" doctor --json. If you loaded a checkout with --plugin-dir, just git pull --ff-only and run /reload-plugins.
Pull the latest version in the plugin directory and validate:
git -C ~/.gemini/config/plugins/superloopy pull --ff-only
agy plugin validate ~/.gemini/config/plugins/superloopy
If plugin install or upgrade commands fail, update the Codex CLI first. codex plugin add is available in Codex CLI 0.131.0 and newer; older builds can have trouble with current plugin marketplace commands and hook approval flows.
After updating the CLI, restart Codex, run the marketplace install or upgrade command again, approve any Modified hooks, then check with superloopy doctor.
On Claude Code, if /plugin commands fail or the plugin looks stale, run /reload-plugins (or restart Claude Code) and verify with node "${CLAUDE_PLUGIN_ROOT}/src/cli.js" doctor --json.
Remove the installed plugin from Codex:
codex plugin remove superloopy@beefiker
If you no longer need the marketplace source, remove it too:
codex plugin marketplace remove beefiker
Restart Codex after uninstalling. Optional local bootstrap cleanup: plugin removal handles Codex's plugin config and cache, but the superloopy wrapper and copied personal agents can remain. Review before deleting them, especially if you customized any agent file.
rm -f ~/.local/bin/superloopy
rm -f ~/.codex/agents/franky.toml ~/.codex/agents/zoro.toml ~/.codex/agents/usopp.toml ~/.codex/agents/jinbe.toml ~/.codex/agents/robin.toml ~/.codex/agents/nami.toml
Remove-Item "$env:APPDATA\npm\superloopy.cmd" -ErrorAction SilentlyContinue
Remove-Item "$env:USERPROFILE\.codex\agents\franky.toml", "$env:USERPROFILE\.codex\agents\zoro.toml", "$env:USERPROFILE\.codex\agents\usopp.toml", "$env:USERPROFILE\.codex\agents\jinbe.toml", "$env:USERPROFILE\.codex\agents\robin.toml", "$env:USERPROFILE\.codex\agents\nami.toml" -ErrorAction SilentlyContinue
If you installed with CODEX_HOME, SUPERLOOPY_BIN_DIR, or CODEX_LOCAL_BIN_DIR, clean up those configured paths instead.
/plugin uninstall superloopy@beefiker
/plugin marketplace remove beefiker
Then run /reload-plugins. Nothing else to clean up — Claude Code installs are fully plugin-bundled (no superloopy wrapper, no ~/.codex writes). Removing the marketplace from its last remaining scope also uninstalls the plugin.
agy plugin disable superloopy
rm -rf ~/.gemini/config/plugins/superloopy
agy plugin disable superloopy
Remove-Item "$env:USERPROFILE\.gemini\config\plugins\superloopy" -Recurse -Force -ErrorAction SilentlyContinue
Optional wrapper cleanup: if you do not also use Superloopy on Codex, remove the command wrapper:
rm -f ~/.local/bin/superloopy
Remove-Item "$env:APPDATA\npm\superloopy.cmd" -ErrorAction SilentlyContinue
If you keep Superloopy on Codex, keep the wrapper or run superloopy install to repoint it to your Codex installation. Agents and skills on Antigravity are plugin-bundled so no agent TOMLs are placed. If you installed with SUPERLOOPY_BIN_DIR, clean up that configured path instead.
MIT licensed.
name: superloopy-slides
description: >-
Use when the user asks to create, convert, style, animate, export, share, or
deploy HTML slide decks, presentations, pitch decks, talks, or keynotes;
including zero-dependency or single-file output, PowerPoint/PPT/PPTX input,
PDF export, browser delivery, visual style exploration, or "loopy slides".
Not for general web pages or landing pages.Create zero-dependency, animation-rich HTML presentations that run entirely in the browser.
Live example — a multilingual deck built with this skill: https://fileloom-slides.pages.dev (English · 한국어 · 中文 · 日本語 · Español; single-file, embed-safe, on a fixed 16:9 stage).
This is a Superloopy skill: the deck is done only when a real-browser visual artifact proves it renders correctly — never when the HTML "looks complete" in source. Completion requires an artifact under the active evidence root via SUPERLOOPY_EVIDENCE.
Open your reply with SUPERLOOPY SLIDES ENABLED. If another active Superloopy mode mandates its own first line, print that first and this marker on the next line.
The anti-slop design rules below are this skill's own instance of the superloopy-frontend anti-slop contract, specialized for the fixed 1920×1080 slide stage. A presentation is campaign/editorial surface, so that contract's non-waivable core binds every deck: honest assets (no div-mock passed off as a product capture, no unauthorized marks, no invented metrics or testimonials), no shipped placeholder names/brands/filler copy, and a named authority for every kept default or waived check. Do not open a second superloopy-frontend pass on top of a deck — this skill owns the visual layer for presentations, including the evidence gate.
design.md only after the user picks that template.You tend to converge toward generic, "on distribution" outputs. In frontend design, this creates what users call the "AI slop" aesthetic. Avoid this: make creative, distinctive frontends that surprise and delight.
Focus on:
Avoid generic AI-generated aesthetics:
Interpret creatively and make unexpected choices that feel genuinely designed for the context. Vary between light and dark themes, different fonts, different aesthetics. You still tend to converge on common choices (Space Grotesk, for example) across generations. Avoid this: it is critical that you think outside the box!
These invariants apply to EVERY slide in EVERY presentation:
html-template.md: detect iframes (window.self !== window.top in try/catch), add .embed to <html>, scale by width only in embed mode, and set window.frameElement.style.height in a try/catch for same-origin hosts. Never position:fixed for the viewport or chrome; never rely on vh/% heights in embed mode — an auto-height iframe computes them as ~0 and locks the collapsed height in..deck-stage, after the slides, sized for the 1920×1080 canvas — chrome outside the stage does not scale in iframes and overlaps content when the deck shrinks..active / .visible using visibility, opacity, and pointer-events from viewport-base.css. Do not use display: none / display: block for slide switching; later layout classes such as .slide-content { display: flex; } can override them and make every slide visible at once.clamp() only for non-slide UI outside the stage, or for small fallback previews where a full stage is impractical.prefers-reduced-motion support-clamp(), -min(), -max() are silently ignored) — use calc(-1 * clamp(...)) insteadWhen generating, read viewport-base.css and include its full contents in every presentation.
Ask the user whether this is primarily a reading deck or a speaking deck, then design around that answer:
| Density mode | Best for | Design behavior |
|---|---|---|
| Low density / speaker-led | Public talks, keynote-style sharing, live explanation | One idea per slide, large type, strong visual hierarchy, generous negative space, 1-3 bullets max, more slides if needed |
| High density / reading-first | Reports, handouts, async review, detailed internal docs | More self-contained slides, structured grids/tables/annotations, 4-8 bullets or 4-6 cards when readable, tighter but still intentional spacing |
Baseline limits still apply: no scrolling, no overflow, no overlapping panels, and no text below comfortable reading size. If content exceeds the selected density mode, split it into more slides instead of shrinking until it becomes cramped.
Determine what the user wants:
When enhancing existing presentations, fixed-stage fitting is the biggest risk:
When adding images to existing slides: Move image to a new slide or reduce other content first. Never add images without checking if existing content already fills the 1920×1080 slide stage.
Ask ALL questions together so the user fills everything out at once. If the current environment provides a native structured-question UI, use it; otherwise ask in one concise message with clearly numbered choices:
Question 1 — Purpose (header: "Purpose"): What is this presentation for? Options: Pitch deck / Teaching-Tutorial / Conference talk / Internal presentation
Question 2 — Length (header: "Length"): Approximately how many slides? Options: Short 5-10 / Medium 10-20 / Long 20+
Question 3 — Content (header: "Content"): Do you have content ready? Options: All content ready / Rough notes / Topic only
Question 4 — Density (header: "Density"): How dense should the deck feel? Options:
Do not ask about inline editing during Phase 1. Users should not have to choose editing behavior before seeing a draft. Inline editing is a post-draft affordance: include it by default unless the user explicitly asks for a locked/export-only file.
Remember the user's density choice. It affects slide count, typography scale, amount of text per slide, layout density, and whether to favor cinematic presenter slides or self-contained reading slides.
If user has content, ask them to share it.
If user selected "No images" → skip to Phase 2.
If user provides an image folder:
image-first.md does — authorized capture, approved generated asset, or supplied reference — and never present a rebuilt mock as a real product screenshot or use marks the user is not authorized to showLogo in previews: If a usable logo was identified, embed it (base64) into each style preview in Phase 2 — the user sees their brand styled three different ways.
This is the "show, don't tell" phase. Most people can't articulate design preferences in words.
Based on purpose, audience, mood, and content density, generate 3 distinct single-slide HTML previews showing typography, colors, animation, and overall aesthetic.
Do not ask the user whether they want options or a preset picker. The default discovery experience is always visual comparison.
If the user already gave a vibe, use it. If they did not, infer the likely mood from the occasion, audience, content, and stakes. Keep the options diverse enough that the user can react visually instead of needing to articulate taste up front.
If the user explicitly names a preset or bold template, honor that as one option and generate the remaining preview slots around it.
Read STYLE_PRESETS.md for safe preset candidates. If bold-template-pack/selection-index.json exists, read that compact index too, but do not read any design.md files yet.
Brand-named direction (StyleGallery): when the user names a specific brand — directly or as a mood reference ("Stripe 느낌", "Linear처럼", "like Notion") — consult the frontend skill's brand library index at design/_INDEX.md, pick ONE matching teardown, and derive one preview slot's tokens from it — palette, type scale and weight attitude, radius, and motion tone — translated into 1920×1080 stage proportions. Inherit that library's contract: a teardown is scoped reference input, never automatic token authority; use public brand facts only, never clone a logo or trade dress, and name the teardown file in your message (and later in VISUAL_QA.md) as the provenance of that direction. Without a user-named brand or mood, do not open the gallery — the preset/bold-template mix below stays the default.
| Mood | Suggested Presets |
|---|---|
| Impressed/Confident | Bold Signal, Electric Studio, Dark Botanical |
| Excited/Energized | Creative Voltage, Neon Cyber, Split Pastel |
| Calm/Focused | Notebook Tabs, Paper & Ink, Swiss Modern |
| Inspired/Moved | Dark Botanical, Vintage Editorial, Pastel Geometry |
Preview mix rules:
STYLE_PRESETS.md, at least 1 bold template from bold-template-pack/selection-index.json, and 1 wildcard.Custom wildcard design rules:
Bold template selection rules:
mood, tone, best_for, avoid_for, formality, density, and scheme.best_for examples as soft signals, not strict industry filters.preview.md files from the preview_md paths in the selection index.preview.md only for title-slide previews. Do not read full design.md files until the user picks the final template.template.html unless the selected final design.md is missing a critical implementation detail.Preview authenticity rules (NON-NEGOTIABLE):
preview, generated from, preview.md, template, preset, style option, Option A/B/C, file names, paths, or source-doc labels.Save previews to .slides/previews/ (style-a.html, style-b.html, style-c.html). Each should be self-contained and compact, showing one animated title slide.
Open each preview automatically for the user.
Ask (header: "Style"): Which style preview do you prefer? Options: Style A: [Name] / Style B: [Name] / Style C: [Name] / Mix elements
If "Mix elements", ask for specifics.
The style choice belongs to the user — do not skip it. The three-preview comparison is the core of this skill. If the structured question times out (the harness gives up after a short wait), do NOT proceed with a default style: re-ask the question, and if it times out again, stop and wait for the user's reply in plain text. Only pick a style yourself when the user has explicitly delegated the choice ("you pick", "surprise me") or asked for a fully unattended run.
Generate the full presentation using content from Phase 1 (text, or text + curated images) and style from Phase 2.
If images were provided, the slide outline already incorporates them from Step 1.2. If not, CSS-generated visuals (gradients, shapes, patterns) provide visual interest — this is a fully supported first-class path.
Apply the user's density choice throughout the deck:
If the user's stated needs are mixed, choose the closer of the two modes instead of inventing a middle option: live audience persuasion defaults low-density; async circulation or detailed review defaults high-density.
Never let high density become visual clutter. If a high-density slide starts to overflow, split it or redesign it into a clearer structure.
If the user selected a bold template from bold-template-pack, read that one template's full design.md before generating. Do not read the other bold templates. Treat design.md as the design recipe:
deck-stage.js or viewport-fluid CSS.design.md as design proportions to translate into 1920×1080 stage coordinates. Do not keep them as live viewport reflow rules in the final deck.template.html only as a last-resort implementation reference for the selected template.scrollHeight checks alone are not enough because grid panels can visually cover each other.If the user selected a self-generated custom wildcard, treat that preview's CSS and layout as the design recipe:
Before generating, read these supporting files:
motion-core.md): animate transform/opacity/filter only, and respect prefers-reduced-motionKey requirements:
<style> block/* === SECTION NAME === */ comment blockWhen converting PowerPoint files:
Helper script paths: the packaged scripts live in THIS skill's directory, not the user's project. In every command below,
$SKILL_DIRmeans this skill's base directory (announced when the skill loads) — e.g.SKILL_DIR=~/.claude/skills/slides. Runningbash scripts/...from the project root will fail with "No such file or directory".
python "$SKILL_DIR/scripts/extract-pptx.py" <input.pptx> <output_dir> (install python-pptx if needed: pip install python-pptx)A deck that parses is not verified. Before declaring done, capture real-browser evidence under .superloopy/evidence/slides/<timestamp>-<slug>/. Create and verify that run root with the frontend skill's portable helper so path rules stay identical across skills — node "$SKILL_DIR/../superloopy-frontend/scripts/evidence-root.mjs" create <slug> slides to create it ($SKILL_DIR is this skill's base directory, announced when the skill loads, and superloopy-frontend is packaged as its sibling), and ... verify <root> <file...> to prove each artifact is a non-empty regular file confined beneath it:
width="900" height="60"), serve the directory over local HTTP (python3 -m http.server; file:// iframes are opaque-origin and skip the same-origin resize path), and screenshot it: the deck must grow the iframe to 16:9 of its width with no overlap and with chrome scaled. Delete the harness after capture or keep it in the evidence directory.scrollHeight checks alone are not enough; grid panels can visually cover each other.VISUAL_QA.md in the evidence directory listing each screenshot, what it proves, and any finding fixed. An open finding is a FAIL — fix and re-capture. Also record the non-waivable core check (assets honest, no placeholder names/brands/filler copy shipped) and, when a StyleGallery teardown informed the style, name that teardown file as provenance.superloopy loop evidence --status pass --artifact .superloopy/evidence/slides/<slug>/VISUAL_QA.md --notes "<deck, style, slide count>", and end the reply with SUPERLOOPY_EVIDENCE: <that path>.Then deliver:
.slides/previews/ if it existsopen [filename].html to launch in browser<script>, host the file (attachment URL, internal static hosting, or Vercel) and embed by URL: <iframe src="…" style="width:100%;aspect-ratio:16/9;border:0" allowfullscreen>:root CSS variables for colors, font link for typography, .reveal class for animationsAfter delivery, ask the user: "Would you like to share this presentation? I can deploy it to a live URL (works on any device including phones) or export it as a PDF."
Options:
If the user declines, stop here. If they choose one or both, proceed below.
This deploys the presentation to Vercel — a free hosting platform. The link works on any device (phones, tablets, laptops) and stays live until the user takes it down.
If the user has never deployed before, guide them step by step:
Check if Vercel CLI is installed — Run npx vercel --version. If not found, install Node.js first (brew install node on macOS, or download from https://nodejs.org).
Check if user is logged in — Run npx vercel whoami.
vercel login and follow the prompts (it opens a browser window to authorize)vercel whoamiDeploy — Run the deploy script:
bash "$SKILL_DIR/scripts/deploy.sh" <path-to-presentation>
The script accepts either a folder (with index.html) or a single HTML file.
Share the URL — Tell the user:
⚠ Deployment gotchas:
src="..." in the HTML and bundles them. But if the presentation references files via CSS background-image or unusual paths, those may be missed. Before deploying, verify: open the deployed URL and check that all images load. If any are broken, the safest fix is to put the HTML and all its assets into a single folder and deploy the folder instead of a standalone HTML file.my-deck/index.html + my-deck/logo.png), deploy the folder directly: bash "$SKILL_DIR/scripts/deploy.sh" ./my-deck/. This is more reliable than deploying a single HTML file because the entire folder contents are uploaded as-is.%20. If possible, avoid spaces in image filenames. If the user's images have spaces, the script handles it — but if images still break, renaming files to use hyphens instead of spaces is the fix.This captures each slide as a screenshot and combines them into a PDF. Perfect for email attachments, embedding in documents, or printing.
Note: Animations and interactivity are not preserved — the PDF is a static snapshot. This is normal and expected; mention it to the user so they're not surprised.
Run the export script:
bash "$SKILL_DIR/scripts/export-pdf.sh" <path-to-html> [output.pdf]
If no output path is given, the PDF is saved next to the HTML file.
What happens behind the scenes (explain briefly to the user):
If Playwright installation fails:
npx playwright install chromiumDeliver the PDF — The script auto-opens it. Tell the user:
⚠ PDF export gotchas:
class="slide". The export script finds slides by querying .slide elements. If the presentation uses a different class name, the script will report "0 slides found" and fail. All presentations generated by this skill use .slide, so this only matters for externally-created HTML.src="/Users/name/photo.png") instead of relative paths (e.g., src="photo.png"), they won't load. Generated presentations always use relative paths, but converted or user-provided decks might not — check and fix if needed.src="photo.png" resolve correctly — including filenames with spaces. If images still don't appear, check: (1) the image files actually exist at the referenced path, (2) the paths are relative, not absolute filesystem paths like /Users/name/photo.png.--compact flag:
bash "$SKILL_DIR/scripts/export-pdf.sh" <path-to-html> [output.pdf] --compact
This renders at 1280×720 instead of 1920×1080, typically cutting file size by 50-70% with minimal visual difference.| File | Purpose | When to Read |
|---|---|---|
| STYLE_PRESETS.md | 12 curated visual presets with colors, fonts, and signature elements | Phase 2 (style selection) |
| bold-template-pack/selection-index.json | Compact bold template metadata for candidate selection | Phase 2 (style selection) |
| bold-template-pack/templates/*/preview.md | Lightweight style cards for shortlisted bold title previews | Phase 2 after shortlisting |
| bold-template-pack/templates/*/design.md | Detailed design-system docs for the selected bold template only | Phase 3 after user selection |
| viewport-base.css | Mandatory fixed-stage CSS — copy into every presentation | Phase 3 (generation) |
| html-template.md | HTML structure, JS features, code quality standards | Phase 3 (generation) |
| animation-patterns.md | CSS/JS animation snippets and effect-to-feeling guide | Phase 3 (generation) |
| scripts/extract-pptx.py | Python script for PPT content extraction | Phase 4 (conversion) |
| scripts/deploy.sh | Deploy slides to Vercel for instant sharing | Phase 6 (sharing) |
| scripts/export-pdf.sh | Export slides to PDF | Phase 6 (sharing) |
Adapted from frontend-slides by Zara Zhang (MIT, see LICENSE); Superloopy evidence-spine integration added.
评论 (0)
暂无评论,成为第一个评论者吧!