Skip to content
Skill

Headline filter map reduce

Pre-filters long headline and feed lists against a written brief before reading

Headline filter map reduce is an open-source agent skill for files and documents. It is available on Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose.

Scripts
None
Platforms
Claude Code, Codex, Cursor
GitHub stars
440
Last commit
License
MIT
Listing updated

Similar skills

About Headline filter map reduce

This skill has the agent classify a large batch of headlines, search results or feed items against a plain-language brief before opening any of them. Items are labelled by a fast model with a calibrated confidence score. Items the model is confident about are dropped or kept, and only the uncertain middle band is re-asked on a stronger reasoning model. Low-confidence items are kept for reading rather than discarded.

The workflow covers pulling titles into one item per line, deduplicating them, writing the brief as criteria that also say what is out of scope, running the classifier in batches, and gating on confidence thresholds. It also suggests a histogram-style reduce step so the agent can see how the surviving items group before reading them.

The skill relies on the classifier.dev command-line tool, installed through npm, and a keyless public API. It is meant for titles and short snippets, not full article bodies, and it ranks existing items rather than searching for new ones.

When your agent uses it

Filter hundreds or thousands of headlines, search results or feed items against a written brief before opening any of them, using a two-stage cascade that spends a fast model on everything and a reasoning model only on the borderline band. Use when a monitoring run, feed sweep or search returns more items than are worth reading. Triggers on "which of these are relevant", "filter this feed", "go through these headlines", "anything here about X", "catch me up on".

From the skill's SKILL.md. Your agent reads this description to decide when to load the skill.

What it can access

From a static check of its 1 file (6 KB) on GitHub on 4 December 2026. Nothing was run. Read the files before you install a skill: it can tell your agent to run anything its tools allow.

Check another skill before you install it.

Install

Copy the skill folder to ~/.claude/skills/headline-filter-map-reduce to use it in all your projects:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/mrmps/classifier-dev.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/headline-filter-map-reduce &&
cp -R "$tmp/skills/headline-filter-map-reduce" ~/.claude/skills/headline-filter-map-reduce &&
rm -rf "$tmp"

For one project only, put the folder in .claude/skills/headline-filter-map-reduce inside it instead.

Claude Code docs on skills

Copy the skill folder to ~/.agents/skills/headline-filter-map-reduce to use it in every repository:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/mrmps/classifier-dev.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/headline-filter-map-reduce &&
cp -R "$tmp/skills/headline-filter-map-reduce" ~/.agents/skills/headline-filter-map-reduce &&
rm -rf "$tmp"

For one repository only, put the folder in .agents/skills/headline-filter-map-reduce inside it instead.

Codex docs on skills

Copy the skill folder to ~/.cursor/skills/headline-filter-map-reduce to use it in every project:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/mrmps/classifier-dev.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/headline-filter-map-reduce &&
cp -R "$tmp/skills/headline-filter-map-reduce" ~/.cursor/skills/headline-filter-map-reduce &&
rm -rf "$tmp"

For one project only, put the folder in .cursor/skills/headline-filter-map-reduce inside it instead.

Cursor docs on skills

Run in a terminal (add --scope workspace to install it for the current workspace only):

gemini skills install https://github.com/mrmps/classifier-dev.git --path skills/headline-filter-map-reduce

Or copy the folder to ~/.gemini/skills/headline-filter-map-reduce yourself.

Gemini CLI docs on skills

For GitHub Copilot in VS Code, copy the skill folder to ~/.copilot/skills/headline-filter-map-reduce:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/mrmps/classifier-dev.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/headline-filter-map-reduce &&
cp -R "$tmp/skills/headline-filter-map-reduce" ~/.copilot/skills/headline-filter-map-reduce &&
rm -rf "$tmp"

For one project only, put the folder in .github/skills/headline-filter-map-reduce inside it instead.

VS Code docs on skills

Get the folder:

git clone --depth 1 https://github.com/mrmps/classifier-dev.git

Then copy classifier-dev/skills/headline-filter-map-reduce into your agent's skills folder as headline-filter-map-reduce. Agents that support SKILL.md read one folder per skill.

The SKILL.md format

What it does

Two-stage confidence cascade
Fast model labels everything, and only borderline items go to a reasoning model.
Brief-based labelling
Relevance is defined by a written brief that names what is in and out of scope.
Confidence-gated dropping
Only high-confidence rejects are discarded, while uncertain items are kept for reading.
Deduplication before classification
Repeated stories across feeds are removed to reduce the number of items classified.
Histogram reduce step
Counts survivors by sub-topic so the agent sees the shape of the results before reading.

Good for

  • Sort a day's worth of RSS headlines for items about AI chip costs
  • Filter search results down to the few worth opening
  • Catch me up on relevant stories from a large news feed sweep
  • Find anything in a batch of headlines about a specific company or topic

Headline filter map reduce FAQ

What does the skill need to run?

It uses the classifier-dev command-line tool installed through npm and the keyless classifier.dev service, with a list of headlines or items as input.

When should I skip Headline filter map reduce?

The skill suggests skipping it for batches under about 20 items, and when relevance depends on the article body rather than the title.

Does Headline filter map reduce write summaries?

No. The classifier only labels items; the summary at the end of a run is written by the agent.

What license is Headline filter map reduce under?

The skill is released under the MIT license.

How do I install Headline filter map reduce in Claude Code?

Copy the skill folder from GitHub to ~/.claude/skills/headline-filter-map-reduce to use it in all your projects, or to .claude/skills/headline-filter-map-reduce in one project.

Does Headline filter map reduce run scripts?

No. It is instructions only, with no scripts. This comes from a static check of the files on GitHub; nothing was run. Read the files before you install it.

Which AI agents can use Headline filter map reduce?

Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose. Each reads skills in the SKILL.md format from its own folder; the install steps on this page list them.

What are the best alternatives to Headline filter map reduce?

The closest alternatives to Headline filter map reduce are Document intake routing, Htmlify and Famou data analysis.

Where this comes from

  • Description: from the skill's own SKILL.md.

More from mrmps/classifier-dev

  1. Sorts many texts into your own labels in one call, with a confidence per answer

    • Open source
    • 440 GitHub stars
    • Developer tools
  2. Lets a browser or desktop agent pick its next action from on-screen elements

    • Open source
    • 440 GitHub stars
    • Browser automation
  3. Gates user posts against a written content policy using per-category scores

    • Open source
    • 440 GitHub stars
    • Security
  4. Sorts each page of a multi-document intake packet by type before extraction

    • Open source
    • 440 GitHub stars
    • Files and documents
  5. Sorts a downloads folder into invoice, receipt and contract folders with an undo log

    • Open source
    • 440 GitHub stars
    • Files and documents