Skip to content
Research

Research Skill

Matt Pocock's research skill: hand a question to a background agent with a fresh context, have it read primary sources only, and get the findings back as one cited Markdown file saved where the repo keeps notes.

GitHub Docs

Install

Install with the skills CLI

One command for Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, Windsurf and dozens of other agents. Needs Node.js; the skill is fetched straight from mattpocock/skills.

$ npx skills add mattpocock/skills --skill research

Run it in a terminal. The CLI finds the agents installed on your machine, asks which ones to add the skill to, and whether to install it into the folder you ran it from or for all your projects.

Other ways to install

Copy the whole skill folder — SKILL.md and any scripts or references beside it — into ~/.claude/skills/research/, where Claude Code picks it up in every project. Only git is needed.

tmp=$(mktemp -d) && \
  git clone --depth 1 --branch main https://github.com/mattpocock/skills.git "$tmp" && \
  mkdir -p ~/.claude/skills && \
  cp -R "$tmp"/skills/engineering/research ~/.claude/skills/research

No scripts or references next to it? Saving the SKILL.md alone as ~/.claude/skills/research/SKILL.md works too.

Using another agent? Its personal skills folder
Codex
~/.agents/skills/
Cursor
~/.cursor/skills/
GitHub Copilot
~/.copilot/skills/
Gemini CLI
~/.gemini/skills/
Windsurf
~/.codeium/windsurf/skills/
OpenCode
~/.config/opencode/skills/

About

  • Delegates research to a background agent with a fresh context
  • Primary sources only: docs, source code, specs, first-party APIs
  • Every claim cited back to its owning source
  • Findings saved as one Markdown file following the repo's conventions

Research is one of the skills in Matt Pocock's collection for coding agents. It delegates reading work: instead of researching in the main conversation, the agent starts a background agent with a fresh context window, so you keep working while it reads.

The background agent is held to primary sources (official documentation, source code, specifications and first-party APIs) rather than second-hand write-ups, and follows each claim back to the source that owns it. It writes its findings to a single Markdown file with every claim cited, saved wherever the repository already keeps such notes, or somewhere sensible that it then names.

The skill is deliberately short, a few lines of instruction, and works best in agents that can spawn subagents, such as Claude Code. MIT licensed.

Try it

Once installed, ask your agent something like:

Research how the Fetch API handles redirects with credentials and write it up in our docs folder.

SKILL.md

The instructions your agent loads, as published by Matt Pocock.

SKILL.md
name
research
description
Investigate a question against high-trust primary sources and capture the findings as a Markdown file in the repo. Use when the user wants a topic researched, docs or API facts gathered, or reading legwork delegated to a background agent.

Spin up a background agent to do the research, so you keep working while it reads. Start it with a fresh context window.

Its job:

  1. Investigate the question against primary sources (official docs, source code, specs, first-party APIs), not a secondary write-up of them. Follow every claim back to the source that owns it.
  2. Write the findings to a single Markdown file, citing each claim's source.
  3. Save it where the repo already keeps such notes; match the existing convention, and if there is none, put it somewhere sensible and say where.
Install

Skill: Retro

by Matt Pocock

New

Matt Pocock's /retro skill: reviews a finished coding session and proposes changes to the agent's environment (navigation pointers, automated checks, review rules, steering files, tooling), ranked by severity.

New

Addy Osmani's gated Specify, Plan, Tasks, Implement workflow: the agent writes a reviewable spec with success criteria and boundaries, then stops for human approval before any code.

Browse all skills →