# Headline filter map reduce

> Headline filter map reduce is an open-source agent skill for files and documents. Pre-filters long headline and feed lists against a written brief before reading. It is available on Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose.

- **Kind:** Skill
- **Pricing:** Open source
- **Platforms:** Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf, Goose
- **Website:** https://github.com/mrmps/classifier-dev/tree/main/skills/headline-filter-map-reduce
- **Repository:** https://github.com/mrmps/classifier-dev
- **GitHub stars:** 440
- **License:** MIT
- **Skill name:** headline-filter-map-reduce
- **Collection:** https://github.com/mrmps/classifier-dev
- **Categories:** [files and documents](https://ai-powered.com/categories/files-and-documents)
- **Listing updated:** 2026-12-04

## About

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".

## What it can access

From a static check of the files on GitHub; nothing was run.

- [Instructions only, no scripts](https://github.com/mrmps/classifier-dev/tree/HEAD/skills/headline-filter-map-reduce)
- [License: MIT](https://github.com/mrmps/classifier-dev/tree/HEAD/skills/headline-filter-map-reduce)

## Features

- **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

## Install

### Claude Code

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

```sh
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.

### Codex

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

```sh
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.

### Cursor

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

```sh
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.

### Gemini CLI

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

```sh
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.

### VS Code

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

```sh
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.

### Other agents

Get the folder:

```sh
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.

## 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.

## Alternatives

- [Document intake routing](https://ai-powered.com/skills/document-intake-routing): Document intake routing is an open-source agent skill for files and documents.
- [Htmlify](https://ai-powered.com/skills/htmlify): Htmlify is an open-source agent skill for files and documents.
- [Famou data analysis](https://ai-powered.com/skills/famou-data-analysis): Famou data analysis is an open-source agent skill for analytics and data.

---
Source: https://ai-powered.com/skills/headline-filter-map-reduce
