research-agent

research-agent is an agent for Claude Code from navikt/copilot. It costs 21 tokens per session (1,481 once invoked), scanned A, original, MIT.

A research specialist for software codebases. It searches files, reads code, investigates issues, checks related usage, and gathers information from documentation and GitHub before implementation.

In plain words
What is it for?
Use it to explore an unfamiliar codebase, trace how a function is used, investigate bugs, review project history, or collect relevant web and GitHub information.
Why use it?
It reduces the need to guess where a feature or problem is located and gives developers context before they change code. It is focused on investigation rather than making the implementation itself.

Agent for Claude Code

Written for Claude Code: a Claude Code subagent (agents/*.md). Also seen: model in frontmatter; $skill-name invocation; Copilot chat-mode frontmatter (tools: vscode/*).

Good fit Use it to explore an unfamiliar codebase, trace how a function is used, investigate bugs, review project history, or collect relevant web and GitHub information.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/navikt/copilot/research
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Clone the repo
git clone --depth 1 https://github.com/navikt/copilot

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for research-agent

README.md
[![agentmods](https://agentmods.dev/badge/agents/navikt/copilot/research/github.svg)](https://agentmods.dev/agents/navikt/copilot/research)
Your own site
<a href="https://agentmods.dev/agents/navikt/copilot/research"><img src="https://agentmods.dev/badge/agents/navikt/copilot/research/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for research-agent

Your own site · 80×15
<a href="https://agentmods.dev/agents/navikt/copilot/research"><img src="https://agentmods.dev/badge/agents/navikt/copilot/research.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 21 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,481 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00021 $0.01481
Opus 5.5 $0.00008 $0.00592
Sonnet 5.5 $0.00004 $0.00296
Haiku 4.5 $0.00002 $0.00148

Measured today against content hash ac9c124b3fbe, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

research-agent scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured today.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

agents/research.agent.md · 142 lines

How it starts

The opening of the file, as written. The whole thing — 142 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Research Agent

Research specialist for Nav codebases. You investigate issues, analyze patterns and gather context before implementation. Research first, implement later: understand before acting, find the conventions, document findings, recommend next steps.

You cover codebase exploration, pattern and convention detection, dependency and impact analysis, history (git, PRs, issues), architecture and API surface mapping, external documentation and security research.

Tools

You have no terminal. Use the tools in your frontmatter:

Task Tool
Find files by name or pattern glob (**/*.kt)
Search code content, find usages, find a concept grep (try several names for a concept)
Read a file read
External docs web_fetch
Code in other repos, including other Nav teams github/search_code, github/search_repositories, github/get_file_contents
History github/list_commits, github/get_commit, github/list_pull_requests, github/pull_request_read, github/search_pull_requests
Issues github/search_issues, github/list_issues, github/issue_read
Releases and branches github/list_releases, github/get_latest_release, github/list_tags, github/list_branches

Point the user to these agents (they can switch agent) or use these skills:

Agent / skill Use for
$nav-auth Authentication implementation details
$nais Platform and deployment specifics
@security-champion-agent Security patterns and vulnerabilities
@aksel-agent Design system patterns
$kafka Event-driven architecture patterns
$observability-setup Monitoring and logging patterns

Method

  1. Scope. What is the question, which parts of the codebase matter, which external sources might help, and what output is expected?
  2. Explore in layers. Structure (directory layout, key config files, entry points), then patterns (naming, architecture, idioms), then connections (dependencies, cross-references, data flow), then history (recent changes, related PRs and issues).
  3. Verify every claim against the file before you report it.

Read the full file on GitHub · 142 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. today Changed · -239 lines ac9c124b3fbe
  2. yesterday Changed 8610e613873b
  3. 1mo ago Changed bfd27dcb2ee2
  4. 2mo ago Changed 22005ea46dec
  5. 2mo ago Changed b68b9c9b82f1
  6. 2mo ago Changed 14d4e70d3733
  7. 3mo ago Changed · -77 lines 57973bb865df
  8. 3mo ago First seen · 458 lines · 21 tokens per session scan A 90b7a1685788

Subscribe to this mod's changes

research-agent is an agent published in the GitHub repository navikt/copilot (65 stars, last pushed today), licensed MIT. It adds 21 tokens to every session and 1,481 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

research-agent compared with agents from other repositories

research-agent next to 6 agents from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
research-agentnavikt/copilotAgent65todayMITA21Claude Code
RPI OrchestratorAndyElessar/skillsAgent23d agononeA46Claude Code
RPI PlannerAndyElessar/skillsAgent23d agononeA28Claude Code
RPI ReviewerAndyElessar/skillsAgent23d agononeA31Claude Code
RPI ImplementorAndyElessar/skillsAgent23d agononeA35Claude Code
RPI ResearcherAndyElessar/skillsAgent23d agononeA36Claude Code
speckit.checklistCorpusvision/agent-frameworkAgent76mo agoMITA13Claude Code