Skip to main content

research

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.

Matt PocockEngineeringMIT

SKILL.md

Written by Matt Pocock and published in mattpocock/skills under the MIT license. Treq shows it unchanged except for heading levels and links to files on GitHub.

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.

When research runs

Claude Code and Codex keep each installed skill's name and description in context. When a request matches the description, the agent loads the full SKILL.md. You can also run it yourself: type /research in Claude Code or $research in Codex.

The description says when to use it:

Use when the user wants a topic researched, docs or API facts gathered, or reading legwork delegated to a background agent.

Install research

Claude Code

Copy the research folder into .claude/skills/ in your project. To use it in every project, copy it into ~/.claude/skills/ instead.

git clone --depth 1 https://github.com/mattpocock/skills.git /tmp/mattpocock-skills
mkdir -p .claude/skills
cp -r /tmp/mattpocock-skills/skills/engineering/research .claude/skills/

Codex

Codex reads skills from .agents/skills/ in your repository, and from ~/.agents/skills/ for every repository. It detects new skills on its own. Restart Codex if research does not appear.

git clone --depth 1 https://github.com/mattpocock/skills.git /tmp/mattpocock-skills
mkdir -p .agents/skills
cp -r /tmp/mattpocock-skills/skills/engineering/research .agents/skills/

Treq

Open Settings and select the Skills tab. The tab appears when Skills installation is on under Settings → Feature Preview. Search for research and choose Install….

Install for repository writes the skill under .treq/skills/ in the current repository. Install for application makes it available to every repository on this machine. Each new workspace gets a copy in .claude/skills/ and .agents/skills/, so Claude Code and Codex both find it. See Installing Skills from the Library.

Files

research ships 2 files, 926 B in total. Select a file to load it from GitHub.

agents/openai.yaml94 BView on GitHub ↗

All skills by Matt Pocock