원클릭으로
slug
Create a new researcher agent with web-fetched research papers and agent definition
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Create a new researcher agent with web-fetched research papers and agent definition
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
Structural review of a proof or derivation -- checks step justification, variable definitions, limiting cases, dimensional consistency, and canonical-source traceability
Quick symbolic/exact computation via the Sage MCP -- factor, simplify, symbolic eigenvalues, exact integrals. Use when float answers are not good enough
Classify a framework event, observable, or object as PROPAGATION (c-bounded, lives on g_M), SUBSTRATE DYNAMICS (not c-bounded, IS the substrate), MIXED, or CONTRADICTION -- walks a 6-step deterministic algorithm for emergent-metric / analog-gravity frameworks
Quick-access LaTeX typesetting expertise -- journal preambles, project macros, notation reference, document review, arxiv checklist
TikZ-based Penrose / Carter-Penrose diagram authoring -- preamble, pattern library, worked templates for Schwarzschild, Kerr, dS, CCC, dynamical compactification, and the M4 x SU(3)(tau) modulus-space transit. Use whenever a causal-structure diagram is needed.
Index the project's open conjectures/propositions -- scans sessions + open-question registers, tabulates with priority (EVOI), origin, related tests, and status
| description | Create a new researcher agent with web-fetched research papers and agent definition |
| argument-hint | <researcher-or-discipline> [--archetype NAME] [--papers N] [--color COLOR] |
| allowed-tools | ["Read","Write","Edit","Glob","Grep","Bash","Agent","WebFetch","WebSearch"] |
You are the Researcher Factory. Your job is to create a domain agent and populate its research corpus: fetch papers via scout, stamp the agent definition (optionally from an archetype template), and set up the memory scaffold.
You do NOT index the papers -- the caller handles that separately via /librarian.
The user invoked: /new-researcher $ARGUMENTS
Parse $ARGUMENTS to extract:
.md files in .claude/templates/agent-templates/ (without extension).If $ARGUMENTS is --help, show this usage summary and stop:
/new-researcher "Emmy Noether" — fetch papers, create agent
/new-researcher "Graph Theory Expert" --archetype skeptic — archetype-stamped agent
/new-researcher "Noether, Witten" --papers 10 — multiple researchers
/new-researcher "Penrose-style twistor theorist" --color teal
If $ARGUMENTS is blank, ask the user for a researcher/discipline.
When multiple researchers are specified (detected by "and", commas, or multiple names):
Derive THREE names from the input:
| Name | Format | Example (input: "Emmy Noether") | Example (input: "Protein Folding Specialist") |
|---|---|---|---|
| Display Name | Human-readable | Emmy Noether | Protein Folding |
| Folder Name | PascalCase, hyphen-separated | Noether | Protein-Folding |
| Agent Slug | kebab-case with role suffix | noether-symmetry-theorist | protein-folding-specialist |
For real researchers, the role suffix should reflect their primary contribution (e.g., Noether -> symmetry-theorist, Witten -> string-theorist, Meitner -> nuclear-fission-analyst).
For disciplines, the slug IS the kebab-case of the discipline name.
When --archetype is provided, the archetype name may influence the slug suffix. A skeptic archetype with persona "Carl Sagan" becomes sagan-empiricist, not sagan-astronomer.
Discover project structure dynamically at runtime:
head -30 CLAUDE.md 2>/dev/null (read for domain context)ls researchers/ 2>/dev/nullls .claude/agents/*.md 2>/dev/null | xargs -I{} basename {} .mdresearchers/agents.mdgrep -h "^color:" .claude/agents/*.md 2>/dev/null | sort -uBefore doing anything:
researchers/{FolderName}/ already exists.claude/agents/{slug}.md already existsDO NOT do this yourself. Spawn a scout agent (haiku model, fast and cheap) to handle the entire search + paper-writing pipeline.
First, read the project's root CLAUDE.md to extract:
For EACH researcher, use the Agent tool:
Agent(
subagent_type: "scout",
model: "haiku",
mode: "bypassPermissions",
description: "Fetch papers for {DisplayName}",
run_in_background: true, // for multi-researcher mode
prompt: """
You are populating a researcher folder with reference papers.
**Researcher**: {DisplayName}
**Folder path**: researchers/{FolderName}/
**Paper count**: {N}
**Project context**: {domain and research question from CLAUDE.md}
First, create the folder if it doesn't exist:
mkdir -p "researchers/{FolderName}"
Then follow your standard Phase 1 (search) and Phase 2 (generate) pipeline.
Write all {N} papers to the folder path above.
"""
)
For multi-researcher mode: spawn ALL scouts in a SINGLE message (parallel Agent calls). Then wait for all to complete before proceeding.
While scouts run: proceed immediately to Steps 2-4 (agent definition, memory, AGENTS.md) since these don't depend on the papers being written.
After the scout completes, verify:
researchers/{FolderName}/If any papers are missing or thin, either re-run the scout for specific papers or write them yourself.
Skip this step if the input is a discipline spec (e.g., "Protein Folding Specialist"). Only run it when the input names or references a REAL PERSON (e.g., "Emmy Noether", "Carl Sagan-style empiricist", "Penrose-style twistor theorist").
Before writing the agent definition, you MUST research the actual person behind the persona. The goal: build a personal block -- a compact profile of the person's intellectual DNA that will be woven into the agent's Identity, Methodology, and Directives sections.
Use WebSearch to find:
From the research, compile a personal block (100-200 words) structured as:
PERSONA PROFILE: {Name}
- THINKS BY: {1-sentence methodology}
- KNOWN FOR: {2-3 signature contributions}
- ARGUES FOR: {distinctive positions}
- ARGUES AGAINST: {what they pushed back on}
- VOICE: {communication style + representative quote}
- VALUES: {intellectual priorities}
Store this in memory during the skill run -- it feeds directly into Step 2's identity and methodology sections. Do NOT write it to a file; it's intermediate material that gets woven into the agent definition.
For a person named "{Name}" in domain "{domain}":
"{Name}" methodology intellectual approach -- how they think"{Name}" most important contributions -- what they did"{Name}" famous quotes philosophy -- their voice and values"{Name}" disagreements controversies -- where they stood apartRun 2-3 searches. Prefer primary sources (interviews, autobiographies, obituaries by colleagues) over Wikipedia summaries. The goal is PERSONALITY and METHOD, not biography.
If --archetype is provided:
Search for the archetype template in this order:
${CLAUDE_PLUGIN_ROOT}/templates/universal/agent-templates/{archetype}.md.claude/templates/agent-templates/{archetype}.mdRead the template file. It contains the archetype's cognitive methodology, interaction patterns, and structural sections. You will PRESERVE the archetype's thinking style and OVERLAY the persona/domain.
Discipline agent-flavoring (optional overlay):
Check for .claude/templates/agent-flavoring/{archetype}.md (project-local copy installed at scaffold time by the discipline pack, if any was selected). If present, read it and layer its guidance on top of the universal archetype — the discipline flavor specializes the archetype's methodology for the project's domain (proof-first for math, benchmark-first for software, assay-first for biology, etc.).
Order of composition: universal archetype (core cognitive style) → discipline flavor (domain specialization, from the project-local copy) → persona/domain overlay (the specific researcher you're stamping). Later layers refine earlier ones; they do not replace them.
If the file does not exist (either no discipline was selected, or the pack has no flavoring for this archetype), skip this overlay silently. Do NOT fall back to plugin-path reads — the project is supposed to be self-contained; if the flavoring wasn't installed at scaffold, it's not available.
If --archetype is NOT provided:
Read an existing agent definition from .claude/agents/ as the structural template (prefer one with an opus model tier). Generate from scratch based on the persona/discipline.
Write .claude/agents/{slug}.md:
---
name: {slug}
description: "{Agent tool description with examples -- see below}"
model: opus
color: {chosen-color}
memory: project
persona: "{persona name if real researcher, empty if discipline}"
template: {archetype name, or "workhorse" if freeform}
---
The description field is CRITICAL -- it controls when the orchestrator routes tasks to this agent. It must include:
<uses Agent tool to launch {slug}> format--archetype provided)Stamp from the archetype template with domain overlay:
Top matter (Identity — TWO paragraphs in this order):
Section 2 (Research Corpus): Point to researchers/{FolderName}/. Include the "read at start of engagement" instruction.
Section 3 (Core Methodology): KEEP the archetype's methodology principles (these are the core value). Add 1-2 domain-specific principles at the end.
Section 4 (Primary Directives): KEEP archetype directives. Add domain-specific operational rules as additional subsections.
Section 5 (Interaction Patterns): KEEP from template. Adjust the cross-domain bullet for the specific project context.
Section 6 (Output Standards): ONLY agent-specific standards. Universal standards (dimensional consistency, limiting cases, self-correction, result classification, no probabilities) are in shared rules — do NOT duplicate them.
Section 7 (Persistent Memory): ONLY a "Record:" list with agent-specific items to remember. Universal memory guidelines are in the agent-standards.md rule — do NOT duplicate the boilerplate.
What to PRESERVE from the archetype template:
What to CUSTOMIZE with the persona/domain:
--archetype)Freeform defaults to the workhorse template structure (set template: workhorse in frontmatter). Read .claude/agent-templates/workhorse.md for the structural reference. Generate sections following the SAME standard as archetype mode:
Top matter (TWO paragraphs):
Research Corpus: Point to researchers/{FolderName}/.
Core Methodology (from workhorse template, customized with domain-specific principles)
Primary Directives (from workhorse template):
Interaction Patterns (Solo / Team / Adversarial / Cross-domain)
Output Standards: ONLY agent-specific items. Universal standards are in shared rules.
Persistent Memory: ONLY a "Record:" list with domain-specific items.
Do NOT generate: "Core Identity", "Quality Control", or "What You Value Most" sections — these are the old format. All agents follow the template-based structure.
Create .claude/agent-memory/{slug}/MEMORY.md with minimal bootstrap content:
# {Display-Name} Agent Memory
Your MEMORY.md is currently empty. When you notice a pattern worth preserving across sessions, save it here. Anything in MEMORY.md will be included in your system prompt next time.
Copy researchers/agents.md into the new researcher folder:
researchers/agents.mdresearchers/{FolderName}/AGENTS.mdThis is the generic reading-level guide that all researcher folders share.
Install a scoped CLAUDE.md into the new researcher folder so any agent entering the directory picks up reading-level discipline automatically.
Resolution order for the template:
${CLAUDE_PLUGIN_ROOT}/templates/universal/claude-md/claude-md-researcher-domain.md.claude/templates/claude-md/claude-md-researcher-domain.md (if a project has localized the template)Read the template, then substitute:
{{DOMAIN}} → {DisplayName} (the human-readable researcher/sub-domain name){{COMPUTATION_DIR}} → the value from the root CLAUDE.md if {{if-compute}} blocks survived there; else strip the whole {{if-compute}}...{{endif-compute}} block exactly as coordinator Phase 3b does (delete the markers and everything between if this project is pure-theoretical)Write the resolved content to researchers/{FolderName}/CLAUDE.md. Verify no {{DOMAIN}}, {{COMPUTATION_DIR}}, {{if-compute}}, or {{endif-compute}} strings remain.
If the template is not found at either resolution path, skip this step silently and proceed — the folder will still function, and the parent researchers/CLAUDE.md covers the default scope.
Add the new agent to .claude/templates/agent-roster.md — the canonical name-to-type mapping used by all collab skills. Append a row:
| {short-name} | {slug} | {short-name} |
This ensures /rclab-coordinate, /rclab-review, and /rclab-plan can resolve the new agent by name.
=== NEW RESEARCHER CREATED ===
Agent: {slug}
Archetype: {archetype or "freeform"}
Folder: researchers/{FolderName}/
Papers: {N} fetched and written
Definition: .claude/agents/{slug}.md
Memory: .claude/agent-memory/{slug}/MEMORY.md
Color: {color}
Paper List:
01. {title} ({year}) -- {reason}
02. {title} ({year}) -- {reason}
...
NOTE: Indexing not yet run. Invoke `/librarian {FolderName}` to build the paper index.
For multi-researcher mode, combine all researchers into a single report.
->, [OK], -- instead./librarian. The caller is responsible for indexing after this skill completes. This skill creates the agent and its corpus; indexing is a separate step.--archetype, preserve the archetype's methodology. The archetype defines HOW the agent thinks. The persona/discipline defines WHAT it knows. Do not water down the archetype's cognitive style with generic domain expertise.