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 gaoguobin/codex-eide-rebuild --skill eide-rebuildgit clone --depth 1 https://github.com/gaoguobin/codex-eide-rebuildWrote 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/gaoguobin/codex-eide-rebuild/eide-rebuild)<a href="https://agentmods.dev/skills/gaoguobin/codex-eide-rebuild/eide-rebuild"><img src="https://agentmods.dev/badge/skills/gaoguobin/codex-eide-rebuild/eide-rebuild/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/gaoguobin/codex-eide-rebuild/eide-rebuild"><img src="https://agentmods.dev/badge/skills/gaoguobin/codex-eide-rebuild/eide-rebuild.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.00036 | $0.00948 |
| Opus 5.5 | $0.00014 | $0.00379 |
| Sonnet 5.5 | $0.00007 | $0.00190 |
| Haiku 4.5 | $0.00004 | $0.00095 |
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 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 — 70 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Use this skill when the user wants an EIDE project rebuilt from Codex.
Trigger patterns
- Natural language build requests such as
你自己编译验证下对不对 - Natural language build requests such as
帮我编译确认一下 - Natural language build requests such as
先 rebuild 看结果 - Explicit requests such as
EIDE rebuild C:\work\demo\project.code-workspace - Long-log requests such as
EIDE subagent rebuild C:\work\demo\project.code-workspace
How to execute
- Resolve the target path.
- Prefer a user-provided
.code-workspacepath. - If the user points at a project directory, pass that directory to the runner and let the runner resolve the single workspace file.
- If no path is supplied, inspect the current working directory. Use it when it contains exactly one
.code-workspacefile. - If the current working directory does not identify one workspace, ask the user for the path.
Decision table:
| Request shape | Default execution |
|---|---|
| Single project, normal compile/rebuild request | Run the runner directly in the main agent. |
| Single project, explicit subagent/delegated/background request | Use the eide-rebuild custom agent when available. |
| Multiple independent projects, explicit subagent/parallel/delegated request | Use one rebuild worker per project when the host supports delegation. |
| Same project or same build directory | Never run rebuild workers concurrently. |
Run:
python scripts/eide_rebuild.py rebuild <workspace-or-project-path> --stdout minimal
The relative scripts/eide_rebuild.py path is relative to this installed skill directory. Host integrations can use their own installed absolute runner path.
Environment check:
python scripts/eide_rebuild.py doctor
Result handling
- Treat the runner as the source of truth.
- Prefer
--stdout minimalfor normal agent work. It prints bounded JSON status and still writes the complete result toresultPath. - Use
--stdout summaryonly when stdout needs per-target artifacts, memory, source stats, failures, or diagnostics without openingresultPath. - Use
--stdout fullor omit--stdoutonly when the full JSON is explicitly needed on stdout. - First inspect
ok,exitCode,errorCode,summary,targetNames,targets[].ok,targets[].failureCount,targets[].diagnosticCount,targets[].artifactCount, andresultPath. - On success, report only a low-noise summary by default:
ok,exitCode,errorCode,summary,targetNames, failure count, diagnostic count, artifact count, andresultPath. - Use
targets[].artifacts[].sha256as artifact identity/provenance data. Do not treat hash changes across different rebuilds as success/failure evidence unless the user explicitly asks for reproducibility or deterministic build checks. - Keep the complete JSON available at
resultPath; it includescompilerLog,steps,artifacts, andtranscript. - Do not paste full logs or long artifact lists on successful builds.
- Read
compilerLog,transcript, andsteps[].stdout/stderrfromresultPathonly when the build fails, the user asks for details, or the structuredfailures/diagnosticsfields are not enough. - Use exit code
0for success,6for build failure, and the other exit codes for environment or tool errors.
What ships with it
10 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
- agents/openai.yaml 921 B
- scripts/eide_rebuild.py 147 B runs code
- scripts/eide_rebuild/__init__.py 7.8 KB runs code
- scripts/eide_rebuild/builder_params.py 13 KB runs code
- scripts/eide_rebuild/eide_model.py 1.0 KB runs code
- scripts/eide_rebuild/executor.py 18 KB runs code
- scripts/eide_rebuild/platform.py 536 B runs code
- scripts/eide_rebuild/project.py 1.5 KB runs code
- scripts/eide_rebuild/result_model.py 9.2 KB runs code
- scripts/eide_rebuild/tools.py 19 KB runs code
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 First seen · 70 lines · 36 tokens per session scan A bc20fefc356c
eide-rebuild is a skill published in the GitHub repository gaoguobin/codex-eide-rebuild (5 stars, last pushed 4mo ago), licensed MIT. It adds 36 tokens to every session and 948 once invoked, about $0.0001 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
submit-producti-directories-merged
A workflow for carrying out authorised backlink submissions to product directories and official contact forms, with duplicate checks, verification, evidence, and recovery records. It is intended for execution rather than just researching candidates.
writer
SEO-friendly article writing, audit, and humanization workflow for Markdown content. Use when creating, outlining, editing, auditing, rewriting, or quality-checking blog posts, tutorials, comparisons, listicles, explainers, FAQ sections, excerpts, SEO titles, meta descriptions, tags, or Google-friendly content briefs…
makefile-generation
Generates Makefiles with testing, linting, formatting, and automation targets. Use when starting a project or standardizing build automation.
backlink-expansion-matrix
Orchestrate an end-to-end backlink expansion project from Semrush or local source files through batch and editorial screening, historical deduplication, workbook delivery, and QA. Use when the request spans more than one backlink stage; do not treat candidates as submitted or published links.
board-memo
Draft a board or executive summary of an engagement using outcomes, risks and investment decisions. Use when the sponsor needs to brief senior leadership.
brief
Clarify a new customer brief, desired outcome, constraints and evidence gaps. Use for kickoff or a first meeting; do not repeat discovery already supplied.