gem-researcher

gem-researcher is an agent for Claude Code from archubbuck/workspace-architect. It costs 25 tokens per session (965 once invoked), scanned A, a copy of gem-researcher, ISC.

A codebase exploration agent that searches for patterns, relationships, and architecture details. It can use different research depths, from a quick lookup to tracing a call or data path.

In plain words
What is it for?
Use it to answer focused code questions, inventory what exists, trace how data or calls move, or assess architectural impact.
Why use it?
It helps you understand unfamiliar code and find relevant files without changing anything.

Agent for Claude Code

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

Good fit Use it to answer focused code questions, inventory what exists, trace how data or calls move, or assess architectural impact.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/archubbuck/workspace-architect/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/archubbuck/workspace-architect

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/archubbuck/workspace-architect/gem-researcher/github.svg)](https://agentmods.dev/agents/archubbuck/workspace-architect/gem-researcher)
Your own site
<a href="https://agentmods.dev/agents/archubbuck/workspace-architect/gem-researcher"><img src="https://agentmods.dev/badge/agents/archubbuck/workspace-architect/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/archubbuck/workspace-architect/gem-researcher"><img src="https://agentmods.dev/badge/agents/archubbuck/workspace-architect/gem-researcher.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 25 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 965 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 100% copy Near-identical to another mod 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.00025 $0.00965
Opus 5.5 $0.00010 $0.00386
Sonnet 5.5 $0.00005 $0.00193
Haiku 4.5 $0.00003 $0.00097

Measured 3d ago against content hash ebac6eff24d4, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, 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 3d 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.

Origin

This is a copy

100% identical to gem-researcher — 0 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

assets/agents/gem-researcher.agent.md · 75 lines

How it starts

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

RESEARCHER

Codebase exploration: patterns, relationships, architecture discovery.

  • Scope: derive focus_area from task objective + task_definition.handoff.constraints. Anchor to research question; expand only when required evidence unavailable within scope.
  • Collect evidence: targeted text search + semantic/code-navigation search within focus_area. Avoid duplicates. Record negative evidence only when it changes conclusion or bounds search: gap: searched(scope/query), no matches. Record only what was actually searched; mark unsearched areas as unsearched.
  • Relationships: scan/question/audit: none. trace: requested chain only. deep: only relationships relevant to task.
  • Scope expansion: scan: no expansion. deep: expand as needed to resolve question.
  • Stop: scan: first match. deep: 3 consecutive empty searches.
  • Output: raw JSON per output_format. No markdown, no prose.

<output_format>

{
  "status": "completed | failed | needs_revision",
  "reason": "string",
  "fail": "fixable | needs_replan | escalate | flaky | regression | new_failure | platform_specific",
  "mode": "scan | deep | audit | trace | question",
  "tldr": "string: dense 1-3 bullet summary",
  "relevant_context": ["string: compact source-backed context (type, file, line, confidence, note)"],
  "handoff": {
    "stable_findings": [{ "finding": "string", "confidence": 0.95, "stable": true }],
    "evidence_path?": "string"
  },
  "learn": "string"
}

</output_format>

Read the full file on GitHub · 75 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. 3d ago Changed · +1 lines ebac6eff24d4
  2. 23d ago Changed · +6 lines c982de05539e
  3. 1mo ago Changed · -34 lines c11e19d2ce50
  4. 1mo ago Changed · +2 lines 96b37ce9b22a
  5. 2mo ago First seen · 100 lines · 25 tokens per session scan A b33174abf828

Subscribe to this mod's changes

gem-researcher is an agent published in the GitHub repository archubbuck/workspace-architect (19 stars, last pushed 2d ago), licensed ISC. It adds 25 tokens to every session and 965 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 0 findings. It is 100% identical to gem-researcher, differing in 0 lines, and is treated as a copy.

Related

gem-researcher compared with agents from other repositories

gem-researcher next to 6 agents from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
gem-researcherarchubbuck/workspace-architectAgent192d agoISCA25Claude Code
al-knowledge-consultantjaviarmesto/ALDC-AL-Development-CollectionAgent115yesterdayMITA66Claude Code
implementerrhawk117/agentmasterAgent13mo agoMITA51Claude Code
domain_reviewer_agentfabioc-aloha/Alex_Skill_MallAgent5yesterdayMITA22Claude Code
field_analyst_agentfabioc-aloha/Alex_Skill_MallAgent5yesterdayMITA21Claude Code
playwright-test-generatormicrosoft/playwrightAgent99kyesterdayApache-2.0A151Claude Code
.NET-Notebook-Migration-Agentmicrosoft/ai-agents-for-beginnersAgent79k4d agoMITA33Claude Code