Agent skill

Prompt Library

by get-bb in get-bb/bb

Search prompt history and manage starred reusable prompts in BB.

MITAuto-check passedAI & LLM Engineering

Install Prompt Library

skills CLI
$ npx skills add get-bb/bb --skill prompt-library -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install get-bb/bb prompt-library --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/get-bb/bb.git skills-src && mkdir -p .claude/skills && cp -r skills-src/plugins/prompt-library/skills/prompt-library .claude/skills/prompt-library && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
prompt-library
GitHub stars
4.2k
Token cost
~635 tokens
SKILL.md length
350 words
Files
1
Skills in repo
34
Repo updated
First seen
Licence
MIT

At a glance

Search prompt history and manage starred reusable prompts in BB.

  • Tasks that involve Prompt engineering
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Prompt Library is an agent skill from get-bb/bb. Search prompt history and manage starred reusable prompts in BB.

Its SKILL.md is about 640 tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in AI & LLM Engineering, covering Prompt engineering. The repository describes itself as: The agent IDE that builds itself. The licence is MIT.

When your agent uses it

  • Tasks that involve Prompt engineering

Example prompts

  • “/prompt-library”

What it can do on your machine

Read from SKILL.md and the folder at commit 53c1e87. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md.

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Prompt Library loads about 635 tokens when it runs. Until then it costs about 20 tokens; SKILL.md has 350 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~20
When it runs · the whole SKILL.md, loaded when a task matches
~635

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from get-bb/bb at commit 53c1e87, republished under its MIT licence (© get-bb). 350 words, ~635 tokens.

