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

paragraph-curator

Deterministically compact final H3 bodies to the active delivery profile's paragraph budget without deleting prose or changing citation-block order.

インストール方法を見る

含まれるファイル(2)

  • SKILL.md2.4 KB
  • scripts/run.py6.9 KB

SKILL.md(原文)

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

Paragraph Curator

Triggers & routing

  • Trigger: paragraph compaction, paragraph budget, compact H3, 段落压缩, 段落预算.
  • Use when: H3 section files have passed logic polish and must converge before the final argument snapshot and merge.

Compact paragraph boundaries without performing a new semantic rewrite.

This is a deterministic convergence step. It prevents a long drafting loop from leaving sections outside the delivery profile, while keeping the original prose and evidence recoverable. It does not rank paragraphs, generate alternatives, replace evidence, or decide which claims are important.

Inputs

  • sections/S<subsection-id>.md
  • queries.md for draft_profile
  • upstream logic and writer reports for operator context

Only H3 files are modified. Front matter (S1.md, S2.md), H2 lead files, and global sections are not touched.

Profile Contract

ProfileParagraphs per H3
course_paper5-7
survey10-12
deep11-13

The script first joins short adjacent body paragraphs while respecting the profile floor. If a section remains over budget, it repeatedly joins the shortest eligible adjacent pair. It never truncates a paragraph or drops a middle block.

Outputs

  • updated H3 files under sections/
  • output/PARAGRAPH_CURATION_REPORT.md
  • sections/paragraphs_curated.refined.ok on PASS

The report records the active profile and before/after paragraph counts for each H3. PASS requires every H3 to be within budget and the sequence of citation blocks to be unchanged. On FAIL, the marker is removed.

Boundaries

  • If an H3 is below the floor, route to subsection-writer or the relevant evidence unit. Compaction must not invent padding.
  • If prose is repetitive or logically weak, route to writer-selfloop or section-logic-polisher. This Skill changes paragraph boundaries, not ideas.
  • Run argument-selfloop after this Skill so the argument ledger and section manifest describe the final section content.

Run

uv run python .codex/skills/paragraph-curator/scripts/run.py \
  --workspace workspaces/<name>

Optional runner fields are --unit-id, --inputs, --outputs, and --checkpoint.

レビュー

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

同じリポジトリのスキル

概要と使いどころ

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 のスキルをすべて見る

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