Yichen Grok Consult
Consult or search with xAI Grok from a GPT-led Codex conversation without switching the...
Install
npx skills add mcncarl/yichen-skills --skill yichen-grok-consult -g -a claude-code -y- Repository
- mcncarl/yichen-skills5.1k
- Category
- Writing
- Updated
- 3d ago
- License
- See repository
- Context cost
- Mediumabout 2,018 tokens
- Runs scripts
- No, instructions only
What it does
Consult or search with xAI Grok from a GPT-led Codex conversation without switching the main model. Use when the user asks Grok to answer, review, challenge, compare, provide a second opinion, search the web, search X/Twitter, find recent or fixed-date posts, decode timestamps embedded in X status IDs, research current topics, or invoke Grok while staying in the current GPT conversation.
Grok Consult
Keep GPT as the controlling model. Use Grok only as a read-only external advisor, then evaluate and synthesize its response yourself.
安全与额度默认
- 第一顺位始终是官方 Grok CLI,通过
~/.grok/auth.json的账号 OAuth 使用 Grok 订阅自带额度。 - 所有 X 关键词搜索都先使用官方 Grok CLI 原生
x_search。只有第一顺位明确出现账号额度或使用上限耗尽时,search_x_with_grok才进入匿名 FxTwitter;FxTwitter 仍失败或零结果时,必须先取得当前任务明确授权并传入allow_authenticated_fallback=true,才能继续OpenCLI → xreach。后三者只是公开 X 内容读取器,不是 Grok 模型,返回的数据由 GPT 解释。 ask_grok、review_with_grok、challenge_with_grok只使用官方 Grok CLI 账号额度;OpenCLI/xreach 不能替代普通模型咨询。- 登录失效、401/403、权限错误、输入错误、超时、网络错误、服务异常或官方 CLI 的搜索证据无法核验均不得触发静默回退;它们不是“额度用完”。
- OpenCLI 与 xreach 只允许读取,不得点赞、转发、关注、发帖、私信或改动账号;避免批量、高频和长时间分页。
Choose a tool
- Use
ask_grokfor an independent answer, alternative framing, or second opinion. - Use
review_with_grokto review a draft, plan, analysis, or proposed answer against a stated goal. - Use
challenge_with_grokto stress-test a claim, expose assumptions, and generate counterarguments. - Use
search_x_with_grokfor every X/Twitter keyword search. It first launches the official Grok CLI with nativex_search; only explicit account quota exhaustion may enter anonymous FxTwitter. If that route is unavailable or empty, obtain explicit current-task authorization before settingallow_authenticated_fallback=truefor OpenCLI/xreach. It extracts candidate status URLs, decodes the timestamps embedded in their Snowflake IDs, converts them to the requested timezone, and filters them to a rolling window or fixed calendar date.
