arthub

Publishes reports and design documents to arthub as shareable web links via MCP.

Updated Jul 31, 2024
One-click install
npx skills add https://github.com/sharosoo/dotfile --skill arthub-sharosoo
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: arthub
Source: https://github.com/sharosoo/dotfile/tree/main/.claude/skills/arthub
Command: npx skills add https://github.com/sharosoo/dotfile --skill arthub-sharosoo

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve? Analysis reports, research findings, and design documents often end up as local files that are hard to share. This Skill publishes them to arthub so every artifact gets a stable web link, and updates reuse the same slug so links never break. ## Core Features & Use Cases - Document Publishing: Publish markdown reports, dashboards, and design docs through the remote arthub MCP server using publish_artifact and update_artifact. - Convention Enforcement: Apply arthub's markdown rules (no raw HTML, single H1, ::: components, chart presets, self-contained live blocks) so documents pass server-side validation. - Draft Conflict Safety: Check list_artifacts before creating and get_draft before updating to avoid overwriting a human's unpublished draft. - Use Case: After finishing an analysis report, publish it to arthub and hand the user a shareable link; later, update the same slug when the data changes. ## Quick Start Publish this analysis report to arthub and give me the shareable link.

Frequently Asked Questions about arthub

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

FAQPage Schema
How do I publish a markdown report as a shareable web link?▼

Use the publish_artifact tool from the arthub MCP server to publish the markdown document, which returns a web link. Updates use update_artifact with the same slug so the link stays valid.

How do I set up the arthub MCP server in Claude Code?▼

Run claude mcp add with the HTTP transport pointing to https://artifact.sharosoo.com/mcp and an Authorization bearer token header. Tokens are issued at https://artifact.sharosoo.com/settings/tokens and are personal, not shared across a team.

Why does arthub reject my document with a 400 error?▼

The publish API rejects documents that violate conventions such as raw HTML, multiple H1 headings, or improperly nested ::: components. Read the findings in the error response, fix the violations, and call the tool again.

Can I update an existing arthub document without breaking its link?▼

Yes, call update_artifact with the same slug instead of creating a new document. First call get_draft to check for an unpublished human-edited draft, and stop to report the conflict if one exists.

What chart and interactive content does arthub markdown support?▼

Charts use the ```chart preset with types like column, bar, line, and pie, with automatic palette and dark mode. Interactive content uses self-contained html render live blocks limited to approved CDN domains, 20 blocks per document and 64KB each.