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 skills add majiayu000/spellbook --skill ask-opencligit clone --depth 1 https://github.com/majiayu000/spellbookWrote 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/majiayu000/spellbook/ask-opencli)<a href="https://agentmods.dev/skills/majiayu000/spellbook/ask-opencli"><img src="https://agentmods.dev/badge/skills/majiayu000/spellbook/ask-opencli/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.
<a href="https://agentmods.dev/skills/majiayu000/spellbook/ask-opencli"><img src="https://agentmods.dev/badge/skills/majiayu000/spellbook/ask-opencli.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector pass
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.1 | $0.00095 | $0.02057 |
| Opus 5.5 | $0.00038 | $0.00823 |
| Sonnet 5.5 | $0.00019 | $0.00411 |
| Haiku 4.5 | $0.00010 | $0.00206 |
Grade A, and why
ask-opencli 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 3mo 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 — 175 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Ask via OpenCLI (Grok / Gemini)
Use opencli to query Grok or Gemini through the user's already-logged-in Chrome session. Zero API cost, fully driven by the existing browser session.
opencli 项目:https://github.com/jackwener/opencli 安装:
npm install -g @jackwener/opencli(需要 Node ≥20) 首次运行:opencli doctor会自动引导安装 Chrome Browser Bridge 扩展 登录:用装了扩展的 Chrome profile 打开 grok.com 和 gemini.google.com 登录一次 必须环境变量:export OPENCLI_BROWSER_COMMAND_TIMEOUT=300(写进 shell rc) 更深度的多 AI 并行调研工作流:use themulti-ai-researchskill instead
When to trigger:
- User explicitly asks to query Grok or Gemini ("问一下 grok", "用 gemini 查", "让 grok 看看")
- User wants a second opinion / external advisor from Grok or Gemini
- User says "ask grok"/"ask gemini" or mentions these two as the information source
When NOT to trigger:
- User wants to use native Gemini CLI (
gemini -p) → useask-geminiskill instead - User wants Claude's own opinion → answer directly
- User wants other AI (Doubao, Yuanbao, ChatGPT, etc.) → use other tools
Model selection
If the user doesn't specify which model, default to Grok for real-time / social / news / tech-trend questions, and Gemini for long-form reasoning, research, coding, and document analysis.
If still ambiguous, ask the user which one to use before sending.
⚠️ 常见错误命令(直接 fail fast)
| ❌ 错误 | ✅ 正确 | 原因 |
|---|---|---|
opencli gemini chat "..." |
opencli gemini ask "..." |
没有 chat 子命令 |
opencli grok chat "..." |
opencli grok ask "..." |
只有 ask 子命令 |
opencli grok new |
opencli grok ask "..." --new true |
grok 的"新对话"是 ask 的参数 |
opencli gemini query "..." |
opencli gemini ask "..." |
没有 query 子命令 |
完整子命令速查(运行 opencli grok --help 或 opencli gemini --help 查看):
Grok:
ask <prompt> # 唯一命令
Gemini:
ask <prompt> # 最常用
new # 开新对话
deep-research <prompt> # Deep Research 模式
deep-research-result [query] # 取 Deep Research 结果
image <prompt> # 图片生成
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.
- 3mo ago First seen · 175 lines · 95 tokens per session scan A 690f661fb314
ask-opencli is a skill published in the GitHub repository majiayu000/spellbook (303 stars, last pushed 4d ago), licensed MIT. It adds 95 tokens to every session and 2,057 once invoked, about $0.0004 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-08-30.
ask-opencli compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| ask-openclimajiayu000/spellbook | Skill | 303 | 4d ago | MIT | A | 95 | Claude Code, Codex |
| news-searchelvisun/newsjack | Skill | 1.7k | 9d ago | MIT | A | 69 | Claude Code |
| inbox-zero-apielie222/inbox-zero | Skill | 13k | yesterday | none | A | 61 | Codex, Cursor |
| telegram-userbotoyi77/1ai-skills | Skill | 19 | yesterday | MIT | A | 70 | Claude Code |
| sap-build-process-automationefeumutaslan/SAP-SKILLS | Skill | 8 | 8mo ago | MIT | A | 99 | Claude Code, Codex |
| slackvercel-labs/agent-browser | Skill | 55k | today | Apache-2.0 | A | 88 | Claude Code |
| derive-clientvercel-labs/agent-browser | Skill | 55k | today | Apache-2.0 | A | 100 | Claude Code |