tunelito
Run a human-in-the-loop review loop over any HTML artifact (a page, dashboard, plan, draft, design mockup) with the `tunelito` CLI: serve it, let a human drop comments anchored directly on the page, then read those comments and act on them in a loop. Use this whenever the user wants to look at something and leave feedback on it — "let me review this in the browser", "share it so I can comment", "I want to mark up the page", any human-in-the-loop / HITL review or sign-off, or whenever you'd otherwise be guessing at feedback on a generated artifact. Prefer this over inventing ad-hoc "leave comments in the file" conventions.
What this skill does
# tunelito — human-in-the-loop review surface
`tunelito` (CLI, `tunelito <page.html|folder> [options]`) serves an HTML artifact
locally (and optionally over a Cloudflare tunnel), overlays a commenting UI so a
human can attach comments to specific elements on the page, and writes every comment
to a markdown file. That markdown file is the channel you watch and act on.
This turns "I generated something, is it right?" into a real feedback loop: the human
sees the artifact, marks up exactly what's wrong *where it's wrong*, and you respond —
instead of you guessing or them describing problems in prose.
## When to use
- The user wants to **review a generated artifact visually** and leave feedback: a
page, dashboard, report, plan, spec, draft, or design mockup.
- You want **structured human sign-off** before committing to an approach, rather than
asking "does this look right?" in chat and getting vague answers.
- A long artifact needs **localized comments** ("this section", "this number", "this
button") that are painful to reference in plain chat.
Don't use it for quick yes/no questions, or when the user explicitly wants to edit the
artifact themselves rather than comment on it.
## The loop
1. **Prepare the artifact as HTML.** tunelito serves HTML. If you already have a page,
point at it. If you have markdown (a plan, draft, doc), render it to a small HTML
page first, or serve the folder (see *Reviewing markdown*). Put the page and any
data it loads in one folder so relative `fetch()`/asset paths resolve.
2. **Launch tunelito in the background** and capture the local URL (see *Launching*).
3. **Hand the URL to the user** and tell them, briefly, what they're looking at and that
you're watching their comments — they can mark up the page directly.
4. **Watch the comments file** for changes (see *Watching*). Don't poll in your own
turn; run a background watcher that exits when the file changes, which re-invokes you.
5. **Read and act** on each new comment (see *Reading comments*). Make the changes,
regenerate the artifact if needed, and reply in chat summarizing what you did.
6. **Re-arm the watcher** and continue until the user is done. Comments arrive in bursts;
re-read the whole file each time and act only on what's new.
## Launching
```
tunelito <page.html|folder> [options]
```
| Option | Use |
|--------|-----|
| `--out <path>` | Where comments are written. Default `<target>.comments.md`. **Set this explicitly** so you know exactly what file to watch. |
| `--no-tunnel` | Local only — skip the Cloudflare tunnel. Fastest; right for a solo local review. |
| `--no-auth` | Drop the review-key gate so the URL is a clean `http://127.0.0.1:<port>/`. |
| `--open` | Open the page in the user's browser automatically. |
| `--port <n>` | Default: first free port from `4317`. |
| `--live` | Ephemeral collaboration; do **not** persist comments to disk (avoid when you need to watch a file). |
| `--agent claude` | Lets *tunelito itself* run a separate agent worker on comments. Avoid this when **you** are the one watching — it spawns a second agent. |
**Recommended for a local solo loop** (you watch, no sharing):
```bash
cd <folder-with-the-page>
tunelito . --no-tunnel --no-auth --out comments.md --open
# → serves http://127.0.0.1:4317/ , writes ./comments.md
```
Run this in the background (it's a long-lived server). Then confirm it's up before
handing over the URL — e.g. `curl -s -o /dev/null -w '%{http_code}' http://127.0.0.1:4317/`.
**For remote sharing** (review from a phone or another machine), drop `--no-tunnel`
(and usually `--no-auth`) so tunelito prints a public tunnel URL with a review key.
## Watching
There's usually no `fswatch` available, so watch by polling the comments file's
modification signature and exiting on change — exiting is what hands control back to you.
Use the bundled script:
```bash
scripts/watch_comments.sh ./comments.md # run in the BACKGROUND; prints new content and exits on change
```
Run it as a background process. When the human comments, it exits, you're re-invoked,
you read the file, act, and start it again. Pick a poll interval that keeps your context
cache warm if you're cost-sensitive; 3s is fine for an interactive session.
Do **not** schedule short wake-ups to poll yourself — let the background watcher's exit
re-invoke you.
## Reading comments
The comments file is human-readable markdown with one machine block per comment. Each
comment looks like this:
```
<!-- tunelito-comment: <base64-encoded JSON metadata> -->
## Guest 0H4X0Y at 2026-06-08 15:14:05 UTC
> tech · 5
we can get rid of all the tech ones for now. YAGNI, right?
_Context: scope: `page` · page: `/` · path: `body > tbody#rows > tr:nth-of-type(25) > td > span` · text offset: 12315 · id: `c_…`_
```
To interpret a comment:
- **The body** (the paragraph after the `>` quote) is what the human is telling you to do.
- **The `>` quote** is the on-page text they anchored to — use it to know *which thing*
they mean (a row, a heading, a number).
- **The `_Context: … path: …_`** line is the CSS selector / location on the page; use it
to disambiguate when the quote alone is ambiguous.
- **Ignore the `<!-- tunelito-comment: … -->` base64 line** for reading — it's session
metadata so tunelito can restore state, not instructions.
Read the whole file each cycle and diff against what you've already handled (track by the
comment `id` in the metadata, or by position) so you act on new comments only.
## Reviewing markdown (plans, drafts, docs)
tunelito serves HTML, so wrap markdown before serving. Two good options:
- **Render to a single page**: convert the markdown to an `index.html` (any renderer; keep
it simple and readable) and serve that file. Best when you want a clean reading surface.
- **Serve the folder**: drop the `.html` alongside its data/assets in one directory and
point tunelito at the directory so relative paths load.
Keep on-page text meaningful and uniquely phrased — the human's comments anchor to page
text, so clear headings and labels make their feedback easy to localize.
## Tips
- Verify the server responds (HTTP 200) and that any data file it loads is reachable
before sending the URL — a blank page wastes a review round.
- One artifact, one comments file, one watcher. If you regenerate the artifact, keep the
same `--out` path so the thread of comments stays continuous.
- This skill replaces older "leave comments as callouts in the file" conventions — the
value here is that comments are anchored to *what the human sees*, with a tight act-and-
re-render loop.
Related in Ads & Marketing
ads
IncludedMulti-platform paid advertising audit and optimization skill. Analyzes Google, Meta, YouTube, LinkedIn, TikTok, Microsoft, and Apple Ads. 250+ checks with scoring, parallel agents, industry templates, and AI creative generation.
banana
IncludedAI image generation Creative Director powered by Google Gemini Nano Banana models. Use this skill for ANY request involving image creation, editing, visual asset production, or creative direction. Triggers on: generate an image, create a photo, edit this picture, design a logo, make a banner, visual for my anything, and all /banana commands. Handles text-to-image, image editing, multi-turn creative sessions, batch workflows, and brand presets.
rpg-migration-analyzer
IncludedAnalyzes legacy RPG (Report Program Generator) programs from AS/400 and IBM i systems for migration to modern Java applications. Extracts business logic from RPG III/IV/ILE source code, identifies data structures (D-specs), file operations (F-specs), program dependencies (CALLB/CALLP), and converts RPG constructs to Java equivalents. Generates migration reports, complexity estimates, and Java implementation strategies with POJO classes, JPA entities, and service methods. Use when modernizing AS/400 or IBM i legacy systems, analyzing RPG source files (.rpg, .rpgle, .RPGLE), converting RPG to Java, mapping data specifications to Java classes, planning legacy system migration, or when user mentions RPG analysis, Report Program Generator, RPG III/IV/ILE, AS/400 modernization, IBM i migration, packed decimal conversion, or mainframe application rewrite.
brand-library-architect
IncludedBuild a complete brand library for a product — visual asset render pipeline, brand documentation set (BRAND, COPY, MANIFESTO, BIOS, FAQ, GLOSSARY, TONE, PRICING), open-source convention files (README, CONTRIBUTING, SECURITY, CODE_OF_CONDUCT), and a self-contained press kit. This skill should be used when the user asks to "build a brand library / brand kit / press kit / brand assets" for a product, "set up a brand library workflow," "create a positioning manifesto plus visual identity," or any combination of brand documentation + visual asset pipeline. Apply phase-by-phase or run end-to-end. Templates are product-agnostic and use {{TOKEN}} placeholders the skill prompts the user to fill.
writing-tech-post
IncludedAuthors engineering blog posts end-to-end: launch deep-dives, incident postmortems, architecture migrations, performance case studies, tutorials, AI/agent system writeups, security disclosures, and research-to-product translations. Picks the correct archetype, plans the abstraction ladder, enforces an evidence cadence (diagrams, benchmarks, profiles, traces, code, ablations), tunes voice against publisher house styles (Datadog, Vercel, GitHub, AWS, Meta, Cloudflare, Jane Street), and runs a pre-publish gate for narrative momentum and disclosure ethics. Use when drafting a new engineering post, restructuring a draft that feels flat, deciding which evidence form belongs where, validating that depth and product context are balanced, or preparing a postmortem, migration, or performance narrative for external publication. Do not use for API reference documentation, README authoring, marketing copy, release notes, generic SEO content, ghost-written executive thought leadership, or non-engineering long-form essays.
blog-google
IncludedGoogle API integration for blog performance: PageSpeed Insights, CrUX Core Web Vitals with 25-week history, Search Console performance, URL Inspection, Indexing API, GA4 organic traffic, NLP entity analysis for E-E-A-T, YouTube video search for embedding, and Google Ads Keyword Planner. Progressive feature availability based on credential tier (API key, OAuth/service account, GA4, Ads). Shares config with claude-seo at ~/.config/claude-seo/google-api.json. Use when user says "google data", "page speed", "core web vitals", "search console", "indexation", "GA4", "keyword research", "nlp entities", "blog performance", "youtube search", "google api setup".