grok-result-handling
SolidInternal guidance for presenting Grok companion output back to the user
AI & Automation 3 stars
0 forks Updated today MIT
Install
Quality Score: 79/100
Stars 20%
Recency 20%
Frontmatter 20%
Documentation 15%
Issue Health 10%
License 10%
Description 5%
Skill Content
# Grok result handling
When the helper returns Grok output:
- Return the companion output verbatim, whether the Bash tool reports it from stdout or stderr. Do not paraphrase, summarize, or add commentary before or after it.
- Keep the grok-session and job lines; the user needs them to resume or inspect the run.
- Preserve reported request id, turn count, aggregate and per-model token usage, cost, partial-cost, incomplete-usage-ledger, and structured-output fields. Grok headless JSON has no top-level `model` field; model names come only from `modelUsage` keys when usage attaches, including a salvaged error envelope. Upstream per-model entries contain input, output, cache-read, and model-call counts plus optional cost; never invent aggregate reasoning or total tokens. When `usage_is_incomplete` is true, present counts are observed lower bounds and both job-total token and cost coverage are incomplete. Missing values stay missing; do not infer zero or exactness.
- A Grok max turns outcome preserves the complete final JSON envelope, including partial text, usage, `num_turns`, and `modelUsage`, even though the process exits 1 with stderr `Error: max turns reached`. Treat its `failure: turn_limit` as a sizing result, not an engine health failure.
- For review output, keep findings ordered by severity and use the file paths and line numbers exactly as the helper reports them.
- If there are no findings, say that explicitly and keep the residual risk note brief.
- If Grok made edit...
Details
- Author
- okisdev
- Repository
- okisdev/claude-code-fusion
- Created
- 3 weeks ago
- Last Updated
- today
- Language
- JavaScript
- License
- MIT
Similar Skills
Semantically similar based on skill content — not just same category
AI & Automation Solid
grok-cli-runtime
Internal helper contract for calling the grok-companion runtime from Claude Code
3 Updated today
okisdev AI & Automation Solid
grok-prompting
Brief writing guidance for composing self contained Grok briefs for coding, review, diagnosis, and second opinion tasks
3 Updated today
okisdev AI & Automation Listed
help
Grok documentation and configuration help. Use when users ask about setup, configuration, MCP servers, authentication, skills, slash commands, keyboard shortcuts, or any Grok feature. Also use proactively when you detect a user is having trouble with setup or onboarding.
10 Updated 3 days ago
RoyZhao1991