willoscar/redundancy-pruner
| Remove repeated boilerplate across sections (methodology disclaimers, generic transitions, repeated summaries) while preserving citations and meaning.
npx skills add https://github.com/WILLOSCAR/research-units-pipeline-skills --skill redundancy-pruner
Purpose: make the survey feel intentional by removing “looped template paragraphs” and consolidating global disclaimers, while keeping meaning and citations stable.
Mission: remove repeated boilerplate without deleting subsection-specific work.
Do:
Avoid:
Mission: keep the argument chain readable after pruning.
Do:
Avoid:
You are pruning redundancy from a survey draft.
Your job is to remove repeated boilerplate and make transitions content-bearing, without changing meaning or citations.
Constraints:
- do not add/remove citation keys
- do not move citations across ### subsections
- do not delete subsection-specific comparisons, evaluation anchors, or limitations
Style:
- delete narration and generic glue
- keep one evidence-policy paragraph in front matter; avoid repeated disclaimers
output/DRAFT.mdoutline/outline.yml (subsection boundaries)output/citation_anchors.prepolish.jsonl (if you are enforcing anchoring)output/DRAFT.md (in-place edits)Use the role cards above.
Steps:
1) Identify repeated boilerplate (not content):
Key takeaway: spam)2) Pick a single home for global disclaimers:
3) Rewrite transitions into argument bridges:
4) Sanity check subsection integrity:
outline/outline.yml exists, use it to confirm you did not prune across subsection boundariesoutput/citation_anchors.prepolish.jsonl exists, treat it as a regression anchor (no cross-subsection citation drift)### subsections.Repeated disclaimer -> keep once:
Claims remain provisional under abstract-only evidence.Slide navigation -> argument bridge:
Next, we move from planning to memory.Planning determines how decisions are formed, while memory determines what evidence those decisions can condition on under a fixed protocol.Template synthesis stem -> content-first sentence:
Taken together, these approaches... (repeated many times)Across reported protocols, X trades off Y against Z...).Fix:
Fix:
Take willoscar/redundancy-pruner from the repository into ~/.claude/skills for personal
use, or into .claude/skills inside a project.
The agent identifies a skill by the name field in its header. Two skills with the
same name cannot sit side by side — one of them will be ignored.