跳到正文
cccskills
免费在 GitHub 公开

grok-build-cli

Invoke the locally installed Grok Build CLI from Codex and return Grok's response. Use whenever the user asks Codex to call, consult, run, or delegate a prompt to Grok or Grok Build, including Grok web/X searches and agentic Grok tasks. This Skill covers only the invocation mechanism, process monitoring, and response capture; it does not prescribe the task itself.

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

查看安装方法

包含的文件(2)

  • SKILL.md3.0 KB
  • agents/openai.yaml210 B

SKILL.md(原文)

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

Call Grok Build

Call the local grok CLI from Codex. Do not add an unrelated research, download, editing, or production workflow.

Check availability

Before the first call in a task, run:

command -v grok
grok models

grok models must confirm that the user is logged in and show at least one available model. If authentication is missing, report it and run grok login only when the user wants to authenticate interactively.

Choose the call form

For a direct single-turn answer that does not need Grok tools:

grok --single 'PROMPT' --output-format plain

For an agentic task that may use Grok's tools, including X or web search, put the full prompt in a UTF-8 file and run:

grok --prompt-file '/absolute/path/prompt.md' \
  --max-turns 8 \
  --output-format plain

Use --model MODEL only when the user requests a particular available model. Otherwise use Grok's configured default.

Run from Codex

  1. For a long prompt, create prompt.md with apply_patch; avoid fragile shell quoting.
  2. Start Grok with exec_command, normally using yield_time_ms: 1000.
  3. If the command returns a session ID, poll it with write_stdin, sending an empty string and waiting at most 30 seconds per poll.
  4. Share a concise progress update when a call runs longer than 60 seconds.
  5. Capture Grok's final stdout. Treat a nonzero exit code, Max turns reached, or empty final output as failure.
  6. Return Grok's answer to the user, clearly identified as Grok's result when attribution matters.

Isolation

When Grok should only execute the supplied prompt and must not inspect the current repository's skills or instructions, give it an empty temporary working directory:

GROK_CALL_DIR="$(mktemp -d)"
grok --cwd "$GROK_CALL_DIR" --no-memory --no-subagents \
  --prompt-file '/absolute/path/prompt.md' \
  --max-turns 8 \
  --output-format plain

Use this isolation by default for web/X research and independent second opinions. Use the actual project directory only when Grok must read or modify that project.

Guardrails

  • Do not claim Grok was called unless the CLI actually ran.
  • Do not fabricate, paraphrase as successful, or silently replace an empty or failed Grok response.
  • Do not pass secrets in prompts or command-line arguments.
  • Do not use --always-approve, bypassPermissions, or broad write access unless the user explicitly authorizes the corresponding mutations.
  • Do not resume an unrelated prior Grok session. Start a new call unless the user explicitly asks to continue a specific Grok session.
  • Keep this Skill task-agnostic: the user's prompt determines what Grok does.

评价

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

评论

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

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

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

0 / 1000 字

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

同一仓库的技能

口播视频转录和口误识别。生成审查稿和删除任务清单。触发词:剪口播、处理视频、识别口误

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

Pluviobyte/rnskill16572026年9月21日 更新

将法天象地、同源巨大法相或角色力量显现的视觉参考制作成连续关键帧,再使用用户选择或可用的图生视频工具分段生成、检查和合成动作视频,不绑定成片平台。适用于本体与法相同框、领域展开、凝实与同步出招;不负责整部小说改编或普通图片轮播。

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

Pluviobyte/rnskill16572026年9月21日 更新

口播基础素材包生成。转录口播、识别口误、生成审核页;用户确认后剪出新视频,Agent 再基于剪后视频重新转写、AI 校对字幕,输出后续口播成片可用的 source_cut.mp4 和 subtitles.srt。触发词:剪口播、处理口播素材、准备口播素材、识别口误、基础素材包

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

Pluviobyte/rnskill16572026年9月21日 更新

口播视频成片 Skill。把文章/口播稿/SRT、剪后视频和 HTML/图片素材串成分镜稿、时间线预览和最终 MP4;成片比例和动画风格从用户配置读取,动画默认使用小黑风格。触发词:口播成片、做分镜稿、时间线预览、合成口播视频、导出竖屏MP4

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

Pluviobyte/rnskill16572026年9月21日 更新

自进化 skills。记录用户反馈,更新方法论和规则。触发词:更新规则、记录反馈、改进skill

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

Pluviobyte/rnskill16572026年9月21日 更新

dbs

免费

dontbesilent 商业工具箱主入口。双模式:任务前路由(你的问题该用哪个 skill)+ 任务后导航(刚做完诊断,下一步该干什么)。 触发方式:/dbs、/商业、「帮我看看」、「下一步怎么走」 Main entry point for dontbesilent business toolkit. Dual mode: pre-task routing + post-task navigation. Trigger: /dbs, "help me with my business", "what's next"

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

Pluviobyte/rnskill16572026年9月21日 更新

查看 Pluviobyte 的全部技能

报告此技能的问题