research-opportunity-investigator
Conduct systematic research and opportunity investigation for ACP protocol integration, collaboration, and enhancement opportunities. Use when the user wants to research external projects, protocols, or tools for potential collaboration; investigate gap-filling opportunities for IDE integrations; assess compatibility between ACP and external protocols; or identify opportunities for ACP adoption. Guides through discovery, analysis, validation, and RFC generation with mandatory gates and source grounding. Outputs include comprehensive summary documents, gap analyses, and formal RFC proposals.
$ Installer
git clone https://github.com/ddunnock/claude-plugins /tmp/claude-plugins && cp -r /tmp/claude-plugins/skills/research-opportunity-investigator ~/.claude/skills/claude-plugins// tip: Run this command in your terminal to install the skill
name: research-opportunity-investigator description: Conduct systematic research and opportunity investigation for ACP protocol integration, collaboration, and enhancement opportunities. Use when the user wants to research external projects, protocols, or tools for potential collaboration; investigate gap-filling opportunities for IDE integrations; assess compatibility between ACP and external protocols; or identify opportunities for ACP adoption. Guides through discovery, analysis, validation, and RFC generation with mandatory gates and source grounding. Outputs include comprehensive summary documents, gap analyses, and formal RFC proposals.
Research & Opportunity Investigator
Systematic research and opportunity analysis for ACP protocol integration with external projects, protocols, and tools.
CRITICAL BEHAVIORAL REQUIREMENTS
This skill operates under strict guardrails. The assistant MUST:
1. NEVER Proceed Without Explicit User Confirmation
- Ask clarifying questions at EVERY phase gate before proceeding
- Do NOT proceed based on assumed understanding
- Wait for explicit user responses before moving forward
- Present findings and wait for validation
2. NEVER Make Ungrounded Claims
- All findings MUST reference specific sources (URLs, documentation, code)
- Format:
[Statement] (Source: [URL/document], [section]) - If information cannot be verified, mark as:
[UNGROUNDEDโrequires verification] - Maintain running source registry throughout research
3. ALL Analysis Must Be Source-Grounded
- Every technical claim requires evidence
- Cite specific code, documentation, or announcements
- Distinguish between:
[VERIFIED],[INFERRED],[ASSUMED]
4. Mandatory ACP Summary Document Before RFC
- MUST create comprehensive ACP summary document
- Summary MUST cover: existing RFCs, schemas, spec chapters
- Summary enables RFC validation against current state
- User MUST approve summary before RFC generation
5. RFCs Must Trace to Existing ACP Specification
- Every RFC proposal MUST reference existing spec sections
- Show which chapters/RFCs are affected
- Demonstrate compatibility with current design
Workflow Overview
Research & Opportunity Investigation Workflow:
โก Phase 1: RESEARCH SCOPING
โโ Define research target and objectives
โโ Establish success criteria
โโ GATE: User confirms research scope
โก Phase 2: DISCOVERY & COLLECTION
โโ Web search for documentation, repos, announcements
โโ Source registration and cataloging
โโ GATE: User confirms source coverage
โก Phase 3: DEEP ANALYSIS
โโ Technical architecture analysis
โโ Feature mapping and comparison
โโ Gap identification
โโ GATE: User confirms analysis accuracy
โก Phase 4: ACP CONTEXT SUMMARY
โโ Generate comprehensive ACP summary
โโ Map existing RFCs, schemas, spec chapters
โโ Identify integration points
โโ GATE: User approves ACP summary document
โก Phase 5: OPPORTUNITY ASSESSMENT
โโ Gap analysis (what target lacks that ACP provides)
โโ Collaboration opportunities
โโ Implementation feasibility
โโ GATE: User confirms opportunity assessment
โก Phase 6: RFC GENERATION
โโ Draft RFC for identified opportunities
โโ Validate against ACP summary
โโ Cross-reference existing specs
โโ GATE: User approves RFC content
โก Phase 7: DELIVERABLES PACKAGING
โโ Final summary document
โโ Gap analysis report
โโ RFC proposal(s)
โโ GATE: User confirms all deliverables
Phase 1: Research Scoping
1.1 Scope Definition Template
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
๐ RESEARCH SCOPE DEFINITION
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
RESEARCH TARGET:
Name: [Project/Protocol/Tool name]
Type: [IDE/Protocol/Framework/Tool]
Primary URL: [Main website/repository]
RESEARCH OBJECTIVES:
Primary Goal: [What are we trying to learn/achieve?]
Specific Questions:
1. [Question 1]
2. [Question 2]
3. [Question 3]
SUCCESS CRITERIA:
โก [Criterion 1 - measurable outcome]
โก [Criterion 2 - measurable outcome]
โก [Criterion 3 - measurable outcome]
ACP INTEGRATION FOCUS:
โก Gap-filling opportunity (target lacks capability ACP provides)
โก Protocol integration (technical compatibility)
โก Collaboration opportunity (partnership/adoption)
โก Competitive analysis (understanding landscape)
โก Other: _______________
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ ๏ธ Please confirm this scope before proceeding with discovery.
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
1.2 Scoping Questions
Ask these questions to establish research scope (2-3 per message max):
Target Identification:
- What specific project/protocol/tool are we researching?
- What is the primary URL or repository?
- What problem does this target solve?
Objective Clarification:
- What do you hope to achieve through this research?
- Are you looking for integration, collaboration, or competitive understanding?
- What would a successful outcome look like?
Constraints:
- Are there any aspects that are out of scope?
- What timeline or resource constraints exist?
- Are there any competing priorities?
Phase 2: Discovery & Collection
2.1 Source Registration Template
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
๐ SOURCE REGISTRATION
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
REGISTERED SOURCES:
[SRC-001] Official Documentation
โโ URL: [url]
โโ Type: documentation
โโ Accessed: [date]
โโ Relevance: [high/medium/low]
โโ Key Sections: [list relevant sections]
[SRC-002] GitHub Repository
โโ URL: [url]
โโ Type: source_code
โโ Accessed: [date]
โโ Relevance: [high/medium/low]
โโ Key Files: [list relevant files]
[SRC-003] ...
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
SOURCE GAPS (information needed but not found):
โก [Gap 1] - Required for: [analysis area]
โก [Gap 2] - Required for: [analysis area]
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ ๏ธ Please confirm these sources are sufficient or identify additional sources.
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
2.2 Discovery Search Strategy
For each research target, systematically search:
Tier 1 - Primary Sources (MUST search):
โก Official documentation site
โก GitHub/GitLab repository
โก Official announcements/blog posts
โก API/Protocol specifications
Tier 2 - Secondary Sources (SHOULD search):
โก Technical blog posts from team members
โก Conference talks/presentations
โก Community discussions (Discord, Slack, Forums)
โก Integration guides from partners
Tier 3 - Tertiary Sources (MAY search):
โก Third-party reviews and analyses
โก Comparison articles
โก Issue tracker discussions
โก Social media announcements
2.3 Evidence Grounding Format
All findings MUST use this grounding format:
[Finding Statement]
โโ Source: [SRC-XXX], [specific section/line/page]
โโ Evidence Type: [VERIFIED|INFERRED|ASSUMED]
โโ Confidence: [HIGH|MEDIUM|LOW]
โโ Quote/Reference: "[relevant excerpt]"
Phase 3: Deep Analysis
3.1 Technical Architecture Analysis
For each research target, analyze:
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
๐๏ธ TECHNICAL ARCHITECTURE ANALYSIS
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
CORE ARCHITECTURE:
Components:
โก [Component 1]: [Description] (Source: [SRC-XXX])
โก [Component 2]: [Description] (Source: [SRC-XXX])
Data Flow:
[Component A] โ [Component B] โ [Component C]
Key Abstractions:
โก [Abstraction 1]: [Purpose]
โก [Abstraction 2]: [Purpose]
PROTOCOL/API DESIGN:
Communication Pattern: [request-response/streaming/event-driven]
Data Format: [JSON/Protocol Buffers/Other]
Transport: [HTTP/WebSocket/IPC/Other]
Key Endpoints/Methods:
โก [Endpoint 1]: [Purpose] (Source: [SRC-XXX])
โก [Endpoint 2]: [Purpose] (Source: [SRC-XXX])
EXTENSION POINTS:
โก [Extension Point 1]: [How external tools integrate]
โก [Extension Point 2]: [How external tools integrate]
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
3.2 Feature Mapping Template
## Feature Comparison Matrix
| Feature Area | Target Has | ACP Provides | Gap/Overlap |
|--------------|------------|--------------|-------------|
| [Feature 1] | [Yes/No/Partial] | [Yes/No/Partial] | [Gap/Overlap/None] |
| [Feature 2] | [Yes/No/Partial] | [Yes/No/Partial] | [Gap/Overlap/None] |
### Gap Details
#### Gap G-001: [Gap Name]
- **Target Status**: [What target lacks]
- **ACP Capability**: [What ACP provides]
- **Integration Potential**: [HIGH/MEDIUM/LOW]
- **Evidence**: (Source: [SRC-XXX])
#### Gap G-002: ...
Phase 4: ACP Context Summary
4.1 Summary Generation Requirements
BEFORE generating any RFC, MUST create comprehensive ACP summary covering:
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
๐ ACP PROTOCOL SUMMARY DOCUMENT
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
Generated: [timestamp]
Purpose: Reference document for RFC validation and integration planning
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
SECTION 1: SPECIFICATION OVERVIEW
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
Current ACP Version: [version]
Spec Location: acp-protocol/acp-spec/spec/
Key Chapters:
โก 01-introduction.md: [Summary of goals and non-goals]
โก 03-cache-format.md: [Summary of cache structure]
โก 04-config-format.md: [Summary of configuration options]
โก 05-annotations.md: [Summary of annotation syntax]
โก 06-constraints.md: [Summary of constraint system]
โก [Additional relevant chapters...]
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
SECTION 2: EXISTING RFCs
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
RFC-001: Self-Documenting Annotations
Status: [status]
Summary: [brief summary]
Key Changes: [what it introduced]
Relevance to Research: [how it relates to current investigation]
RFC-002: Documentation References
Status: [status]
Summary: [brief summary]
Key Changes: [what it introduced]
Relevance to Research: [how it relates]
RFC-003: Annotation Provenance
Status: [status]
Summary: [brief summary]
Key Changes: [what it introduced]
Relevance to Research: [how it relates]
[Continue for all RFCs...]
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
SECTION 3: SCHEMA INVENTORY
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
Location: acp-protocol/acp-spec/schemas/
Schemas:
โก cache.schema.json: [purpose, key fields]
โก config.schema.json: [purpose, key fields]
โก vars.schema.json: [purpose, key fields]
โก sync.schema.json: [purpose, key fields]
[Continue for all schemas...]
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
SECTION 4: INTEGRATION POINTS
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
Existing Integration Mechanisms:
โก MCP Integration (acp-mcp): [current capabilities]
โก CLI Interface (acp-cli): [current capabilities]
โก LSP Planning (acp-lsp): [planned capabilities]
Extension Points for External Protocols:
โก [Extension point 1]: [how external tools would integrate]
โก [Extension point 2]: [how external tools would integrate]
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
SECTION 5: DESIGN PRINCIPLES
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
Core Principles (from spec):
โก Self-documenting annotations
โก Token efficiency
โก Deterministic constraints
โก Language-agnostic syntax
โก Progressive disclosure
Compatibility Requirements:
โก Backward compatibility policy
โก Versioning approach
โก RFC process requirements
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ ๏ธ User MUST approve this summary before RFC generation proceeds.
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
4.2 Summary Validation Checklist
Before proceeding to RFC generation:
โก All existing RFCs catalogued with summaries
โก All relevant spec chapters summarized
โก All schemas inventoried with key fields
โก Integration points identified
โก Design principles extracted
โก User has reviewed and approved summary
Phase 5: Opportunity Assessment
5.1 Gap Analysis Framework
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
๐ฏ OPPORTUNITY ASSESSMENT
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
GAP ANALYSIS:
What [TARGET] Lacks That ACP Provides:
GAP-001: [Gap Name]
โโ Target Status: [Current capability or lack]
โโ ACP Capability: [What ACP offers]
โโ Strategic Value: [HIGH/MEDIUM/LOW]
โโ Implementation Effort: [HIGH/MEDIUM/LOW]
โโ Evidence: (Source: [SRC-XXX])
GAP-002: ...
COLLABORATION OPPORTUNITIES:
OPP-001: [Opportunity Name]
โโ Description: [What could be achieved]
โโ Mutual Benefit: [How both parties benefit]
โโ Required Changes:
- ACP: [What ACP would need to change/add]
- Target: [What target would need to change/add]
โโ Feasibility: [HIGH/MEDIUM/LOW]
โโ Evidence: (Source: [SRC-XXX])
OPP-002: ...
RISK ASSESSMENT:
RISK-001: [Risk Name]
โโ Description: [What could go wrong]
โโ Likelihood: [HIGH/MEDIUM/LOW]
โโ Impact: [HIGH/MEDIUM/LOW]
โโ Mitigation: [How to address]
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
RECOMMENDATION:
โก Proceed with RFC development for: [specific opportunities]
โก Defer: [what to defer and why]
โก Decline: [what to decline and why]
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ ๏ธ Please confirm this assessment before RFC generation.
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
Phase 6: RFC Generation
6.1 RFC Requirements
MUST follow ACP RFC structure. See references/rfc-template.md for complete template.
Key RFC sections required:
- Summary (2-3 sentences)
- Motivation with research basis and gap analysis
- Specification with affected components
- Backward compatibility analysis
- Implementation guidance
- Alternatives considered
- References to sources
6.2 RFC Validation Checklist
Before finalizing RFC:
RFC VALIDATION CHECKLIST:
Structure:
โก All required sections present
โก RFC number follows convention
โก Status correctly set to Draft
Content:
โก Summary is concise (2-3 sentences)
โก Motivation clearly explains problem
โก Research basis documented with sources
โก Gap analysis included with IDs
Specification:
โก All affected components identified
โก Changes reference existing spec sections
โก Proposed changes are specific and implementable
โก Examples provided where helpful
Compatibility:
โก Breaking changes identified (or stated as none)
โก Migration path provided if needed
โก Deprecation schedule if applicable
Validation:
โก Cross-referenced against ACP Summary document
โก No conflicts with existing RFCs
โก Consistent with ACP design principles
โก User has reviewed and approved
Phase 7: Deliverables Packaging
7.1 Deliverable Checklist
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
๐ฆ DELIVERABLES PACKAGE
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
RESEARCH DELIVERABLES:
โก research-summary-[target]-[date].md
โโ Complete research findings
โโ All sources catalogued
โโ Technical analysis complete
โก gap-analysis-[target]-[date].md
โโ All gaps identified with IDs
โโ Opportunity assessment
โโ Recommendations
ACP CONTEXT DELIVERABLES:
โก acp-summary-[date].md
โโ Current RFCs summarized
โโ Schemas inventoried
โโ Spec chapters mapped
โโ Integration points identified
RFC DELIVERABLES:
โก RFC-XXXX-[title].md
โโ Complete RFC proposal
โโ Validated against ACP summary
โโ All sections complete
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
QUALITY VERIFICATION:
โก All sources cited with [SRC-XXX] format
โก No ungrounded claims remain
โก All assumptions marked as [ASSUMED]
โก User approved each phase gate
โก RFC traces to existing specification
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ ๏ธ Please confirm all deliverables are complete and accurate.
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
Guardrails Reference
Prohibited Behaviors
| Prohibited | Required Instead |
|---|---|
| Making claims without sources | Cite specific source [SRC-XXX] |
| Proceeding without confirmation | Wait for explicit user approval at gates |
| Generating RFC without ACP summary | Create and approve summary first |
| Assuming target capabilities | Verify with source evidence |
| Skipping phases | Execute all mandatory gates |
| Ungrounded RFC proposals | Trace all changes to existing spec |
Evidence Grounding Standards
| Evidence Type | When to Use | Example |
|---|---|---|
[VERIFIED] | Directly confirmed from primary source | Official docs, source code |
[INFERRED] | Logically derived from verified facts | Architectural implications |
[ASSUMED] | Reasonable assumption, needs validation | User must confirm |
[UNGROUNDED] | Cannot find source | Flag for investigation |
Source Confidence Levels
| Level | Definition | Usage |
|---|---|---|
| HIGH | Official docs, source code, announcements | Core claims |
| MEDIUM | Blog posts, talks, community discussions | Supporting evidence |
| LOW | Third-party analyses, speculation | Context only |
Reference Documents
- RFC Template: See
references/rfc-template.mdfor complete RFC structure - Research Checklist: See
references/research-checklist.mdfor comprehensive checklist - ACP Spec Locations:
- Specification:
acp-protocol/acp-spec/spec/ - RFCs:
acp-protocol/acp-spec/rfcs/ - Schemas:
acp-protocol/acp-spec/schemas/
- Specification:
Quick Reference
Common Research Targets
| Target Type | Key Areas to Investigate |
|---|---|
| IDE | Extension API, LSP support, agent framework |
| Protocol | Message format, transport, extension points |
| AI Tool | Context handling, constraint system, codebase awareness |
| Framework | Plugin architecture, configuration, integration hooks |
Common ACP Integration Points
| Integration Point | Relevance |
|---|---|
| Bootstrap prompts | Minimal context injection |
| Cache format | Structured codebase metadata |
| Constraint system | Lock levels and guardrails |
| Annotation syntax | Self-documenting directives |
| Query interface | CLI commands for AI access |
| MCP integration | Dynamic tool connection |
Repository
