Token导航 LogoToken导航TokenDH.com
研究检索执行命令github未标认证来源可访问许可证需确认审计提醒

cc-codex-spec-bootstrapCC Codex spec bootstrap 搜索

Agent Skill

cc-codex-spec-bootstrap 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

2,399

周安装

102

GitHub Stars

1

下载量

840
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:cc-codex-spec-bootstrap(CC Codex spec bootstrap 搜索)
来源仓库:https://github.com/mindfold-ai/marketplace
仓库路径:skills/cc-codex-spec-bootstrap
安装命令:
npx skills add https://github.com/mindfold-ai/marketplace --skill cc-codex-spec-bootstrap
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/mindfold-ai/marketplace --skill cc-codex-spec-bootstrap

简介

cc-codex-spec-bootstrap 用于查找、检索和筛选相关信息。

  • 适合在 Codex、Claude、Cursor、Gemini CLI 中根据关键词、任务场景或来源线索快速定位候选结果。
  • 通过多智能体流水线实现 Claude Code 与 Codex 的协同工作,提升代码生成质量。
  • 安装前建议确认权限范围和维护状态,避免触发未授权的联网或文件操作。
  • 适用宿主包括 Codex、Claude、Cursor、Gemini CLI,接入前应确认版本、权限和运行环境要求。

SKILL.md

CC + Codex Spec Bootstrap Pipeline

A multi-agent pipeline where Claude Code (CC) orchestrates and Codex executes in parallel. CC analyzes the repo with GitNexus + ABCoder, creates Trellis task PRDs, then Codex agents fill the coding specs — each with access to the same code intelligence MCP tools.

Why This Exists

AI coding agents produce better code when they have project-specific coding guidelines (not generic templates). But filling those guidelines manually is tedious. This skill automates the bootstrap:

  1. You (Claude Code) analyze the repo architecture using GitNexus + ABCoder
  2. You create Trellis tasks with rich PRDs containing architectural context + MCP tool instructions
  3. Codex agents run those tasks in parallel, each filling one spec directory using the same MCP tools

The result: every spec file contains real code examples, actual patterns, and project-specific anti-patterns — not placeholder text.


Prerequisites

Before running this skill, ensure these tools are set up. See references/mcp-setup.md for detailed installation instructions.

ToolPurposeRequired
TrellisWorkflow framework with .trellis/spec/ structureYes
GitNexusCode → knowledge graph (Tree-sitter + KuzuDB)Yes
ABCoderCode → UniAST (ts-morph for TS, tree-sitter for others)Yes
Codex CLIParallel task execution agentYes

Quick check:

# Verify all tools
npx gitnexus status          # GitNexus indexed?
abcoder list-repos            # ABCoder has ASTs?
codex mcp list                # Codex has MCP servers?
python3 .trellis/scripts/get_context.py  # Trellis initialized?

Phase 1: Analyze the Repository

Step 1: Index with GitNexus

npx gitnexus analyze

This builds a knowledge graph: nodes (symbols), edges (dependencies), clusters (module groups), and execution flows. Takes ~5s for a typical monorepo.

After indexing, use GitNexus MCP tools to understand the architecture:

gitnexus_query({query: "plugin system"})        # Find execution flows
gitnexus_context({name: "SomeClass"})            # 360-degree symbol view
gitnexus_cypher({query: "MATCH (n:Class) RETURN n.name, n.file LIMIT 30"})  # Graph queries

Step 2: Parse with ABCoder

ABCoder provides precise AST analysis — function signatures, type definitions, cross-file dependency chains.

# Parse each package
abcoder parse /path/to/package --lang typescript --name package-name --output ~/abcoder-asts

Then use ABCoder MCP tools:

get_repo_structure({repo_name: "package-name"})
get_file_structure({repo_name: "package-name", file_path: "src/core/types.ts"})
get_ast_node({repo_name: "package-name", node_ids: [{mod_path: "...", pkg_path: "...", name: "ClassName"}]})

Step 3: Map the Architecture

Combine insights from both tools to understand:

  • Package boundaries — which packages exist, what each one does
  • Module clusters — GitNexus clusters resource shows functional groupings
  • Key patterns — Fetcher/Provider/Plugin/Adapter/Router patterns
  • Cross-package data flows — how data moves between packages
  • Error handling patterns — how errors propagate
  • State management — what's stateless vs stateful

Write down your findings — they go into the PRDs.


Phase 2: Create Trellis Tasks

Task Decomposition Strategy

Create one task per (package, layer) combination. Each task is independently executable by a Codex agent.

Typical decomposition for a monorepo:

package-a/backend    → Task 1
package-a/frontend   → Task 2
package-b/backend    → Task 3
package-b/frontend   → Task 4
cross-layer-guide    → Task 5

Skip layers that don't apply (e.g., no frontend task for a pure CLI library).

