share-server-setup

share-server-setup is a skill for Claude Code from ondrej-svec/heart-of-gold-toolkit. It costs 53 tokens per session (807 once invoked), scanned A, original, MIT.

A setup guide for a local server that lets coding agents publish HTML files and static previews for browser viewing. It can use Tailscale, a private network tool, for viewing from another device.

In plain words
What is it for?
Use it to check or install the share server, save its configuration, keep it running on macOS, and optionally enable private Tailscale viewing.
Why use it?
It removes the need to create a temporary file server each time or manually configure sharing. It also helps agents reuse one local publishing setup.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the marvin plugin — 13 skills, 3 agents, 2 hooks shipped together

Good fit Use it to check or install the share server, save its configuration, keep it running on macOS, and optionally enable private Tailscale viewing.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/ondrej-svec/heart-of-gold-toolkit/share-server-setup
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 ondrej-svec/heart-of-gold-toolkit --skill share-server-setup
Clone the repo
git clone --depth 1 https://github.com/ondrej-svec/heart-of-gold-toolkit

Made for: Claude Code.

Or install marvin, the plugin that ships this one along with the rest of its 13 skills, 3 agents, 2 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 share-server-setup

README.md
[![agentmods](https://agentmods.dev/badge/skills/ondrej-svec/heart-of-gold-toolkit/share-server-setup/github.svg)](https://agentmods.dev/skills/ondrej-svec/heart-of-gold-toolkit/share-server-setup)
Your own site
<a href="https://agentmods.dev/skills/ondrej-svec/heart-of-gold-toolkit/share-server-setup"><img src="https://agentmods.dev/badge/skills/ondrej-svec/heart-of-gold-toolkit/share-server-setup/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 share-server-setup

Your own site · 80×15
<a href="https://agentmods.dev/skills/ondrej-svec/heart-of-gold-toolkit/share-server-setup"><img src="https://agentmods.dev/badge/skills/ondrej-svec/heart-of-gold-toolkit/share-server-setup.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 53 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 807 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. 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.00053 $0.00807
Opus 5.5 $0.00021 $0.00323
Sonnet 5.5 $0.00011 $0.00161
Haiku 4.5 $0.00005 $0.00081

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

Security

Grade A, and why

share-server-setup scanned grade A with 1 finding 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 2mo ago.

The scan reads SKILL.md. This mod also ships 5 executable files (scripts/configure-existing-server.sh, scripts/configure-tailscale-viewer.sh, scripts/healthcheck.sh, …), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

compatibility: Requires Bun, curl, and optionally Tailscale CLI for private tailnet exposure. macOS LaunchAgent automation is supported in v1.
plugins/marvin/skills/share-server-setup/SKILL.md · 109 lines

How it starts

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

Share Server Setup

Set up or adopt a local share server for cross-agent HTML/static artifact sharing.

Use this skill when

  • the user wants to share generated HTML reports or static previews in a browser
  • the user wants a reusable local share server, not a one-off ad hoc file server
  • the user wants optional private viewing over Tailscale
  • share-html cannot run because the share server is not configured yet

Boundaries

This skill may:

  • inspect local config and server health
  • install the Heart of Gold reference share server
  • write/update ~/.agent-share/config.json
  • configure a macOS LaunchAgent for long-running use
  • optionally configure tailscale serve for the viewer listener

This skill may not:

  • expose the publish API remotely
  • enable Funnel/public internet access by default
  • assume Tailscale is required for local usage

Quick decision flow

  1. Check current health:
    bash scripts/healthcheck.sh
    
  2. If a compatible server already exists, keep it and update config if needed.
  3. If no compatible server exists, install the reference server:
    bash scripts/install-reference-server.sh
    
  4. For macOS long-running usage, install the LaunchAgent:
    bash scripts/install-launch-agent.sh
    
  5. If the user wants browser access from another tailnet device, configure Tailscale for the viewer listener only:
    bash scripts/configure-tailscale-viewer.sh --public-base-url "https://<machine>.<tailnet>.ts.net"
    

Existing compatible server mode

If the user already has a compatible local share server, write the config without reinstalling:

bash scripts/configure-existing-server.sh \
  --api-url "http://127.0.0.1:4815" \
  --viewer-url "http://127.0.0.1:4816" \
  --public-base-url "https://<machine>.<tailnet>.ts.net" \
  --provider existing

Then verify:

bash scripts/healthcheck.sh

Reference implementation mode

Install the reference server files, initialize config, and verify health:

Read the full file on GitHub · 109 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. 2mo ago First seen · 109 lines · 53 tokens per session scan A 91265800bd27

Subscribe to this mod's changes

share-server-setup is a skill published in the GitHub repository ondrej-svec/heart-of-gold-toolkit (19 stars, last pushed 1mo ago), licensed MIT. It adds 53 tokens to every session and 807 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

share-server-setup compared with skills from other repositories

share-server-setup next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
share-server-setupondrej-svec/heart-of-gold-toolkitSkill191mo agoMITA53Claude Code
interactive-loginyc-software/qmSkill16ktodayMITA46Claude Code, Codex
pinchtab-mcppinchtab/pinchtabSkill11k10d agoMITA52Claude Code, Codex
azure-messaging-webpubsub-javamicrosoft/skillsSkill3.2kyesterdayMITA43Claude Code
cua-driverdavidondrej/skillsSkill4.3k3d agoMITA68Claude Code, Codex
open-design-browsercompozy/compozySkill2.9ktodayMITA56Claude Code, Codex
southwestborski/travel-hacking-toolkitSkill895yesterdayMITA40Claude Code