pantoum: Command for Claude Code

.claude/commands/pantoum-studio.md

pantoum-studio is a command for Claude Code from pantoum-spfx/pantoum. It costs 0 tokens per session (375 once invoked), scanned A, original, MIT.

A local web app for visually configuring PANTOUM and monitoring upgrade work. It runs a local API server and development website that you open in a browser.

In plain words
What is it for?
Use it to configure upgrade options, scan local directories for SPFx solutions, monitor available upgrade work, and browse past reports.
Why use it?
It gives you a browser-based place to change upgrade settings, inspect discovered SPFx solutions, and review upgrade reports instead of using configuration files alone.

Command for Claude Code

Written for Claude Code: installed under .claude/. Also seen: mentions Claude Code.

This is pantoum-spfx/pantoum's own configuration. It tells Claude Code how to work on pantoum 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 pantoum configures →

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is node scripts/start-webapp.cjs.

Reuse

Borrowing it

Nothing to install: this file belongs to pantoum-spfx/pantoum. 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/pantoum-spfx/pantoum/main/.claude/commands/pantoum-studio.md
Clone the repo
git clone --depth 1 https://github.com/pantoum-spfx/pantoum

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 pantoum-studio

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

Your own site · 80×15
<a href="https://agentmods.dev/commands/pantoum-spfx/pantoum/pantoum-studio"><img src="https://agentmods.dev/badge/commands/pantoum-spfx/pantoum/pantoum-studio.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 0 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 375 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. 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.00000 $0.00375
Opus 5 $0.00000 $0.00187
Sonnet 5 $0.00000 $0.00075
Haiku 4.5 $0.00000 $0.00038

Measured 11d ago against content hash 8c1602137ba6, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-10, from the pricing page.

Security

Grade A, and why

pantoum-studio scanned grade A with 0 findings 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 11d 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.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.claude/commands/pantoum-studio.md · 38 lines

What it actually says

PANTOUM Studio — Launch PANTOUM Studio

Launch the PANTOUM Studio webapp for visual configuration and upgrade monitoring.

Instructions

  1. Start the studio by running the launcher script from the PANTOUM project root:

    node scripts/start-webapp.cjs
    

    The launcher script will:

    • Check if the studio is already running on ports 5200/5201
    • Auto-install npm dependencies if needed
    • Start the Express API server (port 5200) and Vite dev server (port 5201)
    • Wait until both services are healthy
  2. Tell the user to open their browser at: http://localhost:5201

  3. Describe what's available in the studio:

    • Settings — Configure all 28+ upgrade settings visually (target version, AI behaviour, PnP, advanced options)
    • Solutions — Scan local directories to discover SPFx solutions, view version and complexity info
    • Upgrade — Run upgrades with real-time progress monitoring (coming soon)
    • Reports — Browse past upgrade reports with summaries, patch details, and AI metrics
  4. If the launcher fails, check:

    • Node.js 22+ is installed
    • The pantoum-webapp/ directory exists in the PANTOUM project root
    • No other process is using ports 5200 or 5201
    • Run /pantoum-doctor to diagnose environment issues

Notes

  • The studio runs locally — no data leaves the machine
  • Settings are saved to pantoum.settings.yml
  • The studio can be used alongside CLI and Claude Code plugin commands
  • Stop the studio by pressing Ctrl+C in its terminal or closing the terminal window
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. 11d ago First seen · 38 lines · 0 tokens per session scan A 8c1602137ba6

Subscribe to this mod's changes

pantoum-studio is a command published in the GitHub repository pantoum-spfx/pantoum (5 stars, last pushed 13d ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 375 tokens. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.