[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6J46V51HBCMME0Y8RAJVHTQ":3,"skill-same:01M6J46V51HBCMME0Y8RAJVHTQ":49},{"skillNo":4,"name":5,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":8,"repositoryNo":11,"starsCount":12,"licenseSpdxId":13,"licenseFileUrl":6,"sourceHtmlUrl":14,"categories":15,"keywords":16,"publishedAt":20,"linkOnly":21,"markdownContent":22,"markdownBody":23,"frontMatter":24,"refName":25,"commitSha":26,"skillDirectory":27,"forksCount":28,"repositoryHtmlUrl":29,"repositoryHomepageUrl":30,"ownerHtmlUrl":31,"ownerBlogUrl":32,"ownerDescription":33,"updatedAt":34,"install":35,"resources":48},"01M6J46V51HBCMME0Y8RAJVHTQ","deploy-watcher",null,"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\u002Fdocs\u002Fexamples\u002Fskill-templates\u002Fdeploy-watcher\u002FSKILL.md",[],[17,18,19],"deploy","deploy watcher","watcher","2026-11-10 10:12:30",false,"---\nname: [REPLACE: SKILL_NAME]\ndescription: Watch Vercel deploys for [REPLACE: VERCEL_PROJECT] — alert on [REPLACE: ALERT_ON] in the last [REPLACE: LOOKBACK_HOURS] hours\nmetadata:\n  category: dev\n  var: \"\"\n  tags:\n    - dev\n  requires:\n    - VERCEL_TOKEN\n    - VERCEL_TEAM_ID?\n---\n\n> **${var}** — Optional. Override the Vercel project slug. If empty, watches `[REPLACE: VERCEL_PROJECT]`.\n\nToday is ${today}. Watch Vercel deployments for **[REPLACE: VERCEL_PROJECT]** and alert on **[REPLACE: ALERT_ON]** within the last **[REPLACE: LOOKBACK_HOURS]** hours.\n\n## Required secrets\n\n- `VERCEL_TOKEN` — personal access token from https:\u002F\u002Fvercel.com\u002Faccount\u002Ftokens. Read scope is enough.\n- (optional) `VERCEL_TEAM_ID` — if the project lives under a team, set this so the API queries the right scope.\n\nRead the \"Keys set for this run\" line in your run notes, never a shell test (those are refused and cost a turn). If `VERCEL_TOKEN` is not on it, log `DEPLOY_WATCH_NO_TOKEN` and exit cleanly - never abort the workflow.\n\n## Steps\n\n1. **Resolve scope**: the project is `${var}` if set, else `[REPLACE: VERCEL_PROJECT]`; write it into each URL literally (the `\u003CPROJECT>` below). If `VERCEL_TEAM_ID` is on the \"Keys set for this run\" line, print it with its own call, `node -e 'console.log(process.env.VERCEL_TEAM_ID)'` (a team ID is not a credential, so `.\u002Fsecretcurl` does not fill a `{VERCEL_TEAM_ID}` placeholder), and add `&teamId=\u003CTEAM_ID>` with the printed value to every Vercel URL below.\n\n2. **Fetch recent deploys** — Vercel API v6 lists deployments for a project:\n   Get the window start in milliseconds with its own call, `date -u -d '[REPLACE: LOOKBACK_HOURS] hours ago' +%s000`, and write the printed value in as `\u003CSINCE_MS>`:\n\n   ```bash\n   .\u002Fsecretcurl -s -o \u002Ftmp\u002Fvercel-deploys.json -w 'vercel http=%{http_code}\\n' -H \"Authorization: Bearer {VERCEL_TOKEN}\" \"https:\u002F\u002Fapi.vercel.com\u002Fv6\u002Fdeployments?projectId=\u003CPROJECT>&since=\u003CSINCE_MS>&limit=20\"\n   ```\n\n   On a non-2xx code, log `DEPLOY_WATCH_FETCH_FAIL http=\u003Ccode>` and stop.\n\n   Make every Vercel call in-run with `.\u002Fsecretcurl` (write the key as `{VERCEL_TOKEN}` — a bare `$VERCEL_TOKEN` on the line is refused by the Bash permission layer). Read-only status checks and any **irreversible action** (e.g. triggering a deploy) both run in-run — the irreversible one as the skill's final, fail-closed action. Never defer a read.\n\n3. **Parse and classify** — for each deploy, capture: `uid`, `state` (READY \u002F ERROR \u002F CANCELED \u002F BUILDING \u002F QUEUED), `url`, `target` (production \u002F preview), `creator`, `createdAt`, `meta.githubCommitMessage`.\n\n4. **Apply the alert filter** — `[REPLACE: ALERT_ON]` is one of:\n   - `production-failures` → alert when `target=production` AND `state in {ERROR, CANCELED}`.\n   - `any-failures` → alert on any `state in {ERROR, CANCELED}`.\n   - `slow-builds` → alert when build time > 10× the last-week median for this project.\n   - `all` → alert on every state transition (noisy — only useful while debugging the skill).\n\n5. **Compare against last-success baseline** — if alerting on a failure, also fetch the most recent successful production deploy and include in the notification: \"last green: [commit] · [N hours] ago\".\n\n   ```bash\n   .\u002Fsecretcurl -s -o \u002Ftmp\u002Fvercel-last-green.json -w 'vercel http=%{http_code}\\n' -H \"Authorization: Bearer {VERCEL_TOKEN}\" \"https:\u002F\u002Fapi.vercel.com\u002Fv6\u002Fdeployments?projectId=\u003CPROJECT>&target=production&state=READY&limit=1\"\n   ```\n\n6. **Dedup** — track alerted deploy UIDs in `memory\u002Ftopics\u002F[REPLACE: SKILL_NAME]-alerted.json`. Never re-alert for the same UID.\n\n7. **Notify on every new alert** via `.\u002Fnotify`:\n   ```\n   *Deploy alert — [REPLACE: VERCEL_PROJECT]*\n   ${state}: ${commit_message}\n   ${target} build by ${creator} · ${ago}\n   Last green: ${last_green_commit} · ${last_green_ago}\n   Inspect: https:\u002F\u002Fvercel.com\u002F${owner}\u002F${PROJECT}\u002F${uid}\n   ```\n\n8. **Write a roll-up** to `output\u002Farticles\u002F[REPLACE: SKILL_NAME]-${today}.md`: total deploys, success\u002Ffail counts per target, average build time, list of failed UIDs with commit messages.\n\n9. **Log** to `memory\u002Flogs\u002F${today}.md`:\n   ```\n   ## [REPLACE: SKILL_NAME]\n   - **Deploys (${LOOKBACK_HOURS}h)**: total=N, ready=X, error=Y, canceled=Z, building=W\n   - **Alerts fired**: N (deduped from M raw matches)\n   - **Status**: DEPLOY_OK | DEPLOY_QUIET (no deploys) | DEPLOY_ALERT | DEPLOY_DEGRADED\n   ```\n\n## Network note\n\nThe Vercel API requires `Authorization: Bearer {VERCEL_TOKEN}`. A bare `$SECRET` on a command line is refused by the Bash permission layer, so make **every** Vercel call in-run with `.\u002Fsecretcurl` (write the key as the `{VERCEL_TOKEN}` placeholder — it keeps the secret off the line). Both the read-only status checks and any **irreversible** action (like triggering a deploy) run in-run; the irreversible one goes last, as the skill's final fail-closed action. Never defer a read.\n\n**Shell shape.** Each Bash call is one allowed command (pipes are fine). The run refuses a call that sets a variable (`PROJECT=...`, `SINCE_MS=$(( ... ))`), uses `if` \u002F `for`, tests a key (`[ -n \"$VERCEL_TEAM_ID\" ]`), joins commands with `;`, `&&` or `||`, redirects into a file (`> .vercel-deploys.json`), or puts a shell variable on a `.\u002Fsecretcurl` line (`$URL`), and each refusal costs a model turn. So run `date` as its own call, write the project, team ID and window start into each URL literally, save replies with `-o \u002Ftmp\u002F\u003Cfile>`, and write `alerted.json`, the article and the log with Write\u002FEdit.\n\n## Constraints\n\n- **Dedup is non-negotiable**. Re-running the same alert for the same deploy will train operators to mute the channel — once alerted, never again unless the deploy changes state.\n- **Production beats preview** for alerting. A failed preview deploy is interesting but not urgent. Default to `production-failures` until the operator opts into more.\n- **Compare against baseline**. A failed build means more when paired with \"last green was 3 hours ago\" than alone.\n","> **${var}** — Optional. Override the Vercel project slug. If empty, watches `[REPLACE: VERCEL_PROJECT]`.\n\nToday is ${today}. Watch Vercel deployments for **[REPLACE: VERCEL_PROJECT]** and alert on **[REPLACE: ALERT_ON]** within the last **[REPLACE: LOOKBACK_HOURS]** hours.\n\n## Required secrets\n\n- `VERCEL_TOKEN` — personal access token from https:\u002F\u002Fvercel.com\u002Faccount\u002Ftokens. Read scope is enough.\n- (optional) `VERCEL_TEAM_ID` — if the project lives under a team, set this so the API queries the right scope.\n\nRead the \"Keys set for this run\" line in your run notes, never a shell test (those are refused and cost a turn). If `VERCEL_TOKEN` is not on it, log `DEPLOY_WATCH_NO_TOKEN` and exit cleanly - never abort the workflow.\n\n## Steps\n\n1. **Resolve scope**: the project is `${var}` if set, else `[REPLACE: VERCEL_PROJECT]`; write it into each URL literally (the `\u003CPROJECT>` below). If `VERCEL_TEAM_ID` is on the \"Keys set for this run\" line, print it with its own call, `node -e 'console.log(process.env.VERCEL_TEAM_ID)'` (a team ID is not a credential, so `.\u002Fsecretcurl` does not fill a `{VERCEL_TEAM_ID}` placeholder), and add `&teamId=\u003CTEAM_ID>` with the printed value to every Vercel URL below.\n\n2. **Fetch recent deploys** — Vercel API v6 lists deployments for a project:\n   Get the window start in milliseconds with its own call, `date -u -d '[REPLACE: LOOKBACK_HOURS] hours ago' +%s000`, and write the printed value in as `\u003CSINCE_MS>`:\n\n   ```bash\n   .\u002Fsecretcurl -s -o \u002Ftmp\u002Fvercel-deploys.json -w 'vercel http=%{http_code}\\n' -H \"Authorization: Bearer {VERCEL_TOKEN}\" \"https:\u002F\u002Fapi.vercel.com\u002Fv6\u002Fdeployments?projectId=\u003CPROJECT>&since=\u003CSINCE_MS>&limit=20\"\n   ```\n\n   On a non-2xx code, log `DEPLOY_WATCH_FETCH_FAIL http=\u003Ccode>` and stop.\n\n   Make every Vercel call in-run with `.\u002Fsecretcurl` (write the key as `{VERCEL_TOKEN}` — a bare `$VERCEL_TOKEN` on the line is refused by the Bash permission layer). Read-only status checks and any **irreversible action** (e.g. triggering a deploy) both run in-run — the irreversible one as the skill's final, fail-closed action. Never defer a read.\n\n3. **Parse and classify** — for each deploy, capture: `uid`, `state` (READY \u002F ERROR \u002F CANCELED \u002F BUILDING \u002F QUEUED), `url`, `target` (production \u002F preview), `creator`, `createdAt`, `meta.githubCommitMessage`.\n\n4. **Apply the alert filter** — `[REPLACE: ALERT_ON]` is one of:\n   - `production-failures` → alert when `target=production` AND `state in {ERROR, CANCELED}`.\n   - `any-failures` → alert on any `state in {ERROR, CANCELED}`.\n   - `slow-builds` → alert when build time > 10× the last-week median for this project.\n   - `all` → alert on every state transition (noisy — only useful while debugging the skill).\n\n5. **Compare against last-success baseline** — if alerting on a failure, also fetch the most recent successful production deploy and include in the notification: \"last green: [commit] · [N hours] ago\".\n\n   ```bash\n   .\u002Fsecretcurl -s -o \u002Ftmp\u002Fvercel-last-green.json -w 'vercel http=%{http_code}\\n' -H \"Authorization: Bearer {VERCEL_TOKEN}\" \"https:\u002F\u002Fapi.vercel.com\u002Fv6\u002Fdeployments?projectId=\u003CPROJECT>&target=production&state=READY&limit=1\"\n   ```\n\n6. **Dedup** — track alerted deploy UIDs in `memory\u002Ftopics\u002F[REPLACE: SKILL_NAME]-alerted.json`. Never re-alert for the same UID.\n\n7. **Notify on every new alert** via `.\u002Fnotify`:\n   ```\n   *Deploy alert — [REPLACE: VERCEL_PROJECT]*\n   ${state}: ${commit_message}\n   ${target} build by ${creator} · ${ago}\n   Last green: ${last_green_commit} · ${last_green_ago}\n   Inspect: https:\u002F\u002Fvercel.com\u002F${owner}\u002F${PROJECT}\u002F${uid}\n   ```\n\n8. **Write a roll-up** to `output\u002Farticles\u002F[REPLACE: SKILL_NAME]-${today}.md`: total deploys, success\u002Ffail counts per target, average build time, list of failed UIDs with commit messages.\n\n9. **Log** to `memory\u002Flogs\u002F${today}.md`:\n   ```\n   ## [REPLACE: SKILL_NAME]\n   - **Deploys (${LOOKBACK_HOURS}h)**: total=N, ready=X, error=Y, canceled=Z, building=W\n   - **Alerts fired**: N (deduped from M raw matches)\n   - **Status**: DEPLOY_OK | DEPLOY_QUIET (no deploys) | DEPLOY_ALERT | DEPLOY_DEGRADED\n   ```\n\n## Network note\n\nThe Vercel API requires `Authorization: Bearer {VERCEL_TOKEN}`. A bare `$SECRET` on a command line is refused by the Bash permission layer, so make **every** Vercel call in-run with `.\u002Fsecretcurl` (write the key as the `{VERCEL_TOKEN}` placeholder — it keeps the secret off the line). Both the read-only status checks and any **irreversible** action (like triggering a deploy) run in-run; the irreversible one goes last, as the skill's final fail-closed action. Never defer a read.\n\n**Shell shape.** Each Bash call is one allowed command (pipes are fine). The run refuses a call that sets a variable (`PROJECT=...`, `SINCE_MS=$(( ... ))`), uses `if` \u002F `for`, tests a key (`[ -n \"$VERCEL_TEAM_ID\" ]`), joins commands with `;`, `&&` or `||`, redirects into a file (`> .vercel-deploys.json`), or puts a shell variable on a `.\u002Fsecretcurl` line (`$URL`), and each refusal costs a model turn. So run `date` as its own call, write the project, team ID and window start into each URL literally, save replies with `-o \u002Ftmp\u002F\u003Cfile>`, and write `alerted.json`, the article and the log with Write\u002FEdit.\n\n## Constraints\n\n- **Dedup is non-negotiable**. Re-running the same alert for the same deploy will train operators to mute the channel — once alerted, never again unless the deploy changes state.\n- **Production beats preview** for alerting. A failed preview deploy is interesting but not urgent. Default to `production-failures` until the operator opts into more.\n- **Compare against baseline**. A failed build means more when paired with \"last green was 3 hours ago\" than alone.\n",{},"main","d3388dfd66c33c15db8eb232fa0d13e18564b629","docs\u002Fexamples\u002Fskill-templates\u002Fdeploy-watcher",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":7,"skillName":5,"commands":36,"prompt":46,"zipAvailable":47},[37,40,43],{"tool":38,"command":39},"npx","npx skills add MiroShark\u002Fmiroshark-aeon --skill deploy-watcher",{"tool":41,"command":42},"bunx","bunx skills add MiroShark\u002Fmiroshark-aeon --skill deploy-watcher",{"tool":44,"command":45},"pnpm","pnpm dlx skills add MiroShark\u002Fmiroshark-aeon --skill deploy-watcher","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FMiroShark\u002Fmiroshark-aeon\u002Fblob\u002Fmain\u002Fdocs\u002Fexamples\u002Fskill-templates\u002Fdeploy-watcher\u002FSKILL.md",true,[],[50,58,65,72,100,123],{"skillNo":51,"name":52,"nameZh":6,"description":53,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":8,"repositoryNo":11,"starsCount":12,"licenseSpdxId":13,"licenseFileUrl":6,"sourceHtmlUrl":54,"categories":55,"keywords":56,"publishedAt":57},"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":59,"name":60,"nameZh":6,"description":61,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":8,"repositoryNo":11,"starsCount":12,"licenseSpdxId":13,"licenseFileUrl":6,"sourceHtmlUrl":62,"categories":63,"keywords":64,"publishedAt":57},"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":66,"name":67,"nameZh":6,"description":68,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":8,"repositoryNo":11,"starsCount":12,"licenseSpdxId":13,"licenseFileUrl":6,"sourceHtmlUrl":69,"categories":70,"keywords":71,"publishedAt":57},"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":73,"name":74,"nameZh":6,"description":75,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":8,"repositoryNo":11,"starsCount":12,"licenseSpdxId":13,"licenseFileUrl":6,"sourceHtmlUrl":76,"categories":77,"keywords":78,"publishedAt":20},"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",[],[79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99],"web","you web search","you","web search","search","time","limits","only","api","web crawling","read","read-only","real-time","basics","keyless","with","research","results","high","quality","box",{"skillNo":101,"name":102,"nameZh":6,"description":103,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":8,"repositoryNo":11,"starsCount":12,"licenseSpdxId":13,"licenseFileUrl":6,"sourceHtmlUrl":104,"categories":105,"keywords":106,"publishedAt":20},"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",[],[107,108,109,110,111,112,113,114,115,116,117,118,87,119,120,121,122,92],"write","write tweet","thread","content","format","via","size","multi","twitter","standalone","social","studio","across","xai","past","drafts",{"skillNo":124,"name":125,"nameZh":6,"description":126,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":8,"repositoryNo":11,"starsCount":12,"licenseSpdxId":13,"licenseFileUrl":6,"sourceHtmlUrl":127,"categories":128,"keywords":129,"publishedAt":20},"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",[],[130,131,132,133,134,135,136,137,84,138,139,140,141,142,143,144,145,107,146,147],"weekly aeoncard","weekly","top","as","usage","SVG","memory","card","Meta","image","recap","csv","monitoring","notifications","productivity","build","token","aeon"]