Skip to content
Agentmart
Submit a tool

distill-style

Read raw entries in research/rules/writing_feedback_log.md, cluster them by tag, propose concrete edits to writing_style.md (general baseline + workspace…

Skill by hsigstad

IndexedMIT
Write a review

Chalk Labs

Need help deploying distill-style?

Chalk Labs sets up agents like this inside real teams: connected to your tools, tested on your data, with a human in the loop where it matters.

Book a call

Install

Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.

npx agentmarket install skill/hsigstad-distill-style

Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

Read raw entries in research/rules/writing_feedback_log.md, cluster them by tag, propose concrete edits to writing_style.md (general baseline + workspace overlay + per-section files), and let the user approve a batch. Flips status of consumed entries to distilled or rejected. Use when the log has accumulated enough raw entries to be worth turning into rules.

Use cases: research

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions

What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.

Tools
No tools found
Secrets
None asked for
Install scripts
None found

Network hosts it talks to 1

  • codeload.github.com · found in install command

Files it touches

  • ~/.claude/skills/distill-style

What's inside

Skill name
distill-style
Description
Read raw entries in research/rules/writing_feedback_log.md, cluster them by tag, propose concrete edits to writing_style.md (general baseline + workspace overlay + per-section files), and let the user approve a batch. Flips status of consumed entries to distilled or rejected. Use when the log has accumulated enough raw entries to be worth turning into rules.
License
MIT
Instructions
143 lines in SKILL.md · view on GitHub

Files (1)

  • SKILL.md

SKILL.md (first lines)

# /distill-style — Turn raw style-feedback entries into rule edits

The companion to `/fetch-annotations` Step 7. That step *harvests* coauthor
feedback as raw entries; this skill *distills* accumulated raw entries into
proposed edits to the writing-style rule files, with user approval.

## Arguments

- `/distill-style` — process all `Status: raw` entries in
  `research/rules/writing_feedback_log.md`.
- `/distill-style --since YYYY-MM-DD` — only entries appended after that date.
- `/distill-style --tag <tag>` — only one tag's cluster.

## Targets

The rules live in three places. Decide per cluster:

1. `research-kit/rules/writing_style.md` — general baseline (public,
   sibling repo). Edit when the rule is general-purpose empirical-econ
   writing advice that any project would benefit from.
2. `research/rules/writing_style.md` — workspace overlay (banned phrases,
   referee carve-out, workspace-specific tics). Edit when the rule is
   workspace- or author-specific. Banned-phrase swaps land here.
3. `research-kit/rules/writing_style/<section>.md` — per-section files
   (`intro.md`, `methods.md`, `results.md`, `data.md`, `discussion.md`,
   `conclusion.md`, `theory.md`, `institutions.md`, `abstract.md`,
   `body.md`, `appendix.md`). Edit only when the entries explicitly
   address a section-specific concern.

**Default = general.** Route to a per-section file only when the coauthor's
note explicitly speaks to a section-level concern (e.g., "the intro
doesn't motivate the outcome", "literature review should be near the end",
"data section needs to define ACIA in table notes"). Source-file path
alone is NOT enough — a jargon complaint in `5Methods.tex` is still a
general jargon rule unless the note frames it as a methods-section
concern.

## Workflow

### 1. Read the log and the rule files

- Read `research/rules/writing_feedback_log.md` to collect all
  `Status: raw` entries (or filtered by `--since` / `--tag`).
- Read the current text of `research-kit/rules/writing_style.md`,
  `research/rules/writing_style.md`, and each section file in
  `research-kit/rules/writing_style/`. Knowing the current text lets the
  proposals say "amend this paragraph" instead of "add some general
  guidance".

### 2. Cluster and route

Group entries by tag. For each tag's entries:

- **Judge target.** Default = general. Route to a section file only when
  the coauthor's note clearly says so. Route to the workspace overlay
  when the lesson is a specific phrase swap or author-specific tic.
- **Split if needed.** A tag cluster may produce >1 proposal if the
  entries split into distinct rules (e.g., `jargon` entries split into
  "define acronyms on first use" + "no internal pipeline labels in
  prose").
- **Singleton clusters are allowed** but flagged "n=1" so the user knows
  the rule rests on one data point.
- **Drop noise.** If a cluster is too thin or too scattered to support a
  rule, mark its entries `Status: rejected — insufficient signal`.

### 3. Write the proposal report

Produce `research/rules/writing_feedback_proposals_YYYY-MM-DD.md` with
sections per target file. Each proposal must have:

- A number (`P1`, `P2`, …).
- Target file + the specific paragraph/section it amends (or "new
  section").
- A `**Current text:**` block (verbatim) if amending, or "new" if adding.
- A `**Proposed text:**` block — the exact text to insert/replace. Write
  it as if it will be pasted verbatim into the rule file.
- A `**Supporting entries:**` list — short quote+note excerpts from the
  raw entries that justify the rule, with the source location and
  coauthor for each. This is what the user uses to decide whether the
  rule generalizes.
- A `**Cluster size:**` line (n=X).
- Each supporting entry references the log entry by date+source so
  status flipping is unambiguous later.

### 4. Hand the report to the user

Tell the user the report path and ask them to reply with approvals.
Acceptable approval forms:

- "approve all"
- "approve P1, P3, P5"
- "approve all except P2, P7"
- "approve P3 with edit: <new text>"
- "reject P4 — <reason>"
- "defer P6"

Don't walk through them one at a time. The user reviews the file
holistically and replies with a list.

### 5. Apply approved edits

For each approved proposal:

- Edit the target file (use Edit tool).
- Find the supporting raw entries in
  `research/rules/writing_feedback_log.md` and flip
  `Status: raw` → `Status: distilled → {target_file}:{section_or_anchor}`.
- For rejected proposals, flip supporting entries to
  `Status: rejected — {reason}`.
- For deferred proposals, leave entries as `raw` and note the proposal
  number in the report file.

### 6. Final report

Summarise back to the user:

- Number of proposals approved / rejected / deferred.
- Number of log entries flipped to distilled / rejected / left raw.
- The rule files that changed (so they can re-read for coherence).

From hsigstad/research-kit, MIT.

More from hsigstad/research-kit

Signals

Stars
0
Forks
1
Open issues
1
Last commit (this folder)
Jun 23, 2026 (4 months ago)

From GitHub (fetched Oct 24, 2026).

Details

License
MIT
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

More from hsigstad

Done for you

Rather not set it up yourself?

Chalk Labs scopes, builds and runs agents for your team: the task audit, the eval harness, the integrations and the weekly ops report. Fixed scope, priced before we start.

See how we build AI agents →Read the case studies

Chalk Labs is a two-founder AI and growth studio. We build AI agents, CRMs and MVPs for Web3 and AI companies, and have shipped 50+ product and token launches.

launches shipped
50+
launches shipped
media placements
500+
media placements
founders on every account
2
founders on every account

Press we've placed: Forbes · CoinDesk · Decrypt · Cointelegraph · The Block

Rahil Jain, Co-founder, Chalk Labs. Ex-Goldman Sachs engineer. You talk to the person who builds it.

Get distill-style running in your business

Tell us what you want to automate. A founder replies within one working day with a plan, not a pitch deck.

Goes to the Chalk Labs founders, not the newsletter. Privacy

Need help deploying distill-style?

CallGet help
Cite this page

distill-style skill. Agent Mart. https://agentmart.dev/skills/hsigstad-distill-style (last updated 2026-10-24)