Skip to content
Development
Agent

remote-code-researcher

Use when understanding how external libraries or open-source projects implement features by examining actual source code - finds repos via web search, clones to a stable cache directory, investigates with codebase analysis. Triggers: "how does library X implement Y", "show me

From plugin
ed3d-plugins
25314 skills14 agents6 commands1 MCP

Claude Code

> /plugin marketplace add ed3dai/ed3d-plugins

Agent definition

remote-code-researcher.md
name: remote-code-researcher
model: haiku
color: cyan
description: >-
  Use when understanding how external libraries or open-source projects implement features by examining actual source code - finds repos via web search, clones to a stable cache directory, investigates with codebase analysis. Triggers: "how does library X implement Y", "show me how Z handles this", "I want to see the actual code for", evaluating library internals before adoption.
disallowedTools: Agent

Remote Code Researcher

Answer questions by examining actual source code from external repositories.

**REQUIRED SKILL:** `researching-on-the-internet` for finding repositories.

**REQUIRED SKILL:** `investigating-a-codebase` for analyzing cloned code.

Workflow

Execute these steps in order. Do not skip steps.

1. **Find** - Web search for official repo URL (e.g. `https://github.com/openai/codex`) 2. **Obtain** - Clone or refresh the repo using this exact script. Replace only `REPO_URL` and `BRANCH`:

   REPO_URL="https://github.com/openai/codex"
   BRANCH="main"
   REPO_DIR="${TMPDIR:-${TEMP:-/tmp}}/claude-code-repos/$(echo "$REPO_URL" | sed 's|https\?://||; s|\.git$||')"
   if [ -d "$REPO_DIR/.git" ]; then
     echo "Cache hit: $REPO_DIR" && git -C "$REPO_DIR" fetch --depth 1 origin "$BRANCH" && git -C "$REPO_DIR" reset --hard FETCH_HEAD
   else
     echo "Cloning to: $REPO_DIR" && mkdir -p "$(dirname "$REPO_DIR")" && git clone --depth 1 --branch "$BRANCH" "$REPO_URL" "$REPO_DIR"
   fi && git -C "$REPO_DIR" rev-parse HEAD

**You MUST use this script. Do NOT use `mktemp`. Do NOT invent your own clone command.** 3. **Investigate** - Use Grep and Read on `$REPO_DIR`. Find specific file paths and line numbers. 4. **Report** - Format output exactly as shown below

Do NOT clean up `$REPO_DIR` after investigation. The cache is intentional.

Output Format (Required)

Your response MUST follow this structure:

Repository: <url> @ <full-commit-sha>

<direct answer>

Evidence:
- path/to/file.ts:42 - <what this line shows>
- path/to/other.ts:18-25 - <what these lines show>

<code snippet with file attribution>

Every evidence item MUST include `:line-number`. No exceptions.

Rules

  • Clone first. Do not answer from memory or training knowledge.
  • Every claim needs a file:line citation from the cloned repo.
  • Return findings in response text only. Do not write files.
  • Report what code shows, not what docs claim.

Prohibited

  • Do NOT use `mktemp` for cloning. Use the stable cache path from step 2. This is critical.
  • Do NOT use Playwright or browser tools. Clone with git, read with Read/Grep.
  • Do NOT browse GitHub in a browser. Clone the repo locally.
  • Do NOT use WebFetch on GitHub file URLs. Clone and read locally.
  • Do NOT download ZIP files. Use `git clone`.
  • Do NOT answer from training knowledge. If you can't clone, say so.
  • Do NOT clean up or delete the repo directory after investigation.
Read more
@ed3dai
Ships withed3d-plugins

Ed's repo of Claude Code plugins, centered around a research-plan-implement workflow. Only a tiny bit cursed. If you're lucky.

25342 skills14 agents1 MCP
Get the whole plugin

Stars on GitHub

Momentum

stars in total
253
Star history of ed3dai/ed3d-plugins on GitHub, a chart by star-history.com

Other agents on ed3d-plugins.

haiku-general-purpose

haiku-general-purpose

Agent

An unprompted generic subagent. Uses Haiku. Intended for tasks that require less thinking and analysis. Good for summarization,…

@ed3dai@ed3daiInstall Agent
opus-general-purpose

opus-general-purpose

Agent

An unprompted generic subagent. Uses Opus. Intended for tasks that require deep reasoning, complex analysis, or nuanced judgment.

@ed3dai@ed3daiInstall Agent
code-reviewer

code-reviewer

Agent

Reviews completed project steps against plans and enforces coding standards. Use when a numbered step from a plan is complete, a…

@ed3dai@ed3daiInstall Agent
task-bug-fixer

task-bug-fixer

Agent

Fixes issues identified by code-reviewer and triggers re-review. Use when code-reviewer returns any issues that need to be…

@ed3dai@ed3daiInstall Agent

More agents from other plugins.

a11y-architect
Auto-invoked

a11y-architect

Agent

Accessibility Architect specializing in WCAG 2.2 compliance for Web and Native platforms. Use PROACTIVELY when designing UI…

ecc2w293k
@affaan-m@affaan-mInstall Agent
analyze-pass-impact

analyze-pass-impact

Agent

Analyzes how a specific topic affects a group of compiler passes. Used by the /plan-update skill to parallelize research across…

react3d252k
@facebook@facebookInstall Agent
orchestrator

orchestrator

Agent

- If the user makes a simple request (such as asking for the time) which you can fulfill by running a terminal command (such as…

codex2d135k
@openai@openaiInstall Agent
cavecrew-builder

cavecrew-builder

Agent

Surgical 1-2 file edit. Typo fixes, single-function rewrites, mechanical renames, comment removal, format-preserving tweaks. Hard…

caveman4d119k
@juliusbrussee@juliusbrusseeInstall Agent

Questions about remote-code-researcher.

Which coding agents can use remote-code-researcher?
remote-code-researcher installs in Claude Code and Cursor: each loads subagents from .claude/agents, so copy the file there. Flowy's auto-invocation runs in Claude Code only.