open-carrusel: Command for Claude Code

.claude/commands/start.md

start is a command for Claude Code from Hainrixz/open-carrusel. It costs 15 tokens per session (853 once invoked), scanned A, original, MIT.

A setup command for Open Carrusel that installs missing dependencies and sample data, starts the development server, and opens the site in a browser.

In plain words
What is it for?
Use it to launch Open Carrusel locally, optionally on a chosen port, after verifying that Node.js 20 or newer is available.
Why use it?
It handles the first-run checks and startup sequence, including Node.js version and port selection.

Command for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: names the AskUserQuestion tool.

This is Hainrixz/open-carrusel's own configuration. It tells Claude Code how to work on open-carrusel itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything open-carrusel configures →

Reuse

Borrowing it

Nothing to install: this file belongs to Hainrixz/open-carrusel. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/Hainrixz/open-carrusel/main/.claude/commands/start.md
Clone the repo
git clone --depth 1 https://github.com/Hainrixz/open-carrusel

Made for: Claude Code.

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 start

README.md
[![agentmods](https://agentmods.dev/badge/commands/hainrixz/open-carrusel/start/github.svg)](https://agentmods.dev/commands/hainrixz/open-carrusel/start)
Your own site
<a href="https://agentmods.dev/commands/hainrixz/open-carrusel/start"><img src="https://agentmods.dev/badge/commands/hainrixz/open-carrusel/start/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 start

Your own site · 80×15
<a href="https://agentmods.dev/commands/hainrixz/open-carrusel/start"><img src="https://agentmods.dev/badge/commands/hainrixz/open-carrusel/start.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 15 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 853 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.00015 $0.00853
Opus 5.5 $0.00006 $0.00341
Sonnet 5.5 $0.00003 $0.00171
Haiku 4.5 $0.00002 $0.00085

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

Security

Grade A, and why

start 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.

allowed-tools: Bash(node *), Bash(uname *), Bash(test *), Bash(lsof *), Bash(kill *), Bash(curl *), Bash(open *), Bash(xdg-open *), Bash(cmd.exe *), Bash(npm *), Bash(tail *), AskUserQuestion
.claude/commands/start.md · 50 lines

How it starts

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

You are bootstrapping Open Carrusel for the user. Be terse — short status updates only, no preamble.

Snapshot (these run before you see this prompt)

  • Node: !node --version 2>/dev/null || echo MISSING
  • Platform: !uname -s 2>/dev/null || echo Windows
  • Port 3000 in use: !lsof -ti :3000 2>/dev/null && echo YES || echo NO
  • node_modules: !test -d node_modules && echo YES || echo NO
  • Data seeded: !test -f data/carousels.json && echo YES || echo NO

User-supplied port (optional): $ARGUMENTS

Steps

  1. Verify Node ≥ 20. Parse the version above. If MISSING or major version < 20, tell the user to install Node 20+ from https://nodejs.org and stop.

  2. Pick port. Use $ARGUMENTS if non-empty, else 3000. Call this <port>.

  3. Run setup if needed. If node_modules is NO or Data seeded is NO:

    • Tell the user: "Running setup (first time installs ~300MB Chromium for export — takes 1–2 minutes)..."
    • Run OC_SETUP_NO_DEV=1 npm run setup with a 600s timeout. The env var tells the setup script to skip its own dev-server start (/start manages the server itself in step 5). On Windows PowerShell use $env:OC_SETUP_NO_DEV=1; npm run setup; on cmd.exe use set OC_SETUP_NO_DEV=1 && npm run setup.
    • On failure, surface the error and stop.
  4. Handle port collision. If <port> is in use and the listening process is not the dev server you just started, ask via AskUserQuestion: "Port <port> is in use. Kill the existing process or pick a different port?" Options: Kill / Different port / Cancel.

    • Kill → lsof -ti :<port> | xargs kill then proceed to step 5.
    • Different port → ask for new number, set <port>, re-check, then step 5.
    • Cancel → stop.
  5. Launch dev server in background (only if not already running on <port>): PORT=<port> npm run dev > /tmp/open-carrusel-dev.log 2>&1 & via Bash with run_in_background: true.

  6. Wait until ready. Poll curl -sf http://localhost:<port> every 1s until 200 (60s cap). On timeout, run tail -30 /tmp/open-carrusel-dev.log, share the output, and stop.

Read the full file on GitHub · 50 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 · 50 lines · 15 tokens per session scan A d4d658c37cd2

Subscribe to this mod's changes

start is a command published in the GitHub repository Hainrixz/open-carrusel (500 stars, last pushed 3d ago), licensed MIT. It adds 15 tokens to every session and 853 once invoked, about $0.0001 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.