Codex 插件生态 2026 — 跨 Agent 平台 Skill 格式趋同

Codex 核验(2026-10-09):Claude Code 的 Skills 也使用 .claude/skills/<name>/SKILL.md(YAML 元数据和可选 references/scripts),CLAUDE.md 是项目指令文件。本文 plugin.json 是第三方插件示例,不能当作所有平台通用清单;本机 codex plugin --help 确认 add/list/marketplace/remove 命令,但不代表清单所有字段已通过当前 schema 校验。Claude Code 官方 Skills 文档。

发现

从 Three.js-Object-Sculptor-Codex-Plugin(206⭐, 2026-07-09)看 Codex 插件体系结构:

Codex 插件清单(plugin.json)

{
  "name": "three-js-object-sculptor",
  "interface": {
    "displayName": "Three.js Object Sculptor",
    "category": "image-analysis",
    "capabilities": ["image-to-3d", "procedural-modeling"],
    "defaultPrompt": "...",
    "brandColor": "#0499DD"
  },
  "skills": "./skills/"
}

技能结构

  • skills/ 目录 → SKILL.md(YAML frontmatter + markdown body)
  • references/ 子目录 → 参考文件
  • scripts/ → Python helper

市场集成

  • ~/.agents/plugins/marketplace.json — 策略系统(installation/authentication 策略)
  • Source 类型:local vs remote
  • 安装流程:Clone → marketplace entry → codex plugin add → 新 thread 加载 skill

关键洞察:跨平台 Skill 格式趋同

平台Skill 目录元数据引用文件安装方式
Codexskills/SKILL.mdplugin.jsonreferences/codex plugin add
Hermesskills/<name>/SKILL.mdYAML frontmatterreferences/skill_manage
Claude Code.claude/skills/<name>/SKILL.mdYAML frontmatter可附 references/项目/用户目录或插件

三个主流编码 Agent 平台不约而同使用相同的”SKILL.md + references/“模式。这意味着:

  1. Skill 格式正在收敛 — 跨平台移植成本降低
  2. YAML frontmatter + markdown body 成为事实标准
  3. References 子目录模式 被独立发明多次,验证了其必要性

对 Hermes 的启示

  • Codex 的 policy 系统(installation/authentication 分级)可借鉴到 Hermes 插件治理
  • Codex 的 marketplace.json 模式可参考用于 Hermes 技能商店
  • 格式趋同意味着可以开发跨平台技能迁移工具

链接