[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6J4C0DF7NDEE4PFCT7DTTTD":3,"skill-same:01M6J4C0DF7NDEE4PFCT7DTTTD":70},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":15,"categories":16,"keywords":17,"publishedAt":34,"linkOnly":35,"markdownContent":36,"markdownBody":37,"frontMatter":38,"refName":46,"commitSha":47,"skillDirectory":48,"forksCount":49,"repositoryHtmlUrl":50,"repositoryHomepageUrl":51,"ownerHtmlUrl":52,"ownerBlogUrl":53,"ownerDescription":54,"updatedAt":55,"install":56,"resources":69},"01M6J4C0DF7NDEE4PFCT7DTTTD","deploy-prototype",null,"Generate a small app or tool and deploy it live to Vercel via API","MiroShark\u002Fmiroshark-aeon","MiroShark","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F304594232?v=4","01M6J466B8NNAZ4H6NNK3N3TT5","01M6J466FXNNWH622S3B9PC496",20,"MIT","https:\u002F\u002Fgithub.com\u002FMiroShark\u002Fmiroshark-aeon\u002Fblob\u002Fmain\u002Fskills\u002Fdeploy-prototype\u002FSKILL.md",[],[18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33],"deploy prototype","prototype","deploy","app","vercel","tool","dev","gh","api","via","generate","build","token","live","it","global","2026-11-10 10:12:30",false,"---\nname: deploy-prototype\ndescription: Generate a small app or tool and deploy it live to Vercel via API\nmetadata:\n  title: Deploy Prototype\n  category: dev\n  var: \"\"\n  tags:\n    - dev\n    - build\n  requires:\n    - VERCEL_TOKEN?\n    - GH_GLOBAL?\n---\n\u003C!-- autoresearch: variation B — sharper output via prototype quality bar + self-check + signal-anchored record -->\n\n> **${var}** — What to build and deploy.\n> - Empty → auto-select from recent signals (articles, logs, memory topics).\n> - Plain text (e.g. `market heatmap`) → interpret as a build brief.\n> - Typed form `type:slug description` (e.g. `tool:market-heatmap volume heatmap of top-20 tokens`, `viz:tx-graph`, `api:summarize`, `landing:startup-idea`) → use `type` to bias shape and `slug` as the deployment name.\n\nToday is ${today}. Your task is to ship a small, self-contained prototype that someone could actually use in the browser today.\n\n## Steps\n\n1. **Read context.** Read `memory\u002FMEMORY.md` and the most recent entries in `memory\u002Flogs\u002F` for active topics.\n   If running as part of a chain, scan injected upstream outputs for a concrete artifact worth making interactive.\n\n2. **Pick what to build (if `${var}` is empty or vague).**\n\n   Scan these sources, in order, for prototype-worthy signals:\n   - `output\u002Farticles\u002F` — last 7 entries by mtime: any claim, finding, or dataset that would be more useful as an interactive page?\n   - `memory\u002Ftopics\u002F*.md` — running narratives; pick one with a live data source (prices, feeds, markets)\n   - `memory\u002Flogs\u002F${today}.md` and the two prior days — skill outputs flagged as interesting\n   - `memory\u002FMEMORY.md` → \"Next Priorities\" and \"Recent Articles\"\n\n   Score each candidate 1-5 on:\n   - **Leverage** — does an interactive version beat the static write-up?\n   - **Concreteness** — is the spec obvious in one sentence? (if no, reject)\n   - **Novelty** — haven't shipped this in the last 14 days (check `output\u002Farticles\u002Fprototype-*.md` by mtime and any `memory\u002Ftopics\u002Fprototypes.md`)\n\n   Pick the highest-total candidate. If no candidate reaches 9\u002F15, skip building and exit as `DEPLOY_PROTOTYPE_EMPTY` (step 9).\n\n   Record the chosen signal — its source file(s) and one-line rationale — you'll use it in steps 6 and 7.\n\n3. **Commit to a shape before writing code.** Before touching `.pending-deploy\u002F`, write out (in your reasoning, not a file):\n   - **Slug**: `aeon-prototype-\u003Cdescriptor>`, all lowercase, `[a-z0-9-]`, 3–50 chars after prefix (e.g. `aeon-prototype-market-heatmap`). If `${var}` supplied a typed slug, use it; otherwise derive one.\n   - **Tagline** (≤90 chars) — the one-liner that appears in the page title and OG tags.\n   - **Primary action** — what is the one thing a visitor does in the first 10 seconds? (read a number, click a filter, submit an input, compare two things). If you can't name it, go back to step 2.\n   - **Shape**: static HTML+JS \u002F static + `api\u002F` function \u002F Next.js. Default to static single-file HTML unless the idea genuinely needs a serverless function.\n\n4. **Write the files.** Clear stale state from prior runs, then create the dir, each as its own Bash call (see **Shell shape** in the Network note; `rm` is not an allowed command, so the clear goes through `node`):\n   ```bash\n   node -e \"require('fs').rmSync('.pending-deploy',{recursive:true,force:true})\"\n   ```\n   ```bash\n   mkdir -p .pending-deploy\u002Ffiles\n   ```\n   Write all project files into `.pending-deploy\u002Ffiles\u002F`. This directory is the repo root — everything here is pushed to GitHub and deployed to Vercel.\n\n   **Quality bar — every prototype must meet these:**\n   - **Self-contained** — no external build step where avoidable. Prefer one `index.html` with inline `\u003Cstyle>` and `\u003Cscript>`; fall back to a `main.css` \u002F `main.js` only when size justifies it.\n   - **Loads in \u003C1s on a cold visit.** No jQuery, no CDN UI libraries for a single-page tool. Vanilla JS or a ~10KB util max. No `\u003Clink rel=\"stylesheet\">` to a CDN font unless it's one font.\n   - **Mobile-first, works on a phone.** Viewport meta set, tap targets ≥40px, no horizontal scroll at 360px wide.\n   - **Share-friendly.** Include `\u003Ctitle>`, `\u003Cmeta name=\"description\">`, `\u003Cmeta property=\"og:title\">`, `\u003Cmeta property=\"og:description\">`, `\u003Cmeta property=\"og:type\" content=\"website\">`. Skip OG image unless you generate one.\n   - **Real content, not lorem.** If the prototype shows data, fetch it from a public no-auth endpoint at load time (CoinGecko, GitHub public API, public RSS, public JSON feeds) — or hardcode a recent, realistic snapshot with the timestamp visible. Never ship placeholder `[example data]`.\n   - **One visible CTA or primary surface.** Clear hierarchy: what does the visitor look at first?\n   - **Works with JS disabled to at least show the tagline** (progressive enhancement — not required for interactive tools, but the title and description must render server-free).\n   - **Light + dark via `prefers-color-scheme`** — 4 CSS vars is enough.\n   - **No secrets.** No API keys, tokens, or env vars embedded anywhere. If the idea requires auth, redesign around a public endpoint or drop the idea.\n   - **Include a `README.md`** in `.pending-deploy\u002Ffiles\u002F` with: what it is (1 line), how to run locally (1 line), signal source (1 line link to the article\u002Flog\u002Ftopic from step 2).\n\n   For **API endpoints**: place handlers in `api\u002F` (e.g. `api\u002Findex.js` exporting `export default function handler(req, res) { ... }`).\n   For **Next.js**: keep it one page — `package.json` + `pages\u002Findex.js`. Only if the idea genuinely needs SSR.\n\n5. **Write deploy metadata.** Create `.pending-deploy\u002Fmeta.json`:\n   ```json\n   {\n     \"name\": \"aeon-prototype-\u003Cslug-from-step-3>\",\n     \"description\": \"One-sentence description, matches the OG description on the page\",\n     \"framework\": null,\n     \"tagline\": \"≤90 chars — matches \u003Ctitle> on the page\",\n     \"signal_source\": \"path or URL of the article\u002Flog\u002Ftopic that triggered this prototype\",\n     \"primary_action\": \"what the visitor does in the first 10 seconds\"\n   }\n   ```\n   - `framework`: `null` for static; `\"nextjs\"`, `\"svelte\"`, etc. when used.\n   - The extra fields (`tagline`, `signal_source`, `primary_action`) are for the prototype record and downstream dashboards; the deploy step may ignore them.\n\n6. **Build the Vercel deploy payload.** Write `.pending-deploy\u002Fpayload.json`:\n   ```json\n   {\n     \"name\": \"aeon-prototype-\u003Cslug>\",\n     \"files\": [\n       { \"file\": \"index.html\", \"data\": \"\u003C!DOCTYPE html>...\", \"encoding\": \"utf-8\" }\n     ],\n     \"projectSettings\": {\n       \"framework\": null,\n       \"buildCommand\": null,\n       \"outputDirectory\": null\n     },\n     \"target\": \"production\"\n   }\n   ```\n   Use `\"encoding\": \"base64\"` for any binary file.\n\n   **Pre-flight checks** (run before writing the notify):\n   - File count ≤ 20. Reject if above.\n   - Total payload JSON ≤ 4MB. Reject if above (Vercel inline deploy practical limit).\n   - Slug matches `^aeon-prototype-[a-z0-9][a-z0-9-]{2,49}$`.\n   - Grep every file for: `VERCEL_TOKEN`, `GH_GLOBAL`, `ANTHROPIC_API_KEY`, `sk-ant-`, `sk-`, `ghp_`, `xoxb-`, `xai-`. Any hit → abort and rewrite the offending file without the value.\n   - Grep every file for literal `TODO`, `FIXME`, `lorem ipsum`, `placeholder`. Any hit → fix in place before proceeding.\n   - If `VERCEL_TOKEN` is unset, the build still completes but the live deploy in step 8 is skipped (you'll exit `DEPLOY_PROTOTYPE_NO_TOKEN` there) — the pre-flight itself doesn't fail on a missing token.\n\n7. **Save the prototype record.** Write to `output\u002Farticles\u002Fprototype-${today}.md`. If a file with that name already exists (second run in the same day), append `-02`, `-03`, etc.\n   ```markdown\n   # Prototype: \u003CName>\n\n   **Built:** ${today}\n   **Tagline:** \u003Ctagline from meta.json>\n   **Status:** Pending deploy\n   **Live URL:** _(filled in-run in step 8 once the Vercel deploy returns its URL)_\n\n   ## Signal\n   What triggered this: one paragraph. Link the source article\u002Flog\u002Ftopic (`signal_source` from meta.json).\n\n   ## What it does\n   One paragraph, plain language. Include the primary action a visitor takes.\n\n   ## How it works\n   Brief technical notes - stack, data source, anything non-obvious. No code dumps.\n\n   ## Files\n   - `index.html` - brief description\n   - …\n\n   ## Extend\n   Three bullets on what would make this a real product (not placeholder - concrete next steps).\n   ```\n\n   Append a one-line row to `memory\u002Ftopics\u002Fprototypes.md` (create the file with a header row if missing):\n   ```\n   | date | slug | tagline | signal_source | live_url |\n   |------|------|---------|---------------|----------|\n   | 2026-04-20 | aeon-prototype-foo | ... | output\u002Farticles\u002F... | _pending_ |\n   ```\n\n8. **Deploy live (in-run).** The deploy is the skill's irreversible action, so it runs **in-run** as the final step — behind the step-6 pre-flight — not deferred to any post-run script.\n\n   If `VERCEL_TOKEN` is unset → skip the deploy, leave `.pending-deploy\u002F` in place, and exit `DEPLOY_PROTOTYPE_NO_TOKEN` (step 10). The build still succeeded; the operator just needs to add the token and re-run.\n\n   Otherwise POST the inline deployment built in step 6. Write the key as the literal `{VERCEL_TOKEN}` placeholder so `.\u002Fsecretcurl` substitutes it internally — a bare `$VERCEL_TOKEN` on the command line is refused by the Bash permission layer, and plain `curl` must not carry the token:\n   One call; it prints `http=\u003Ccode> bytes=\u003Cn>`:\n   ```bash\n   .\u002Fsecretcurl -sS -o .pending-deploy\u002Fdeploy-resp.json -w 'http=%{http_code} bytes=%{size_download}\\n' \\\n     -X POST \"https:\u002F\u002Fapi.vercel.com\u002Fv13\u002Fdeployments\" \\\n     -H \"Authorization: Bearer {VERCEL_TOKEN}\" \\\n     -H \"Content-Type: application\u002Fjson\" \\\n     --data @.pending-deploy\u002Fpayload.json\n   ```\n   - **`http` 200\u002F201:** read the deployment host from the response (`.url` in `deploy-resp.json`) and form the live URL `https:\u002F\u002F\u003Curl>`. Backfill it into the step-7 record (`**Status:** Live`, `**Live URL:** https:\u002F\u002F…`) and the `memory\u002Ftopics\u002Fprototypes.md` row (replace `_pending_`). Exit `DEPLOY_PROTOTYPE_OK` (step 10).\n   - **Any non-2xx \u002F `--max-time` timeout \u002F 200 with empty body:** print the real reason (`http=\u003Ccode>` \u002F `timeout` \u002F `empty`), keep `.pending-deploy\u002F` for a retry, and exit `DEPLOY_PROTOTYPE_DEPLOY_FAILED` (step 10). Never mark the record Live on a failed deploy.\n\n   **Optional source mirror (best-effort, non-fatal).** If `GH_GLOBAL` is set, also publish the source to GitHub. `gh` already authenticates as `GH_GLOBAL` in-run (it's the ambient `GH_TOKEN`), so no secret goes on the command line. Check whether it is set: read the \"Keys set for this run\" line in your run notes, never a shell test (those are refused and cost a turn). If `GH_GLOBAL` is not on that line, skip the mirror. Otherwise run these in order, each as its own call:\n   ```bash\n   git -C .pending-deploy\u002Ffiles init -q\n   ```\n   ```bash\n   git -C .pending-deploy\u002Ffiles add -A\n   ```\n   ```bash\n   git -C .pending-deploy\u002Ffiles -c user.name=aeon -c user.email=aeon@users.noreply.github.com commit -qm \"prototype: \u003Cslug>\"\n   ```\n   ```bash\n   gh repo create \u003Cslug> --public --source=.pending-deploy\u002Ffiles --push\n   ```\n   If any of them fails, stop the mirror there and run `echo \"::notice::source mirror skipped (non-fatal)\"`. A mirror failure never fails the run - the live Vercel URL is the deliverable.\n\n9. **Notify.** Send via `.\u002Fnotify` (one of these, depending on outcome):\n   - Deployed: `shipped: \u003Cslug> — \u003Ctagline>. live: \u003Curl>`\n   - Built, token missing: `built: \u003Cslug> — \u003Ctagline>. ⚠ VERCEL_TOKEN unset — not deployed. add it and re-run.`\n   - Deploy failed: `built: \u003Cslug> — \u003Ctagline>. ✗ vercel deploy failed (\u003Creason>) — .pending-deploy kept for retry.`\n   - No signal worth shipping: handled in step 10.\n\n10. **Exit modes.** End the run with one of these, logged in `memory\u002Flogs\u002F${today}.md` under `### deploy-prototype`:\n    - `DEPLOY_PROTOTYPE_OK` — prototype built, validated, and deployed live.\n    - `DEPLOY_PROTOTYPE_NO_TOKEN` — built and valid, but `VERCEL_TOKEN` unset; deploy skipped, operator action needed.\n    - `DEPLOY_PROTOTYPE_DEPLOY_FAILED` — built and valid, but the Vercel API call failed; `.pending-deploy\u002F` kept for retry.\n    - `DEPLOY_PROTOTYPE_EMPTY` — no candidate cleared the quality threshold in step 2. Log the top candidate and its score so the next run can reconsider. `.\u002Fnotify \"deploy-prototype: no candidate cleared threshold today — top was \u003Cslug> (\u003Cscore>\u002F15)\"`.\n    - `DEPLOY_PROTOTYPE_VALIDATION_FAILED` — a pre-flight check in step 6 failed and couldn't be fixed automatically. Leave `.pending-deploy\u002F` in place, log the failure reason, notify the operator.\n\n11. **Log.** Append to `memory\u002Flogs\u002F${today}.md`:\n    ```\n    ### deploy-prototype\n    - Exit: DEPLOY_PROTOTYPE_\u003CMODE>\n    - Slug: aeon-prototype-\u003Cslug> (or - if empty)\n    - Live URL: \u003Curl or ->\n    - Signal: \u003Csignal_source>\n    - Notes: \u003Canything the next run should know>\n    ```\n\n## Environment Variables\n\n- `VERCEL_TOKEN` — the live Vercel deploy in step 8. Used **in-run** via `.\u002Fsecretcurl` (the `{VERCEL_TOKEN}` placeholder). Without it, the build succeeds but the deploy is skipped (`DEPLOY_PROTOTYPE_NO_TOKEN`).\n- `GH_GLOBAL` — the optional GitHub source mirror in step 8. Used ambiently by `gh` (it's the run's `GH_TOKEN`); a missing token just skips the mirror.\n\nBoth are declared optional (`?`) so the skill degrades gracefully: no `VERCEL_TOKEN` → build-only; no `GH_GLOBAL` → deploy without the source mirror. Never read the token values directly and never embed them in any deployed file (step 6 greps for them).\n\n## Guidelines\n\n- A prototype is not a PoC. It's a page someone with zero context can load, understand in 10 seconds, and get value from. Hold that bar.\n- Single `index.html` is almost always the right answer. Resist the urge to add tooling.\n- Max ~5 files (enforced at 20 in pre-flight).\n- Descriptive slugs. `aeon-prototype-market-heatmap`, not `aeon-prototype-1`.\n- Never hardcode secrets. If a public-auth endpoint isn't enough for the idea, drop the idea.\n- The Vercel deploy (and the optional GitHub source mirror) happen **in-run** in step 8 via `.\u002Fsecretcurl` \u002F `gh` — an irreversible side-effect run as the skill's final, fail-closed action. Build the files, metadata, and payload correctly in steps 4–6 so that final call goes clean.\n\n## Network note\n\nSteps 1–7 are local — file writes and notify only. Step 8's deploy is the one outbound side-effect and it runs **in-run**: the Vercel deployment via `.\u002Fsecretcurl` with the `{VERCEL_TOKEN}` placeholder (a bare `$VERCEL_TOKEN` on the command line is refused by the Bash permission layer, so never use plain `curl` for it), and the optional GitHub mirror via `gh` (authenticated ambiently as `GH_GLOBAL`). There is no deferred\u002Fpostprocess step — the deploy is the skill's final, fail-closed action: on any non-2xx it exits `DEPLOY_PROTOTYPE_DEPLOY_FAILED` and keeps `.pending-deploy\u002F` for a retry.\n\n**Shell shape.** Each Bash call is one allowed command (pipes are fine). The run refuses a call that sets a variable (`HTTP=$(.\u002Fsecretcurl ...)`), uses `if` \u002F `for` \u002F `while` or `[ ... ]` tests, or joins commands with `;`, `&&` or `||`, and each refusal costs a model turn; `rm` is not an allowed command and a `cd` in a subshell is refused too. So the deploy is one `.\u002Fsecretcurl` call whose `-w` prints `http=\u003Ccode> bytes=\u003Cn>` itself, the `GH_GLOBAL` check reads the run notes' \"Keys set for this run\" line instead of a shell test, and the mirror is one `git -C .pending-deploy\u002Ffiles ...` or `gh` call per step.\n","\u003C!-- autoresearch: variation B — sharper output via prototype quality bar + self-check + signal-anchored record -->\n\n> **${var}** — What to build and deploy.\n> - Empty → auto-select from recent signals (articles, logs, memory topics).\n> - Plain text (e.g. `market heatmap`) → interpret as a build brief.\n> - Typed form `type:slug description` (e.g. `tool:market-heatmap volume heatmap of top-20 tokens`, `viz:tx-graph`, `api:summarize`, `landing:startup-idea`) → use `type` to bias shape and `slug` as the deployment name.\n\nToday is ${today}. Your task is to ship a small, self-contained prototype that someone could actually use in the browser today.\n\n## Steps\n\n1. **Read context.** Read `memory\u002FMEMORY.md` and the most recent entries in `memory\u002Flogs\u002F` for active topics.\n   If running as part of a chain, scan injected upstream outputs for a concrete artifact worth making interactive.\n\n2. **Pick what to build (if `${var}` is empty or vague).**\n\n   Scan these sources, in order, for prototype-worthy signals:\n   - `output\u002Farticles\u002F` — last 7 entries by mtime: any claim, finding, or dataset that would be more useful as an interactive page?\n   - `memory\u002Ftopics\u002F*.md` — running narratives; pick one with a live data source (prices, feeds, markets)\n   - `memory\u002Flogs\u002F${today}.md` and the two prior days — skill outputs flagged as interesting\n   - `memory\u002FMEMORY.md` → \"Next Priorities\" and \"Recent Articles\"\n\n   Score each candidate 1-5 on:\n   - **Leverage** — does an interactive version beat the static write-up?\n   - **Concreteness** — is the spec obvious in one sentence? (if no, reject)\n   - **Novelty** — haven't shipped this in the last 14 days (check `output\u002Farticles\u002Fprototype-*.md` by mtime and any `memory\u002Ftopics\u002Fprototypes.md`)\n\n   Pick the highest-total candidate. If no candidate reaches 9\u002F15, skip building and exit as `DEPLOY_PROTOTYPE_EMPTY` (step 9).\n\n   Record the chosen signal — its source file(s) and one-line rationale — you'll use it in steps 6 and 7.\n\n3. **Commit to a shape before writing code.** Before touching `.pending-deploy\u002F`, write out (in your reasoning, not a file):\n   - **Slug**: `aeon-prototype-\u003Cdescriptor>`, all lowercase, `[a-z0-9-]`, 3–50 chars after prefix (e.g. `aeon-prototype-market-heatmap`). If `${var}` supplied a typed slug, use it; otherwise derive one.\n   - **Tagline** (≤90 chars) — the one-liner that appears in the page title and OG tags.\n   - **Primary action** — what is the one thing a visitor does in the first 10 seconds? (read a number, click a filter, submit an input, compare two things). If you can't name it, go back to step 2.\n   - **Shape**: static HTML+JS \u002F static + `api\u002F` function \u002F Next.js. Default to static single-file HTML unless the idea genuinely needs a serverless function.\n\n4. **Write the files.** Clear stale state from prior runs, then create the dir, each as its own Bash call (see **Shell shape** in the Network note; `rm` is not an allowed command, so the clear goes through `node`):\n   ```bash\n   node -e \"require('fs').rmSync('.pending-deploy',{recursive:true,force:true})\"\n   ```\n   ```bash\n   mkdir -p .pending-deploy\u002Ffiles\n   ```\n   Write all project files into `.pending-deploy\u002Ffiles\u002F`. This directory is the repo root — everything here is pushed to GitHub and deployed to Vercel.\n\n   **Quality bar — every prototype must meet these:**\n   - **Self-contained** — no external build step where avoidable. Prefer one `index.html` with inline `\u003Cstyle>` and `\u003Cscript>`; fall back to a `main.css` \u002F `main.js` only when size justifies it.\n   - **Loads in \u003C1s on a cold visit.** No jQuery, no CDN UI libraries for a single-page tool. Vanilla JS or a ~10KB util max. No `\u003Clink rel=\"stylesheet\">` to a CDN font unless it's one font.\n   - **Mobile-first, works on a phone.** Viewport meta set, tap targets ≥40px, no horizontal scroll at 360px wide.\n   - **Share-friendly.** Include `\u003Ctitle>`, `\u003Cmeta name=\"description\">`, `\u003Cmeta property=\"og:title\">`, `\u003Cmeta property=\"og:description\">`, `\u003Cmeta property=\"og:type\" content=\"website\">`. Skip OG image unless you generate one.\n   - **Real content, not lorem.** If the prototype shows data, fetch it from a public no-auth endpoint at load time (CoinGecko, GitHub public API, public RSS, public JSON feeds) — or hardcode a recent, realistic snapshot with the timestamp visible. Never ship placeholder `[example data]`.\n   - **One visible CTA or primary surface.** Clear hierarchy: what does the visitor look at first?\n   - **Works with JS disabled to at least show the tagline** (progressive enhancement — not required for interactive tools, but the title and description must render server-free).\n   - **Light + dark via `prefers-color-scheme`** — 4 CSS vars is enough.\n   - **No secrets.** No API keys, tokens, or env vars embedded anywhere. If the idea requires auth, redesign around a public endpoint or drop the idea.\n   - **Include a `README.md`** in `.pending-deploy\u002Ffiles\u002F` with: what it is (1 line), how to run locally (1 line), signal source (1 line link to the article\u002Flog\u002Ftopic from step 2).\n\n   For **API endpoints**: place handlers in `api\u002F` (e.g. `api\u002Findex.js` exporting `export default function handler(req, res) { ... }`).\n   For **Next.js**: keep it one page — `package.json` + `pages\u002Findex.js`. Only if the idea genuinely needs SSR.\n\n5. **Write deploy metadata.** Create `.pending-deploy\u002Fmeta.json`:\n   ```json\n   {\n     \"name\": \"aeon-prototype-\u003Cslug-from-step-3>\",\n     \"description\": \"One-sentence description, matches the OG description on the page\",\n     \"framework\": null,\n     \"tagline\": \"≤90 chars — matches \u003Ctitle> on the page\",\n     \"signal_source\": \"path or URL of the article\u002Flog\u002Ftopic that triggered this prototype\",\n     \"primary_action\": \"what the visitor does in the first 10 seconds\"\n   }\n   ```\n   - `framework`: `null` for static; `\"nextjs\"`, `\"svelte\"`, etc. when used.\n   - The extra fields (`tagline`, `signal_source`, `primary_action`) are for the prototype record and downstream dashboards; the deploy step may ignore them.\n\n6. **Build the Vercel deploy payload.** Write `.pending-deploy\u002Fpayload.json`:\n   ```json\n   {\n     \"name\": \"aeon-prototype-\u003Cslug>\",\n     \"files\": [\n       { \"file\": \"index.html\", \"data\": \"\u003C!DOCTYPE html>...\", \"encoding\": \"utf-8\" }\n     ],\n     \"projectSettings\": {\n       \"framework\": null,\n       \"buildCommand\": null,\n       \"outputDirectory\": null\n     },\n     \"target\": \"production\"\n   }\n   ```\n   Use `\"encoding\": \"base64\"` for any binary file.\n\n   **Pre-flight checks** (run before writing the notify):\n   - File count ≤ 20. Reject if above.\n   - Total payload JSON ≤ 4MB. Reject if above (Vercel inline deploy practical limit).\n   - Slug matches `^aeon-prototype-[a-z0-9][a-z0-9-]{2,49}$`.\n   - Grep every file for: `VERCEL_TOKEN`, `GH_GLOBAL`, `ANTHROPIC_API_KEY`, `sk-ant-`, `sk-`, `ghp_`, `xoxb-`, `xai-`. Any hit → abort and rewrite the offending file without the value.\n   - Grep every file for literal `TODO`, `FIXME`, `lorem ipsum`, `placeholder`. Any hit → fix in place before proceeding.\n   - If `VERCEL_TOKEN` is unset, the build still completes but the live deploy in step 8 is skipped (you'll exit `DEPLOY_PROTOTYPE_NO_TOKEN` there) — the pre-flight itself doesn't fail on a missing token.\n\n7. **Save the prototype record.** Write to `output\u002Farticles\u002Fprototype-${today}.md`. If a file with that name already exists (second run in the same day), append `-02`, `-03`, etc.\n   ```markdown\n   # Prototype: \u003CName>\n\n   **Built:** ${today}\n   **Tagline:** \u003Ctagline from meta.json>\n   **Status:** Pending deploy\n   **Live URL:** _(filled in-run in step 8 once the Vercel deploy returns its URL)_\n\n   ## Signal\n   What triggered this: one paragraph. Link the source article\u002Flog\u002Ftopic (`signal_source` from meta.json).\n\n   ## What it does\n   One paragraph, plain language. Include the primary action a visitor takes.\n\n   ## How it works\n   Brief technical notes - stack, data source, anything non-obvious. No code dumps.\n\n   ## Files\n   - `index.html` - brief description\n   - …\n\n   ## Extend\n   Three bullets on what would make this a real product (not placeholder - concrete next steps).\n   ```\n\n   Append a one-line row to `memory\u002Ftopics\u002Fprototypes.md` (create the file with a header row if missing):\n   ```\n   | date | slug | tagline | signal_source | live_url |\n   |------|------|---------|---------------|----------|\n   | 2026-04-20 | aeon-prototype-foo | ... | output\u002Farticles\u002F... | _pending_ |\n   ```\n\n8. **Deploy live (in-run).** The deploy is the skill's irreversible action, so it runs **in-run** as the final step — behind the step-6 pre-flight — not deferred to any post-run script.\n\n   If `VERCEL_TOKEN` is unset → skip the deploy, leave `.pending-deploy\u002F` in place, and exit `DEPLOY_PROTOTYPE_NO_TOKEN` (step 10). The build still succeeded; the operator just needs to add the token and re-run.\n\n   Otherwise POST the inline deployment built in step 6. Write the key as the literal `{VERCEL_TOKEN}` placeholder so `.\u002Fsecretcurl` substitutes it internally — a bare `$VERCEL_TOKEN` on the command line is refused by the Bash permission layer, and plain `curl` must not carry the token:\n   One call; it prints `http=\u003Ccode> bytes=\u003Cn>`:\n   ```bash\n   .\u002Fsecretcurl -sS -o .pending-deploy\u002Fdeploy-resp.json -w 'http=%{http_code} bytes=%{size_download}\\n' \\\n     -X POST \"https:\u002F\u002Fapi.vercel.com\u002Fv13\u002Fdeployments\" \\\n     -H \"Authorization: Bearer {VERCEL_TOKEN}\" \\\n     -H \"Content-Type: application\u002Fjson\" \\\n     --data @.pending-deploy\u002Fpayload.json\n   ```\n   - **`http` 200\u002F201:** read the deployment host from the response (`.url` in `deploy-resp.json`) and form the live URL `https:\u002F\u002F\u003Curl>`. Backfill it into the step-7 record (`**Status:** Live`, `**Live URL:** https:\u002F\u002F…`) and the `memory\u002Ftopics\u002Fprototypes.md` row (replace `_pending_`). Exit `DEPLOY_PROTOTYPE_OK` (step 10).\n   - **Any non-2xx \u002F `--max-time` timeout \u002F 200 with empty body:** print the real reason (`http=\u003Ccode>` \u002F `timeout` \u002F `empty`), keep `.pending-deploy\u002F` for a retry, and exit `DEPLOY_PROTOTYPE_DEPLOY_FAILED` (step 10). Never mark the record Live on a failed deploy.\n\n   **Optional source mirror (best-effort, non-fatal).** If `GH_GLOBAL` is set, also publish the source to GitHub. `gh` already authenticates as `GH_GLOBAL` in-run (it's the ambient `GH_TOKEN`), so no secret goes on the command line. Check whether it is set: read the \"Keys set for this run\" line in your run notes, never a shell test (those are refused and cost a turn). If `GH_GLOBAL` is not on that line, skip the mirror. Otherwise run these in order, each as its own call:\n   ```bash\n   git -C .pending-deploy\u002Ffiles init -q\n   ```\n   ```bash\n   git -C .pending-deploy\u002Ffiles add -A\n   ```\n   ```bash\n   git -C .pending-deploy\u002Ffiles -c user.name=aeon -c user.email=aeon@users.noreply.github.com commit -qm \"prototype: \u003Cslug>\"\n   ```\n   ```bash\n   gh repo create \u003Cslug> --public --source=.pending-deploy\u002Ffiles --push\n   ```\n   If any of them fails, stop the mirror there and run `echo \"::notice::source mirror skipped (non-fatal)\"`. A mirror failure never fails the run - the live Vercel URL is the deliverable.\n\n9. **Notify.** Send via `.\u002Fnotify` (one of these, depending on outcome):\n   - Deployed: `shipped: \u003Cslug> — \u003Ctagline>. live: \u003Curl>`\n   - Built, token missing: `built: \u003Cslug> — \u003Ctagline>. ⚠ VERCEL_TOKEN unset — not deployed. add it and re-run.`\n   - Deploy failed: `built: \u003Cslug> — \u003Ctagline>. ✗ vercel deploy failed (\u003Creason>) — .pending-deploy kept for retry.`\n   - No signal worth shipping: handled in step 10.\n\n10. **Exit modes.** End the run with one of these, logged in `memory\u002Flogs\u002F${today}.md` under `### deploy-prototype`:\n    - `DEPLOY_PROTOTYPE_OK` — prototype built, validated, and deployed live.\n    - `DEPLOY_PROTOTYPE_NO_TOKEN` — built and valid, but `VERCEL_TOKEN` unset; deploy skipped, operator action needed.\n    - `DEPLOY_PROTOTYPE_DEPLOY_FAILED` — built and valid, but the Vercel API call failed; `.pending-deploy\u002F` kept for retry.\n    - `DEPLOY_PROTOTYPE_EMPTY` — no candidate cleared the quality threshold in step 2. Log the top candidate and its score so the next run can reconsider. `.\u002Fnotify \"deploy-prototype: no candidate cleared threshold today — top was \u003Cslug> (\u003Cscore>\u002F15)\"`.\n    - `DEPLOY_PROTOTYPE_VALIDATION_FAILED` — a pre-flight check in step 6 failed and couldn't be fixed automatically. Leave `.pending-deploy\u002F` in place, log the failure reason, notify the operator.\n\n11. **Log.** Append to `memory\u002Flogs\u002F${today}.md`:\n    ```\n    ### deploy-prototype\n    - Exit: DEPLOY_PROTOTYPE_\u003CMODE>\n    - Slug: aeon-prototype-\u003Cslug> (or - if empty)\n    - Live URL: \u003Curl or ->\n    - Signal: \u003Csignal_source>\n    - Notes: \u003Canything the next run should know>\n    ```\n\n## Environment Variables\n\n- `VERCEL_TOKEN` — the live Vercel deploy in step 8. Used **in-run** via `.\u002Fsecretcurl` (the `{VERCEL_TOKEN}` placeholder). Without it, the build succeeds but the deploy is skipped (`DEPLOY_PROTOTYPE_NO_TOKEN`).\n- `GH_GLOBAL` — the optional GitHub source mirror in step 8. Used ambiently by `gh` (it's the run's `GH_TOKEN`); a missing token just skips the mirror.\n\nBoth are declared optional (`?`) so the skill degrades gracefully: no `VERCEL_TOKEN` → build-only; no `GH_GLOBAL` → deploy without the source mirror. Never read the token values directly and never embed them in any deployed file (step 6 greps for them).\n\n## Guidelines\n\n- A prototype is not a PoC. It's a page someone with zero context can load, understand in 10 seconds, and get value from. Hold that bar.\n- Single `index.html` is almost always the right answer. Resist the urge to add tooling.\n- Max ~5 files (enforced at 20 in pre-flight).\n- Descriptive slugs. `aeon-prototype-market-heatmap`, not `aeon-prototype-1`.\n- Never hardcode secrets. If a public-auth endpoint isn't enough for the idea, drop the idea.\n- The Vercel deploy (and the optional GitHub source mirror) happen **in-run** in step 8 via `.\u002Fsecretcurl` \u002F `gh` — an irreversible side-effect run as the skill's final, fail-closed action. Build the files, metadata, and payload correctly in steps 4–6 so that final call goes clean.\n\n## Network note\n\nSteps 1–7 are local — file writes and notify only. Step 8's deploy is the one outbound side-effect and it runs **in-run**: the Vercel deployment via `.\u002Fsecretcurl` with the `{VERCEL_TOKEN}` placeholder (a bare `$VERCEL_TOKEN` on the command line is refused by the Bash permission layer, so never use plain `curl` for it), and the optional GitHub mirror via `gh` (authenticated ambiently as `GH_GLOBAL`). There is no deferred\u002Fpostprocess step — the deploy is the skill's final, fail-closed action: on any non-2xx it exits `DEPLOY_PROTOTYPE_DEPLOY_FAILED` and keeps `.pending-deploy\u002F` for a retry.\n\n**Shell shape.** Each Bash call is one allowed command (pipes are fine). The run refuses a call that sets a variable (`HTTP=$(.\u002Fsecretcurl ...)`), uses `if` \u002F `for` \u002F `while` or `[ ... ]` tests, or joins commands with `;`, `&&` or `||`, and each refusal costs a model turn; `rm` is not an allowed command and a `cd` in a subshell is refused too. So the deploy is one `.\u002Fsecretcurl` call whose `-w` prints `http=\u003Ccode> bytes=\u003Cn>` itself, the `GH_GLOBAL` check reads the run notes' \"Keys set for this run\" line instead of a shell test, and the mirror is one `git -C .pending-deploy\u002Ffiles ...` or `gh` call per step.\n",{"name":5,"metadata":39,"description":7},{"var":40,"tags":41,"title":42,"category":24,"requires":43},"",[24,29],"Deploy Prototype",[44,45],"VERCEL_TOKEN?","GH_GLOBAL?","main","9c042aa1b6d79fd49679637374e88c5874cc3aae","skills\u002Fdeploy-prototype",2,"https:\u002F\u002Fgithub.com\u002FMiroShark\u002Fmiroshark-aeon","https:\u002F\u002Ft.me\u002Fmiroshark_aeon","https:\u002F\u002Fgithub.com\u002FMiroShark","https:\u002F\u002Fwww.miroshark.xyz\u002F","Simulate anything, for $1 & less than 10 min.","2026-11-14 00:33:09",{"source":8,"skillName":5,"commands":57,"prompt":67,"zipAvailable":68},[58,61,64],{"tool":59,"command":60},"npx","npx skills add MiroShark\u002Fmiroshark-aeon --skill deploy-prototype",{"tool":62,"command":63},"bunx","bunx skills add MiroShark\u002Fmiroshark-aeon --skill deploy-prototype",{"tool":65,"command":66},"pnpm","pnpm dlx skills add MiroShark\u002Fmiroshark-aeon --skill deploy-prototype","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FMiroShark\u002Fmiroshark-aeon\u002Fblob\u002Fmain\u002Fskills\u002Fdeploy-prototype\u002FSKILL.md",true,[],[71,79,86,93,120,142],{"skillNo":72,"name":73,"nameZh":6,"description":74,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":75,"categories":76,"keywords":77,"publishedAt":78},"01M7655JGRXBW7D5Q8EHDPA386","sns-digest","Digest Internet Computer governance - new and open NNS proposals and SNS DAO proposals - so the operator sees what is up for a vote without watching the dashboard. Fully public, no secret; fires only when there is something new to report.","https:\u002F\u002Fgithub.com\u002FMiroShark\u002Fmiroshark-aeon\u002Fblob\u002Fmain\u002Fskills\u002Fsns-digest\u002FSKILL.md",[],[],"2026-11-12 13:55:43",{"skillNo":80,"name":81,"nameZh":6,"description":82,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":83,"categories":84,"keywords":85,"publishedAt":78},"01M7652Y0CD29F2GVGEESF69VY","icp-deploy-check","Pre-deploy safety checklist for an Internet Computer Rust canister - read a local\u002Fcloned canister repo and verify the deploy-time footguns from the canister-security checklist (controller backup, anonymous-principal rejection, no mainnet fetch_root_key, upgrade safety) before it ships. Static, read-only, no network and no mainnet action.","https:\u002F\u002Fgithub.com\u002FMiroShark\u002Fmiroshark-aeon\u002Fblob\u002Fmain\u002Fskills\u002Ficp-deploy-check\u002FSKILL.md",[],[],{"skillNo":87,"name":88,"nameZh":6,"description":89,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":90,"categories":91,"keywords":92,"publishedAt":78},"01M76518QCAP3CV1QWSY2KVTVH","canister-status","Monitor Internet Computer canisters for control-plane changes - a new controller, a module-hash change (upgrade), or a canister going missing from the public index - and alert the moment one happens. Uses only the public IC dashboard API.","https:\u002F\u002Fgithub.com\u002FMiroShark\u002Fmiroshark-aeon\u002Fblob\u002Fmain\u002Fskills\u002Fcanister-status\u002FSKILL.md",[],[],{"skillNo":94,"name":95,"nameZh":6,"description":96,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":97,"categories":98,"keywords":99,"publishedAt":34},"01M6J4P8XKB8RJ7PCYMZPZ0F6S","you-web-search","Web search using You.com Search API with high-quality, cited results — runs keyless out of the box; YDC_API_KEY unlocks higher limits and real-time web crawling","https:\u002F\u002Fgithub.com\u002FMiroShark\u002Fmiroshark-aeon\u002Fblob\u002Fmain\u002Fskills\u002Fyou-web-search\u002FSKILL.md",[],[100,101,102,103,104,105,106,107,26,108,109,110,111,112,113,114,115,116,117,118,119],"web","you web search","you","web search","search","time","limits","only","web crawling","read","read-only","real-time","basics","keyless","with","research","results","high","quality","box",{"skillNo":121,"name":122,"nameZh":6,"description":123,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":124,"categories":125,"keywords":126,"publishedAt":34},"01M6J4P4H35WQG6RHGTTACSMVW","write-tweet","Multi-format tweet studio - standalone drafts (10 across 5 size tiers), a 5-10 tweet thread, or 10 remixes of past tweets, selected via ${var}","https:\u002F\u002Fgithub.com\u002FMiroShark\u002Fmiroshark-aeon\u002Fblob\u002Fmain\u002Fskills\u002Fwrite-tweet\u002FSKILL.md",[],[127,128,129,130,131,27,132,133,134,135,136,137,26,138,139,140,141,112],"write","write tweet","thread","content","format","size","multi","twitter","standalone","social","studio","across","xai","past","drafts",{"skillNo":143,"name":144,"nameZh":6,"description":145,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":146,"categories":147,"keywords":148,"publishedAt":34},"01M6J4P11K7ZJ2PJDHDTTFZ1HY","weekly-aeoncard","Build a weekly token-consumption recap image from memory\u002Ftoken-usage.csv - this week + all-time totals, top skills, rendered as a shareable SVG card.","https:\u002F\u002Fgithub.com\u002FMiroShark\u002Fmiroshark-aeon\u002Fblob\u002Fmain\u002Fskills\u002Fweekly-aeoncard\u002FSKILL.md",[],[149,150,151,152,153,154,155,156,105,157,158,159,160,161,162,163,29,127,30,164],"weekly aeoncard","weekly","top","as","usage","SVG","memory","card","Meta","image","recap","csv","monitoring","notifications","productivity","aeon"]