Multi-source research (consulting, library docs, web). Use when asked to research, investigate, analyze, explore, examine, audit, or evaluate something.
$npx -y skills add Alexander-Tyagunov/magician --skill research --agent claude-code
Installs into .claude/skills of the current project.
Sponsors
SSkills DirectorySkills Directory
Know which skills are safe — weekly.
SSkills DirectorySkills Directory
Is that skill safe to install?
Are you the author of Research?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/alexander-tyagunov-research)
---
name: research
description: Multi-source research (consulting, library docs, web). Use when asked to research, investigate, analyze, explore, examine, audit, or evaluate something.
allowed-tools: Read, Grep, Glob, Bash(ugrep *), Bash(rg *), Bash(grep *), AskUserQuestion, mcp__context7__resolve-library-id, mcp__context7__query-docs, Bash(kg check), Bash(kg query *), Bash(kg neighbors *), Bash(kg blast *), Edit(./.workspace/shared/research/**), Bash(git commit -m *)
argument-hint: "[topic or research question]"
---
# /research — Research, Analysis & Consulting
> **Bundled command:** if `kg` is not found, run it as `${CLAUDE_PLUGIN_ROOT}/tools/kg` and give subagents that full path. If that is missing too (Claude chat ships no plugin tools), skip the `kg` steps and search the code directly.
Research over the repository, library documentation, local documents and the web. The request sets the scope: infer the sources and the depth, say what you chose in one line, and start. This file is the router. The procedure for each phase is in [`references/phases.md`](references/phases.md).
## Completion Signal
Before the Completion Signal, grade the findings against [`references/rubric.md`](references/rubric.md); list unmet items.
"Research complete. Researched <topic> across <N> sources. Findings <saved to .workspace/shared/research/… | delivered above>."
Run standalone, you may add one `Next:` line ([`references/phases.md`](references/phases.md#phase-4--close)). Invoked by another skill, return the artifact path and a 2–3 sentence summary and add no next step.
## Obstacles
If this skill runs as a dispatched unit and hits something that blocks or degrades the work, do not wait for a human who is not there and do not silently ship a degraded result — return the Obstacles block from [lore/obstacles.md](../../lore/obstacles.md) (fields: STATUS, OBSTACLE, BLOCKER, SEVERITY, WORKAROUND, RECURRENCE, SCOPE, NEXT) to the caller alongside whatever you completed; interactively, say the same in prose.
## Autonomy
Gates: one question per run, only for what only the user knows. Everything else runs without asking.
Web searches and fetches show Claude Code's normal permission prompt outside auto mode. Every query and URL leaves the machine, so keep private or proprietary details out of them.
## Defaults: state them, do not ask
- **Sources:** inferred from the request. A named library means its docs, a named file means that file, a question about this codebase means the repository, anything else means the web.
- **Depth:** quick, standard or deep, inferred from the request (rules in Phase 0). State it in one clause: "Depth: standard (say `deep` to go further)."
- **Format:** Markdown in the chat, in the shape the request asks for.
- **Save:** to `.workspace/shared/research/<topic>-<date>.md` when `.workspace/` exists. With no workspace, deliver in chat only and write a file only on request.
- **Commit:** only when the request asks for one, with the message `docs: add research findings`. Do not ask about the message.
## Broad web questions go to `/deep-research`
Claude Code bundles the `/deep-research <question>` workflow. It fans out web searches over several angles, fetches and cross-checks the sources, votes on each claim and returns a cited report. It needs the WebSearch tool. Use it when both hold:
1. The request is a broad question the web answers (a landscape, a comparison, "what changed between X and Y"), not a question about this repository, one library's API or a local document.
2. `deep-research` is in the session's list of skills and commands.
Pass the question as its argument, made from the public topic only. Claude Code shows its own prompt before the workflow starts. When the report returns, grade it against the rubric and save it as in Phase 3. Without `/deep-research`, or for repository, library-doc and document research, run Phase 2 here.
## Standalone and pipeline use
- **Feeds the pipeline.** A saved research file is a first-class artifact like a spec or a plan. Hand the next stage its path, not only a summary. A file that describes a system or a flow carries a Mermaid block ([spec's `architecture.md`](../spec/references/architecture.md)).
- **Fed by the pipeline.** `/spec`, `/breakdown`, `/diagnose` and `/deliver` read `.workspace/shared/research/` and invoke `/research` when a decision needs external evidence.
- **Internal sources.** For the user's own Jira tickets, epics, boards or Confluence pages, use the `magician:jira` and `magician:confluence` skills, or another installed integration the user prefers, not web search. Skip a source the user opted out of ([`lore/integration-prefs.md`](../../lore/integration-prefs.md)) and do not suggest setting it up.
- **The codebase itself.** Query the knowledge graph first: `kg check`, then `kg query "<topic>"`, with `kg neighbors` and `kg blast` for relationships. `Read` the ranked `file:line` ranges it returns. With no index, use grep and Read, and mention `kg init` once in the closing message unless the user opted out (key `knowledge-graph`). Details: [knowledge-graph skill](../knowledge-graph/references/retrieval.md).
## When it is suggested
Magician's `UserPromptSubmit` hook may add a note that this skill covers research and analysis. The note is a suggestion, not an instruction. Use this skill only when the request really is research.
## Phases
Read the matching section of [`references/phases.md`](references/phases.md) when you enter a phase.
**Phase 0 — Scope.** Classify the request from the message alone. Infer the sources and the depth, and state them in one line. The depth maps onto reasoning effort: quick ≈ low, standard ≈ medium, deep ≈ high ([`lore/models.md`](../../lore/models.md)).
**Phase 1 — Route.** A broad web question goes to `/deep-research` when it is present. A library question uses context7 when it is installed; when it is not, continue with the web and say so.
**Phase 2 — Research.** Run the sources in parallel. Web search uses 2–4 targeted queries built from the public topic only. Local documents go through Read. The phase ends with a synthesis of consensus, contradictions, key facts and recommendations.
**The one question.** Ask only when the first read-only pass shows that something only the user knows changes the answer: which of two meanings they intend, or the decision the research serves. Ask once, after that pass, through `AskUserQuestion`, in the shape of [`references/questions.md`](references/questions.md).
**Phase 3 — Deliver and save.** Present the findings in chat with source attribution, headings and a conclusion. Save them when a workspace exists. Create an Artifact only on request and keep public links free of confidential material.
**Phase 4 — Close.** Grade against the rubric, print the Completion Signal, and stop.