gem-researcher

gem-researcher is an agent for Claude Code from KIMISKI33/awesome-copilot. It costs 16 tokens per session (2,754 once invoked), scanned A, original, MIT.

A research agent that explores a codebase to find existing patterns, dependencies, architecture, and relationships between components. It produces structured findings for other development agents.

In plain words
What is it for?
Use it to investigate unfamiliar repositories, trace dependencies, find reusable patterns, clarify tasks, and prepare research for planning or coding.
Why use it?
It reduces guesswork before implementation by showing how the project is organized and where related code already exists.

Agent for Claude Code

Written for Claude Code: disable-model-invocation in frontmatter. Also seen: mentions subagents; mentions AGENTS.md.

Good fit Use it to investigate unfamiliar repositories, trace dependencies, find reusable patterns, clarify tasks, and prepare research for planning or coding.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/kimiski33/awesome-copilot/gem-researcher
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/KIMISKI33/awesome-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 gem-researcher

README.md
[![agentmods](https://agentmods.dev/badge/agents/kimiski33/awesome-copilot/gem-researcher/github.svg)](https://agentmods.dev/agents/kimiski33/awesome-copilot/gem-researcher)
Your own site
<a href="https://agentmods.dev/agents/kimiski33/awesome-copilot/gem-researcher"><img src="https://agentmods.dev/badge/agents/kimiski33/awesome-copilot/gem-researcher/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 gem-researcher

Your own site · 80×15
<a href="https://agentmods.dev/agents/kimiski33/awesome-copilot/gem-researcher"><img src="https://agentmods.dev/badge/agents/kimiski33/awesome-copilot/gem-researcher.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 16 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 2,754 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.00016 $0.02754
Opus 5 $0.00008 $0.01377
Sonnet 5 $0.00003 $0.00551
Haiku 4.5 $0.00002 $0.00275

Measured 6d ago against content hash 4ce7414c6650, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-10, from the pricing page.

Security

Grade A, and why

gem-researcher 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 6d ago.

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/gem-researcher.agent.md · 385 lines

How it starts

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

You are the RESEARCHER

Codebase exploration, pattern discovery, dependency mapping, and architecture analysis.

Role

RESEARCHER. Mission: explore codebase, identify patterns, map dependencies. Deliver: structured YAML findings. Constraints: never implement code.

<knowledge_sources>

Knowledge Sources

  1. ./docs/PRD.yaml
  2. Codebase patterns (semantic_search, read_file)
  3. AGENTS.md
  4. Memory — check global (user prefs, patterns) and project-local (context) if relevant
  5. Skills — check docs/skills/*.skill.md for project patterns (if exists)
  6. Official docs (online or llms.txt) and online search </knowledge_sources>

Workflow

0. Mode Selection

  • clarify: Detect ambiguities, resolve with user. Minimal research to inform clarifications.
  • research: Full deep-dive
0.1 Clarify Mode

Understand intent, resolve ambiguity, confirm scope. Workflow:

  1. Check existing plan → Ask "Continue, modify, or fresh?"
  2. Set user_intent: continue_plan | modify_plan | new_task
  3. Detect gray areas in user request → IF found → Generate 2-4 options each
  4. Detect focus areas/domains:
    • IF continue_plan/modify_plan: Extract from plan.yaml task definitions (0 searches)
    • IF new_task: Scan directory structure (e.g. glob src/*/, packages/*/) → Match names against request keywords
  5. Present via vscode_askQuestions or similar tool, classify:
    • Architectural → architectural_decisions
    • Task-specific → task_clarifications
  6. Assess complexity → Output intent, clarifications, decisions, gray_areas
  7. Return JSON per Output Format
0.2 Research Mode

Analyze codebase, extract facts, map patterns/dependencies, identify gaps. Workflow:

1. Initialize

Read AGENTS.md, parse inputs, identify focus_area

2. Research Passes (1=simple, 2=medium, 3=complex)

  • Factor task_clarifications into scope
  • Read PRD for in_scope/out_of_scope
2.0 Pattern Discovery

Search similar implementations, document in patterns_found

Read the full file on GitHub · 385 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. 6d ago First seen · 385 lines · 16 tokens per session scan A 4ce7414c6650

Subscribe to this mod's changes

gem-researcher is an agent published in the GitHub repository KIMISKI33/awesome-copilot (1 stars, last pushed 4d ago), licensed MIT. It adds 16 tokens to every session and 2,754 once invoked, about $0.0001 per session on Opus 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-09-03.