Install Layer
第四阶段:CLI / MCP / 一键安装已经接入
安装层把本地 skills/ registry 变成可分发能力:CLI 负责写入 Codex、Claude Code、Cursor,MCP server 负责给支持 MCP 的客户端查询 Skill、manifest 和安装计划。
Codex
安装到 OpenAI Codex 官方 Agent Skills 目录,支持用户级和项目级两种作用域。
~/.agents/skills/<slug>
Claude Code
安装到 Claude Code Skills 目录,保持 SKILL.md、references、scripts 等目录结构。
~/.claude/skills/<slug>
Cursor
转换为 Cursor Project Rule,写入项目 .cursor/rules 目录。
.cursor/rules/<slug>.mdc
MCP
通过本地 stdio MCP server 暴露 Skill 搜索、manifest 和安装计划工具。
mcp/ichub-mcp-server.mjs
下面以 Coverage Closure Pilot 为例展示安装命令;每个 Skill 详情页都有独立 manifest 和安装计划。
pnpm ichub install coverage-closure-pilot --agent codex --scope user --dry-run
pnpm ichub install coverage-closure-pilot --agent codex --scope user
- 格式
- Skill directory
- 目标路径
- user: ~/.agents/skills/coverage-closure-pilotproject: .agents/skills/coverage-closure-pilot
- 1读取本地 skills/ 目录并校验 SKILL.md 元数据。
- 2复制 Skill 目录到 Codex Agent Skills 目标路径。
- 3保留 references、scripts、assets 等随包资源,便于 Codex 按描述自动触发。
- 4该 Skill 已通过当前静态审核门禁;安装前仍建议核对版本和 SHA256。
兼容旧版 Codex Desktop 的 .codex/skills 路径可用 CLI 的 --agent codex-legacy 兜底。
CLI 不依赖后端账号即可 dry-run,正式下载包授权后可把签名包和 license acceptance 接到同一命令里。
pnpm ichub list pnpm ichub show rtl-code-generator --json pnpm ichub install rtl-code-generator --agent codex --scope user --dry-run pnpm ichub install uvm-env-builder --agent cursor --scope project --cwd <project>
Manifest 只公开安装元数据、哈希和审核状态,不暴露受保护下载包。MCP server 则让企业内部 Agent 可以按工具方式查找 Skill。
Install Index
每个 Skill 都有独立安装 manifest
统一账号代理已接入;后续接对象存储和下载授权后,这里可以追加“安装到我的工作区”“申请下载授权”“复制企业内网安装命令”等动作。
Coverage Closure Pilot
Analyze coverage reports, classify gaps, and propose targeted stimulus or model fixes with plateau detection.
pnpm ichub install coverage-closure-pilot --agent codex --scope user --dry-run
Specification Consistency Gate
Review architecture and specification views before RTL work begins, then classify the project as ready, risky, or blocked.
pnpm ichub install spec-consistency-gate --agent codex --scope user --dry-run
RTL Code Generator
Generate synthesizable RTL modules from architecture notes, interface tables, register maps, and timing constraints.
pnpm ichub install rtl-code-generator --agent codex --scope user --dry-run
Signoff Report Reviewer
Review timing, equivalence, lint, CDC, and DRC/LVS summaries and prepare an auditable release note.
pnpm ichub install signoff-report-reviewer --agent codex --scope user --dry-run
UVM Environment Builder
Build UVM agents, sequence skeletons, scoreboards, and smoke tests from a verified interface contract.
pnpm ichub install uvm-env-builder --agent codex --scope user --dry-run
EDA Flow Orchestrator
Detect local EDA project structure, prepare repeatable commands, and coordinate compile, simulation, regression, and triage loops.
pnpm ichub install eda-flow-orchestrator --agent codex --scope user --dry-run
SDC & Synthesis Planner
Produce synthesis setup notes, initial SDC constraints, and QoR review tasks from architecture and timing intent.
pnpm ichub install sdc-synthesis-planner --agent codex --scope user --dry-run
P&R Readiness Review
Check whether RTL, constraints, floorplan inputs, and signoff assumptions are ready for physical implementation.
pnpm ichub install pnr-readiness-review --agent codex --scope user --dry-run