headlenss-preview-tabs

headlenss-preview-tabs is a skill for Claude Code from takashicompany/headlenss. It costs 146 tokens per session (3,800 once invoked), scanned A, original, MIT.

A procedure for showing HTML pages, development servers, and progressive web apps as tabs in the headlenss web interface on a computer or phone.

In plain words
What is it for?
Use it when someone wants a page, report, or preview displayed in a headlenss session tab, including when they are viewing it from a phone.
Why use it?
It lets people inspect finished work beside the chat instead of searching for files or opening another browser window.

Skill for Claude Code

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

Part of the headlenss plugin — 4 skills shipped together

Good fit Use it when someone wants a page, report, or preview displayed in a headlenss session tab, including when they are viewing it from a phone.

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

Made for: Claude Code.

Or install headlenss, the plugin that ships this one along with the rest of its 4 skills.

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 headlenss-preview-tabs

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/takashicompany/headlenss/headlenss-preview-tabs"><img src="https://agentmods.dev/badge/skills/takashicompany/headlenss/headlenss-preview-tabs.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 146 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,800 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.00146 $0.03800
Opus 5.5 $0.00058 $0.01520
Sonnet 5.5 $0.00029 $0.00760
Haiku 4.5 $0.00015 $0.00380

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

Security

Grade A, and why

headlenss-preview-tabs 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 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.

Makes network callslowCapability

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

curl -s -o /dev/null -w "%{http_code}\n" http://127.0.0.1:3000/api/health
plugin/skills/headlenss-preview-tabs/SKILL.md · 219 lines

How it starts

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

成果物を headlenss の Web タブに出す

headlenss の Web UI (PC / スマホのブラウザ) でセッションのチャット画面を開くと、 画面のいちばん下に チャット | <登録タブ…> というタブ帯が出る。この登録タブに、 いま作っている HTML や dev server を並べられる。

  ← 戻る   mysession              ↻  ↗   [ tmux ][ chat ]
  ┌──────────────────────────────────────────────────────┐
  │                                                      │
  │   会話、または選んだタブの中身がここに出る            │
  │                                                      │
  ├──────────────────────────────────────────────────────┤
  │ [ チャット ][ レポート ][ 画面プレビュー ]            │  ← タブ帯
  └──────────────────────────────────────────────────────┘

タブ帯はチャット画面の中の切り替えで、ヘッダの tmux | chat とは別物。 登録が 1 件も無いセッションでは帯そのものが出ない (従来どおりのチャット画面)。

チャットで「できました」と言ってからユーザーがファイルを探しに行く必要がなくなるのが目的。 成果物を作ったら、このタブに出すところまでが仕事。

このスキルは環境非依存。ホスト名・ポート・パスはすべて自分の環境の値に読み替える。 推測しない (手順 0 で実際の値を確定させる)。

絶対に守ること

headlenss-dev-server スキルと同じ制約がそのまま効く。

  • headlenss が使っているポートを奪わない (既定 3000 / 443 / 80)。lsof や ss で 見つけても kill しない。
  • プロセスを kill しない。 kill / pkill / killall / PID 指定のシグナルで 他人のプロセスを止めない。ps や ss で得た親 PID・祖先 PID は診断情報であって 停止対象ではない。とくに tmux サーバー・headlenss.service・ /usr/lib/systemd/systemd --user・自分が起動していない共有サービスは対象外。
  • tailscale serve reset を使わない (全ポートの設定が消える)。
  • 他人の行を書き換えない。 .headlenss-plugins.conf は 1 セッション 1 ファイルだが、 自分が足した行以外は触らない。

0. 環境を調べる

セッションの中 (= tmux の pane) で実行する。

# このセッションの名前 (Web UI の URL とタブ一覧 API に使う)
tmux display-message -p '#S'

# このセッションの作業フォルダ (宣言ファイルの置き場所)
pwd

# headlenss サーバが生きているか (200 以外なら止まっている)
curl -s -o /dev/null -w "%{http_code}\n" http://127.0.0.1:3000/api/health

以後、セッション名を <session>、作業フォルダを <cwd> と書く。 サーバのポートが 3000 でない環境では URL を読み替える。

1. 宣言ファイルの書式

置き場所は セッションの作業フォルダの直下 の .headlenss-plugins.conf。 1 行 1 件で 名前 = 値。# 以降と空行は無視される。

# 名前 = 値       名前がそのままタブの見出しになる (日本語・空白 OK)

レポート     = report/index.html            ← ファイル型 (作業フォルダからの相対パス)
画面プレビュー = http://<host>:<port>/ web   ← URL 型 (dev server / PWA)。ブラウザ用は web 必須

Read the full file on GitHub · 219 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 First seen · 219 lines · 146 tokens per session scan A 47cd405eb406

Subscribe to this mod's changes

headlenss-preview-tabs is a skill published in the GitHub repository takashicompany/headlenss (6 stars, last pushed 5d ago), licensed MIT. It adds 146 tokens to every session and 3,800 once invoked, about $0.0006 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-10-25.

Related

headlenss-preview-tabs compared with skills from other repositories

headlenss-preview-tabs next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
headlenss-preview-tabstakashicompany/headlenssSkill65d agoMITA146Claude Code
anti-slop-designsickn33/agentic-awesome-skillsSkill51ktodayMITA34Claude Code
chakra-ui-builderchakra-ui/chakra-uiSkill41ktodayMITA214Claude Code, Codex
visual-ralphYeachan-Heo/oh-my-codexSkill34k2d agoMITA52Codex
prototype-webnexu-io/html-anythingSkill17k5d agoApache-2.0A24Claude Code, Codex
edit-sitemicrosoft/power-platform-skillsSkill1.2ktodayMITA104Claude Code
open-design-setupcompozy/compozySkill2.9ktodayMITA67Claude Code, Codex