本文へ移動
cccskills
無料GitHub で公開

outline-refiner

Planner-pass coverage + redundancy report for an outline+mapping, producing `outline/coverage_report.md` and `outline/outline_state.jsonl`.

インストール方法を見る

含まれるファイル(2)

  • SKILL.md3.2 KB
  • scripts/run.py24.0 KB

SKILL.md(原文)

インストールする前に、エージェントに与えられる指示の中身を確認できます。

Outline Refiner (Planner pass, NO PROSE)

Triggers & routing

  • Trigger: planner, dynamic outline, outline refinement, coverage report, 大纲迭代, 覆盖率报告.
  • Use when: you have outline/outline.yml + outline/mapping.tsv and want a verifiable, NO-PROSE planner pass before writing.

Goal: make the outline auditable by adding an explicit planner stage that answers:

  • Do we have enough mapped evidence per H3?
  • Are the same few papers reused everywhere?
  • Are subsection axes still generic/scaffold-y?
  • Is the outline likely to produce a paper-like structure (final ToC budget: ~6–8 H2; fewer, thicker H3s)?

This is a deterministic “planner” unit: it must not write survey prose.

Inputs

Required:

  • outline/outline.yml
  • outline/mapping.tsv

Optional (best-effort diagnosis; may be missing early in the pipeline):

  • outline/OUTLINE_BUDGET_REPORT.md (if present: explains recent merges; helps interpret mapping/coverage changes)
  • papers/paper_notes.jsonl (for evidence levels)
  • outline/subsection_briefs.jsonl (for axis specificity)
  • GOAL.md (for scope drift hints)

Outputs

  • outline/coverage_report.md (bullets + small tables; NO PROSE)
  • outline/outline_state.jsonl (append-only JSONL; one record per run)

Workflow (planner pass, NO PROSE)

  1. Parse outline/outline.yml to enumerate H2 sections + H3 subsections (section sizing / budget).
    • If outline/OUTLINE_BUDGET_REPORT.md exists, use it as the merge/change log so the coverage report can explain why structure changed.
  2. Read outline/mapping.tsv and compute per-H3 coverage and reuse hotspots.
  3. If papers/paper_notes.jsonl exists, summarize evidence levels (fulltext/abstract/title) for mapped papers.
  4. If outline/subsection_briefs.jsonl exists, compute axis specificity (generic vs specific axes) per H3.
  5. Optionally use GOAL.md to flag obvious scope drift (keywords not reflected in outline).
  6. Write outline/coverage_report.md and append a run record to outline/outline_state.jsonl.

Freeze policy

  • If outline/coverage_report.refined.ok exists, the script will not overwrite outline/coverage_report.md.

Script

Quick Start

  • uv run python .codex/skills/outline-refiner/scripts/run.py --help
  • uv run python .codex/skills/outline-refiner/scripts/run.py --workspace <workspace>

All Options

  • --workspace <dir>: workspace root
  • --unit-id <U###>: unit id (optional; for logs)
  • --inputs <semicolon-separated>: override inputs (rare; prefer defaults)
  • --outputs <semicolon-separated>: override outputs (rare; prefer defaults)
  • --checkpoint <C#>: checkpoint id (optional; for logs)

Examples

  • Planner-pass diagnostics after section-mapper:
    • uv run python .codex/skills/outline-refiner/scripts/run.py --workspace <workspace>

Troubleshooting

Issue: report is missing evidence-level or axis-specificity columns

Cause:

  • Optional inputs are missing (no papers/paper_notes.jsonl and/or no outline/subsection_briefs.jsonl).

Fix:

  • Run paper-notes and/or subsection-briefs, then rerun outline-refiner.

レビュー

まだレビューはありません。使ってみた感想をお寄せください。

同じリポジトリのスキル

概要と使いどころ

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-skills5132026年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-skills5132026年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-skills5132026年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-skills5132026年10月5日 更新

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

日本語の概要は準備中です。原文の説明を表示しています。

WILLOSCAR/research-units-pipeline-skills5132026年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-skills5132026年10月5日 更新

WILLOSCAR のスキルをすべて見る

このスキルの問題を報告する