cpv-main-menu-skill

cpv-main-menu-skill is a skill for Claude Code from Emasoft/claude-plugins-validation. It costs 72 tokens per session (2,071 once invoked), scanned A, original, MIT.

A routing skill for a menu that gathers many Claude Code commands in one place. It displays fixed or changing menus after the agent finishes a response and supports moving into submenus or back out.

In plain words
What is it for?
Use it to build or maintain CPV's main command menu, define menu choices and keyboard routes, and connect each choice to its execution steps.
Why use it?
It avoids remembering numerous command names and keeps menu handling consistent across a large command collection.

Skill for Claude Code

Written for Claude Code: user-invocable in frontmatter. Also seen: mentions .claude-plugin; names the AskUserQuestion tool; mentions Claude Code.

Runs only inside its plugin — its command needs a path that Claude Code sets for a plugin’s own hooks and for nothing else. Install the plugin, not this.

Part of the claude-plugins-validation plugin — 52 skills, 14 commands, 14 agents shipped together

Good fit Use it to build or maintain CPV's main command menu, define menu choices and keyboard routes, and connect each choice to its execution steps.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

This one installs as part of its plugin. Adding the marketplace and installing the plugin brings it with everything else the plugin ships.

Claude Code
/plugin marketplace add Emasoft/claude-plugins-validation
Claude Code
/plugin install claude-plugins-validation

Made for: Claude Code.

Or install claude-plugins-validation, the plugin that ships this one along with the rest of its 52 skills, 14 commands, 14 agents.

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 cpv-main-menu-skill

README.md
[![agentmods](https://agentmods.dev/badge/skills/emasoft/claude-plugins-validation/cpv-main-menu-skill/github.svg)](https://agentmods.dev/skills/emasoft/claude-plugins-validation/cpv-main-menu-skill)
Your own site
<a href="https://agentmods.dev/skills/emasoft/claude-plugins-validation/cpv-main-menu-skill"><img src="https://agentmods.dev/badge/skills/emasoft/claude-plugins-validation/cpv-main-menu-skill/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 cpv-main-menu-skill

Your own site · 80×15
<a href="https://agentmods.dev/skills/emasoft/claude-plugins-validation/cpv-main-menu-skill"><img src="https://agentmods.dev/badge/skills/emasoft/claude-plugins-validation/cpv-main-menu-skill.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 72 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,071 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.00072 $0.02071
Opus 5.5 $0.00029 $0.00828
Sonnet 5.5 $0.00014 $0.00414
Haiku 4.5 $0.00007 $0.00207

Measured 7d ago against content hash 1087e294d31b, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

cpv-main-menu-skill 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 7d 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.

skills/cpv-main-menu-skill/SKILL.md · 145 lines

How it starts

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

CPV Main-Menu Routing Skill

Overview

Backing skill for /cpv-main-menu. Holds the FIXED menu specs (shipped as JSON files in skill-menus/NN-<slug>.json), per-leaf execution recipes, AND the FIXED-KEY ROUTING CONTRACT (letter→action maps) for every menu in the tree. Every menu is rendered by the claude-menu-system plugin's Stop-hook emitter — the orchestrator queues a spec via scripts/print_menu.py and ENDS its turn; the hook prints the menu post-turn via the hook JSON systemMessage field, so the menu is shown to the user but NEVER enters the transcript or prompt cache. print_menu.py keeps the queue Bash card tiny: a FIXED menu is queued with just its index (print_menu.py fixed NN); a DYNAMIC menu (rows vary at runtime) is queued with only its bare list of entries (print_menu.py dynamic '<entries>') and the engine auto-appends P/A/B/M/0. Every menu includes a 0 exit row; every sub-menu also includes B — Back. NEVER print menus inline. NEVER use AskUserQuestion.

Prerequisites

  • Orchestrator is /cpv-main-menu (this skill is user-invocable: false)
  • ${CLAUDE_PLUGIN_ROOT} is set by Claude Code
  • claude-menu-system plugin is installed (declared as a hard dependency in .claude-plugin/plugin.json). If missing, print_menu.py fails fast with the install hint — there is NO inline fallback renderer (TRDD-4de479a0, no-legacy rule).

Full tree, menu specs, per-leaf bash recipes, AND per-menu fixed letter→action maps: menu-tree.

Shell prologue · Menu-spec rendering rules · Fixed-key routing contract · Menu definitions · Etiquette and error handling

Top-level categories (canonical layout in menu-tree.md §3.0 — v2.90.0): 1 Validate · 2 Fix · 3 Optimize for Cache · 4 Diagnose · 5 Update · 6 Create · 7 Publish & Migrate · 8 Manage · H Help · A Ask · 0 Cancel

Fixed-key routing contract (single source of truth)

Two namespaces that never collide:

  • Numbers 1..N — DYNAMIC list, ordered alphabetically. The Nth number is always the Nth alpha-sorted dynamic item.
  • Letters — FIXED actions. Each letter is permanently bound to one action across every CPV menu — M Main, B Back, X/0 Exit, plus per-menu mnemonics (V Validate, F Fix, D Diagnose, C Create, …) documented per sub-menu in menu-tree.

Read the full file on GitHub · 145 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. 7d ago Changed 1087e294d31b
  2. 3mo ago First seen · 145 lines · 72 tokens per session scan A c74445ba9242

Subscribe to this mod's changes

cpv-main-menu-skill is a skill published in the GitHub repository Emasoft/claude-plugins-validation (4 stars, last pushed today), licensed MIT. It adds 72 tokens to every session and 2,071 once invoked, about $0.0003 per session on Opus 5.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-31.

Related

cpv-main-menu-skill compared with skills from other repositories

cpv-main-menu-skill next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
cpv-main-menu-skillEmasoft/claude-plugins-validationSkill4todayMITA72Claude Code
local-ai-agentsmicrosoft/ai-agents-for-beginnersSkill82ktodayMITA200Claude Code, Codex
imagegenopenai/codexSkill137ktodayApache-2.0A113Codex
playwright-climicrosoft/playwrightSkill102ktodayApache-2.0A19Claude Code
browser-automationopenclaw/openclawSkill396ktodayMITA36Claude Code
free-llm-apismnfst/awesome-free-llm-apisSkill15ktodayCC0-1.0A113Claude Code, Codex
systematic-debuggingobra/superpowersSkill333k7d agoMITA21Claude Code