use-artifacts

use-artifacts is a skill for Claude Code, Codex from KonghaYao/peri. It costs 37 tokens per session (1,026 once invoked), scanned A, original, Apache-2.0.

A guide for publishing work as public HTML pages called artifacts, which have stable links that can be shared or opened in a browser. It explains what kinds of work belong in these pages and when to update them.

In plain words
What is it for?
Use it for progress boards, research reports, design decisions, data visualizations, and HTML-based final results. Do not use it for code snippets, one-line answers, debug logs, or large data dumps.
Why use it?
It helps decide when a result needs a browsable page instead of a chat message or a source file. It also provides a simple schedule for sharing drafts, milestones, and final deliverables.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it for progress boards, research reports, design decisions, data visualizations, and HTML-based final results. Do not use it for code snippets, one-line answers, debug logs, or large data dumps.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/konghayao/peri/use-artifacts
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add KonghaYao/peri --skill use-artifacts
Clone the repo
git clone --depth 1 https://github.com/KonghaYao/peri

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for use-artifacts

README.md
[![agentmods](https://agentmods.dev/badge/skills/konghayao/peri/use-artifacts/github.svg)](https://agentmods.dev/skills/konghayao/peri/use-artifacts)
Your own site
<a href="https://agentmods.dev/skills/konghayao/peri/use-artifacts"><img src="https://agentmods.dev/badge/skills/konghayao/peri/use-artifacts/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for use-artifacts

Your own site · 80×15
<a href="https://agentmods.dev/skills/konghayao/peri/use-artifacts"><img src="https://agentmods.dev/badge/skills/konghayao/peri/use-artifacts.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 37 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,026 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00037 $0.01026
Opus 5.5 $0.00015 $0.00410
Sonnet 5.5 $0.00007 $0.00205
Haiku 4.5 $0.00004 $0.00103

Measured 1mo ago against content hash 91fbe3e0f33f, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

use-artifacts scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

mcp-packages/workspace/src/resources/builtin/skills/use-artifacts/SKILL.md · 115 lines

How it starts

The opening of the file, as written. The whole thing — 115 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Using Artifacts

Artifacts are public HTML pages you upload to a hosting service. They have stable URLs that you can share with the user or open in a browser. Use them to surface work-in-progress, summaries, and reports.

When to use artifacts

Good artifact content:

  • Progress panels / kanbans (task list with status)
  • Research reports and analysis (data + findings + recommendations)
  • Design docs / decision records (with context and rationale)
  • Data visualizations (tables, SVG charts, flow diagrams)
  • Final deliverables (the "thing the user asked for" rendered as HTML)

Do NOT use artifacts for:

  • Code snippets — use files directly
  • One-line answers — keep them in chat
  • Internal debug logs — keep them in chat
  • Large data dumps — link to source files instead

Cadence — when to upload

  • Task start: if the task is complex (multi-step, research, deliverable), upload a skeleton artifact first as scaffolding (placeholder sections).
  • Milestones: when you complete a phase (research done / implementation done / tests pass), update the artifact.
  • User asks: upload immediately.
  • Task end: ship the final artifact as the deliverable.

Do NOT upload:

  • After every tool call (noise)
  • Mid-step with no meaningful change (e.g. fixed a typo)

How to invoke (direct tool)

artifact is a direct tool. It is already in your tool list, so no discovery step is needed — every call is a single step.

First upload (creates a new artifact):

1. Use the Write tool to write HTML (.html) or Markdown (.md) to a local file (location is your choice).
2. Call `artifact` with `{ file_path: "<absolute-path>.html|.md" }`.
3. Save the returned `id` from the tool result — this is the hash.

Subsequent updates (overwrites in place, URL stays stable):

1. Update the local file.
2. Call `artifact` with `{ file_path: "<absolute-path>.html|.md", hash: "<id-from-first-call>" }`.

The URL returned on every call is the same when you pass the same hash. The user can open it at any time to see the latest version.

Read the full file on GitHub · 115 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 1mo ago Changed · -1 lines · -7 tokens per session 91fbe3e0f33f
  2. 3mo ago First seen · 116 lines · 44 tokens per session scan A e69ab02090d6

Subscribe to this mod's changes

use-artifacts is a skill published in the GitHub repository KonghaYao/peri (273 stars, last pushed today), licensed Apache-2.0. It adds 37 tokens to every session and 1,026 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

use-artifacts compared with skills from other repositories

use-artifacts next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
use-artifactsKonghaYao/periSkill273todayApache-2.0A37Claude Code, Codex
babysit-propeninterpreter/openinterpreterSkill69kyesterdayApache-2.0A114Codex
plugin-creatoropeninterpreter/openinterpreterSkill69kyesterdayApache-2.0A86Codex
codex-pr-bodyopeninterpreter/openinterpreterSkill69kyesterdayApache-2.0A17Codex
remote-testsopeninterpreter/openinterpreterSkill69kyesterdayApache-2.0A12Codex
update-v8-versionopeninterpreter/openinterpreterSkill69kyesterdayApache-2.0A86Codex
qa-testingopeninterpreter/openinterpreterSkill69kyesterdayApache-2.0A77Claude Code, Codex