publish-artifact

publish-artifact is a skill for Claude Code, Codex from Xakki/ai-agents-skills. It costs 49 tokens per session (1,645 once invoked), scanned A, original, MIT.

A publishing helper that places a self-contained HTML page on an already configured static website and returns its public web address.

In plain words
What is it for?
Use it to publish HTML pages or artifacts through a project’s `publish-artifact` command, optionally choosing the page’s URL slug.
Why use it?
It removes the manual file-copying step when sharing a standalone HTML artifact. It can also turn an HTML fragment into a complete document.

Skill for Claude CodeCodex

Written for Claude Code and Codex: shipped in a Claude Code plugin, but also agents/openai.yaml present.

Part of the ai-agents-skills plugin — 65 skills, 3 agents, 6 hooks shipped together

Good fit Use it to publish HTML pages or artifacts through a project’s publish-artifact command, optionally choosing the page’s URL slug.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/xakki/ai-agents-skills/publish-artifact
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 Xakki/ai-agents-skills --skill publish-artifact
Clone the repo
git clone --depth 1 https://github.com/Xakki/ai-agents-skills

Made for: Claude Code, Codex.

Or install ai-agents-skills, the plugin that ships this one along with the rest of its 65 skills, 3 agents, 6 hooks.

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 publish-artifact

README.md
[![agentmods](https://agentmods.dev/badge/skills/xakki/ai-agents-skills/publish-artifact/github.svg)](https://agentmods.dev/skills/xakki/ai-agents-skills/publish-artifact)
Your own site
<a href="https://agentmods.dev/skills/xakki/ai-agents-skills/publish-artifact"><img src="https://agentmods.dev/badge/skills/xakki/ai-agents-skills/publish-artifact/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 publish-artifact

Your own site · 80×15
<a href="https://agentmods.dev/skills/xakki/ai-agents-skills/publish-artifact"><img src="https://agentmods.dev/badge/skills/xakki/ai-agents-skills/publish-artifact.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 49 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,645 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.
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.00049 $0.01645
Opus 5.5 $0.00020 $0.00658
Sonnet 5.5 $0.00010 $0.00329
Haiku 4.5 $0.00005 $0.00164

Measured 6d ago against content hash 5826934203a3, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

publish-artifact 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 6d 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.

skills/publish-artifact/SKILL.md · 122 lines

How it starts

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

publish-artifact

Set up and use a publisher appropriate to the project and its actual infrastructure. A publisher may be a project command, static server, object store, or other supported backend; do not assume Make, nginx, a fixed route, or local file storage.

Select and configure a destination

  1. Inspect the current project's instructions and existing publication, domain, storage and deployment configuration. Reuse its supported publisher if suitable. A configured project publisher and public HTTPS base URL take precedence over global settings.
  2. If the project has a public domain but no publisher, integrate one using its existing conventions and durable storage. Keep routes isolated and preserve existing behavior.
  3. If it has no public domain, use the owner's configured global publisher and public HTTPS base URL. A URL alone is not a publisher: verify its matching write interface, routing, TLS, and project-specific namespace. If the global service is absent, set it up within the authorized infrastructure; select an unused owned name after checking DNS, TLS and routing. Wildcard resolution does not prove that a name is unused.
  4. Resolve settings from the runtime's supported environment/configuration interface. On hosts that use ~/.bash_ai, place owner-specific global settings there, without embedding credentials, domain names, storage paths or implementation assumptions in this shared skill. Existing processes may need a refreshed environment. Project settings override global settings; do not silently fall back when a configured project publisher fails. See reference.md for the integration contract.

Publish

Read the entire input before publication. Identify salary expectations, career history and other personal or sensitive material in reports; publish only the content the owner explicitly authorized and warn that anyone with the link can read it. A response-local noindex directive is not access control. Include requested next actions in the artifact and distinguish planned steps from completed effects. Publish a single HTML document with inline CSS/JS and no assets that must be fetched from private or local paths. Links and <a href> to external sites are allowed and expected in reports; external scripts, styles, fonts and images are allowed too but make the page depend on those hosts, so prefer inline for anything essential. Resources must use https:// (browsers block http:// subresources on an HTTPS page). Check what the destination actually enforces (publisher validation, a Content-Security-Policy header, X-Frame-Options, a size limit) and read the page back to confirm it renders; do not assume the page is sandboxed. Never publish impersonation, fabricated records/reviews, or deceptive credential/payment collection. Invoke the selected publisher according to its documented contract, using a unique project namespace and a nonconflicting slug. Read back the exact public HTTPS URL and compare the complete response with the expected published document, including any intentional transformation, before claiming success. Report the URL and any incomplete verification. Publication is an external write and needs user authorization.

Read the full file on GitHub · 122 lines

Files

What ships with it

3 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 6d ago Changed · +74 lines · +15 tokens per session scan D → A 5826934203a3
  2. 3mo ago First seen · 48 lines · 34 tokens per session scan D 49c6b31575f2

Subscribe to this mod's changes

publish-artifact is a skill published in the GitHub repository Xakki/ai-agents-skills (6 stars, last pushed 7d ago), licensed MIT. It adds 49 tokens to every session and 1,645 once invoked, about $0.0002 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-31.

Related

publish-artifact compared with skills from other repositories

publish-artifact next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
publish-artifactXakki/ai-agents-skillsSkill67d agoMITA49Claude Code, Codex
vercel-deploybytedance/deer-flowSkill86ktodayMITA69Claude Code, Codex
moai-platform-deploymentmodu-ai/moai-adkSkill1.3ktodayApache-2.0A42Claude Code
moai-platform-database-cloudmodu-ai/moai-adkSkill1.3ktodayApache-2.0A51Claude Code
multi-service-orchestrationa5c-ai/babysitterSkill1.9k29d agoMITA27Claude Code
kirby-performance-and-mediabnomei/kirby-mcpSkill74yesterdayMITA37Claude Code, Codex
prometheusCloudChef/atlasclaw-providersSkill172d agoApache-2.0A39Claude Code