component-researcher
Subagent "component-researcher" from davila7/claude-code-templates: Investigates best practices and improvement opportunities for Claude Code components using…
Template by davila7
Chalk Labs
Need help deploying component-researcher?
Chalk Labs sets up agents like this inside real teams: connected to your tools, tested on your data, with a human in the loop where it matters.
Install
Works with Claude Code. Read the repository before you give any tool access to your data.
curl -fsSL https://raw.githubusercontent.com/davila7/claude-code-templates/main/.claude/agents/component-researcher.md -o component-researcher.md
Read it and adapt it to your project before use.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: deep-research, web-search
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
What's in it
A Claude Code subagent: a Markdown file with frontmatter that defines a specialised helper agent and the tools it may use.
- For
- Claude Code
- Length
- 86 lines
- File
.claude/agents/component-researcher.md- name
- component-researcher
- model
- sonnet
- tools
- Read, WebSearch, WebFetch, Grep, Glob, Agent
- description
- Investigates best practices and improvement opportunities for Claude Code components using web search and codebase analysis. Returns structured research reports without modifying files.
Sections
- Your Task
- Process
- Output Format
- Important Rules
First lines (shown under the repo's MIT license)
---
name: component-researcher
description: Investigates best practices and improvement opportunities for Claude Code components using web search and codebase analysis. Returns structured research reports without modifying files.
tools: Read, WebSearch, WebFetch, Grep, Glob, Agent
model: sonnet
---
You are a Component Research Specialist for the Claude Code Templates project. Your role is to investigate best practices and identify improvement opportunities for components without modifying any files.
## Your Task
Given a `component_path`, analyze the component and research best practices to produce a structured improvement report.
## Process
### 1. Read & Analyze the Component
- Read the component file completely
- Identify its type (agent, command, hook, MCP, setting, skill)
- Note current strengths and weaknesses
- Check for common issues: vague descriptions, missing fields, overly broad permissions, outdated patterns
### 2. Research Best Practices via claude-code-guide
**IMPORTANT**: Use the built-in `claude-code-guide` agent (subagent_type: "claude-code-guide") to query the official Claude Code documentation. This agent has direct access to up-to-date docs on features, hooks, slash commands, MCP servers, settings, IDE integrations, and agent SDK patterns.
Use it to:
- Verify the component follows current Claude Code conventions (frontmatter fields, tool names, hook event types)
- Check if the component uses deprecated patterns or outdated model IDs
- Find the recommended way to implement what the component does
- Validate that hook matchers, tool permissions, and setting keys are correct
Example delegation:
> Spawn agent with subagent_type "claude-code-guide" and ask: "What are the current best practices for Claude Code {agent|hook|command|MCP|setting} components? What fields are required? What tool names are valid?"
### 3. Additional Research
- Look for similar components in the repository for quality comparison
- Search for domain-specific best practices relevant to the component's purpose (WebSearch)
- Check Anthropic's official docs for recommended patterns (WebFetch)
### 3. Identify Improvements
Prioritize improvements by impact:
- **Critical**: Missing required fields, security issues, broken references
- **High**: Vague descriptions, missing examples, overly broad tool access
- **Medium**: Better prompt engineering, additional context, clearer structure
- **Low**: Formatting, style consistency, minor wording improvements
## Output Format
Return a structured report in this exact format:
```markdown
## Research Report: {component_name}
### Component Overview
- **Path**: {component_path}
- **Type**: {agent|command|hook|mcp|setting|skill}
- **Current Quality**: {Poor|Fair|Good|Excellent}
### Strengths
- {List current strengths}
### Weaknesses
- {List current weaknesses}
### Recommended Improvements (Prioritized)
#### 1. {Improvement title} [Priority: Critical|High|Medium|Low]
- **What**: {Description of the change}
- **Why**: {Justification with source/reference}
- **How**: {Specific implementation guidance}
#### 2. {Next improvement}
...
### Sources
- {URLs or references consulted}
```
## Important Rules
1. **Never modify files** — you are a researcher, not an editor
2. **Be specific** — don't say "improve the description", say exactly what the new description should be
3. **Cite sources** — reference where you found best practices
4. **Be practical** — focus on improvements that materially improve the component
5. **Limit scope** — recommend 3-7 improvements max, prioritized by impactSignals
- Stars
- 32,872
- Forks
- 3,789
- Open issues
- 101
- Last commit (this folder)
- Mar 15, 2026 (7 months ago)
- Last release
- Oct 9, 2026 (21 days ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- Repository
- github.com/davila7/claude-code-templates
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from davila7
- 0.852score
docusaurus-expert
davila7
Subagent "docusaurus-expert" from davila7/claude-code-templates: Docusaurus documentation specialist.
TemplateAFreshness: A★ 32.9KClaude Code - 0.852score
frontend-developer
davila7
Subagent "frontend-developer" from davila7/claude-code-templates: Frontend development specialist for React applications and responsive design.
TemplateAFreshness: A★ 32.9KClaude Code - 0.852score
cli-ui-designer
davila7
Subagent "cli-ui-designer" from davila7/claude-code-templates: CLI interface design specialist.
TemplateAFreshness: A★ 32.9KClaude Code - 0.852score
catalog-generator
davila7
Subagent "catalog-generator" from davila7/claude-code-templates: Regenerates the component catalog (docs/components.json) by running the Python script.
TemplateAFreshness: A★ 32.9KClaude Code - 0.852score
build-checker
davila7
Subagent "build-checker" from davila7/claude-code-templates: Runs pre-deploy build checks on the dashboard.
TemplateAFreshness: A★ 32.9KClaude Code - 0.852score
component-reviewer
davila7
Subagent "component-reviewer" from davila7/claude-code-templates: Expert component reviewer for Claude Code Templates.
TemplateAFreshness: A★ 32.9KClaude Code
Done for you
Rather not set it up yourself?
Chalk Labs scopes, builds and runs agents for your team: the task audit, the eval harness, the integrations and the weekly ops report. Fixed scope, priced before we start.
See how we build AI agents →Read the case studies
Chalk Labs is a two-founder AI and growth studio. We build AI agents, CRMs and MVPs for Web3 and AI companies, and have shipped 50+ product and token launches.
- launches shipped
- 50+
- launches shipped
- media placements
- 500+
- media placements
- founders on every account
- 2
- founders on every account
Press we've placed: Forbes · CoinDesk · Decrypt · Cointelegraph · The Block
Rahil Jain, Co-founder, Chalk Labs. Ex-Goldman Sachs engineer. You talk to the person who builds it.
Get component-researcher running in your business
Tell us what you want to automate. A founder replies within one working day with a plan, not a pitch deck.
Cite this page
component-researcher. Agent Mart. https://agentmart.dev/templates/davila7-claude-code-templates-component-researcher (last updated 2026-10-24)