跳到正文
cccskills
免费在 GitHub 公开

prompt-library

Search prompt history and manage starred reusable prompts in BB.

中文简介正在准备中。当前显示原文说明。

查看安装方法

包含的文件(1)

  • SKILL.md3.0 KB

SKILL.md(原文)

安装前可以查看交给 AI 代理的指令内容。

Prompt library

Open + → Prompts… or press Ctrl+R in a composer. Search 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 first search loads and indexes all prompt history; later searches fetch only newer prompts. 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: prompts that start with the query first, 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.

CLI and SDK

  • bb prompts search [query...] [--project ID | --thread ID] [--composer new-thread|follow-up] [--json]; --composer defaults to follow-up
  • 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, composer: "new-thread" | "follow-up" } 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 }).

评价

还没有评价。欢迎分享你的使用感受。

评论

无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。

还没有评论。来写第一条吧。

提交后会立即公开。请勿填写邮箱、电话等个人信息。URL 最多 2 个。

0 / 1000 字

此表单受 reCAPTCHA 保护,适用 Google 的隐私权政策和服务条款。

同一仓库的技能

Configure or diagnose Account Pooler accounts, authentication, quota routing, and failover through bb pool.

中文简介正在准备中。当前显示原文说明。

get-bb/bb44552026年10月18日 更新

Configure or troubleshoot ACP agent discovery, custom models, skills, and compaction in BB.

中文简介正在准备中。当前显示原文说明。

get-bb/bb44552026年10月18日 更新

Approve a GitHub contributor to open PRs in get-bb/bb, then land the allowlist change with SlopCop and CI skipped. Use for requests such as "add @username to be able to open PRs" or an explicit add-contributor invocation.

中文简介正在准备中。当前显示原文说明。

get-bb/bb44552026年10月18日 更新

Create or edit element annotations in desktop Browser tabs, or update saved annotation comments through the plugin RPC.

中文简介正在准备中。当前显示原文说明。

get-bb/bb44552026年10月18日 更新

Schedule or manage recurring and one-shot BB agent or script automations.

中文简介正在准备中。当前显示原文说明。

get-bb/bb44552026年10月18日 更新

Sign this bb in to or out of its getbb.app account with bb account, and check which account remote access and hosted services use.

中文简介正在准备中。当前显示原文说明。

get-bb/bb44552026年10月18日 更新

查看 get-bb 的全部技能

报告此技能的问题