
Local artifact
Builds HTML pages and keeps them in a local gallery you can list, reopen, update, delete
Local artifact is an open-source agent skill for developer tools. It is available on Claude Code.
- Scripts
- Python
- Platforms
- Claude Code
- GitHub stars
- 10
- Last commit
- License
- MIT
- Listing updated
Similar skills
About Local artifact
This skill has the agent build self-contained HTML pages such as reports, dashboards, explainers and small apps, then store them in a private local gallery under a per-page slug. A bundled Python script handles publishing, listing, opening, relinking and deleting entries, and publish runs the page contract checks and flags anything that needs fixing before it is considered done.
The workflow favors updating an existing page in place rather than creating a copy, so a page keeps its file link and history. Pages are plain file:// documents, so features that depend on a hosted runtime are replaced with alternatives: data is collected through a copy-as-JSON button the user pastes back into chat, live data is captured at build time with a timestamp, and per-viewer state uses localStorage. The skill also includes an optional command the user can run themselves to republish a page to claude.ai.
It expects Python 3 to run the gallery script and a file location for the gallery, which defaults to a folder in the user's home directory and can be overridden with an environment variable. Sharing a page outside the machine is left to the user's explicit confirmation.
When your agent uses it
Build an HTML page (report, dashboard, explainer, small app) and keep it in a local gallery you can list, reopen, update and delete. Replacement for the built-in Artifact tool, with zero context cost until you type /local-artifact.
From the skill's SKILL.md. Your agent reads this description to decide when to load the skill.
What it can access
- Runs Python scripts(see the files on GitHub)
- No network calls found in its scripts(see the files on GitHub)
- License: MIT(see the files on GitHub)
From a static check of its 3 files (12 KB) on GitHub on 3 December 2026. Nothing was run. Read the files before you install a skill: it can tell your agent to run anything its tools allow.
Check another skill before you install it.
Install
Copy the skill folder to ~/.claude/skills/local-artifact to use it in all your projects:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/ccomkhj/skills.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/local-artifact &&
cp -R "$tmp/local-artifact" ~/.claude/skills/local-artifact &&
rm -rf "$tmp"For one project only, put the folder in .claude/skills/local-artifact inside it instead.
Copy the skill folder to ~/.agents/skills/local-artifact to use it in every repository:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/ccomkhj/skills.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/local-artifact &&
cp -R "$tmp/local-artifact" ~/.agents/skills/local-artifact &&
rm -rf "$tmp"For one repository only, put the folder in .agents/skills/local-artifact inside it instead.
Copy the skill folder to ~/.cursor/skills/local-artifact to use it in every project:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/ccomkhj/skills.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/local-artifact &&
cp -R "$tmp/local-artifact" ~/.cursor/skills/local-artifact &&
rm -rf "$tmp"For one project only, put the folder in .cursor/skills/local-artifact inside it instead.
Run in a terminal (add --scope workspace to install it for the current workspace only):
gemini skills install https://github.com/ccomkhj/skills.git --path local-artifactOr copy the folder to ~/.gemini/skills/local-artifact yourself.
For GitHub Copilot in VS Code, copy the skill folder to ~/.copilot/skills/local-artifact:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/ccomkhj/skills.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/local-artifact &&
cp -R "$tmp/local-artifact" ~/.copilot/skills/local-artifact &&
rm -rf "$tmp"For one project only, put the folder in .github/skills/local-artifact inside it instead.
Get the folder:
git clone --depth 1 https://github.com/ccomkhj/skills.gitThen copy skills/local-artifact into your agent's skills folder as local-artifact. Agents that support SKILL.md read one folder per skill.
What it does
- Local page gallery
- Publishes generated HTML pages into a private folder where they can be listed and reopened.
- Update in place
- Edits an existing page under its slug so its file link and history stay intact.
- Page contract checks
- Runs validation on publish and reports warnings that must be fixed before finishing.
- Browser-free data entry
- Collects user input through a copy-as-JSON button pasted back into chat.
- On-demand loading
- Loads only when invoked with its slash command, adding no context cost otherwise.
- Delete with confirmation
- Removes a page folder only when the user names it and confirms.
Good for
- Build a dashboard summarizing a CSV or set of metrics as a local page
- Create an explainer page on a technical topic and save it for later
- Update an existing report page with new figures without creating a duplicate
- List previously generated pages and reopen one in the browser
- Delete an old prototype page from the local gallery
Local artifact FAQ
When does Local artifact trigger?
It is invoked manually by typing /local-artifact, since model invocation is disabled.
Where are the pages stored?
In a local gallery folder, by default under ~/.local/share/local-artifacts, which can be changed with the LOCAL_ARTIFACTS_DIR variable.
What does Local artifact need to run?
It uses a Python 3 script bundled with the skill to manage the gallery.
Can pages use a shared database or login?
No. Local file pages lack the hosted runtime features of claude.ai artifacts, so the skill substitutes copy-as-JSON input and localStorage.
Does Local artifact send pages anywhere?
Not by itself. The gallery is private to the machine, and sharing a page requires asking the user first.
How do I install Local artifact in Claude Code?
Copy the skill folder from GitHub to ~/.claude/skills/local-artifact to use it in all your projects, or to .claude/skills/local-artifact in one project.
Does Local artifact run scripts?
Yes. It runs Python scripts. No network calls were found in its scripts. This comes from a static check of the files on GitHub; nothing was run. Read the files before you install it.
Which AI agents can use Local artifact?
Claude Code. It reads skills in the SKILL.md format; the install steps on this page show where to put the folder.
What are the best alternatives to Local artifact?
The closest alternatives to Local artifact are Htmlify, Skill creator, Design taste frontend, Asset manager and PR artifact explorer.
Where this comes from
- Description: from the skill's own SKILL.md.
More from ccomkhj/skills

Audits AGENTS.md project memory files and proposes targeted, approved updates
- Open source
- 10 GitHub stars
- Developer tools

Builds interactive HTML lessons that teach AI, ML or science concepts through worked cases
- Open source
- 10 GitHub stars
- Education and exam prep

Runs a project and builds an interactive walkthrough from what actually executed
- Open source
- 10 GitHub stars
- Developer tools

Turns a clear improvement target into a measurable Claude Code /goal condition
- Open source
- 10 GitHub stars
- Developer tools

Races Claude against Codex in separate git worktrees until a measurable goal is met
- Open source
- 10 GitHub stars
- Developer tools

Runs a per-turn race between two coding agents and keeps the better diff
- Open source
- 10 GitHub stars
- Developer tools





