[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M79D1V3YV9XJWNKPBHV9MYS1":3,"skill-same:01M79D1V3YV9XJWNKPBHV9MYS1":47},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":15,"categories":16,"keywords":17,"publishedAt":18,"linkOnly":19,"markdownContent":20,"markdownBody":21,"frontMatter":22,"refName":24,"commitSha":25,"skillDirectory":26,"forksCount":27,"repositoryHtmlUrl":28,"repositoryHomepageUrl":29,"ownerHtmlUrl":30,"ownerBlogUrl":29,"ownerDescription":31,"updatedAt":32,"install":33,"resources":46},"01M79D1V3YV9XJWNKPBHV9MYS1","artifacts",null,"Persist, version, and iterate on LLM-generated UI (widgets, HTML, markdown). Load when the user wants to save, find, update, or iterate on a previously-rendered widget — anything that should outlive the chat scrollback.","PersonalClaw\u002FPersonalClaw","PersonalClaw","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F306824595?v=4","01M79D0KNQCPQXVH30C5PREVCW","01M79D0KPT5XDNEAW87TEYQW3V",9,"MIT","https:\u002F\u002Fgithub.com\u002FPersonalClaw\u002FPersonalClaw\u002Fblob\u002Fmain\u002Fsrc\u002Fpersonalclaw\u002Fskills\u002Fbundled\u002Fartifacts\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: artifacts\ndescription: Persist, version, and iterate on LLM-generated UI (widgets, HTML, markdown). Load when the user wants to save, find, update, or iterate on a previously-rendered widget — anything that should outlive the chat scrollback.\ntriggers: artifact, save widget, save this, iterate, iterate on, update the widget, change the widget, version, library, find widget, what have we built, iterate again, redo the\n---\n\n# Artifacts (`@personalclaw-core\u002Fartifact_*`)\n\nAn **Artifact** is a named, versioned piece of generated content — a widget,\nHTML tool, dashboard, markdown doc, SVG, or JSON — that persists beyond the chat\nscrollback and can be reopened and iterated on by name in a later session. The\nArtifacts library lists them; each lives at `\u002Fartifacts\u002F\u003Cslug>` in the dashboard.\n\nWithout artifacts, a widget you render scrolls away and is gone. With them, the\nuser can say \"iterate on that dashboard\" three days later and you can fetch the\ncurrent version, change it, and save a new checkpoint.\n\n## Mental model\n\n- **slug** — the stable handle (e.g. `sales-dashboard`). Derived from the name,\n  or you pass an explicit one. Everything references an artifact by slug.\n- **version** — every `artifact_update` with new content snapshots a new numbered\n  version (like a commit). The live version is what `\u002Fartifacts\u002F\u003Cslug>` shows; old\n  snapshots are kept up to `MAX_VERSIONS = 50` (FIFO-pruned beyond that).\n- **base** — every read names one (`v3-1a2b3c4d5e6f7a8b`): the version you read. A\n  write over an existing artifact's text passes the base of the version it was made\n  from. The user can edit an artifact too, so a write over a version someone made\n  after your read is refused (it names who), and so is a write with no base: read it\n  again with `artifact_get` and redo the change on what it holds now. A write's reply\n  names the new base, so a second change needs no second read.\n- **kind** — `widget` (default), `html`, `markdown`, `svg`, `json`, `text`,\n  `infographic` (AntV declarative DSL → SVG — see the `infographic-syntax` skill),\n  `document` (editorial long-form HTML — see the `editorial-document` skill).\n\n## Tools\n\n| Tool | Use |\n|---|---|\n| `artifact_list` | List saved artifacts (name\u002Fslug\u002Fkind\u002Fversion\u002Ftags). Filter by `tag`, `kind`, or text `q`. |\n| `artifact_save` | Save new content. Returns the **slug** — the handle for later. |\n| `artifact_get` | Read by `slug`: its text, version and **base** (`version=N` for an earlier one; `offset` for the next part of a long one). A Word document, deck or spreadsheet reads as the markup its tool takes. |\n| `artifact_update` | Update by `slug` + the `base` you read → new version snapshot. New content, or metadata only (no base). |\n| `artifact_versions` | List the numbered snapshots of a slug. |\n| `artifact_delete` | Delete an artifact + its history by slug (does not touch any source file). |\n\n`artifact_save`\u002F`artifact_update` take content inline via `content=` or from a\nfile via `content_file=` (absolute path — a Workspace\u002Fcwd file).\n\n## Rules (follow these)\n\n1. **Always `artifact_list` before `artifact_save(kind=\"widget\")`.** Check\n   whether a matching widget already exists. If it does, `artifact_update` it\n   instead of creating a near-duplicate.\n\n2. **Re-emitting a saved widget requires its slug.** When you render the HTML of\n   a saved artifact again in chat, put its slug on the tag so the dashboard links\n   the rendered widget back to the library entry:\n   `\u003Cwidget title=\"…\" slug=\"sales-dashboard\">…\u003C\u002Fwidget>`.\n\n3. **Iterate-without-a-slug decision tree.** The user says \"iterate on that\" but\n   you don't have a slug:\n   - It was saved earlier this session → you have the slug; `artifact_get` →\n     change → `artifact_update` with the base that read named.\n   - It was rendered but never saved → **save it yourself now** (`artifact_save`),\n     then iterate. Never tell the user \"it wasn't saved, so I can't iterate\" —\n     saving is your job, do it silently.\n   - You're unsure which artifact → `artifact_list` (filter by `q`\u002F`kind`) and\n     pick by name, or ask only if genuinely ambiguous.\n\n4. **Metadata-only updates don't bump content.** Changing just `description`\u002F`tags`\n   via `artifact_update` needs no base and cuts no version — so don't re-send identical\n   content just to touch metadata.\n\n## Don't\n\n- Don't save throwaway one-off widgets the user didn't ask to keep. Cost\n  discipline: a quick chart inline is fine unsaved.\n- Don't create a second artifact when one already covers it — update instead.\n- Don't delete an artifact to \"replace\" it — `artifact_update` is the replace.\n- Don't reference a slug you haven't confirmed exists (`artifact_get`\u002F`list` first).\n\n## Worked example\n\n> **User:** \"Save this as the team dashboard.\" *(after you rendered a widget)*\n\n1. `artifact_list(kind=\"widget\", q=\"team dashboard\")` → none.\n2. `artifact_save(name=\"Team Dashboard\", kind=\"widget\", content=\"\u003Cthe HTML>\")`\n   → returns `slug=\"team-dashboard\"`.\n3. Tell the user: saved → `\u002Fartifacts\u002Fteam-dashboard`.\n\n> **User (next day):** \"Add a burndown chart to the team dashboard.\"\n\n1. `artifact_get(slug=\"team-dashboard\")` → current HTML and its base, e.g. `v3-1a2b3c4d5e6f7a8b`.\n2. Add the chart, drawn in inline SVG (see the `visual-output` skill for CSP\u002Ftheme).\n3. `artifact_update(slug=\"team-dashboard\", base=\"v3-1a2b3c4d5e6f7a8b\", content=\"\u003Cnew HTML>\")`\n   → new version. If the user changed it since your read, the call says so and writes\n   nothing: read it again and apply the chart to what it holds now.\n4. Re-render in chat with `\u003Cwidget title=\"Team Dashboard\" slug=\"team-dashboard\">…`.\n","# Artifacts (`@personalclaw-core\u002Fartifact_*`)\n\nAn **Artifact** is a named, versioned piece of generated content — a widget,\nHTML tool, dashboard, markdown doc, SVG, or JSON — that persists beyond the chat\nscrollback and can be reopened and iterated on by name in a later session. The\nArtifacts library lists them; each lives at `\u002Fartifacts\u002F\u003Cslug>` in the dashboard.\n\nWithout artifacts, a widget you render scrolls away and is gone. With them, the\nuser can say \"iterate on that dashboard\" three days later and you can fetch the\ncurrent version, change it, and save a new checkpoint.\n\n## Mental model\n\n- **slug** — the stable handle (e.g. `sales-dashboard`). Derived from the name,\n  or you pass an explicit one. Everything references an artifact by slug.\n- **version** — every `artifact_update` with new content snapshots a new numbered\n  version (like a commit). The live version is what `\u002Fartifacts\u002F\u003Cslug>` shows; old\n  snapshots are kept up to `MAX_VERSIONS = 50` (FIFO-pruned beyond that).\n- **base** — every read names one (`v3-1a2b3c4d5e6f7a8b`): the version you read. A\n  write over an existing artifact's text passes the base of the version it was made\n  from. The user can edit an artifact too, so a write over a version someone made\n  after your read is refused (it names who), and so is a write with no base: read it\n  again with `artifact_get` and redo the change on what it holds now. A write's reply\n  names the new base, so a second change needs no second read.\n- **kind** — `widget` (default), `html`, `markdown`, `svg`, `json`, `text`,\n  `infographic` (AntV declarative DSL → SVG — see the `infographic-syntax` skill),\n  `document` (editorial long-form HTML — see the `editorial-document` skill).\n\n## Tools\n\n| Tool | Use |\n|---|---|\n| `artifact_list` | List saved artifacts (name\u002Fslug\u002Fkind\u002Fversion\u002Ftags). Filter by `tag`, `kind`, or text `q`. |\n| `artifact_save` | Save new content. Returns the **slug** — the handle for later. |\n| `artifact_get` | Read by `slug`: its text, version and **base** (`version=N` for an earlier one; `offset` for the next part of a long one). A Word document, deck or spreadsheet reads as the markup its tool takes. |\n| `artifact_update` | Update by `slug` + the `base` you read → new version snapshot. New content, or metadata only (no base). |\n| `artifact_versions` | List the numbered snapshots of a slug. |\n| `artifact_delete` | Delete an artifact + its history by slug (does not touch any source file). |\n\n`artifact_save`\u002F`artifact_update` take content inline via `content=` or from a\nfile via `content_file=` (absolute path — a Workspace\u002Fcwd file).\n\n## Rules (follow these)\n\n1. **Always `artifact_list` before `artifact_save(kind=\"widget\")`.** Check\n   whether a matching widget already exists. If it does, `artifact_update` it\n   instead of creating a near-duplicate.\n\n2. **Re-emitting a saved widget requires its slug.** When you render the HTML of\n   a saved artifact again in chat, put its slug on the tag so the dashboard links\n   the rendered widget back to the library entry:\n   `\u003Cwidget title=\"…\" slug=\"sales-dashboard\">…\u003C\u002Fwidget>`.\n\n3. **Iterate-without-a-slug decision tree.** The user says \"iterate on that\" but\n   you don't have a slug:\n   - It was saved earlier this session → you have the slug; `artifact_get` →\n     change → `artifact_update` with the base that read named.\n   - It was rendered but never saved → **save it yourself now** (`artifact_save`),\n     then iterate. Never tell the user \"it wasn't saved, so I can't iterate\" —\n     saving is your job, do it silently.\n   - You're unsure which artifact → `artifact_list` (filter by `q`\u002F`kind`) and\n     pick by name, or ask only if genuinely ambiguous.\n\n4. **Metadata-only updates don't bump content.** Changing just `description`\u002F`tags`\n   via `artifact_update` needs no base and cuts no version — so don't re-send identical\n   content just to touch metadata.\n\n## Don't\n\n- Don't save throwaway one-off widgets the user didn't ask to keep. Cost\n  discipline: a quick chart inline is fine unsaved.\n- Don't create a second artifact when one already covers it — update instead.\n- Don't delete an artifact to \"replace\" it — `artifact_update` is the replace.\n- Don't reference a slug you haven't confirmed exists (`artifact_get`\u002F`list` first).\n\n## Worked example\n\n> **User:** \"Save this as the team dashboard.\" *(after you rendered a widget)*\n\n1. `artifact_list(kind=\"widget\", q=\"team dashboard\")` → none.\n2. `artifact_save(name=\"Team Dashboard\", kind=\"widget\", content=\"\u003Cthe HTML>\")`\n   → returns `slug=\"team-dashboard\"`.\n3. Tell the user: saved → `\u002Fartifacts\u002Fteam-dashboard`.\n\n> **User (next day):** \"Add a burndown chart to the team dashboard.\"\n\n1. `artifact_get(slug=\"team-dashboard\")` → current HTML and its base, e.g. `v3-1a2b3c4d5e6f7a8b`.\n2. Add the chart, drawn in inline SVG (see the `visual-output` skill for CSP\u002Ftheme).\n3. `artifact_update(slug=\"team-dashboard\", base=\"v3-1a2b3c4d5e6f7a8b\", content=\"\u003Cnew HTML>\")`\n   → new version. If the user changed it since your read, the call says so and writes\n   nothing: read it again and apply the chart to what it holds now.\n4. Re-render in chat with `\u003Cwidget title=\"Team Dashboard\" slug=\"team-dashboard\">…`.\n",{"name":5,"triggers":23,"description":7},"artifact, save widget, save this, iterate, iterate on, update the widget, change the widget, version, library, find widget, what have we built, iterate again, redo the","main","cfba933d376f99978247a7d18b592232c649e87a","src\u002Fpersonalclaw\u002Fskills\u002Fbundled\u002Fartifacts",6,"https:\u002F\u002Fgithub.com\u002FPersonalClaw\u002FPersonalClaw","https:\u002F\u002Fpersonalclaw.dev","https:\u002F\u002Fgithub.com\u002FPersonalClaw","Self-hosted personal AI agent — an agentic OS for one person: chat, goal loops, memory, knowledge, automation, apps. Local-first, zero telemetry, MIT.","2026-11-15 04:04:52",{"source":8,"skillName":5,"commands":34,"prompt":44,"zipAvailable":45},[35,38,41],{"tool":36,"command":37},"npx","npx skills add PersonalClaw\u002FPersonalClaw --skill artifacts",{"tool":39,"command":40},"bunx","bunx skills add PersonalClaw\u002FPersonalClaw --skill artifacts",{"tool":42,"command":43},"pnpm","pnpm dlx skills add PersonalClaw\u002FPersonalClaw --skill artifacts","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FPersonalClaw\u002FPersonalClaw\u002Fblob\u002Fmain\u002Fsrc\u002Fpersonalclaw\u002Fskills\u002Fbundled\u002Fartifacts\u002FSKILL.md",true,[],[48,55,62,69,76,83],{"skillNo":49,"name":50,"nameZh":6,"description":51,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":52,"categories":53,"keywords":54,"publishedAt":18},"01M79D5S4EBPTFGMRDY7AM7ERD","ledger-read","Read a ledger CSV","https:\u002F\u002Fgithub.com\u002FPersonalClaw\u002FPersonalClaw\u002Fblob\u002Fmain\u002Ftests\u002Ffixtures\u002Fexternal_formats_golden\u002Fskill-md\u002Fskills\u002Fledger-read\u002FSKILL.md",[],[],{"skillNo":56,"name":57,"nameZh":6,"description":58,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":59,"categories":60,"keywords":61,"publishedAt":18},"01M79D5QFEBGM2PTM21WVTA90K","budget-coach","Weekly spend review","https:\u002F\u002Fgithub.com\u002FPersonalClaw\u002FPersonalClaw\u002Fblob\u002Fmain\u002Ftests\u002Ffixtures\u002Fexternal_formats_golden\u002Fskill-md\u002Fskills\u002Fbudget-coach\u002FSKILL.md",[],[],{"skillNo":63,"name":64,"nameZh":6,"description":65,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":66,"categories":67,"keywords":68,"publishedAt":18},"01M79D5MTEV62YBKTNY874Y9C4","yt-transcript","Fetch the transcript of a YouTube video and summarise it with timestamps. Use when the user shares a youtube.com or youtu.be link and asks what it says.","https:\u002F\u002Fgithub.com\u002FPersonalClaw\u002FPersonalClaw\u002Fblob\u002Fmain\u002Ftests\u002Ffixtures\u002Fagent_tool_skills\u002Fyt-transcript\u002FSKILL.md",[],[],{"skillNo":70,"name":71,"nameZh":6,"description":72,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":73,"categories":74,"keywords":75,"publishedAt":18},"01M79D5JG2M47DS0X3GRZ94PXY","incident-writeup","Turn my incident notes, Slack excerpts and graphs into a blameless postmortem in Cartwheel's format. Use after an on-call incident once the mitigation is in.","https:\u002F\u002Fgithub.com\u002FPersonalClaw\u002FPersonalClaw\u002Fblob\u002Fmain\u002Ftests\u002Ffixtures\u002Fagent_tool_skills\u002Fincident-writeup\u002FSKILL.md",[],[],{"skillNo":77,"name":78,"nameZh":6,"description":79,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":80,"categories":81,"keywords":82,"publishedAt":18},"01M79D5DX9SWDFDAFW3AD5FATT","feedsmith-release","Cut a feedsmith release - bump the version, move the Unreleased changelog section, tag, and draft the GitHub release notes. Use when I say \"release feedsmith\" or \"cut 0.x\".","https:\u002F\u002Fgithub.com\u002FPersonalClaw\u002FPersonalClaw\u002Fblob\u002Fmain\u002Ftests\u002Ffixtures\u002Fagent_tool_skills\u002Ffeedsmith-release\u002FSKILL.md",[],[],{"skillNo":84,"name":85,"nameZh":6,"description":86,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":87,"categories":88,"keywords":89,"publishedAt":18},"01M79D59Z7A0FEZSB5AEQYHNSR","feedsmith-bench","Benchmark feedsmith fetch against a real OPML, cold and warm, and compare with main. Use before merging anything that touches fetch.py or store.py.","https:\u002F\u002Fgithub.com\u002FPersonalClaw\u002FPersonalClaw\u002Fblob\u002Fmain\u002Ftests\u002Ffixtures\u002Fagent_tool_homes\u002Fnoor\u002F.codex\u002Fskills\u002Ffeedsmith-bench\u002FSKILL.md",[],[]]