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.
npx agentmods add skills/bmob/agent-skills/bmob-error-codesnpx skills add bmob/agent-skills --skill bmob-error-codesgit clone --depth 1 https://github.com/bmob/agent-skillsWrote 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.
[](https://agentmods.dev/skills/bmob/agent-skills/bmob-error-codes)<a href="https://agentmods.dev/skills/bmob/agent-skills/bmob-error-codes"><img src="https://agentmods.dev/badge/skills/bmob/agent-skills/bmob-error-codes.svg" alt="Measured on agentmods" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5 | $0.00214 | $0.04210 |
| Opus 5 | $0.00107 | $0.02105 |
| Sonnet 5 | $0.00043 | $0.00842 |
| Haiku 4.5 | $0.00021 | $0.00421 |
Grade A, and why
bmob-error-codes 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 4d 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.
How it starts
The opening of the file, as written. The whole thing — 319 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Bmob 错误码字典
Bmob 的报错由三个独立编号空间组成:
- Android SDK 本地错误:9001–9023(在 SDK 客户端侧抛出,不会走网络)
- iOS SDK 本地错误:100、20000–20030(在 SDK 客户端侧抛出)
- REST API 服务端错误:HTTP 状态码 + 业务码(401 / 500 / 400 + body 里的
code字段,所有 SDK 的网络错误本质都是这个)
关键诊断流程:拿到错误后先看是不是网络错误(看响应体里有没有
{ "code": ..., "error": "..." }),如果是,按 REST API 错误码表查;如果没有响应体只有 SDK 抛出的本地 code(9xxx 或 2xxxx),按 SDK 本地表查。
按现象反查(响应体 error 英文)
现象 / error 关键词 |
业务码 | 详表 |
|---|---|---|
object not found |
101 | 下文 REST §3 |
invalid field name |
105 | REST §3 |
unique index cannot has duplicate value |
211 等 | REST §3 |
QPS beyond the limit |
10076 | REST §4 |
mobilePhoneNumber already taken |
206 等 | REST §3 用户相关 |
Could not find user / 登录失败 |
101 / 201 | REST §3;查用户名密码 |
Android 仅 9015、描述含糊 |
9015 | 下文 §1 9015 专题 |
iOS 20017 初始化未完成 |
20017 | 下文 §2 |
| HTTP 401 Unauthorized | — | 密钥错或签名错;shared/faq.md |
| 权限 / ACL 拒绝 | 9015 / 9016 / 138 等 | shared/anti-patterns.md;P1 bmob-acl-and-roles |
更多路由类问题:shared/faq.md。
1. Android SDK 本地错误码(9001–9023)
| 码 | 含义 | 常见原因 / 修复 |
|---|---|---|
| 9001 | Application Id 为空 | 没调用 Bmob.initialize(context, "AppId");检查初始化时机是否在用 SDK 之前 |
| 9002 | 解析返回数据出错 | 服务端返回非预期 JSON;查看原始 HTTP 响应 |
| 9003 | 上传文件出错 | 文件路径、权限、网络任一问题 |
| 9004 | 文件上传失败 | 同 9003,常配合 9022 |
| 9005 | 批量操作超过 50 条 | Bmob 单次批量上限 50;拆分多次调用 |
| 9006 | objectId 为空 | 更新/删除/获取单条时没传 objectId |
| 9007 | 文件大小超过 10M | 单文件限制 10MB;大文件分片或迁到其它服务 |
| 9008 | 上传文件不存在 | 路径错误,或文件被异步删除 |
| 9009 | 没有缓存数据 | 启用了 CACHE_ONLY 策略但缓存为空 |
| 9010 | 网络超时 | 排查移动网络、服务端响应时间 |
| 9011 | BmobUser 类不支持批量操作 | 用户表只支持单条注册/登录 |
| 9012 | 上下文为空 | Bmob.initialize 传了 null context |
| 9013 | 表名格式不正确 | 表名必须字母开头,仅含字母/数字/下划线 |
| 9014 | 第三方账号授权失败 | 第三方 OAuth 流程中断 |
| 9015 | 其他错误(兜底码) | 关键:必须读响应体的 error 文本判断;详见下方"9015 专题" |
| 9016 | 无网络连接 | 客户端网络不可用,跟 9010 不同 |
| 9017 | 第三方登录错误 | 看响应描述 |
| 9018 | 参数不能为空 | 必传字段空 |
| 9019 | 格式不正确:手机号 / 邮箱 / 验证码 | 客户端格式校验失败 |
| 9020 | 保存 CDN 信息失败 | 上传到 CDN 后写记录失败 |
| 9021 | 文件上传缺少 WAKE_LOCK 权限 | AndroidManifest.xml 加 <uses-permission android:name="android.permission.WAKE_LOCK"/> |
| 9022 | 文件上传失败请重试 | 通常是网络抖动 |
| 9023 | 请调用 Bmob.initialize 初始化 SDK | 同 9001,但触发点不同 |
What ships with it
2 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
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.
- 4d ago First seen · 319 lines · 214 tokens per session scan A 49f915a01959
bmob-error-codes is a skill published in the GitHub repository bmob/agent-skills (3 stars, last pushed 1mo ago), licensed MIT. It adds 214 tokens to every session and 4,210 once invoked, about $0.0011 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-31.
Other skills, from other repositories
one-on-one-prep
Deep-dive preparation for 1:1 meetings with direct reports. Surfaces recent work, wins, friction, wellbeing signals, and development goal progress, anchored in the org's performance framework, organizational values, and management best practices. Produces a prep sheet with suggested conversation topics, not a script.
performance-cycle
Evidence gathering for performance review cycles. Gathers goal completion evidence, peer feedback, development progress, scope changes, and values alignment, organised along the org's performance framework dimensions, with organizational values as the 'how' lens. Surfaces evidence gaps. Never suggests ratings, only…
team-health
Periodic check on team dynamics, engagement signals, and development trajectory for all direct reports. Surfaces patterns across the team: who might need more challenge, who might need more support, who hasn't had a 1:1 recently. Uses two universal lenses: performance & growth, and wellbeing & connection. Outputs are…
handoff
Write a session handoff at the end of a session so the next session can start from where this one stopped without rereading the whole conversation. Use when user says "handoff", "wrap up", "write a handoff", "end of session", "park this session", "save where we are", or to RESUME with "/handoff read", "pick up the…
setup-content-studio
Set up a new content studio for a person. Copies the plugin template, adapts it to the person's voice, themes, and content types through interactive discovery. Use when asked to create a content studio for someone new.
kb-answer
Answer questions using your project's knowledge base with evidence-backed citations. Every answer must cite literal quotes from KB files to prevent hallucinations. Use this for any question that should be answered from documented knowledge rather than general knowledge.