Skip to content

Research

by mattpocock

Hands a research question to a background agent that reads primary sources and writes cited findings to a Markdown file in your repo.

Research is a short skill from Matt Pocock’s collection that keeps reading legwork out of your main session. When you need a topic investigated, or facts gathered from documentation or an API, it starts a separate background agent with a fresh context so you can keep working.

That agent is told to go to primary sources, meaning official documentation, source code, specifications and first-party APIs, rather than articles about them, and to trace every claim back to the source that owns it. It writes its findings to a single Markdown file with a citation for each claim, saved where your repository already keeps notes like that, and tells you where it put it.

It is a three-step instruction file with no scripts; the reading it does is the web access your agent already has.

What it is good for

  • Gather what an API really supports before you build on it
  • Check a library’s documented behaviour while you keep coding
  • Leave cited research notes in the repo for the team

Install

  1. Run this in a terminal. It adds the skill to Claude Code for every project:

    tmp=$(mktemp -d) && git -C "$tmp" init -q && git -C "$tmp" fetch -q --depth 1 https://github.com/mattpocock/skills abeeaf95660ba9e8b7c753eb38f441ca707a8823 && git -C "$tmp" checkout -q FETCH_HEAD && rm -rf "$tmp/.git" && mkdir -p ~/.claude/skills && rm -rf ~/.claude/skills/background-research && mv "$tmp/skills/engineering/research" ~/.claude/skills/background-research && rm -rf "$tmp"
  2. Start a new Claude Code session. The agent uses the skill when a request matches it, or you can ask for it by name.

  3. To share it with your team, put the folder in .claude/skills/ inside the repository instead and commit it.

Read the source on GitHub · MIT license · Reviewed by Whenever on 2026-11-20

Browse more skills

Your first workflow is one sentence away.

One workflow free. No card. Weekly AI-building limits.