Download SKILL.mdSave it as .claude/skills/prompt-library/SKILL.md (or your agent's skills folder).
name
prompt-library
description
Search prompt history and manage starred reusable prompts in BB.

Prompt library

Open + → Prompts… or press Ctrl+R in a composer. Search fuzzy-matches starred prompts 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. 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 plugin loads the newest 1000 prompts, fetches only newer prompts on later searches, and loads older pages only when a search finds fewer than 30 matches. It fuzzy-matches the loaded prompts in scope, returning up to 20 starred and 30 recent results. Without a query, starred prompts come first, then recent ones. A query returns one ranked list: prompts that start with the query, then fuzzy-match score, with starred and then newer prompts breaking ties. 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.

Show full SKILL.md (102 more words)Show less

CLI and SDK

  • bb prompts search [query...] [--project ID | --thread ID] [--json]
  • bb prompts list [--json]
  • bb prompts star <text...> [--json]
  • bb prompts unstar <id> [--json]

Use bb.sdk.plugins.callRpc({ pluginId: "bb--prompt-library", method, input }): search takes { query, scope: "thread" | "project" | "global", projectId, threadId } with nullable IDs and returns { prompts }, each row with kind: "starred" | "recent"; star takes { prompt: { text, mentions } }; unstar and markUsed take { id }.

The bundled plugin is disabled by default. Enable it in Settings → Plugins or with bb plugin enable bb--prompt-library. Its Search prompts shortcut is rebindable in Keyboard Settings. Plugins can page through the same core history with bb.sdk.experimental_promptHistory.list({ cursor, limit }).

© get-bb, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in plugins/prompt-library/skills/prompt-library of get-bb/bb.

Open the folder on GitHubat commit 53c1e87

Compare with similar skills

Prompt Library next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Prompt Library compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Prompt Library this skillget-bb/bb4.2k—~635Automated safety check: PassMIT
Prompt Improverseverity1/claude-code-prompt-improver1.9k2 repos~1.7kAutomated safety check: PassMIT
Prompt Engineering Patternsynulihao/AgentSkillOS61715 repos~1.7kAutomated safety check: PassNone
Patch CreationPiebald-AI/tweakcc2.5k—~1.6kAutomated safety check: PassMIT
LLM Application DevMoizIbnYousaf/ai-agent-skills1.1k2 repos~1.3kAutomated safety check: PassMIT
Senior Prompt Engineermaslennikov-ig/claude-code-orchestrator-kit2604 repos~1.4kAutomated safety check: PassCustom licence

Similar skills

  • Prompt Improver

    severity1/claude-code-prompt-improver

    This skill enriches vague prompts with targeted research and clarification before execution.

    1.9k GitHub starsUsed in 2 repos~1.7k tokens
    AI & LLM EngineeringAuto-check passed
  • Prompt Engineering Patterns

    ynulihao/AgentSkillOS

    Master advanced prompt engineering techniques to maximize LLM performance, reliability, and controllability in production.

    617 GitHub starsUsed in 15 repos~1.7k tokens
    AI & LLM EngineeringAuto-check passed
  • Patch Creation

    Piebald-AI/tweakcc

    Create and register new patches for tweakcc. An agent skill from Piebald-AI/tweakcc.

    2.5k GitHub stars~1.6k tokensUpdated yesterday
    AI & LLM EngineeringAuto-check passed
  • LLM Application Dev

    MoizIbnYousaf/ai-agent-skills

    Building applications with Large Language Models - prompt engineering, RAG patterns, and LLM integration.

    1.1k GitHub starsUsed in 2 repos~1.3k tokens
    AI & LLM EngineeringAuto-check passed
  • Senior Prompt Engineer

    maslennikov-ig/claude-code-orchestrator-kit

    Provides reference guides and Python scripts for prompt optimization, RAG evaluation, and agent orchestration when building or tuning LLM systems.

    260 GitHub starsUsed in 4 repos~1.4k tokens
    AI & LLM EngineeringAuto-check passed
  • Codex Fable5

    baskduf/FableCodex

    Apply a Claude Fable 5 inspired operating style inside Codex.

    437 GitHub stars~1.6k tokensUpdated 2 mo ago
    AI & LLM EngineeringAuto-check passed

More from get-bb/bb

All 34 skills in this repo
  • Bb CLI

    get-bb/bb

    Inspect or manage BB state with the bb CLI; use for BB commands and configuration.

    4.2k GitHub stars~3.4k tokensUpdated today
    Auto-check passed
  • Skill Creator

    get-bb/bb

    Create or improve BB skills, including their triggers, instructions, and supporting resources.

    4.2k GitHub stars~702 tokensUpdated today
    Auto-check passed
  • Prepare and submit a BB plugin to the Community marketplace when publication or a marketplace PR is requested.

    4.2k GitHub stars~873 tokensUpdated today
    Auto-check passed
  • Workflows

    get-bb/bb

    Author or run durable BB workflows when the user requests workflow execution or multi-agent orchestration.

    4.2k GitHub stars~890 tokensUpdated today
    Auto-check passed
  • Verify Bb

    get-bb/bb

    Verify BB user journeys in an isolated source dev app using dev-browser@next and the matching source CLI.

    4.2k GitHub stars~3.2k tokensUpdated today
    Auto-check passed
  • Create or edit BB color themes and inspect them in the Theme Preview panel.

    4.2k GitHub stars~1.2k tokensUpdated today
    Auto-check passed

Questions about Prompt Library

What does Prompt Library do?

Search prompt history and manage starred reusable prompts in BB. Prompt Library is an agent skill from get-bb/bb. Search prompt history and manage starred reusable prompts in BB.

When should I use Prompt Library?

Prompt Library fits situations like: tasks that involve Prompt engineering.

How do I install Prompt Library in Claude Code?

Run `npx skills add get-bb/bb --skill prompt-library -a claude-code`. Or copy the skill folder (plugins/prompt-library/skills/prompt-library in get-bb/bb) into .claude/skills/prompt-library in your project. Claude Code loads it when a task matches its description.

How do I install Prompt Library in Codex?

Run `npx skills add get-bb/bb --skill prompt-library -a codex`. Or copy the skill folder (plugins/prompt-library/skills/prompt-library in get-bb/bb) into .agents/skills/prompt-library in your project. Codex loads it when a task matches its description.

Can I use Prompt Library in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add get-bb/bb --skill prompt-library -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/prompt-library, .gemini/skills/prompt-library, .github/skills/prompt-library and .opencode/skills/prompt-library in your project.

What does Prompt Library need to run?

SKILL.md names no scripts, command-line tools or credentials: Prompt Library is instructions for the agent only.

Does Prompt Library access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Prompt Library safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Prompt Library use?

Prompt Library is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Prompt Library use?

About 635 tokens (SKILL.md is roughly 2.5k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Prompt Library?

Skills that share tags, products or a category with Prompt Library: Prompt Improver (severity1/claude-code-prompt-improver, 1.9k stars), Prompt Engineering Patterns (ynulihao/AgentSkillOS, 617 stars), Patch Creation (Piebald-AI/tweakcc, 2.5k stars) and LLM Application Dev (MoizIbnYousaf/ai-agent-skills, 1.1k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Prompt Library?

get-bb (a GitHub organization) maintains it in get-bb/bb, which has 4,166 GitHub stars. The repository holds 34 skills in this directory. The repository was last updated on October 8, 2026.

Source: get-bb/bb on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.