跳到正文
cccskills
免费在 GitHub 公开

pipeline-router

Route an unbound research Goal to one Workflow or materialize its initial C0 kickoff block; use during initial binding, not for later checkpoint summaries or approval.

中文简介正在准备中。当前显示原文说明。

实测评分 未实测

查看安装方法

包含的文件(3)

  • SKILL.md3.7 KB
  • assets/pipeline-selection-form.md651 B
  • scripts/run.py4.1 KB

SKILL.md(原文)

安装前可以查看交给 AI 代理的指令内容。

Pipeline Router

Routing is a commitment: select one Workflow from the desired Artifact and evidence method, record that choice, and expose the next human Decision.

Inputs

  • GOAL.md, or the current user request when the Workspace is new.
  • Existing PIPELINE.lock.md, UNITS.csv, STATUS.md, and DECISIONS.md when present.
  • docs/PIPELINE_TAXONOMY.md and candidate Pipeline front matter during selection.

Outputs

  • PIPELINE.lock.md for a newly bound Goal.
  • The initial C0 checkpoint block in DECISIONS.md.
  • queries.md when the selected retrieval Workflow starts at C0.
  • A synchronized current Pipeline/checkpoint projection in STATUS.md.

Steps

1. Establish the requested Artifact

Read the Goal and identify:

  • the reader-facing deliverable;
  • the evidence method it requires;
  • the requested format or delivery profile;
  • the decisions that materially change Workflow selection.

When a routing discriminator is missing, write the smallest grouped question set to DECISIONS.md and stop at that Decision.

Completion criterion: every fact that can change the Workflow choice is known or explicitly bounded in DECISIONS.md.

2. Select one Workflow

Load docs/PIPELINE_TAXONOMY.md, then inspect only the candidate Pipeline contracts. Choose from target Artifact and evidence method rather than keyword matching alone. Treat delivery profiles and course-report use cases as overlays inside their existing Workflow family.

Completion criterion: exactly one executable Pipeline is selected and its target Artifacts match the Goal.

3. Materialize the commitment

Write PIPELINE.lock.md with:

pipeline: <pipeline path>
units_template: <template path from Pipeline front matter>
locked_at: <YYYY-MM-DD>

Initialize UNITS.csv from that template when the Workspace is new. Preserve a valid existing lock; a route change is an explicit operator Decision followed by reinitialization or migration, never a silent rewrite.

Completion criterion: the lock, Unit template, and Workspace projection refer to the same Pipeline.

4. Expose the C0 checkpoint

Materialize the C0 kickoff block and approval checkbox in DECISIONS.md. Seed queries.md from the Goal when retrieval is part of the selected Workflow. Later checkpoints use checkpoint-brief. Historical Workspaces whose saved Unit still invokes pipeline-router after C0 are delegated to checkpoint-brief with a deprecation warning; the router never approves them.

The deterministic helper may be used after selection:

uv run python .codex/skills/pipeline-router/scripts/run.py \
  --workspace workspaces/<name> \
  --checkpoint C0

Completion criterion: DECISIONS.md contains the C0 checkpoint and one clear approval or answer surface; retrieval Workflows have a non-empty C0 query seed.

5. Verify the route

Check that the locked Pipeline exists, its Unit template exists, and the active checkpoint is represented in both STATUS.md and DECISIONS.md.

Completion criterion: the Pipeline Runner can continue from Workspace files without making another routing inference.

Context Pointers

  • Read docs/PIPELINE_TAXONOMY.md only while selecting or deliberately changing a Workflow.
  • After selection, the locked pipelines/*.pipeline.md is the execution contract and the taxonomy leaves context.
  • Use assets/pipeline-selection-form.md only when missing routing facts require a human answer.
  • Run the helper with --help when C0 materialization needs debugging; the helper records the initial route projection but does not choose one.

评价

还没有评价。欢迎分享你的使用感受。

评论

无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。

还没有评论。来写第一条吧。

提交后会立即公开。请勿填写邮箱、电话等个人信息。URL 最多 2 个。

0 / 1000 字

此表单受 reCAPTCHA 保护,适用 Google 的隐私权政策和服务条款。

同一仓库的技能

Internal template for creating or refactoring a skill into the repository's reference-first shape. **Trigger**: reference-first template, blueprint skill, create a reusable skill, refactor a script-heavy skill. **Use when**: you need a lean `SKILL.md`, explicit `references/`, machine-readable `assets/`, and a minimal deterministic `run.py`.

中文简介正在准备中。当前显示原文说明。

WILLOSCAR/research-units-pipeline-skills5152026年10月5日 更新

Download a small corpus of open-access arXiv survey/review PDFs about agentic systems and extract text for style learning.

中文简介正在准备中。当前显示原文说明。

WILLOSCAR/research-units-pipeline-skills5152026年10月5日 更新

Extract per-subsection “anchor facts” (NO PROSE) from evidence packs so the writer is forced to include concrete numbers/benchmarks/limitations instead of generic summaries.

中文简介正在准备中。当前显示原文说明。

WILLOSCAR/research-units-pipeline-skills5152026年10月5日 更新

Curate reader-facing survey tables for the Appendix (clean layout + high information density), using only in-scope evidence and existing citation keys.

中文简介正在准备中。当前显示原文说明。

WILLOSCAR/research-units-pipeline-skills5152026年10月5日 更新

Build a final, machine-readable argument snapshot from current H3 sections and refresh section fingerprints before merge.

中文简介正在准备中。当前显示原文说明。

WILLOSCAR/research-units-pipeline-skills5152026年10月5日 更新

Audit one research Workspace for declared Unit outputs and Pipeline target Artifacts, writing `output/CONTRACT_REPORT.md`; use for mid-Run coverage snapshots or final delivery completeness, not deep provenance integrity.

中文简介正在准备中。当前显示原文说明。

WILLOSCAR/research-units-pipeline-skills5152026年10月5日 更新

查看 WILLOSCAR 的全部技能

报告此技能的问题