inspect

A command for displaying the complete details of a masque, either the currently active one or one named in the command. A masque is a selectable persona or configuration managed by the Masques system.

In plain words
What is it for?
Use it to inspect the active masque, inspect a masque by name, or report that no masque is active.
Why use it?
It avoids searching through configuration files manually when checking which components and attributes a masque contains.

Command

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.

agentmods
npx agentmods add commands/chrisdbaldwin/masques/inspect
Clone the repo
git clone --depth 1 https://github.com/ChrisDBaldwin/Masques
Per session 13 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 653 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00013 $0.00653
Opus 5 $0.00006 $0.00327
Sonnet 5 $0.00003 $0.00131
Haiku 4.5 $0.00001 $0.00065

Measured 2d ago against content hash 5028a2daf854, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

inspect 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 2d 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.

commands/inspect.md · 74 lines

How it starts

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

Masque Inspect Command

Display the complete details of a masque — all components plus attributes.

Instructions

  1. Determine target:

    • If no argument or self → inspect the currently active masque
    • If a name is provided → inspect that masque directly
  2. If inspecting self (no arg or "self"):

    • Read .claude/masque.session.yaml to check current state
    • If active.name has a value, construct path from name + source:
      • If source is private: ${MASQUES_HOME:-~/.masques}/<name>.masque.yaml
      • If source is shared: ${CLAUDE_PLUGIN_ROOT}/personas/<name>.masque.yaml
    • If active.name is null or file doesn't exist: report "No masque active. Use /don <name> to adopt one."
  3. If inspecting by name — use the masques-cli CLI, the one authoritative resolver shared by this plugin and the Masques MCP server (PRD v1.2 M7):

    Locate the CLI ($MASQUE): use masques-cli if on PATH (installed via uv tool install "${CLAUDE_PLUGIN_ROOT}/services/mcp"), otherwise uv run --project "${CLAUDE_PLUGIN_ROOT}/services/mcp" masques-cli.

    $MASQUE inspect <name> --json
    
    • The CLI resolves private ${MASQUES_HOME:-~/.masques} over bundled personas/ and returns name, version, source, lens, context, attributes, rubric, has_rubric, spinnerVerbs.
    • If it exits non-zero (not found), relay its diagnostic and suggest /list.
  4. Display the full masque:

    ═══════════════════════════════════════════════════════════════
    [Name] v[version]
    ═══════════════════════════════════════════════════════════════
    
    [tagline]
    
    ── Attributes ──────────────────────────────────────────────────
    Domain:     [domain]
    Stack:      [stack]
    Style:      [style]
    Philosophy: [philosophy]
    
    ── Context ─────────────────────────────────────────────────────
    [context block - full content]
    
    ── Lens ────────────────────────────────────────────────────────
    [full lens content]
    

Read the full file on GitHub · 74 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. 2d ago First seen · 74 lines · 0 tokens per session scan A 5028a2daf854

Subscribe to this mod's changes

inspect is a command published in the GitHub repository ChrisDBaldwin/Masques (14 stars, last pushed 2mo ago), licensed Apache-2.0. It adds 13 tokens to every session and 653 once invoked, about $0.0001 per session on Opus 5. 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-30.