bibigpt-skill: Instructions file for Claude Code

CLAUDE.md

bibigpt-skill CLAUDE.md is an instructions file for Claude Code from JimmyLv/bibigpt-skill. It costs 751 tokens per session, scanned A, original, MIT.

A set of Claude Code instructions for using the bibigpt-skill project and following its external agent contract.

In plain words
What is it for?
Use it when working on or with the bibigpt-skill repository and its synchronization rules.
Why use it?
It gives the coding agent project-specific rules, including intended audience, required actions, and prohibited actions.

Instructions file for Claude Code

Written for Claude Code: the file is CLAUDE.md. Also seen: built for openclaw.

This is JimmyLv/bibigpt-skill's own configuration. It tells Claude Code how to work on bibigpt-skill itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything bibigpt-skill configures →

Reuse

Borrowing it

Nothing to install: this file belongs to JimmyLv/bibigpt-skill. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/JimmyLv/bibigpt-skill/main/CLAUDE.md
Clone the repo
git clone --depth 1 https://github.com/JimmyLv/bibigpt-skill

Made for: Claude Code.

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 bibigpt-skill CLAUDE.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/jimmylv/bibigpt-skill/claude-md/github.svg)](https://agentmods.dev/instructions/jimmylv/bibigpt-skill/claude-md)
Your own site
<a href="https://agentmods.dev/instructions/jimmylv/bibigpt-skill/claude-md"><img src="https://agentmods.dev/badge/instructions/jimmylv/bibigpt-skill/claude-md/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 bibigpt-skill CLAUDE.md

Your own site · 80×15
<a href="https://agentmods.dev/instructions/jimmylv/bibigpt-skill/claude-md"><img src="https://agentmods.dev/badge/instructions/jimmylv/bibigpt-skill/claude-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 751 This file is loaded in full into every session.
When invoked 751 The same file — it is already loaded in full.
Security scan A 1 finding. 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.00751 $0.00751
Opus 5.5 $0.00300 $0.00300
Sonnet 5.5 $0.00150 $0.00150
Haiku 4.5 $0.00075 $0.00075

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

Security

Grade A, and why

bibigpt-skill CLAUDE.md scanned grade A with 1 finding 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.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

- `references/api.md` — REST/OpenAPI 端点 + curl 示例
CLAUDE.md · 56 lines

What it actually says

bibigpt-skill (External Agent Contract)

Audience

这个 package 的内容会被外部 Agent(Claude / Cursor / OpenClaw / Cline / 通义灵码 等)当 skill 加载,是 BibiGPT 对外的契约文档。不是 BibiGPT 团队内部的状态板。

Hard No

写入 skills/**/*.md / references/*.md 时,禁止包含:

  • 我们 BibiGPT 的内部 ID(支付宝 APPID、service_id、seller_id、合约号、user_id 等)
  • 部署状态、灰度阶段、smoke test 结果、上线时间表
  • 服务端 env var 名(ALIPAY_* / BIBI_* 之类)
  • 内部 commit 号、PR 链接、issue 编号
  • 团队内部决策记录("待 X 后切换"等)

Why:agent 不关心我们什么时候上线、是不是已经联调通过;agent 关心它怎么调、收到啥怎么处理、错了怎么 retry。把内部状态塞进去 = 给竞品/逆向人员送情报,也污染了 agent 的上下文。

这些信息归宿:根仓 notes/(团队工作沉淀)+ Claude memory(跨会话状态)。

Hard Yes

写入应当:

  • 描述 agent 的行为契约:endpoint、参数、出参 shape、错误码、retry 策略
  • 提供 agent 给用户的提示话术模板(如 402 提示)
  • 给出 触发意图(什么样的用户问题该调这个工具)
  • 写通用价位区间("≤ ¥5 / call"),不写具体数字(容易过期)

同步规则

新增 / 修改 BibiGPT 的 OpenAPI / MCP / CLI 能力,必须同步对应 skill:

  • 总结 / 转写 / 章节 → skills/bibi/
  • 已保存视频、笔记、合集 → skills/bibi-library/
  • 订阅频道 / 动态 → skills/bibi-feed/
  • 画面 / 脑图 → skills/bibi-vision/

不要把 library / feed / vision 再写回 bibi 当全能入口。流程:

  1. 改 bibigpt-core 的能力代码
  2. 改这个 submodule 里的对应文档(commit + push 子模块)
  3. 在父仓 bump submodule pointer(commit + push 父仓)

子模块没 push 时父仓 push 会被 husky pre-push 拦下(check-submodule-pushed.sh),别试 --no-verify 绕。

三个相关 reference 的边界

  • references/cli.md — bibi CLI 命令列表 + flags
  • references/api.md — REST/OpenAPI 端点 + curl 示例
  • references/installation.md — 装 desktop / skill / 配 token / MCP
  • references/billing-aipay.md — 402 协议 agent 侧处理(不写我们的 APPID)
  • references/supported-platforms.md — 支持的 URL 类型

更细的内部实现细节、协议字段二进制 layout、错误码完整集等等,放到根仓 notes/,不要塞进 references。

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 · +7 lines · +73 tokens per session cae851893f93
  2. 2mo ago First seen · 49 lines · 678 tokens per session scan A 2b71bde3acf4

Subscribe to this mod's changes

bibigpt-skill CLAUDE.md is an instructions file published in the GitHub repository JimmyLv/bibigpt-skill (138 stars, last pushed 4d ago), licensed MIT. It adds 751 tokens to every session, about $0.0030 per session on Opus 5.5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

bibigpt-skill CLAUDE.md compared with instructions from other repositories

bibigpt-skill CLAUDE.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
bibigpt-skill CLAUDE.mdJimmyLv/bibigpt-skillInstructions file1384d agoMITA751Claude Code
vscode buildNext.instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA9,719GitHub Copilot
next.js AGENTS.mdvercel/next.jsInstructions file143ktodayMITA7,461Codex, OpenCode
langchain AGENTS.mdlangchain-ai/langchainInstructions file149kyesterdayMITA4,680Codex, OpenCode
vscode oss-third-party-notices.instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA5,516GitHub Copilot
vscode copilot-instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA3,093GitHub Copilot
deepseek-harness AGENTS.mddeepseek-ai/deepseek-harnessInstructions file274k2d agoMITA4,313Codex, OpenCode