prompt-list

prompt-list is a command for Claude Code from yaleh/meta-cc. It costs 12 tokens per session (1,162 once invoked), scanned A, original, MIT.

A command that lists saved prompts from a prompt library, with options to filter by category and sort by use, date, or name.

In plain words
What is it for?
It is for browsing a prompt collection, finding prompts in a category, viewing a specific prompt, and ordering results by usage, update date, or alphabetically.
Why use it?
It avoids manually opening prompt files to find and compare saved prompts.

Command for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the meta-cc plugin — 3 skills, 3 commands shipped together

Good fit It is for browsing a prompt collection, finding prompts in a category, viewing a specific prompt, and ordering results by usage, update date, or alphabetically.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/yaleh/meta-cc/prompt-list
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.

Clone the repo
git clone --depth 1 https://github.com/yaleh/meta-cc

Made for: Claude Code.

Or install meta-cc, the plugin that ships this one along with the rest of its 3 skills, 3 commands.

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 prompt-list

README.md
[![agentmods](https://agentmods.dev/badge/commands/yaleh/meta-cc/prompt-list.svg)](https://agentmods.dev/commands/yaleh/meta-cc/prompt-list)
Your own site
<a href="https://agentmods.dev/commands/yaleh/meta-cc/prompt-list"><img src="https://agentmods.dev/badge/commands/yaleh/meta-cc/prompt-list.svg" alt="Measured on agentmods" height="20"></a>
Per session 12 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,162 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.00012 $0.01162
Opus 5 $0.00006 $0.00581
Sonnet 5 $0.00002 $0.00232
Haiku 4.5 $0.00001 $0.00116

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

Security

Grade A, and why

prompt-list 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 8d 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.

plugin-src/commands/prompt-list.md · 167 lines

How it starts

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

Prompt Library Listing

λ(args) → formatted_list | args := "$@"

Execution

list :: Args → Display list(A) = { library: get_library_path(),

if (not exists(library)): display: "No prompt library found. Save your first prompt with '/meta Refine prompt: '", return: empty,

files: glob(library + "*.md"),

if (empty(files)): display: "Library is empty. Save your first prompt with '/meta Refine prompt: '", return: empty,

prompts: ∀file ∈ files: parse_frontmatter(file),

filters: parse_args(A), filtered: apply_filters(prompts, filters), sorted: apply_sort(filtered, filters.sort),

stats: calculate_stats(sorted),

display: format_output(stats, sorted) }

parse_args :: String → Filters parse_args(A) = {

Parse optional arguments:

category= - Filter by category

sort=usage|date|alpha - Sort order (default: usage)

detail= - Show detailed view of specific prompt

}

apply_filters :: ([Prompts], Filters) → [Prompts] apply_filters(P, F) = { if (F.category ≠ null): filter(P, p → p.category == F.category), else: P }

apply_sort :: ([Prompts], SortMethod) → [Prompts] apply_sort(P, S) = case S of { "usage": sort_desc(P, p → p.usage_count), "date": sort_desc(P, p → p.updated), "alpha": sort_asc(P, p → lowercase(p.title)), _: sort_desc(P, p → p.usage_count) # Default: usage }

calculate_stats :: [Prompts] → Statistics calculate_stats(P) = { total: |P|, categories: |unique(map(P, p → p.category))|, total_usage: sum(map(P, p → p.usage_count)), most_used: argmax(P, p → p.usage_count) }

format_output :: (Statistics, [Prompts]) → Display format_output(S, P) = { header: format_stats(S), separator: "═" * 100, table_header: format_table_header(), table_rows: ∀p ∈ P: format_row(p), footer: format_footer() }

format_row :: Prompt → String format_row(P) = sprintf( "%-45s %-15s %-8d %-12s %s", truncate(P.title, 45), P.category, P.usage_count, format_date(P.updated), P.id )

Read the full file on GitHub · 167 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. 8d ago First seen · 167 lines · 12 tokens per session scan A 3d8bec8655aa

Subscribe to this mod's changes

prompt-list is a command published in the GitHub repository yaleh/meta-cc (21 stars, last pushed 17d ago), licensed MIT. It adds 12 tokens to every session and 1,162 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.