page-serve

page-serve is a skill for Claude Code from yonatangross/orchestkit. It costs 96 tokens per session (1,416 once invoked), scanned A, original, MIT.

A helper that serves a rendered HTML file or directory at a stable local HTTPS URL without exposing a port number. It tracks the server so the URL can be checked, reused, stopped, or replaced.

In plain words
What is it for?
Use it when a person needs to open a generated web page, optionally take a screenshot, check its status, or stop the server afterward.
Why use it?
It gives a human a reliable link to an agent-produced page instead of leaving temporary servers running or handing over changing port-based URLs. It also refuses to return a URL that does not meet the HTTPS contract.

Skill for Claude Code

Written for Claude Code: disable-model-invocation in frontmatter. Also seen: mentions Claude Code.

Part of the ork plugin — 111 skills, 38 commands, 36 agents, 32 hooks shipped together

Good fit Use it when a person needs to open a generated web page, optionally take a screenshot, check its status, or stop the server afterward.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/yonatangross/orchestkit/page-serve
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 yonatangross/orchestkit --skill page-serve
Clone the repo
git clone --depth 1 https://github.com/yonatangross/orchestkit

Made for: Claude Code.

Or install ork, the plugin that ships this one along with the rest of its 111 skills, 38 commands, 36 agents, 32 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 page-serve

README.md
[![agentmods](https://agentmods.dev/badge/skills/yonatangross/orchestkit/page-serve/github.svg)](https://agentmods.dev/skills/yonatangross/orchestkit/page-serve)
Your own site
<a href="https://agentmods.dev/skills/yonatangross/orchestkit/page-serve"><img src="https://agentmods.dev/badge/skills/yonatangross/orchestkit/page-serve/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 page-serve

Your own site · 80×15
<a href="https://agentmods.dev/skills/yonatangross/orchestkit/page-serve"><img src="https://agentmods.dev/badge/skills/yonatangross/orchestkit/page-serve.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 96 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,416 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.
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.00096 $0.01416
Opus 5.5 $0.00038 $0.00566
Sonnet 5.5 $0.00019 $0.00283
Haiku 4.5 $0.00010 $0.00142

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

Security

Grade A, and why

page-serve 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 18d ago.

The scan reads SKILL.md. This mod also ships 3 executable files (scripts/serve.sh, scripts/status.sh, scripts/stop.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.

| `<path> [flags]` | `scripts/serve.sh` | prerequisites, server, alias, state, curl check, optional screenshot |
plugins/ork/skills/page-serve/SKILL.md · 106 lines

How it starts

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

page-serve, give a human a URL

An agent that renders a page for a human needs a way to hand it over. The pattern that grew in sessions was python3 -m http.server 8991 plus portless alias <name> 8991 typed by hand: no record of the process, no stop, servers outliving the session, and one measured night (2026-09-06) where the same session did it twice and the server was still up the next morning. This skill is that pattern with a state file, a stop, a status, and a loud failure when the URL contract cannot be met.

The contract

  • The URL is https://<name>.localhost/<file>. No port, ever. portless's 443 service owns the port; a :1355 or :8991 in the URL is the pre-service fallback and the skill refuses rather than emit one.
  • One static server per name, on a free loopback port, rooted at the file's directory (so sibling assets resolve) or at the directory you pass.
  • State in .claude/state/page-serve/<name>.json: root, file, port, pid, url, time. status re-measures pid, route, and HTTP on every call; it never trusts the file.
  • Idempotent per name: same name + same root reuses the live server; a different root replaces it; --force on the alias overrides a stale route with the same name.

Usage

page-serve docs/playgrounds/roadmap-2026-09-07.html
page-serve docs/playgrounds/ --name playgrounds
page-serve <path> --screenshot          # agent-browser, returns the png path
page-serve status [--json]
page-serve stop <name>
page-serve stop --all

serve.sh prints url=, name=, port=, pid=, http=, optional screenshot=, and the exact stop= line to paste. Put the url= line in your reply's Open section.

Modes

Invocation Script What happens
<path> [flags] scripts/serve.sh prerequisites, server, alias, state, curl check, optional screenshot
status [--json] scripts/status.sh one line per served page: server up/dead, route registered/missing, HTTP code
stop <name> or stop --all scripts/stop.sh alias removed, server killed, state and screenshot deleted; every step reports

Read the full file on GitHub · 106 lines

Files

What ships with it

4 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. 18d ago Changed · -1 lines 753bdd38a6b8
  2. 22d ago Changed · -15 tokens per session d9043e6cbe68
  3. 26d ago Changed 3bc30b2df290
  4. 1mo ago Changed 8d5faf3a1d20
  5. 1mo ago First seen · 107 lines · 111 tokens per session scan A d52e06c84c05

Subscribe to this mod's changes

page-serve is a skill published in the GitHub repository yonatangross/orchestkit (295 stars, last pushed today), licensed MIT. It adds 96 tokens to every session and 1,416 once invoked, about $0.0004 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-09-08.