Ship a save-artifact skill for the social-media-tools plugin that copies the HTML Artifact pages Claude generates into ${CLAUDE_PLUGIN_ROOT}/artifacts/ under a dated filename, so a page you just built can be handed off and shared in one command.
Read and implement all steps in the plan at docs/plans/add-save-artifact-skill.md — Add a save-artifact skill to social-media-tools. Verify against the plan's Tests, Verification, and Acceptance Criteria before reporting done. If everything passed, mark completion in docs/plans/add-save-artifact-skill.md — tick each step's [x] marker and each criterion's - [x], set status: completed — and re-render the HTML from the spec. If any check failed, leave status: in-progress and say which.
More ways to run this plan — goal & workflow prompts, file path
Achieve this goal: Add a save-artifact skill to social-media-tools. The plan at docs/plans/add-save-artifact-skill.md describes one approach — use it as reference, but optimize for the outcome. Fan out across parallel subagents where that serves the outcome. Verify against the plan's Tests, Verification, and Acceptance Criteria before reporting done. If everything passed, mark completion in docs/plans/add-save-artifact-skill.md — tick each step's [x] marker and each criterion's - [x], set status: completed — and re-render the HTML from the spec. If any check failed, leave status: in-progress and say which.
Run a workflow to implement the plan at docs/plans/add-save-artifact-skill.md — Add a save-artifact skill to social-media-tools. Brief subagents with the plan file at docs/plans/add-save-artifact-skill.md. Reserve a final verification phase for the lead agent, not a subagent. Verify against the plan's Tests, Verification, and Acceptance Criteria before reporting done. If everything passed, mark completion in docs/plans/add-save-artifact-skill.md — tick each step's [x] marker and each criterion's - [x], set status: completed — and re-render the HTML from the spec. If any check failed, leave status: in-progress and say which.
add-save-artifact-skill.html
docs/plans/add-save-artifact-skill.html
docs/plans/add-save-artifact-skill.md
Context
The story behind this plan — what prompted the work and why it matters now.
Claude's Artifact tool produces self-contained HTML pages (design-guided pages, dashboards, tools), but each lives only in the chat session — there is no one-step way to drop a finished page somewhere shareable. This adds a save-artifact skill to social-media-tools (the repo's share-focused plugin) that copies a chosen HTML artifact into ${CLAUDE_PLUGIN_ROOT}/artifacts/ . Tradeoff, chosen deliberately: ${CLAUDE_PLUGIN_ROOT} resolves to the installed plugin cache (e.g. ~/.claude/plugins/cache/… ), which is wiped on every plugin reinstall or update — so artifacts saved there are not durable and are not committed with the repo. This location was requested explicitly; the durability tradeoff is tracked in Unresolved Questions.
Files that change
Every file this plan touches, and what happens to each one.
kit/plugins/social-media-tools/skills/save-artifact/SKILL.mdnew the save-artifact skill body- kit/plugins/social-media-tools/
CHANGELOG.mdmodified add 2.15.0 entryREADME.mdmodified list save-artifact skill
.claude-plugin/marketplace.jsonmodified bump version to 2.15.0tests/plugins/test-save-artifact.shnew objective smoke testpath/to/file.extmodified what changes
Steps
The step-by-step work, in order — each step says what to do, why it matters, and how to check it worked.
Tests
The tests that prove the change does what it promises.
Definition of done
The plan counts as done when every statement below is true — check each one off as you verify it.
Final check
One last pass to confirm the whole change works end to end.
Load the plugin locally with claude --plugin-dir ./kit/plugins/social-media-tools , generate or open a sample HTML artifact, then invoke /social-media-tools:save-artifact <path> . Confirm a dated copy appears under the resolved ${CLAUDE_PLUGIN_ROOT}/artifacts/ directory and the reported absolute path matches. Re-run with CLAUDE_PLUGIN_ROOT unset and confirm the skill errors without writing. Finally run bash tests/plugins/test-save-artifact.sh and confirm it exits 0.
Wrapping up
Three gates that must all pass before this plan is marked completed.
Completion Report
No items to report — all requirements met.