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 handong66/grok-plugin-codex --skill grokgit clone --depth 1 https://github.com/handong66/grok-plugin-codexWrote 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/handong66/grok-plugin-codex/grok)<a href="https://agentmods.dev/skills/handong66/grok-plugin-codex/grok"><img src="https://agentmods.dev/badge/skills/handong66/grok-plugin-codex/grok/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/handong66/grok-plugin-codex/grok"><img src="https://agentmods.dev/badge/skills/handong66/grok-plugin-codex/grok.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.00079 | $0.02080 |
| Opus 5.5 | $0.00032 | $0.00832 |
| Sonnet 5.5 | $0.00016 | $0.00416 |
| Haiku 4.5 | $0.00008 | $0.00208 |
Grade A, and why
grok 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 1mo 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 — 37 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Grok Capability Layer
Operate the installed grok_* tools according to their current schemas. Codex owns scope, workspace state, verification, git, and final judgment.
Required contract
- Use
grok_checkwhen CLI discovery, compatibility, login, or model listing is uncertain. TreatcliDiscovered,authenticated,entitled,modelsListed, andcallableas separate facts.authenticatedandentitledaretrue,false, or the string"unknown"— nevernull— so never read an undetermined fact as a negative one;entitled: falsemeans the account listed models but has no quota.modelInvocationTested/callablestayfalse/nullunless you passprobeInvocation: true, which spends real quota on one bounded call; do not enable it routinely. - Configure a custom executable through trusted MCP environment variable
GROK_BIN; never accept a binary path from a task prompt or tool argument. - Pass an explicit absolute
cwdfor workspace, session, and export operations. That value grants only this tool call access to the exact canonical directory; it need not already be an advertised MCP root and is not remembered. This does not grant operation approval:alwaysApprovestays opt-in, while review and adversarial-review calls remain read-only plan mode without subagents. They also require an explicit non-empty target. Spell ittargetor, equivalently,prompt—grok_rescuetakesproblemorpromptthe same way — and pass exactly one of the pair (a string or an array of strings, joined into bullets). Onlycwdis required by the schema; a missing, empty, or doubled target is the non-retryabletarget_required, and one over the limit istarget_too_largewithdetails.chars/details.maxChars. backgrounddefaults totrueforgrok_run,grok_review,grok_adversarial_review, andgrok_rescue, and tofalseforgrok_continue; a background start returnsdata.background === trueanddata.job.id. Call status, result, or cancel with thatjobIdonly; job state is private and independent of workspacecwd.background: falseblocks the MCP call for up totimeoutMsplus a 10 s grace and then returnsforeground_wait_timeoutcarrying the same job id. An omittedtimeoutMsdefaults per kind (run/continue 180000, review/rescue 240000, adversarial_review 300000); an explicit value is never clamped, and every envelope echoeseffectiveTimeoutMs/effectiveMaxTurns.- Accept an answer only when
data.resultComplete === true; it already accounts for truncation.outputSummary.outputTruncatedalone does not disqualify an answer — it usually means tool-call echo overflowed the capture window — whileoutputSummary.textTruncatedmeans answer text was dropped. The plugin normalisesstopReasoncase- and separator-insensitively (end_turn,EndTurn,cancelled,Cancelledare all understood); never string-match the raw value yourself. Treatcancelled_outputandmax_turns_reachedas partial. Usedata.finalText, not previews or raw log tails;grok_resultreturns the rawstdoutTail/stderrTailonly when you passincludeRawTail: true. grok_adversarial_reviewacceptsthreatModel: the operating scope the review must judge against. Findings outside it are labelled out-of-model and are advisory — they must never block, force NO_GO, or interrupt work in progress.grok_finalize({ cwd, jobId })is the one-call form of the recovery: one turn, no tools, complete answer, anything unverified markedUNVERIFIED. Use it fortimeout,max_turns_reached,cancelled_output, andpermission_denied_headlessinstead of rerunning the task. It inherits the read-only mode of the session it resumes.- Every non-complete result carries a recovery handle:
error.details.recoveryon a failed foreground call anddata.recoveryongrok_result, shaped{ jobId, grokSessionId, partialTextChars, suggested: { tool: "grok_finalize", args }, fallback: { tool: "grok_continue", args } }. Run that suggestion as given — one turn, no tools, complete answer — or thefallbackif you only callgrok_continue; neither asks for a shortened answer. Do not rerun the task or raise the budget. The partial answer is never destroyed:error.details.finalTextRefis the job id andgrok_resultreturns the complete capturedfinalTextwhateverresultCompletesays. - When
outputSummary.stopReasonRecognised === falsethe plugin accepted an unfamiliar stop reason and said so inwarnings. The answer is still returned; reject it only if your task needs strict vocabulary matching. - Continue only a known
sessionIdor explicitly request the latest session. Continuing a session that this plugin created for a review, adversarial review, or rescue inherits enforced read-only plan mode, andalwaysApproveon such a session is refused with the non-retryablereadonly_session_escalation; when a namedsessionIdis unknown to the plugin the call proceeds with a warning saying the original mode could not be verified. continueLatest: truenames no session, so the plugin infers the target from the newest session it started in thiscwd, and that inference may only restrict, never certify. If the inferred session was read-only,alwaysApproveis refused withreadonly_session_escalationanderror.details.inferredFromLatestJob === true(non-retryable — do not retry it), and a plain continuation inherits plan mode. EverycontinueLatestcall also warns that the resumed session could not be verified, because the CLI may resume a session this plugin never created. The remedy in both cases is one parameter: pass the explicitsessionIdof the session you mean, or start a new one withgrok_run. Export returns Markdown; the plugin does not write a caller-selected output file.
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.
- 1mo ago Changed 09ac3563461f
- 1mo ago First seen · 37 lines · 79 tokens per session scan A 0e4be906e3f9
grok is a skill published in the GitHub repository handong66/grok-plugin-codex (1 stars, last pushed 21d ago), licensed MIT. It adds 79 tokens to every session and 2,080 once invoked, about $0.0003 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-31.
Other skills, from other repositories
gh-issues
Fetch GitHub issues, spawn sub-agents to implement fixes and open PRs, then monitor and address PR review comments. Usage: /gh-issues [owner/repo] [--label bug] [--limit 5] [--milestone v1.0] [--assignee @me] [--fork user/repo] [--watch] [--interval 5] [--reviews-only] [--cron] [--dry-run] [--model glm-5]…
review
Review one pull request for real bugs, regressions, and convention violations. Enumerate candidate issues across the whole diff, verify each against the code, then return structured line-anchored findings and a verdict. Read-only on GitHub; the orchestrator posts the review.
md-audit
Read-only code quality audit — scan the current working directory for common issues (bugs, dead code, security hotspots, missing error handling) and return a prioritised findings report. No files are edited. Use when asked to "audit the code", "quick audit", "find issues", "code scan", or "what's wrong with this…
adversarial-reviewer
Stress-test a code change for concrete correctness defects, unsafe assumptions, and failure modes. Use when the user explicitly asks for an adversarial review, a deep bug hunt, or to tear a change apart, or to check your own change before submitting it. Do not use for ordinary review, style feedback, or general…
resolve-review-pr
Review an existing fix PR using the audited repro and full diff, preserving branch and approval rules.
oracle
Oracle second-model review: bundle prompts/files, debug, refactor, design.