Skip to content
Agent Memory
Skill

/ct-research-agent

Multi-source research and investigation combining web search, documentation lookup via Context7, and codebase analysis. Synthesizes findings into actionable recommendations with proper citation and task traceability. Use when conducting research, investigating best practices,

BOOST
From plugin
cleo
15922 skills2 commands
Install
$ npx -y skills add kryptobaseddev/cleo --skill ct-research-agent --agent claude-code

How it fires

How this skill gets triggered: by you, by Claude, or both.

  • Fires itselfAuto-invocation. Claude auto-loads it when your prompt matches the work.Auto-invocation is when the right skill fires by itself at the right moment, driven by a FLOW.md router and a hook, instead of you invoking it by name. It is the difference between a skill being installed and a skill actually getting used.Read the full definition →
  • You can call itInvoke it directly when you want it.
  • Slash command/ct-research-agent

Context preview

The summary Claude sees to decide when to auto-load this skill.

Multi-source research and investigation combining web search, documentation lookup via Context7, and codebase analysis. Synthesizes findings into actionable recommendations with proper citation and task traceability. Use when conducting research, investigating best practices,

SKILL.md

ct-research-agent.SKILL.md
name: ct-research-agent
description: Multi-source research and investigation combining web search, documentation lookup via Context7, and codebase analysis. Synthesizes findings into actionable recommendations with proper citation and task traceability. Use when conducting research, investigating best practices, gathering technical information, or analyzing existing implementations. Triggers on research tasks, investigation needs, or information discovery requests.
version: 2.0.4
protocol: research
adrRefs:
  - ADR-023
  - ADR-070
dependencies: []
sharedResources:
  - subagent-protocol-base
  - task-system-integration
compatibility:
  - claude-code
  - cursor
  - windsurf
  - gemini-cli
license: MIT
metadata:
  version: 2.0.4
  tier: on-demand
  install: harness
  covers:
    - packages/core/src/validation/protocols/cant/research.cant
    - packages/core/src/validation/protocols/protocols-markdown/research.md
  loomStage: research
  lastReviewed: 2026-09-28
  stability: stable

Research Context Injection

**Protocol**: @src/protocols/research.md **Type**: Context Injection (cleo-subagent) **Version**: 2.0.0

---

Purpose

Context injection for research and investigation tasks spawned via cleo-subagent. Provides domain expertise for gathering, synthesizing, and documenting information from multiple sources.

---

Capabilities

1. **Web Research** - Search for current practices, standards, and solutions 2. **Documentation Lookup** - Query official docs via Context7 3. **Codebase Analysis** - Analyze existing code via grep/tools 4. **Synthesis** - Combine findings into actionable recommendations

---

Parameters (Orchestrator-Provided)

| Parameter | Description | Required | |-----------|-------------|----------| | `{{TOPIC}}` | Research subject | Yes | | `{{TOPIC_SLUG}}` | URL-safe topic name | Yes | | `{{RESEARCH_QUESTIONS}}` | Specific questions to answer | Yes | | `{{RESEARCH_TITLE}}` | Human-readable title for output | Yes | | `{{TASK_ID}}` | Current task identifier | Yes | | `{{EPIC_ID}}` | Parent epic identifier | No | | `{{SESSION_ID}}` | Session identifier | No | | `{{DATE}}` | Current date (YYYY-MM-DD) | Yes | | `{{TOPICS_JSON}}` | JSON array of categorization tags | Yes |

---

Task System Integration

@skills/_shared/task-system-integration.md

Execution Sequence

1. Read task: `{{TASK_SHOW_CMD}} {{TASK_ID}}` 2. Focus already set by orchestrator (skip if working standalone, set if needed) 3. Conduct research (see Methodology below) 4. Record output: `cleo docs add {{TASK_ID}} --content - --type research --slug {{TOPIC_SLUG}}` 5. Record the manifest entry: `cleo manifest append --task {{TASK_ID}} --type research --content "<one-paragraph summary>"` 6. Complete task: `{{TASK_COMPLETE_CMD}} {{TASK_ID}}` 7. Return summary message

---

Methodology

Research Sources

1. **Web Search** - Current practices, recent developments

  • Use web search for up-to-date information
  • Prioritize authoritative sources

2. **Documentation Lookup** - Official APIs, libraries

  • Use Context7 for framework/library documentation
  • Verify version compatibility

3. **Codebase Analysis** - Existing patterns, implementations

  • Use grep/tools for code search
  • Identify existing patterns to follow or avoid

Research Process

1. **Understand scope** - Review research questions 2. **Gather raw data** - Collect information from sources 3. **Synthesize findings** - Identify patterns and insights 4. **Form recommendations** - Actionable next steps 5. **Document sources** - Cite all references

---

Subagent Protocol

@skills/_shared/subagent-protocol-base.md

Output Requirements

1. MUST record findings with `cleo docs add {{TASK_ID}} --content - --type research --slug {{TOPIC_SLUG}}` (never a raw file under `.cleo/agent-outputs/`) 2. MUST record ONE manifest entry: `cleo manifest append --entry '<entry JSON>'` (the flat manifest file is retired, ADR-027) 3. MUST return ONLY: "Research complete. Manifest appended to pipeline_manifest." 4. MUST NOT return research content in response

---

Output File Format

Record it with `cleo docs add {{TASK_ID}} --content - --type research --slug {{TOPIC_SLUG}}`, using this body:

# {{RESEARCH_TITLE}}

## Summary

{{2-3 sentence overview of key findings}}

## Findings

### {{Finding Category 1}}

{{Details with evidence and citations}}

### {{Finding Category 2}}

{{Details with evidence and citations}}

## Recommendations

1. {{Actionable recommendation 1}}
2. {{Actionable recommendation 2}}
3. {{Actionable recommendation 3}}

## Sources

- {{Source 1 with link if available}}
- {{Source 2 with link if available}}
- {{Source 3 with link if available}}

## Linked Tasks

- Epic: {{EPIC_ID}}
- Task: {{TASK_ID}}

---

Manifest Entry Format

Append ONE entry via `cleo manifest append --entry '<json>'` (writes to pipeline_manifest table per ADR-027):

{"id":"{{TOPIC_SLUG}}-{{DATE}}","file":"{{DATE}}_{{TOPIC_SLUG}}.md","title":"{{RESEARCH_TITLE}}","date":"{{DATE}}","status":"complete","agent_type":"research","topics":{{TOPICS_JSON}},"key_findings":["Finding 1","Finding 2","Finding 3"],"actionable":true,"needs_followup":[],"linked_tasks":["{{EPIC_ID}}","{{TASK_ID}}"]}

Field Guidelines

| Field | Guideline | |-------|-----------| | `key_findings` | 3-7 one-sentence findings, action-oriented | | `actionable` | `true` if findings require implementation work | | `needs_followup` | Task IDs requiring attention based on findings | | `topics` | 2-5 categorization tags for discoverability |

---

Completion Checklist

  • [ ] Task details read via `{{TASK_SHOW_CMD}}`
  • [ ] Research conducted across multiple sources
  • [ ] Findings synthesized with recommendations
  • [ ] Output recorded with `cleo docs add` (slug in the return message)
  • [ ] Manifest entry appended (single line, valid JSON)
  • [ ] Task completed via `{{TASK_COMPLETE_CMD}}`
  • [ ] Response is ONLY the summary message

---

Error H

Read more
Ships withcleo

Every developer who has ever returned to a project after weeks away and found only ruins knows the wound CLEO was built to heal. The agents are powerful. But power without memory is chaos. Brilliance without continuity is waste.

Get the whole plugin

Other skills on cleo.