grok-codex-plugin AGENTS.md

grok-codex-plugin AGENTS.md is an instructions file for Codex, OpenCode from jinxlzc/grok-codex-plugin. It costs 98 tokens per session, scanned A, original, Apache-2.0.

Project instructions for a plugin that lets Grok Build control the local Codex command-line tool. They describe where its runtime, session transfer, and small MCP connection live.

In plain words
What is it for?
Maintaining the plugin, transferring Grok sessions to Codex, inspecting its MCP connection, and running its test suite.
Why use it?
They give the coding agent one agreed way to start Codex and point maintainers to the relevant tests and files.

Instructions file for CodexOpenCode

Install

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.

agentmods
npx agentmods add instructions/jinxlzc/grok-codex-plugin/agents-md
Clone the repo
git clone --depth 1 https://github.com/jinxlzc/grok-codex-plugin

Made for: Codex, OpenCode.

Wrote 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.

agentmods badge for grok-codex-plugin AGENTS.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/jinxlzc/grok-codex-plugin/agents-md.svg)](https://agentmods.dev/instructions/jinxlzc/grok-codex-plugin/agents-md)
Your own site
<a href="https://agentmods.dev/instructions/jinxlzc/grok-codex-plugin/agents-md"><img src="https://agentmods.dev/badge/instructions/jinxlzc/grok-codex-plugin/agents-md.svg" alt="Measured on agentmods" height="20"></a>
Per session 98 This file is loaded in full into every session.
When invoked 98 The same file — it is already loaded in full.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5 $0.00098 $0.00098
Opus 5 $0.00049 $0.00049
Sonnet 5 $0.00020 $0.00020
Haiku 4.5 $0.00010 $0.00010

Measured 4d ago against content hash ad8b71e81e33, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

grok-codex-plugin AGENTS.md 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 4d 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.

AGENTS.md · 10 lines

What it actually says

grok-codex-plugin

Grok Build plugin that commands the local Codex CLI.

  • Runtime lives in plugins/codex/scripts/codex-companion.mjs.
  • Grok session transfer lives in plugins/codex/scripts/lib/grok-session-transfer.mjs.
  • MCP is a thin stdio wrapper: plugins/codex/scripts/mcp-server.mjs.
  • Do not add a second Codex invocation path.
  • Tests: npm test.
Changes

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.

  1. 4d ago First seen · 10 lines · 98 tokens per session scan A ad8b71e81e33

Subscribe to this mod's changes

grok-codex-plugin AGENTS.md is an instructions file published in the GitHub repository jinxlzc/grok-codex-plugin (1 stars, last pushed 22d ago), licensed Apache-2.0. It adds 98 tokens to every session, about $0.0005 per session on Opus 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.

Related

Other instructions, from other repositories

grok-keysmith AGENTS.md

AGENTS.md instructions for Jia-Ethan/grok-keysmith, covering repository agent guide, scope, release and external state, change boundaries and documentation rules.

Jia-Ethan/grok-keysmith · 822 tokens

pi-xai-oauth AGENTS.md

AGENTS.md instructions for BlockedPath/pi-xai-oauth, covering agents.md — ai agent operations manual for pi-xai-oauth, project overview, key commands (exact, copy-paste ready), architecture & boundaries (must / must not) and file structure & wayfinding.

BlockedPath/pi-xai-oauth · 2,961 tokens

grokbuild-proxy CLAUDE.md

Instructions for GreyGunG/grokbuild-proxy, covering grokbuild, 项目状态, 架构, 开发与验证 and 变更约束.

GreyGunG/grokbuild-proxy · 653 tokens

goal-engineering AGENTS.md

Instructions for cobusgreyling/goal-engineering, covering agents.md — goal engineering reference, project purpose, verification, goal discipline and deny list.

cobusgreyling/goal-engineering · 401 tokens

grok-subagent AGENTS.md

Instructions for Walvez/grok-subagent, covering agents.md, 项目定位, 怎么跑起来, 依赖:node.js 22+、已登录的官方 grok cli(/.grok/bin/grok 或 grok) and 安装后必须新建 codex 任务,旧会话不会热加载 skill/mcp.

Walvez/grok-subagent · 591 tokens

grok-build-showcase AGENTS.md

Instructions for cobusgreyling/grok-build-showcase, covering agents.md — grok build rules for grok-build-showcase, coding standards, build, test & verification, git & version control and architecture notes.

cobusgreyling/grok-build-showcase · 1,714 tokens