artifact

Persists request results to timestamped artifact files for reuse by follow-on agents.

Updated Apr 9, 2026
One-click install
npx skills add https://github.com/muselesscreator/ui-skills --skill artifact-muselesscreator
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: artifact
Source: https://github.com/muselesscreator/ui-skills/tree/main/artifact
Command: npx skills add https://github.com/muselesscreator/ui-skills --skill artifact-muselesscreator

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? When an agent produces a valuable result (a log, an analysis, a query output), that result normally lives only in the conversation and must be regenerated by any follow-on agent. This Skill performs the requested work once and writes the full result to a distinct, self-contained artifact file so later agents can read it instead of redoing the work. ## Core Features & Use Cases - Per-request artifact files: Each invocation derives a kebab-case slug from the request (e.g. "log", "analyze", "summarize-failing-tests") and writes a separate timestamped file, so multiple calls in one turn never overwrite each other. - Predictable latest pointers: A per-slug artifact-{slug}-latest.md symlink gives follow-on agents a stable read path without knowing timestamps. - Chained artifacts: New artifacts can build on prior ones via a based_on frontmatter reference, e.g. an analysis artifact referencing an earlier log artifact. - Use Case: Run /artifact log the test output to capture a failing test run, then later /artifact analyze the output — the analysis reads the saved log artifact rather than rerunning the tests. ## Quick Start Ask the agent to run "artifact summarize the failing tests" and it will perform the summarization and save the result to a reusable artifact file.

Frequently Asked Questions about artifact

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I save an agent's output to a file for later reuse?

Invoke the artifact skill with a request like "artifact log the output" or "artifact analyze the results". It performs the work and writes the full result to a timestamped Markdown file under ~/.claude/skill-output/{repo}/{branch}/.

How do follow-on agents read a saved artifact?

Each artifact slug gets a stable symlink named artifact-{slug}-latest.md in the skill-output directory. A follow-on agent reads that predictable path instead of searching for timestamped filenames.

What happens if I run multiple artifact calls in one turn?

Each invocation derives its own slug from the request's verb and subject, so calls like "log the output" and "analyze the output" write separate files. The skill never appends to or overwrites another artifact from the same turn.

Can a new artifact build on a previous one?

Yes. Before doing the work, the skill checks for relevant prior artifacts and reads them instead of regenerating. The new artifact records the source file in its frontmatter via the based_on field.

Where are artifact files stored on disk?

Artifacts are written to ~/.claude/skill-output/{repo}/{branch}/, where repo and branch are resolved from git. If git information is unavailable, fallback values like no-repo or no-branch are used.

What happens if I invoke artifact with no arguments?

The skill does not guess a task. It asks the user what to perform and persist, since the request text defines both the work to do and the artifact's filename slug.