codex-eide-rebuild — independently scanned and version-tracked by SaferSkills.
SaferSkills independently audited codex-eide-rebuild (Plugin) and scored it 100/100 (green). The audit ran 55 deterministic rules across Security, Supply Chain, Maintenance, Transparency, and Community; it found 0 high-severity and 0 lower-severity findings. The full rule-by-rule trace and per-finding evidence are below. Free, methodology-open.
Findings & checks · 0 flagged
Every scanned point with the score it earned and what moved between them.
First recorded scan — no prior version to compare against.
The primary manifest — the file an agent reads to learn what this artifact does.
Rebuild Embedded IDE for VS Code (EIDE) workspaces from Codex or Claude Code and return compact or complete structured JSON build results.
codex-eide-rebuild packages an Agent Skill plus a Windows-first Python runner. The runner reads the current EIDE project model, generates fresh builder.params, invokes EIDE unify_builder through dotnet, and preserves compiler logs, artifacts, memory usage, stack reports, and setup diagnostics for the agent.
Chinese · Agent Skill · Install · Verify · Output · Safety · Plugin · Development
This project is for firmware and embedded teams that already build EIDE projects locally and want agents to run the same rebuild flow without relying on VS Code bridge registration. It keeps the agent-facing protocol simple: one command in, one minimal JSON status out, with the complete JSON saved on disk.
The project is designed for real workspace validation. Agents can run doctor, rebuild all EIDE targets, inspect failed build steps, and quote the exact compiler log path and artifact paths without scraping terminal output by hand.
| Capability | What it means |
|---|---|
| Agent-ready JSON | Returns a compact agentSummary for normal agent work and preserves one complete JSON result with logs, steps, and transcript at build/rebuild_result.json. |
| Fresh build parameters | Generates builder.params from .eide/eide.yml, .eide/env.ini, .eide/files.options.yml, and workspace GCC settings before each rebuild. |
| EIDE rebuild semantics | Runs dotnet exec --roll-forward Major <unify_builder.dll> -p <builder.params> --rebuild. |
| Tool discovery | Finds EIDE extension tools, model files, unify_builder, dotnet, and the GCC root configured by the workspace. |
| Setup diagnostics | doctor reports structured toolChecks, PyYAML status, and .NET runtime probing results. |
| Timeout guard | Long-running build steps return STEP_TIMEOUT after 60 seconds. |
| Multi-agent fit | Codex and Claude Code can delegate long rebuilds to a worker subagent while the main agent keeps only the minimal status and resultPath. |
| Runtime sync guard | CI verifies the shared runner and bundled skill copy stay synchronized. |
cl.eide) installed in VS Code.unify_builder..code-workspace and .eide/eide.yml.This repository includes one Agent Skill:
eide-rebuildskills/eide-rebuild/SKILL.md帮我编译确认一下, 先 rebuild 看结果, EIDE rebuild C:\work\demo\project.code-workspace, /eide-rebuild C:\work\demo\project.code-workspace.skills/eide-rebuild/scripts/eide_rebuild.pypython skills/eide-rebuild/scripts/eide_rebuild.py doctorintegrations/codex/agents/eide-rebuild.toml (installed to ~/.codex/agents/eide-rebuild.toml)Codex subagents are explicit by design. For long or multi-project rebuilds, ask Codex directly: 用 eide-rebuild 子代理 rebuild C:\work\demo\project.code-workspace. If the current Codex surface cannot spawn subagents, the same runner still works directly with minimal JSON stdout.
Tools that index public GitHub repositories for Agent Skills, including SkillsMP-style GitHub indexers, can discover the skill at the path above. This repository uses explicit skill metadata, a stable skill path, and .codex-plugin/plugin.json discovery metadata to make the bundled skill easy to identify.
Project status: community GitHub project with Agent Skill and preparatory Codex plugin metadata. No SkillsMP listing, marketplace listing, or OpenAI official status is claimed.
Codex plugin documentation defines .codex-plugin/plugin.json as the required plugin manifest and keeps skills/ at the plugin root. This repository includes .codex-plugin/plugin.json metadata that points to ./skills/ so plugin-aware tools can identify the bundled skill.
Current supported installation remains the Codex-managed or Claude Code-managed flow in Install. The plugin metadata is discovery and packaging metadata only. Runtime impact: none. Hook installation, permission changes, user configuration edits, background services, and rebuild behavior changes stay out of scope.
Paste this into Codex:
Fetch and follow instructions from https://raw.githubusercontent.com/gaoguobin/codex-eide-rebuild/main/.codex/INSTALL.mdThe install flow clones the repository into ~/.codex/codex-eide-rebuild, installs PyYAML, links the skill namespace into ~/.agents/skills, installs the Codex custom agent template, and runs doctor.
After doctor.ok=true, restart Codex so it rescans installed skills and custom agents.
Paste this into Claude Code:
Fetch and follow instructions from https://raw.githubusercontent.com/gaoguobin/codex-eide-rebuild/main/integrations/claude-code/INSTALL.mdThe Claude Code integration installs command and subagent templates. Run /reload-plugins after install.
Fetch and follow instructions from https://raw.githubusercontent.com/gaoguobin/codex-eide-rebuild/main/.codex/UPDATE.mdFetch and follow instructions from https://raw.githubusercontent.com/gaoguobin/codex-eide-rebuild/main/integrations/claude-code/UPDATE.mdRestart Codex or run /reload-plugins in Claude Code after updates that change skill files.
Fetch and follow instructions from https://raw.githubusercontent.com/gaoguobin/codex-eide-rebuild/main/.codex/UNINSTALL.mdFetch and follow instructions from https://raw.githubusercontent.com/gaoguobin/codex-eide-rebuild/main/integrations/claude-code/UNINSTALL.mdRun the environment check from the installed skill directory:
python skills/eide-rebuild/scripts/eide_rebuild.py doctorRun a rebuild against a workspace file or project directory:
python skills/eide-rebuild/scripts/eide_rebuild.py rebuild C:\work\demo\project.code-workspace --stdout minimalExpected agent behavior:
stdout.exitCode=0 as success.exitCode=6 as build failure.targets[].failureCount, targets[].diagnosticCount, and targets[].artifactCount first.resultPath for artifact identity, SHA256, complete JSON, deeper compilerLog, steps, or transcript analysis.Normal agent runs use minimal stdout:
{
"schemaVersion": "1",
"ok": true,
"exitCode": 0,
"errorCode": "OK",
"mode": "rebuild-all",
"summary": { "discovered": 1, "passed": 1, "failed": 0 },
"targetNames": ["Debug"],
"resultPath": "C:/work/demo/build/rebuild_result.json",
"targets": [
{
"name": "Debug",
"ok": true,
"exitCode": 0,
"errorCode": "OK",
"message": "",
"failureCount": 0,
"diagnosticCount": 0,
"artifactCount": 1
}
]
}The complete result is always written to resultPath. Use --stdout summary only when stdout needs per-target artifacts, memory, source stats, failures, or diagnostics. Omit --stdout or pass --stdout full only when the full JSON is explicitly needed on stdout.
Agents should use the runner as the source of truth:
python skills/eide-rebuild/scripts/eide_rebuild.py doctor
python skills/eide-rebuild/scripts/eide_rebuild.py rebuild C:\work\demo\project.code-workspace --stdout minimal
python .\scripts\sync_skill_runtime.py --check
python -m unittest discover -s .\runtime\tests -p "test_*.py"Default paths:
| Item | Path |
|---|---|
| Codex install repo | ~/.codex/codex-eide-rebuild |
| Codex skill namespace | ~/.agents/skills/codex-eide-rebuild |
| Codex custom agent template | ~/.codex/agents/eide-rebuild.toml |
| Skill file | skills/eide-rebuild/SKILL.md |
| Runner script | skills/eide-rebuild/scripts/eide_rebuild.py |
| Rebuild result | <project>/build/rebuild_result.json |
| Per-target compiler log | <project>/<outDir>/<target>/compiler.log |
builder.params, compiler logs, artifacts, and build/rebuild_result.json under the project output directories..code-workspace, .eide/eide.yml, .eide/env.ini, and .eide/files.options.yml.skills/ directory into the user's agent skill directory and installs PyYAML for the current user..codex/ Codex install, update, and uninstall guides
.codex-plugin/ Codex plugin discovery manifest
runtime/
python/ Shared Python runner
tests/ Unit tests and repository audits
skills/
eide-rebuild/ Agent Skill and bundled runner copy
integrations/
codex/ Codex custom agent template
claude-code/ Claude Code install docs, command, and subagent templates
scripts/
sync_skill_runtime.pySync the runtime into the skill bundle and run tests:
python .\scripts\sync_skill_runtime.py --copy
python .\scripts\sync_skill_runtime.py --check
python -m unittest discover -s .\runtime\tests -p "test_*.py"
python -m compileall runtime\python scriptsThis repository uses sanitized examples and generic paths only. Runtime tests and smoke checks use mock data. See SECURITY.md for reporting guidance.
This project automates rebuild flows for the Embedded IDE for VS Code extension from the upstream EIDE project.
MIT - see LICENSE.
~30 seconds. Free. No account. Every finding cites a rule and a line of evidence.