Create Task Directories

python3 .trellis/scripts/task.py create "Fill <package> <layer> spec" --slug <package>-<layer>-spec

Write PRDs

Each PRD must contain these sections. This is the critical part — the PRD is the entire context a Codex agent receives.

# Fill <package> <layer> spec

## Goal
One sentence: what to analyze, what files to fill.

## Context
Project-specific architectural knowledge you gathered in Phase 1.
Key concepts, patterns, abstractions — everything the agent needs
to understand the codebase without reading every file.

## Tools Available
[Use the MCP Tools Template below]

## Files to Fill
List each spec file with bullet points on what to document.
Include hints about which source files to analyze.

## Important Rules

### Spec files are NOT fixed — adapt to reality
- Delete template files that don't apply
- Create new files for patterns templates don't cover
- Rename files if template names don't fit
- Update index.md to reflect the final set

### Parallel agents — stay in your lane
- ONLY modify files under your assigned spec directory
- DO NOT modify source code, other spec directories, or task files
- DO NOT run git commands
- You may read any file for analysis

## Acceptance Criteria
- [ ] Real code examples from the actual codebase (with file paths)
- [ ] Anti-patterns documented
- [ ] No placeholder text remaining
- [ ] index.md reflects actual file set

## Technical Notes
Package path, language, framework, build tools, key deps.

MCP Tools Template for PRDs

Include this in every PRD so Codex knows how to call the tools:

## Tools Available

You have two MCP servers configured — use both for accurate specs:

### GitNexus MCP (architecture-level: clusters, execution flows, impact)
| Tool | Purpose | Example |
|------|---------|---------|
| `gitnexus_query` | Find execution flows by concept | `gitnexus_query({query: "..."})` |
| `gitnexus_context` | 360-degree symbol view | `gitnexus_context({name: "ClassName"})` |
| `gitnexus_impact` | Blast radius analysis | `gitnexus_impact({target: "X", direction: "upstream"})` |
| `gitnexus_cypher` | Direct graph queries | `gitnexus_cypher({query: "MATCH ..."})` |

### ABCoder MCP (symbol-level: AST nodes, signatures, cross-file deps)
| Tool | Purpose | Example |
|------|---------|---------|
| `get_repo_structure` | Full file listing | `get_repo_structure({repo_name: "pkg"})` |
| `get_file_structure` | All nodes in a file | `get_file_structure({repo_name: "pkg", file_path: "src/..."})` |
| `get_ast_node` | Code + deps + refs | `get_ast_node({repo_name: "pkg", node_ids: [...]})` |

### Recommended Workflow
1. GitNexus first — find relevant execution flows and clusters
2. ABCoder second — get exact code patterns and signatures
3. Read source files — for full context where needed
4. Write specs — with real code examples from steps 2-3

Phase 3: Launch Codex Agents

Run in Parallel

Each task is independent — launch all agents simultaneously:

# One terminal per task
codex -q "Read .trellis/tasks/<task-slug>/prd.md and execute the task. Use GitNexus and ABCoder MCP tools to analyze the codebase, then fill all spec files listed in the PRD."

Monitor Progress

Check which spec files have been filled:

# Line counts — 0 or ~50 means still template
find .trellis/spec -name "*.md" -exec sh -c 'echo "$(wc -l < "$1") $1"' _ {} \; | sort -rn

# Check for remaining placeholders
grep -rl "To be filled" .trellis/spec/

# Newly created or modified files
find .trellis/spec -name "*.md" -newer .trellis/tasks/ -exec ls -la {} \;

Review Results

After all agents complete:

  1. Check line counts — substantive files should be 80+ lines
  2. Grep for leftover placeholders
  3. Spot-check a few files for real code examples vs generic advice
  4. Verify index.md in each directory reflects actual files

Checklist

  • GitNexus analyzed (npx gitnexus analyze)
  • ABCoder parsed all packages
  • GitNexus + ABCoder MCP configured for both Claude Code and Codex
  • Architecture mapped (packages, patterns, boundaries)
  • One task per (package, layer) created with task.py create
  • Each PRD has: Context, MCP Tools, Files to Fill, Rules, Acceptance Criteria
  • Codex agents launched in parallel
  • Results reviewed — no placeholders, real code examples present

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

35.36%
按下载量换算297

Claude

30.56%
按下载量换算257

Cursor

20.97%
按下载量换算176

Gemini CLI

11.04%
按下载量换算93

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

可疑

权限和风险

执行命令

安装流程涉及命令执行,可能通过 npx skills add https://github.com/mindfold-ai/marketplace --skill cc-codex-spec-bootstrap 联网下载 Skill 或依赖。用户安装前应确认命令来源、仓库内容和执行环境。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在 warning/failed 结果,不能写成本站确认安全。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills