Grok Media
calesthio/OpenMontage
xAI Grok image and video generation guide covering authentication, endpoints, prompt structure, image editing, reference-image video, and async polling.
Ask Grok or Gemini via opencli (browser-session based, no API cost).
$ npx skills add majiayu000/spellbook --skill ask-opencli -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install majiayu000/spellbook ask-opencli --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/majiayu000/spellbook.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/ask-opencli .claude/skills/ask-opencli && rm -rf skills-srcUse ~/.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/
Install the "ask-opencli" agent skill from https://github.com/majiayu000/spellbook/tree/main/skills/ask-opencli into .claude/skills/ask-opencli/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "ask-opencli", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/majiayu000/spellbook/tree/main/skills/ask-opencliType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add majiayu000/spellbook --skill ask-opencli -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install majiayu000/spellbook ask-opencli --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/majiayu000/spellbook.git skills-src && mkdir -p .agents/skills && cp -r skills-src/skills/ask-opencli .agents/skills/ask-opencli && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "ask-opencli" agent skill from https://github.com/majiayu000/spellbook/tree/main/skills/ask-opencli into .agents/skills/ask-opencli/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "ask-opencli", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add majiayu000/spellbook --skill ask-opencli -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install majiayu000/spellbook ask-opencli --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/majiayu000/spellbook.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/skills/ask-opencli .cursor/skills/ask-opencli && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "ask-opencli" agent skill from https://github.com/majiayu000/spellbook/tree/main/skills/ask-opencli into .cursor/skills/ask-opencli/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "ask-opencli", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/majiayu000/spellbook.git --path skills/ask-opencli--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add majiayu000/spellbook --skill ask-opencli -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install majiayu000/spellbook ask-opencli --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/majiayu000/spellbook.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/skills/ask-opencli .gemini/skills/ask-opencli && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "ask-opencli" agent skill from https://github.com/majiayu000/spellbook/tree/main/skills/ask-opencli into .gemini/skills/ask-opencli/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "ask-opencli", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install majiayu000/spellbook ask-opencliInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add majiayu000/spellbook --skill ask-opencli -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/majiayu000/spellbook.git skills-src && mkdir -p .github/skills && cp -r skills-src/skills/ask-opencli .github/skills/ask-opencli && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "ask-opencli" agent skill from https://github.com/majiayu000/spellbook/tree/main/skills/ask-opencli into .github/skills/ask-opencli/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "ask-opencli", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add majiayu000/spellbook --skill ask-opencli -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install majiayu000/spellbook ask-opencli --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/majiayu000/spellbook.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/skills/ask-opencli .opencode/skills/ask-opencli && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "ask-opencli" agent skill from https://github.com/majiayu000/spellbook/tree/main/skills/ask-opencli into .opencode/skills/ask-opencli/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "ask-opencli", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
ask-opencliAsk Grok or Gemini via opencli (browser-session based, no API cost).
Ask Opencli is an agent skill from majiayu000/spellbook. Ask Grok or Gemini via opencli (browser-session based, no API cost). Use when the user says "问 grok", "问 gemini", "ask grok", "ask gemini", "用 grok 查", "grok 怎么看", "让 gemini 分析", or wants a second opinion from Grok/Gemini without paying API tokens. Routes to opencli which drives the already-logged-in Chrome session.
Its SKILL.md is about 1.9k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.
The repository describes itself as: Cross-runtime skills for Claude Code, Codex, and multi-agent workflows. The licence is MIT.
2 steps, taken from the first numbered list in SKILL.md.
Read from SKILL.md and the folder at commit 6310f81. It shows what the files ask for, not the result of running them.
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.
Shell commands in SKILL.md call:
npmgeminiFrom the folder's file list and the shell code blocks in SKILL.md.
Links to these hosts (documentation or services it may open):
github.comFrom URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Ask Opencli loads about 1.9k tokens when it runs. Until then it costs about 82 tokens; SKILL.md has 817 words of instructions outside code blocks.
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.
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.
The full file from majiayu000/spellbook at commit 6310f81, republished under its MIT licence (© majiayu000). 817 words, ~1,868 tokens.
.claude/skills/ask-opencli/SKILL.md (or your agent's skills folder).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:
When NOT to trigger:
gemini -p) → use ask-gemini skill insteadIf 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.
| ❌ 错误 | ✅ 正确 | 原因 |
|---|---|---|
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> # 图片生成opencli has two independent timeout layers, both must be set for grok to wait long enough:
--timeout 300 — grok.com web response wait timeOPENCLI_BROWSER_COMMAND_TIMEOUT=300 environment variable — entire browser command execution timeout (default 60s, hardcoded in runtime.js:25)The outer takes priority over the inner. Setting only --timeout 300 still gets killed at 60s. You MUST set both.
Source code: .omx/reference/opencli/dist/src/runtime.js:25:
export const DEFAULT_BROWSER_COMMAND_TIMEOUT = parseEnvTimeout('OPENCLI_BROWSER_COMMAND_TIMEOUT', 60);Recommended: add export OPENCLI_BROWSER_COMMAND_TIMEOUT=300 to ~/.zshrc so every grok/gemini call has room to breathe.
OPENCLI_BROWSER_COMMAND_TIMEOUT=300 opencli grok ask "{{PROMPT}}" --timeout 300 -f jsonOr if env var already exported in shell:
opencli grok ask "{{PROMPT}}" --timeout 300 -f jsonFlags:
--new true — start a fresh chat (avoids polluting prior conversation context)--web true — use the hardened grok.com consumer web flow (better error messages)--timeout 300 — MUST match or be lower than OPENCLI_BROWSER_COMMAND_TIMEOUT-f json — structured output (recommended over --format plain for parsing)opencli gemini ask "{{PROMPT}}" --format plainGemini is more stable than grok and usually doesn't hit the 60s timeout. No env var required but adding it doesn't hurt:
OPENCLI_BROWSER_COMMAND_TIMEOUT=300 opencli gemini ask "{{PROMPT}}" --format plainFlags:
--new true — start a fresh chat--timeout 90 — extend timeout for long answers (default 60s)To call grok and gemini in parallel from Claude Code, use the Bash tool with run_in_background=true for both calls in the same assistant turn. Claude Code will launch them concurrently and wait for task-completion notifications.
For deep cross-validation workflows (N internal sub-agents + 2 external AIs, confidence-tiered synthesis), use the multi-ai-research skill instead — it covers the full orchestration pattern.
opencli --version should print a version.~/Desktop/code/AI/tools/opencli/extension/ via chrome://extensions → Developer mode → Load unpacked. If the extension is missing, opencli doctor will flag it.grok.com must be logged ingemini.google.com must be logged inopencli doctor once per session if unsure.If any check fails, do not fall back to another tool silently. Report the missing prerequisite and ask the user to fix it (per U-23 no-silent-degradation rule).
--format plain.opencli will emit specific errors like:
--timeoutDo not swallow these. Report verbatim with the fix action.
After every successful call, save a markdown artifact to:
.omx/artifacts/ask-opencli-<grok|gemini>-<slug>-<YYYYMMDD-HHMMSS>.mdMinimum sections:
opencli ... askKeep the artifact even when the response is low quality — it documents that the query was made.
# Quick factual question, Grok default path
opencli grok ask "最新的 Claude 4.6 定价和 4.5 有什么差别?" --format plain
# Long reasoning task, Gemini with extended timeout + fresh chat
opencli gemini ask "分析这段 Rust 代码的并发安全问题:..." --new true --timeout 120 --format plain
# Grok hardened web path with new chat
opencli grok ask "X 上这两天关于 agent framework 的讨论焦点是什么?" --web true --new true --format plainTask: {{ARGUMENTS}}
© majiayu000, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
Just SKILL.md in skills/ask-opencli of majiayu000/spellbook.
Open the folder on GitHubat commit 6310f81
Ask Opencli 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.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Ask Opencli this skillmajiayu000/spellbook | 286 | — | ~1.9k | Automated safety check: Pass | MIT | |
| Grok Mediacalesthio/OpenMontage | 65k | — | ~950 | Automated safety check: Pass | AGPL-3.0 | |
| OpenCLI Usage Mapjackwener/OpenCLI | 30k | 1 repos | ~2.3k | Automated safety check: Pass | Apache-2.0 | |
| Grok Delegatesickn33/agentic-awesome-skills | 47k | 1 repos | ~2.6k | Automated safety check: Pass | MIT | |
| Grok Buildsickn33/agentic-awesome-skills | 47k | 1 repos | ~1.8k | Automated safety check: Pass | Apache-2.0 | |
| OpenCLI Adapter Autofixjackwener/OpenCLI | 30k | 1 repos | ~3.2k | Automated safety check: Pass | Apache-2.0 |
calesthio/OpenMontage
xAI Grok image and video generation guide covering authentication, endpoints, prompt structure, image editing, reference-image video, and async polling.
jackwener/OpenCLI
Orients an agent on OpenCLI, which turns websites and Electron apps into opencli site-command calls, covering adapters, strategies, install and which skill to load next.
sickn33/agentic-awesome-skills
Delegate coding tasks to the Grok Build CLI only when the user explicitly requests it, while the orchestrator retains review and landing responsibility.
sickn33/agentic-awesome-skills
Delegate well-specified implementation tasks to xAI's Grok Build CLI running headlessly while the orchestrating agent plans, writes task specs, reviews every diff, and owns the result.
jackwener/OpenCLI
Repairs a broken OpenCLI site adapter after a command fails: collects a trace, patches only the adapter, retries, and files an upstream GitHub issue once fixed.
jackwener/OpenCLI
Drives a real Chrome window through the opencli CLI to inspect pages, fill forms, click through logged-in flows and extract data from structured command responses.
majiayu000/spellbook
Audits and repairs how coding-agent Skills are owned, copied and exposed across runtimes, from canonical sources to quarantine and retirement.
majiayu000/spellbook
Scans a repository for real evidence and proposes, or on request writes, a small stack of root and scoped AGENTS.md files with validation commands and generated-file boundaries.
majiayu000/spellbook
Plans, produces or diagnoses evidence-backed product demo videos: script, capture plan, pacing checks and verified final media built on real product behavior.
majiayu000/spellbook
Single entry point that routes long or ambiguous agent tasks, checks live state, bounds autonomous loops and leaves a resumable handoff.
majiayu000/spellbook
Scans a repository, its lockfiles and node_modules for known malicious npm package versions and install-time indicators, using a read-only Python scanner.
majiayu000/spellbook
Product management helpers: a RICE scoring script, an interview transcript analyzer and PRD templates for prioritizing features, synthesizing research and writing requirements.
Ask Grok or Gemini via opencli (browser-session based, no API cost). Ask Opencli is an agent skill from majiayu000/spellbook. Ask Grok or Gemini via opencli (browser-session based, no API cost).
Ask Opencli fits situations like: the user says 问 grok; wants a second opinion from Grok/Gemini without paying API tokens.
Run `npx skills add majiayu000/spellbook --skill ask-opencli -a claude-code`. Or copy the skill folder (skills/ask-opencli in majiayu000/spellbook) into .claude/skills/ask-opencli in your project. Claude Code loads it when a task matches its description.
Run `npx skills add majiayu000/spellbook --skill ask-opencli -a codex`. Or copy the skill folder (skills/ask-opencli in majiayu000/spellbook) into .agents/skills/ask-opencli in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add majiayu000/spellbook --skill ask-opencli -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/ask-opencli, .gemini/skills/ask-opencli, .github/skills/ask-opencli and .opencode/skills/ask-opencli in your project.
Going by SKILL.md and its folder, Ask Opencli needs the command-line tools its instructions call (npm and gemini). Our summary lists: Node.js.
SKILL.md names 1 domain. As links in the text: github.com. This is read from the text; nothing was executed.
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.
Ask Opencli is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 1.9k tokens (SKILL.md is roughly 7.5k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
Skills that share tags, products or a category with Ask Opencli: Grok Media (calesthio/OpenMontage, 65k stars), OpenCLI Usage Map (jackwener/OpenCLI, 30k stars), Grok Delegate (sickn33/agentic-awesome-skills, 47k stars) and Grok Build (sickn33/agentic-awesome-skills, 47k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
majiayu000 (a GitHub user) maintains it in majiayu000/spellbook, which has 286 GitHub stars. The repository holds 97 skills in this directory. The repository was last updated on October 8, 2026.
Source: majiayu000/spellbook on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.