prompt-library

prompt-library is a skill for Claude Code, Codex from get-bb/bb. It costs 14 tokens per session (1,145 once invoked), scanned A, original, MIT.

A prompt library for searching previous prompts and saving reusable ones. Prompts are the instructions or questions sent to an AI assistant.

In plain words
What is it for?
It helps search recent prompts, star drafts for reuse, restore prompt text and mentions, and insert a selected prompt into a composer without sending it.
Why use it?
It avoids rewriting useful instructions and makes past prompts easier to find by project, conversation, or all available history.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit It helps search recent prompts, star drafts for reuse, restore prompt text and mentions, and insert a selected prompt into a composer without sending it.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/get-bb/bb/prompt-library
About the project

bb is an agentic IDE that lets users control, customize, and automate a software-development environment through a desktop app, web app, command-line interface, or HTTP API. Developers use it to run work in observable threads that can be steered or handed off to other agents. Its catalogue add-ons provide skills and instructions for working with bb.

get-bb/bb · 6,228 stars · on GitHub · getbb.app

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.

Any agent
npx skills add get-bb/bb --skill prompt-library
Clone the repo
git clone --depth 1 https://github.com/get-bb/bb

Made for: Claude Code, Codex.

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-library

README.md
[![agentmods](https://agentmods.dev/badge/skills/get-bb/bb/prompt-library/github.svg)](https://agentmods.dev/skills/get-bb/bb/prompt-library)
Your own site
<a href="https://agentmods.dev/skills/get-bb/bb/prompt-library"><img src="https://agentmods.dev/badge/skills/get-bb/bb/prompt-library/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 prompt-library

Your own site · 80×15
<a href="https://agentmods.dev/skills/get-bb/bb/prompt-library"><img src="https://agentmods.dev/badge/skills/get-bb/bb/prompt-library.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 14 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,145 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.00014 $0.01145
Opus 5.5 $0.00006 $0.00458
Sonnet 5.5 $0.00003 $0.00229
Haiku 4.5 $0.00001 $0.00114

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

Security

Grade A, and why

prompt-library 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 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.

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.

plugins/prompt-library/skills/prompt-library/SKILL.md · 77 lines

How it starts

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

Prompt library

Open + → Prompts… or press Ctrl+R in a composer. Search matches saved titles, starred prompt bodies, and recent history. Select Thread, Project, or All; the scope is remembered per composer kind on this device. The new-thread composer offers Project and All. Arrow keys select, Tab switches scope, Enter inserts, and Escape closes. Desktop shows a full Markdown preview beside the list; narrow layouts open the preview when a row is tapped, with Back and Insert.

Click the star or press Cmd/Ctrl+S to star or unstar the selected prompt. Star current draft saves the draft. Starred prompts keep text and mentions, deduplicate by text, persist across reloads, and sort by most recent use. Use Add title beside Starred and Insert in the preview footer, or click an existing title above the preview, to name or rename it. Titles are optional, trimmed, and limited to 120 characters. Save an empty title to clear it; Escape cancels an edit. Titles appear above the body preview and are never inserted into the composer. Renaming preserves the prompt ID and usage history. Starring an already-saved body keeps its existing title. History attachments are retained when restoring into an empty composer. Starred prompts omit attachments. A nonempty composer receives text and mentions at the kept cursor. Inserting never sends a message.

The server warms the history index when the plugin starts, fetching the newest 100 entries first and then older pages in the background. The picker returns saved prompts and available history immediately, including in a fresh browser. It updates while history loads and labels incomplete searches “Searching older prompts…”. Concurrent requests share one refresh; successful refreshes are reused for two seconds in the picker. Later refreshes fetch only newer prompts. On a history failure, available prompts remain usable and Retry resumes loading. Each query word, ignoring case, must match a single word of the prompt: exactly, as its start, with one typo (words of four or more letters), inside it, or as an abbreviation that starts at its first letter (tmln finds timeline). Letters are never matched across words. Results include up to 20 starred and 30 recent prompts in scope. Without a query, starred prompts come first, then recent ones. A query returns one ranked list: exact title matches first, then prompts that start with the query, then by match type in that order, then starred prompts and prompts of the composer's kind (prompts that started a thread in the new-thread composer, follow-ups in a thread composer), then by relevance (rarer words, repeated words, and shorter prompts score higher) decayed by age with a seven-day half-life; a starred prompt's age counts from its last use. A starred prompt appears once, as its starred row. History contains user prompts; core records them without agent-only input. Prompts stay searchable until the server restarts, even if their thread is deleted.

Read the full file on GitHub · 77 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 Changed · +23 lines 0c231a27b410
  2. 1mo ago Changed · +7 lines 616e0058520d
  3. 1mo ago Changed · +3 lines 61e4f07f4598
  4. 1mo ago First seen · 44 lines · 14 tokens per session scan A 58857bd439a4

Subscribe to this mod's changes

prompt-library is a skill published in the GitHub repository get-bb/bb (6,228 stars, last pushed today), licensed MIT. It adds 14 tokens to every session and 1,145 once invoked, about $0.0001 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-10-06.

Related

prompt-library compared with skills from other repositories

prompt-library next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
prompt-libraryget-bb/bbSkill6.2ktodayMITA14Claude Code, Codex
configuring-grovebearlike/GroveSkill913d agoMITB92Claude Code
workflowzhinkgit/embeddedskillsSkill8214d agoMITA65Claude Code
termiotermio-sh/termioSkill714todayMITA117Claude Code, Codex
develop-inspection-featureexplyt/spring-pluginSkill1705d agoApache-2.0A103Claude Code, Codex
rotateVinix24/vnx-orchestrationSkill623d agoMITA69Claude Code
meeting-prepetrebels/claude-code-growth-osSkill242d agoMITA56Claude Code