eide-rebuild

eide-rebuild is a command for Claude Code, Codex from gaoguobin/codex-eide-rebuild. It costs 32 tokens per session (310 once invoked), scanned A, original, MIT.

A command for rebuilding an Embedded IDE for VS Code workspace and returning a compact JSON build summary.

In plain words
What is it for?
Use it when asked to compile, rebuild, or verify one project, with an optional workspace or project path.
Why use it?
It lets an agent verify a build without flooding the conversation with full compiler logs, while preserving a path to detailed results.

Command for Claude CodeCodex

Written for Claude Code and Codex: argument-hint in frontmatter, but also reads ~/.codex or $CODEX_HOME. Also seen: mentions subagents; mentions Codex.

Good fit Use it when asked to compile, rebuild, or verify one project, with an optional workspace or project path.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/gaoguobin/codex-eide-rebuild/eide-rebuild
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.

Clone the repo
git clone --depth 1 https://github.com/gaoguobin/codex-eide-rebuild

Made for: Claude Code, Codex.

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 eide-rebuild

README.md
[![agentmods](https://agentmods.dev/badge/commands/gaoguobin/codex-eide-rebuild/eide-rebuild.svg)](https://agentmods.dev/commands/gaoguobin/codex-eide-rebuild/eide-rebuild)
Your own site
<a href="https://agentmods.dev/commands/gaoguobin/codex-eide-rebuild/eide-rebuild"><img src="https://agentmods.dev/badge/commands/gaoguobin/codex-eide-rebuild/eide-rebuild.svg" alt="Measured on agentmods" height="20"></a>
Per session 32 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 310 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
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.1 $0.00032 $0.00310
Opus 5 $0.00016 $0.00155
Sonnet 5 $0.00006 $0.00062
Haiku 4.5 $0.00003 $0.00031

Measured 7d ago against content hash 6f6c7f4c1282, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-07, from the pricing page.

Security

Grade A, and why

eide-rebuild 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 7d 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.

integrations/claude-code/commands/eide-rebuild.md · 20 lines

What it actually says

Run the shared EIDE rebuild runner for the provided path. Default to direct execution for normal single-project requests because the runner returns minimal JSON and writes full logs to resultPath.

  1. If an argument is present, use it as the workspace or project path.
  2. If no argument is present, infer the current project path only when the current working directory contains exactly one .code-workspace file.
  3. For normal single-project requests, execute:
python ~/.codex/codex-eide-rebuild/runtime/python/eide_rebuild.py rebuild $ARGUMENTS --stdout minimal
  1. Use the eide-rebuild subagent only when the user explicitly asks for subagent/delegated/background work, or explicitly asks to run independent projects in parallel.
  2. Never run multiple rebuild workers against the same project/build directory concurrently.
  3. Return only a low-noise summary from minimal JSON: ok, exitCode, errorCode, summary, targetNames, failure count, diagnostic count, artifact count, and resultPath.
  4. Do not paste full logs or long artifact lists on success. Read compilerLog, steps, artifacts, and transcript from resultPath only on failure or explicit request.
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. 7d ago First seen · 20 lines · 32 tokens per session scan A 6f6c7f4c1282

Subscribe to this mod's changes

eide-rebuild is a command published in the GitHub repository gaoguobin/codex-eide-rebuild (5 stars, last pushed 3mo ago), licensed MIT. It adds 32 tokens to every session and 310 once invoked, about $0.0002 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.