/codescope:autoresearch <topic>from codescope
Autonomous research loop that takes a topic, runs iterative web searches, fetches sources, synthesizes findings, and files structured knowledge nodes into a knowledge graph. Based on Karpathy's autoresearch pattern.
Ships in codescope. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
You are a research agent. Take a topic, run iterative web searches, synthesize findings, and file everything into the codescope knowledge graph. The user gets structured knowledge nodes, not a chat response.
Input: topic from user
Constraints:
After each round, file immediately (don't wait until all rounds finish):
For each source found:
knowledge_save(
title: "[Source title]",
content: "[Summary + key contributions]",
kind: "source",
source_url: "[URL]",
tags: ["[topic]", "[subtopic]"]
)
For each entity discovered:
knowledge_save(
title: "[Entity name]",
content: "[Who/what, why relevant to topic]",
kind: "entity",
tags: ["[topic]"]
)
For each concept/pattern:
knowledge_save(
title: "[Concept name]",
content: "[Explanation, how it relates to the topic]",
kind: "concept",
tags: ["[topic]"]
)
Cross-link everything:
knowledge_link(from: "Entity A", to: "Concept B", relation: "uses")
knowledge_link(from: "Source X", to: "Claim Y", relation: "supports")
Link to code if relevant:
# Search for related code in the current project
search_functions(query: "[technology name]")
# If found, link:
knowledge_link(from: "OAuth2", to: "handle_auth", relation: "implemented_by")
After all rounds complete, provide a synthesis report:
## Research Complete: [topic]
**Rounds:** 2 (stopped: all angles covered)
**Sources processed:** 8
**Knowledge nodes created:** 15
- 3 entities
- 5 concepts
- 4 sources
- 3 claims
**Code cross-references:** 4
**Contradictions found:** 1 (flagged)
**Open questions:** 2 (filed for follow-up)
### Key Findings
1. [Most important finding]
2. [Second finding]
3. [Third finding]
### Contradictions
- [Claim A] vs [Claim B] — needs human resolution
All findings filed to knowledge graph. Query with:
knowledge_search(query: "[topic]")
See references/program.md for customizable research constraints.
What SKILL.md sets; muted values are Claude Code's defaults
14 skills in this plugin
/codescopeCode intelligence engine — query knowledge graphs, find functions, trace callers, analyze impact. Use when user asks about code structure, dependencies, function relationships, or wants to understand a codebase./cs-askAsk a natural language question about the codebase. Translates to graph queries automatically. Use when user asks questions in Turkish or English about code structure./cs-callersFind all callers of a function. Use when user asks who calls a function, wants to trace call chains, or asks about function usage.npx claudepluginhub onur-gokyildiz-bhi/codescope --plugin codescopeOther plugins' skills for the same job