xiaohongshu
xiaohongshu
internet-research-orchestrator
Orchestrate comprehensive TODAS research for novel/emerging domains (1-7 subagents adaptive). Specializes in unprecedented topics, post-training data, and emerging technologies. Uses adaptive depth-based methodology: straightforward queries (1 agent), standard queries (2-3 agents), complex querie...
Full skill instructions
What is TODAS: Tactical Optimization & Depth-Adaptive System - an adaptive research methodology that adjusts agent count (1-7) and research depth based on query complexity and novelty. Optimized for emerging domains and post-training information.
Tier 5 specialization: Novel and emerging domains requiring adaptive orchestration.
When to use this skill:
When NOT to use this skill:
Adaptive depth: TODAS adjusts research depth dynamically:
Tactical optimization: Stop research when diminishing returns reached (efficiency over completeness).
Analyze the user's query thoroughly:
Output: Clear understanding of query scope, novelty level, and expected deliverable format.
Explicitly classify query into one of three types:
When: Multiple perspectives on SAME issue (going deep from many angles)
Characteristics:
Research strategy:
When: Distinct, independent sub-questions (going wide across topics)
Characteristics:
Research strategy:
When: Focused, well-defined, single investigation sufficient
Characteristics:
Research strategy:
Output: Explicit query type classification with reasoning.
Based on query type, develop specific plan:
For all query types, evaluate each step:
Output: Concrete research plan with clear subagent allocation.
Before selecting specialists, assess each dimension's complexity to guide resource allocation:
For EACH dimension, evaluate these factors:
Sub-domains Count: How many distinct research areas?
Criticality Level: High-stakes domain requiring extra rigor?
Novelty/Uncertainty: Emerging or post-training topic?
Source Diversity Needed: How many different source types required?
Complexity Classification (total score):
Dimension 4: Security and Multi-Tenancy Architectures
Factors:
Total Score: 3 + 2 + 0.5 + 3 = 8.5 points → COMPLEX
Recommendation: 2-3 specialists for comprehensive coverage
Dimension 1: Mobile-Native Push Notifications
Factors:
Total Score: 1 + 0 + 0 + 2 = 3 points → SIMPLE
Recommendation: 1 specialist sufficient
Output: Complexity score and allocation recommendation for each dimension.
For EACH dimension, perform rigorous specialist selection with adversarial validation:
Dimension [N]: [Dimension Name]
Requirements Analysis:
Candidate Specialists (list 2-3 types that COULD handle this dimension):
Initial Selection: [specialist_type]
Initial Rationale: [Why this specialist best matches the dimension requirements - be specific about the match between requirements and specialist capabilities]
The self-challenge phase prevents lazy defaulting and ensures optimal specialist matching.
🚨 CHALLENGE: "Wait, why didn't I choose [alternative_specialist] instead of [initial_selection]?"
For EACH alternative candidate (repeat 2-3 times per dimension):
Alternative: [alternative_specialist_type]
Gains if chosen:
Cons if chosen:
Comparison: [initial_selection] vs [alternative]
Verdict:
Repeat challenge for Alternative B, Alternative C
Dimension [N] - FINAL SELECTION: [specialist_type]
Final Rationale (after surviving self-challenge):
Dimension 5: Real-Time Coordination Mechanisms
Requirements:
Candidates:
Initial Selection: web-researcher
Initial Rationale: Can access Shopify engineering blog, W3C specification documents, WebSocket/SSE/WebRTC official protocol documentation
🚨 CHALLENGE: "Wait, why didn't I choose trend-analyst instead?"
Alternative: trend-analyst
Gains:
Cons:
Comparison: web-researcher vs trend-analyst
Verdict: ❌ SWITCH to trend-analyst
Justification: Self-challenge revealed the "emerging 2025" and "cutting-edge" keywords indicate this is a FUTURE-focused dimension. trend-analyst's forecasting strength better matches the PRIMARY requirement (emerging patterns) than web-researcher's current documentation strength. Initial selection was suboptimal - self-challenge caught this mismatch.
Final Selection: trend-analyst ✅ (REVISED from web-researcher)
Final Rationale:
Output: Final specialist selection per dimension with explicit challenge-survived rationales.
After selecting specialist TYPES, determine COUNTS (how many specialists per dimension):
Default: 1 specialist per dimension (efficiency)
Upgrade to 2-3 specialists when:
Dimension [N]: [Dimension Name]
Complexity Score: [score from Phase 3a] Selected Specialist(s): [type(s)] Current Allocation: 1 specialist (default)
🚨 CHALLENGE: "Should this dimension get MORE than 1 specialist?"
Coverage Analysis (with current 1-specialist allocation):
Allocation Options:
Option A: Keep 1 specialist (default)
Option B: Add 1 more specialist (upgrade to 2)
Option C: Add 2 more specialists (upgrade to 3)
Decision: [Option A / B / C]
Allocation Justification: [Explicit reasoning for chosen option]
Dimension 4: Security and Multi-Tenancy Architectures
Complexity Score: 8.5 (COMPLEX) Selected Specialist: academic-researcher Current Allocation: 1
🚨 CHALLENGE: "Should this dimension get MORE than 1 specialist?"
Coverage Analysis:
Option A: Keep 1 specialist
Option B: Add web-researcher (2 specialists total)
Option C: Add web-researcher + search-specialist (3 specialists total)
Decision: Option C (3 specialists for this dimension)
Allocation Justification: Security domain criticality + 40% baseline coverage gap = REQUIRE comprehensive 3-specialist approach. Cost (+2 agents) justified by risk reduction (HIGH → LOW) and professional coverage standard (95%).
Dimension 1: Mobile-Native Push Notifications
Complexity Score: 3 (SIMPLE) Selected Specialist: web-researcher Current Allocation: 1
🚨 CHALLENGE: "Should this dimension get MORE than 1 specialist?"
Coverage Analysis:
Option A: Keep 1 specialist
Decision: Option A (1 specialist)
Allocation Justification: Simple dimension (score 3) with production focus. web-researcher provides 85% coverage. Academic gap irrelevant. Single specialist efficient and sufficient.
Output: Allocation plan with specialist count per dimension (most stay at 1, critical dimensions upgrade to 2-3).
After all allocation decisions complete, perform final budget validation and repetition challenge:
Total Research Allocation:
Target Range: 5-7 agents (optimal for novel domain depth) Maximum: 10 agents (cost ceiling)
Status:
🚨 CHALLENGE: "Did I default to [specialist] out of laziness rather than intentional strategy?"
If ANY specialist type used MORE than 1 time, re-examine EACH usage:
Specialist Type: [type used multiple times, e.g., "web-researcher"] Used For: Dimension [A], Dimension [B], Dimension [C]
For EACH Dimension:
Dimension [A]: [Dimension Name]
Example Repetition Challenge:
Specialist Type: web-researcher Used For: Dimension 1 (Push Notifications), Dimension 3 (Infrastructure), Dimension 5 (Coordination)
Dimension 1: Push Notifications
Dimension 3: Infrastructure
Dimension 5: Real-Time Coordination
Outcome: Dimension 5 revised from web-researcher → academic-researcher (repetition challenge caught lazy default)
Unique Specialist Types: [count] Total Specialists: [count] Diversity Ratio: [unique / total]
Assessment:
Note: Low diversity acceptable IF repetition challenge passed (justified repetition > arbitrary diversity)
Option 1: Justify Overrun
Option 2: Optimize Allocation
Decision: [Option 1 (justify) or Option 2 (optimize)]
Output: Final validated allocation plan with budget summary, repetition justification, and diversity assessment.
After completing Phase 3d, log allocation decisions to project_logs/ for validation and debugging:
File 1: allocation-decision.json (Complete decision trace)
{
"session_id": "[session_id from researchPath]",
"timestamp": "[ISO 8601 timestamp]",
"query": "[original user query]",
"tier": 5,
"methodology": "TODAS",
"phase_1_2_analysis": {
"query_type": "[straightforward/depth-first/breadth-first]",
"novelty": "[low/moderate/high/very high]",
"dimensions": [
{"id": 1, "name": "[name]", "description": "[brief description]"}
]
},
"phase_3a_complexity": [
{
"dimension_id": 1,
"dimension_name": "[name]",
"factors": {
"sub_domains": {"count": 3, "score": 3},
"criticality": {"level": "HIGH", "score": 2},
"novelty": {"level": "MODERATE", "score": 0.5},
"source_diversity": {"types": 3, "score": 3}
},
"total_score": 8.5,
"classification": "COMPLEX",
"recommendation": "2-3 specialists"
}
],
"phase_3b_self_challenge": [
{
"dimension_id": 1,
"initial_selection": "academic-researcher",
"initial_rationale": "[why initially chosen]",
"challenge": {
"alternative": "search-specialist",
"gains": "[what alternative would provide]",
"cons": "[what alternative would lack]",
"comparison": "[initial vs alternative]",
"net_assessment": "[which better matches requirements]",
"verdict": "SWITCH to BOTH / KEEP [initial] / SWITCH to [alternative]",
"decision": "[final decision with reasoning]"
},
"final_selection": ["type1", "type2"],
"final_rationale": "[why final selection optimal]"
}
],
"phase_3c_resource_allocation": [
{
"dimension_id": 1,
"current_allocation": 2,
"coverage_analysis": {
"specialist_coverage": {"specialist1": "40%", "specialist2": "30%"},
"total_coverage": "70%",
"missing": "[what gaps remain]",
"risk": "LOW/MODERATE/HIGH"
},
"options": {
"option_a": {"count": 2, "coverage": "70%", "cost": 5, "risk": "MODERATE"},
"option_b": {"count": 3, "coverage": "95%", "cost": 6, "risk": "LOW"}
},
"decision": "option_a/option_b/option_c",
"final_allocation": 3,
"specialists": ["type1", "type2", "type3"],
"justification": "[why this allocation chosen]"
}
],
"phase_3d_budget_optimization": {
"budget_summary": {
"dimension_allocations": {
"1": {"specialists": 3, "types": ["academic-researcher", "search-specialist", "web-researcher"]},
"2": {"specialists": 1, "types": ["web-researcher"]}
},
"total_specialists": 6,
"fact_checkers": 1,
"grand_total": 7
},
"budget_status": {
"target_range": "5-7",
"maximum": 10,
"actual": 7,
"status": "within_target/above_target/overrun"
},
"repetition_challenge": {
"specialist_type": "web-researcher",
"usage_count": 3,
"dimensions": [1, 2, 4],
"validations": [
{
"dimension_id": 1,
"challenge": "Lazy default or genuine need?",
"fresh_comparison": "[comparison details]",
"verdict": "JUSTIFIED/LAZY_DEFAULT_DETECTED",
"rationale": "[justification]"
}
]
},
"final_diversity": {
"unique_types": 4,
"total_specialists": 6,
"diversity_ratio": 0.67,
"assessment": "HIGH/MODERATE/LOW",
"acceptable": true,
"reason": "[why acceptable/unacceptable]"
}
},
"final_allocation": {
"specialists": [
{"type": "academic-researcher", "dimension": 1, "rationale": "[why chosen for this dimension]"},
{"type": "web-researcher", "dimension": 2, "rationale": "[why chosen]"}
],
"fact_checkers": [
{"dimension": 1, "rationale": "[why fact-checker needed]"}
]
},
"spawned_by": "internet-research-orchestrator",
"version": "1.0-self-challenge"
}
File 2: allocation-decision-summary.json (Quick reference)
{
"session_id": "[session_id from researchPath]",
"timestamp": "[ISO 8601 timestamp]",
"query": "[original user query]",
"tier": 5,
"methodology": "TODAS",
"final_allocation": {
"specialists": [
{"type": "academic-researcher", "dimension": 1, "rationale": "[brief rationale]"},
{"type": "search-specialist", "dimension": 1, "rationale": "[brief rationale]"},
{"type": "web-researcher", "dimension": 1, "rationale": "[brief rationale]"},
{"type": "web-researcher", "dimension": 2, "rationale": "[brief rationale]"},
{"type": "academic-researcher", "dimension": 3, "rationale": "[brief rationale]"},
{"type": "web-researcher", "dimension": 4, "rationale": "[brief rationale]"}
],
"fact_checkers": [
{"dimension": 1, "rationale": "Security dimension verification"}
],
"total_agents": 7
},
"spawned_by": "internet-research-orchestrator"
}
When to log: After Phase 3d completion, BEFORE spawning any agents (Task tool calls)
Location: project_logs/allocation-decisions/[session_folder]/ (session-based organization matching research-sessions pattern)
Directory structure:
project_logs/allocation-decisions/
└── [session_id]/ # e.g., 17112025_115042_mini_app_notification_test3/
├── decision.json # Full decision trace (19KB)
└── summary.json # Quick reference (768B)
Session folder naming: Use session_id from researchPath (format: DDMMYYYY_HHMMSS_topic)
How to write:
# Extract session_id from researchPath
# Example: docs/research-sessions/17112025_115042_mini_app_notification_test3/
# → session_id = "17112025_115042_mini_app_notification_test3"
session_folder = f"project_logs/allocation-decisions/{session_id}/"
# MANDATORY: Write BOTH files - failure to write either = CRITICAL ERROR
Write(
file_path: f"{session_folder}decision.json",
content: [full JSON with all Phase 3a-3d details]
)
Write(
file_path: f"{session_folder}summary.json",
content: [summary JSON with session_id, timestamp, query, tier, methodology, final_allocation, spawned_by]
)
# CHECKPOINT: Verify BOTH files contain valid JSON with current session_id
# decision.json MUST have: phase_3a_complexity, phase_3b_self_challenge, phase_3c_resource_allocation, phase_3d_budget_optimization
# summary.json MUST have: final_allocation.specialists[]
# If incomplete: RETRY - NEVER proceed to Phase 4 without complete decision logs
Benefits:
Example validation queries:
# Check latest session's self-challenge verdicts
jq '.phase_3b_self_challenge[] | select(.challenge.verdict | contains("SWITCH"))' \
project_logs/allocation-decisions/$(ls -t project_logs/allocation-decisions/ | head -1)/decision.json
# Verify repetition challenge ran
jq '.phase_3d_budget_optimization.repetition_challenge.validations' \
project_logs/allocation-decisions/17112025_115042_mini_app_notification_test3/decision.json
# Quick check: What was final allocation?
jq '.final_allocation.specialists | length' \
project_logs/allocation-decisions/17112025_115042_mini_app_notification_test3/summary.json
# Compare allocations across sessions
for session in project_logs/allocation-decisions/*/; do
echo "$(basename $session): $(jq '.final_allocation.total_agents' $session/summary.json) agents"
done
Output: Session folder with both decision files for test validation, debugging, and historical analysis.
Execute the plan using adaptive subagent count:
Output: Complete research findings from all subagents ready for synthesis.
Use TodoWrite to track research progress:
Before starting research:
TodoWrite([
{content: "Analyze query and determine type (Phase 1-2)", status: "in_progress", activeForm: "Analyzing query type"},
{content: "Assess dimension complexity scores (Phase 3a)", status: "pending", activeForm: "Assessing dimension complexity"},
{content: "Execute self-challenge phase for specialist selection (Phase 3b)", status: "pending", activeForm: "Executing self-challenge phase"},
{content: "Determine resource allocation counts per dimension (Phase 3c)", status: "pending", activeForm: "Determining resource allocation"},
{content: "Perform budget optimization and repetition challenge (Phase 3d)", status: "pending", activeForm: "Performing budget optimization"},
{content: "Log allocation decisions to project_logs/ (Phase 3e)", status: "pending", activeForm: "Logging allocation decisions"},
{content: "Spawn specialist agents based on final allocation (Phase 4)", status: "pending", activeForm: "Spawning specialist agents"},
{content: "Spawn fact-checker for critical dimension verification (Phase 4)", status: "pending", activeForm: "Spawning fact-checker"},
{content: "Synthesize findings from all specialists (Phase 5)", status: "pending", activeForm": "Synthesizing findings"},
{content: "Report completion with attribution and novelty assessment (Phase 6)", status: "pending", activeForm": "Reporting completion"}
])
As you progress, mark tasks completed and update status. The new Phase 3a-3e steps ensure quality decisions through:
- Complexity assessment (avoid under/over-allocation)
- Self-challenge (catch suboptimal selections)
- Resource allocation (justify specialist counts)
- Repetition challenge (prevent lazy defaults)
- Decision logging (traceability and validation)
Benefits:
🚨 DO NOT use research-subagent - This is a generic worker type lacking specialized capabilities. You MUST use specialist agents based on research needs.
Available Specialist Agents:
| Agent Type | Use When | Specialized Capabilities |
|---|---|---|
| web-researcher | General web queries, current information, broad topics | WebSearch, WebFetch, comprehensive web coverage |
| academic-researcher | Scholarly papers, research publications, scientific topics | Academic databases, peer-reviewed sources, citations |
| search-specialist | Complex queries, deep investigation, hard-to-find info | Boolean operators, advanced search techniques, deep web |
| trend-analyst | Future forecasting, emerging trends, predictions | Weak signal detection, scenario planning, trend analysis |
| market-researcher | Market sizing, segmentation, business intelligence | TAM/SAM/SOM analysis, consumer insights, market data |
| competitive-analyst | Competitor analysis, SWOT, strategic intelligence | Competitive profiling, positioning, industry dynamics |
| synthesis-researcher | Combine findings from multiple sources, meta-analysis | Pattern identification, cross-source integration, synthesis |
| fact-checker | Verify claims, validate sources, check accuracy | Source credibility assessment, claim verification, validation |
Selection Strategy:
Agent Registry Location: .claude/agents/ directory contains all specialist agent definitions.
TODAS adjusts agent count based on complexity:
| Query Complexity | Subagent Count | Example |
|---|---|---|
| Straightforward | 1 specialist | "What is tax deadline this year?" → 1 web-researcher |
| Standard | 2-3 specialists | "Compare top 3 cloud providers" → 3 web-researchers (one per provider) |
| Medium | 3-5 specialists | "Analyze AI impact on healthcare" → 4 agents (academic-researcher, market-researcher, trend-analyst, web-researcher) |
| High | 5-7 specialists | "Fortune 500 CEOs birthplaces/ages" → 7 web-researchers in wave 1, then 7 more (sequential batching) |
Claude Code parallel limit: Maximum 10 parallel tasks, cap at 7 for safety (hooks overhead).
For queries requiring >7 agents: Use sequential batching:
Principle: Prefer fewer, more capable specialists over many narrow ones (reduces overhead).
Minimum: Always spawn at least 1 specialist agent for ANY research task (orchestrator delegates, not executes).
Verification Phase: After specialists complete, spawn fact-checker for critical domains (security, compliance, novel topics).
How to spawn specialist agent instances:
Example: "WebRTC + Web3 convergence in 2025" → 3 dimensions:
🚨 CRITICAL: Use SPECIALIST agent types (web-researcher, academic-researcher, etc.), NOT research-subagent
Correct parallel spawning pattern:
[Call Task tool:]
subagent_type: "web-researcher" ← USE SPECIALIST TYPE
description: "Research WebRTC 2025 developments"
prompt: "Research WebRTC's current state and 2025 roadmap. Focus on:
- Latest WebRTC implementations (2025 features)
- New codec support and performance improvements
- Browser compatibility and adoption trends
Research Path: docs/research-sessions/{session_id}/
SESSION_ID: {session_id}
SPAWNED_BY: internet-research-orchestrator
INVOCATION_CONTEXT: subagent
Output Requirements:
- Save findings to Research Path above
- File naming: webrtc-2025-research-subagent-001.json
- Follow schema: .claude/skills/research/json-schemas/research-output-schema.json
- Size limit: 22K tokens or 20K characters"
[Call Task tool again in SAME message:]
subagent_type: "trend-analyst" ← SPECIALIST for emerging tech
description: "Research Web3 decentralization trends"
prompt: "Research Web3 technologies and decentralization in 2025. Focus on:
- Emerging Web3 protocols (2025)
- Decentralized infrastructure architectures
- Real-world adoption and use cases
[Same tracking parameters and output requirements]"
[Call Task tool again in SAME message:]
subagent_type: "academic-researcher" ← SPECIALIST for patterns/research
description: "Research WebRTC+Web3 convergence patterns"
prompt: "Research integration patterns between WebRTC and Web3. Focus on:
- Decentralized video streaming architectures
- P2P communication with blockchain integration
- Novel use cases emerging in 2025
[Same tracking parameters and output requirements]"
All Task calls in ONE message = parallel execution (Claude Code optimization).
For critical domains (security, compliance, novel topics), spawn fact-checker:
[After specialists complete, call Task tool:]
subagent_type: "fact-checker"
description: "Verify critical claims from research"
prompt: "Verify key claims from WebRTC, Web3, and convergence research. Check:
- Citation accuracy and source credibility
- Conflicting information across sources
- Confidence levels for novel 2025 claims
- Gaps in coverage or missing perspectives
Research Path: docs/research-sessions/{session_id}/
SESSION_ID: {session_id}
SPAWNED_BY: internet-research-orchestrator
Target verification rate: >75% (good), >85% (excellent)"
❌ Using research-subagent (lacks specialized capabilities):
Task(subagent_type="research-subagent", ...) ← WRONG - use specialist agents
❌ Sequential spawning (slow):
Task(...), wait for completion, then Task(...), wait, then Task(...)
❌ Bash workarounds (breaks hooks integration):
Bash: claude_cli task run research-subagent "$(cat /tmp/task.md)" &
❌ Creating task files and stopping (NOT spawning):
Write task description to .txt file, then don't call Task tool
❌ Skipping fact-checker for critical domains (security, compliance, novel topics):
[Spawn specialists, synthesize, report] ← Missing verification phase
✅ Use SPECIALIST agent types (web-researcher, academic-researcher, trend-analyst, etc.) ✅ Use Task tool (it's available to you) ✅ Call Task multiple times in ONE message (parallel spawning) ✅ Spawn specialists IMMEDIATELY after planning (efficiency) ✅ Spawn fact-checker for critical domains (security, compliance, novel topics) ✅ Pass researchPath to ALL agents (when provided to skill) ✅ Include tracking parameters (SPAWNED_BY, SESSION_ID, INVOCATION_CONTEXT)
Main Claude delegates ALL research to subagents:
Orchestrator role: You coordinate and synthesize, NOT execute primary research
Verification requirement: After planning, count how many subagents you plan to spawn
ResearchPath coordination: When invoked with researchPath parameter
Provide each subagent with:
Validation: If all subagents follow instructions well, aggregate results should allow EXCELLENT answer to user query (complete, thorough, detailed, accurate).
Priority and dependency:
Avoid overlap:
Efficiency while waiting:
For novel/emerging domains, transparency is essential:
Include in synthesis:
User query: "What is Claude Sonnet 4.5 and when was it released?"
Main Claude reasoning:
TodoWrite tracking:
[
{content: "Determine query type: Straightforward", status: "completed"},
{content: "Spawn 1 research-subagent for Sonnet 4.5 info", status: "in_progress"},
{content: "Synthesize findings and report", status: "pending"}
]
Task tool call:
Task(
subagent_type: "research-subagent",
description: "Research Claude Sonnet 4.5 release",
prompt: "Research Claude Sonnet 4.5 model. Find:
- Official release date
- Model capabilities and improvements
- Comparison to previous Sonnet versions
- Anthropic's official announcements
Sources: Prioritize Anthropic official site, reputable tech news
SESSION_ID: {session_id}
SPAWNED_BY: internet-research-orchestrator"
)
Synthesis: After subagent returns, Main Claude synthesizes findings with source attribution and reports completion.
User query: "Analyze multimodal AI agent frameworks emerging in 2025 - what are the leading approaches and their trade-offs?"
Main Claude reasoning:
Research plan:
TodoWrite tracking:
[
{content: "Determine query type: Depth-first", status: "completed"},
{content: "Develop 4-perspective research plan", status: "completed"},
{content: "Spawn 4 research-subagents in parallel", status: "in_progress"},
{content: "Synthesize findings with trade-off analysis", status: "pending"}
]
Task tool calls (all in ONE message for parallel execution):
Task(subagent_type: "research-subagent", description: "Research tool-augmented agents", prompt: "[Detailed instructions for tool-augmented approach research]")
Task(subagent_type: "research-subagent", description: "Research reasoning-first agents", prompt: "[Detailed instructions for reasoning patterns research]")
Task(subagent_type: "research-subagent", description: "Research vision-language agents", prompt: "[Detailed instructions for multimodal capabilities research]")
Task(subagent_type: "research-subagent", description: "Research code-execution agents", prompt: "[Detailed instructions for code generation research]")
Synthesis: After all 4 subagents return, Main Claude integrates findings, identifies trade-offs across approaches, assesses novelty and emerging trends, provides source-attributed analysis.
User query: "Compare the top 5 decentralized video streaming platforms in 2025 across performance, cost, adoption, and technology stack."
Main Claude reasoning:
Research plan:
TodoWrite tracking:
[
{content: "Identify top 5 decentralized video platforms", status: "completed"},
{content: "Spawn 5 research-subagents (one per platform)", status: "in_progress"},
{content: "Aggregate findings into comparison analysis", status: "pending"}
]
Task tool calls (all in ONE message):
Task(subagent_type: "research-subagent", description: "Research Platform A", prompt: "[Detailed instructions for Platform A across 4 dimensions]")
Task(subagent_type: "research-subagent", description: "Research Platform B", prompt: "[...]")
Task(subagent_type: "research-subagent", description: "Research Platform C", prompt: "[...]")
Task(subagent_type: "research-subagent", description: "Research Platform D", prompt: "[...]")
Task(subagent_type: "research-subagent", description: "Research Platform E", prompt: "[...]")
Synthesis: After all 5 subagents return, Main Claude creates comparison table, identifies patterns across platforms, assesses maturity and adoption trends, provides source-attributed recommendations.
User query: "Research emerging approaches for secure push notifications in multi-tenant mini-app platforms for 2025, covering security architecture, infrastructure scalability, real-time coordination, and mobile-native implementations."
Phase 1-2: Query Analysis & Dimension Breakdown
Query type: Breadth-first (4 distinct dimensions) Novelty: Very high (2025 emerging approaches, post-training) Dimensions identified:
Phase 3a: Dimension Complexity Assessment
Dimension 1: Security Architecture
Dimension 2: Infrastructure Scalability
Dimension 3: Real-Time Coordination
Dimension 4: Mobile-Native Implementations
Phase 3b: Self-Challenge Phase (Specialist Selection)
Dimension 1: Security Architecture (score 8.5 = COMPLEX)
Initial Selection: academic-researcher
🚨 CHALLENGE: "Wait, why didn't I choose search-specialist instead?"
Alternative: search-specialist
Dimension 2: Infrastructure Scalability (score 5.5 = MODERATE)
Initial Selection: web-researcher
🚨 CHALLENGE: "Wait, why didn't I choose market-researcher instead?"
Alternative: market-researcher
Dimension 3: Real-Time Coordination (score 6 = MODERATE)
Initial Selection: web-researcher
🚨 CHALLENGE: "Wait, why didn't I choose academic-researcher instead?"
Alternative: academic-researcher
Dimension 4: Mobile-Native (score 3 = SIMPLE)
Initial Selection: web-researcher
Phase 3c: Resource Allocation Challenge
Dimension 1: Security Architecture (COMPLEX, score 8.5)
Current Allocation: 1 specialist (academic-researcher → revised to academic-researcher + search-specialist in Phase 3b)
🚨 CHALLENGE: "Should this dimension get MORE than 2 specialists?"
Coverage Analysis (with 2 specialists):
Option C: Add web-researcher (3 specialists total)
Dimension 2, 3, 4: All remain at 1 specialist (coverage >80%, moderate/simple complexity)
Phase 3d: Budget Optimization & Final Verification
Budget Summary:
Budget Status: ⚠️ Within Max (7 agents, target 5-7) ✅
Repetition Challenge:
Specialist Type: web-researcher (used 3 times) Used For: Dimension 1 (Security - 3rd specialist), Dimension 2 (Infrastructure), Dimension 4 (Mobile-Native)
Dimension 1 Security - web-researcher (3rd specialist):
Dimension 2 Infrastructure - web-researcher:
Dimension 4 Mobile-Native - web-researcher:
Final Diversity: 4 unique types / 6 specialists = 67% (MODERATE) ✅ Acceptable (all repetitions justified)
Phase 3e: Decision Logging
Before spawning agents, log decisions to project_logs/:
allocation-decision.json (full trace):
{
"session_id": "17112025_112316_mini_app_notification",
"timestamp": "2025-11-17T11:23:16Z",
"query": "Research emerging approaches for secure push notifications in multi-tenant mini-app platforms for 2025...",
"tier": 5,
"methodology": "TODAS",
"phase_3a_complexity": [
{"dimension_id": 1, "dimension_name": "Security Architecture", "total_score": 8.5, "classification": "COMPLEX"},
{"dimension_id": 2, "dimension_name": "Infrastructure Scalability", "total_score": 5.5, "classification": "MODERATE"},
{"dimension_id": 3, "dimension_name": "Real-Time Coordination", "total_score": 6, "classification": "MODERATE"},
{"dimension_id": 4, "dimension_name": "Mobile-Native Implementations", "total_score": 3, "classification": "SIMPLE"}
],
"phase_3b_self_challenge": [
{"dimension_id": 3, "initial_selection": "web-researcher", "challenge": {"verdict": "SWITCH to academic-researcher"}, "final_selection": ["academic-researcher"]}
],
"phase_3c_resource_allocation": [
{"dimension_id": 1, "final_allocation": 3, "specialists": ["academic-researcher", "search-specialist", "web-researcher"]}
],
"phase_3d_budget_optimization": {
"budget_summary": {"total_specialists": 6, "fact_checkers": 1, "grand_total": 7},
"repetition_challenge": {"specialist_type": "web-researcher", "usage_count": 3, "all_justified": true}
},
"spawned_by": "internet-research-orchestrator"
}
allocation-decision-summary.json (quick reference):
{
"session_id": "17112025_112316_mini_app_notification",
"timestamp": "2025-11-17T11:23:16Z",
"query": "Research emerging approaches for secure push notifications...",
"tier": 5,
"methodology": "TODAS",
"final_allocation": {
"specialists": [
{"type": "academic-researcher", "dimension": 1, "rationale": "Security theory, cryptography papers"},
{"type": "search-specialist", "dimension": 1, "rationale": "Compliance standards"},
{"type": "web-researcher", "dimension": 1, "rationale": "2025 threat intelligence"},
{"type": "web-researcher", "dimension": 2, "rationale": "Cloud infrastructure docs"},
{"type": "academic-researcher", "dimension": 3, "rationale": "Emerging 2025 coordination algorithms"},
{"type": "web-researcher", "dimension": 4, "rationale": "Mobile platform documentation"}
],
"fact_checkers": [{"dimension": 1, "rationale": "Security verification"}],
"total_agents": 7
},
"spawned_by": "internet-research-orchestrator"
}
TodoWrite tracking:
[
{content: "Analyze query and determine type (Phase 1-2)", status: "completed"},
{content: "Assess dimension complexity scores (Phase 3a)", status: "completed"},
{content: "Execute self-challenge phase for specialist selection (Phase 3b)", status: "completed"},
{content: "Determine resource allocation counts per dimension (Phase 3c)", status: "completed"},
{content: "Perform budget optimization and repetition challenge (Phase 3d)", status: "completed"},
{content: "Log allocation decisions to project_logs/ (Phase 3e)", status: "completed"},
{content: "Spawn 6 specialist agents based on final allocation (Phase 4)", status: "in_progress"},
{content: "Spawn 1 fact-checker for security verification (Phase 4)", status: "pending"},
{content: "Synthesize findings from all 7 agents (Phase 5)", status: "pending"}
]
Task tool calls (Phase 4 - all in ONE message for parallel execution):
Task(subagent_type: "academic-researcher", description: "Research security architecture theory", prompt: "[Security papers, cryptography, isolation frameworks]")
Task(subagent_type: "search-specialist", description: "Research security compliance standards", prompt: "[ISO 27001, SOC 2, GDPR for multi-tenant]")
Task(subagent_type: "web-researcher", description: "Research 2025 security threat intelligence", prompt: "[CVEs, security blogs, vendor advisories]")
Task(subagent_type: "web-researcher", description: "Research infrastructure scalability", prompt: "[Cloud providers, edge computing, hybrid architectures]")
Task(subagent_type: "academic-researcher", description: "Research real-time coordination algorithms", prompt: "[Emerging 2025 protocols, distributed coordination papers]")
Task(subagent_type: "web-researcher", description: "Research mobile-native push implementations", prompt: "[iOS APNs, Android FCM, platform best practices]")
Task(subagent_type: "fact-checker", description: "Verify security dimension claims", prompt: "[Validate Dimension 1 findings for accuracy]")
Key Decisions Demonstrated:
Tier 5 (TODAS) vs Tier 4 (RBMAS):
Tier 5 (TODAS) vs Tier 3 (Light Parallel):
When to use Tier 5 vs others:
Skill Type: Research Orchestration (Tier 5 - Novel Domains) Methodology: TODAS (Tactical Optimization & Depth-Adaptive System) Agent Range: 1-7 subagents (adaptive based on complexity) Specialization: Novel/emerging domains, post-training information, unprecedented topics Created: Phase 4 of agent-to-skill migration Version: 1.0
xiaohongshu
technical spec
product ux expert
database patterns
Conduct multi-agent task orchestration and workflow coordination.
Initialize project with Conductor artifacts (product definition,
Expert in web animations, transitions, and motion design using Framer Motion and CSS
Creates Mermaid and ASCII diagrams for flowcharts, architecture, ERDs, state machines, mindmaps, and more. Use when user mentions diagram, flowchart, mermaid, ASCII diagram, text diagram, terminal diagram, visualize, C4, mindmap, architecture diagram, sequence diagram, ERD, or needs visual docume...
PostgreSQL bindings for H3 hexagonal grid system. Use when working with H3 cells in Postgres, including spatial indexing, geometry/geography integration, and raster analysis.
Context-Driven Development skill for projects using Conductor. Use this skill when you detect a `conductor/` directory in the project, when working on tasks defined in a `plan.md` file, or when the user asks about tracks, specs, or plans. Automatically applies TDD workflow, tracks task completion...
Display project status, active tracks, and next actions
Official Stakpak application containerization standard operating procedure, a step-by-step guidline to properly dockerize applications. This is a rule book curated by the Stakpak Team.
Generate, edit, and beat-sync AI video with leading models in one workspace.
The world's fastest calendar for remote work
Transform Your Design with AI Designer by ImgCreator.ai
Revolutionizing Video Production with AI-Powered Creativity
Extend an image past the frame and let AI fill the new aspect ratio.
Discover your celebrity doppelgänger with StarByFace!
ChainClarity explains 700+ crypto whitepapers in plain English, with layered summaries, comparisons, research tools, alerts, and a $4.99 Pro plan.
Opus.ai: Revolutionize Your Web Experience