Research

GitHub

支持多智能体协作的网页研究技能,具备强制URL验证、置信度标记及四种深度模式(快速至深度调查),用于信息检索与竞品分析。

LifeOS/install/skills/Research/SKILL.md danielmiessler/LifeOS

Trigger Scenarios

用户请求研究或调查 查找特定信息或产品

Install

npx skills add danielmiessler/LifeOS --skill Research -g -y
More Options

Non-standard path

npx skills add https://github.com/danielmiessler/LifeOS/tree/main/LifeOS/install/skills/Research -g -y

Use without installing

npx skills use danielmiessler/LifeOS@Research

指定 Agent (Claude Code)

npx skills add danielmiessler/LifeOS --skill Research -a claude-code -g -y

安装 repo 全部 skill

npx skills add danielmiessler/LifeOS --all -g -y

预览 repo 内 skill

npx skills add danielmiessler/LifeOS --list

SKILL.md

Frontmatter
{
    "name": "Research",
    "context": "fork",
    "version": "1.5.16",
    "background": false,
    "description": "Multi-agent web research with mandatory URL verification, confidence-tagged output, and four depth modes (quick to deep investigation). USE WHEN research, do research, quick research, extensive research, deep investigation, find information, investigate, extract alpha, analyze content, retrieve content, AI trends, enhance content, extract knowledge, web scraping, YouTube extraction, map landscape, competitive analysis, find it, find this, find this product, identify this, what is this, what's that thing, track down, locate, help me find, I can't find X online, can't find it online, source this — never substitute raw WebSearch\/WebFetch for a multi-source find\/identify\/investigate request. NOT FOR people\/company\/entity deep background, academic papers (use ArXiv), JSON entity extraction, or content-adaptive wisdom extraction (use ExtractWisdom)."
}

⚠️ MANDATORY TRIGGER

When user says "research" (in any form), ALWAYS invoke this skill.

User Says Action
"research" / "do research" / "research this" → Standard mode (3 agents: Claude + Gemini + Perplexity + cross-check)
"quick research" / "minor research" → Quick mode (1 Perplexity agent)
"extensive research" / "deep research" → Extensive mode (7 explorers + 2 verifiers)
"deep investigation" / "investigate [topic]" / "map the [X] landscape" → Deep Investigation (iterative + verification)

"Research" alone = Standard mode. No exceptions.

Deterministic alternative (EXPERIMENTAL — not yet run in the harness): Workflows/research.mjs ports Standard + Extensive into a Workflow-tool script — fixed researcher roster, single batch URL-verify, cross-checked synthesis. It is parse-verified and contract-checked but has NOT yet had a live harness run, so the prose StandardResearch.md / ExtensiveResearch.md stay the default path. Do not route real research through the .mjs until one smoke run lands. To do that smoke run: Workflow({ scriptPath: "skills/Research/Workflows/research.mjs", args: { question: "<trivial test>", depth: "standard" } }). Once it runs clean, drop this experimental caveat.

Customization

Before executing, check for user customizations at: ~/.claude/LIFEOS/USER/CUSTOMIZATIONS/SKILLS/Research/

If this directory exists, load and apply any PREFERENCES.md, configurations, or resources found there. These override default behavior. If the directory does not exist, proceed with skill defaults.

🚨 MANDATORY: Voice Notification (REQUIRED BEFORE ANY ACTION)

You MUST send this notification BEFORE doing anything else when this skill is invoked.

  1. Send voice notification:

    curl -s -X POST http://localhost:31337/notify \
      -H "Content-Type: application/json" \
      -d '{"message": "Running the WORKFLOWNAME workflow in the Research skill to ACTION"}' \
      > /dev/null 2>&1 &
    
  2. Output text notification:

    Running the **WorkflowName** workflow in the **Research** skill to ACTION...
    

This is not optional. Execute this curl command immediately upon skill invocation.

Research Skill

What It Does

Researches a topic across multiple sources and verifies every claim before delivery. Four depth modes scale from a single fast lookup to a multi-session investigation: Quick (1 agent, ~10-15s), Standard (3 agents cross-checked, ~30-60s), Extensive (7 explorers + 2 independent verifiers, ~60-90s), and Deep Investigation (progressive iteration with a persistent vault, ~3-60min). Output is confidence-tagged: [HIGH] [MED] [LOW] [CONFLICT].

The Problem

A single AI agent doing research has two failure modes that quietly wreck the result. It hallucinates URLs — confident links that go nowhere, which destroys trust in the whole report. And it answers from one angle, so it parrots whatever the first few search results said and misses conflicts, gaps, and what real people actually thought. Recap journalism is the worst offender: ask "what did fans think of X" and a lone agent hands back promoter copy dressed as consensus. This skill runs several agents in parallel, cross-checks and independently verifies their findings, checks every URL before it ships, and routes sentiment questions to community sources first.

How It Works

Multiple agents work in parallel and their findings get reconciled. Verification runs in three layers at zero added latency: each agent self-verifies its own URLs, a synthesis step cross-checks for conflicts, and dedicated verifier agents (Extensive/Deep) check findings with no access to the explorers' reasoning. Step 0 of every workflow routes sentiment questions to community scrapers before web search, and every URL is verified before delivery — a hallucinated link is a catastrophic failure.

Official anchor (drift check): this skill's orchestrator-worker shape matches Anthropic's published architecture — How we built our multi-agent research system (2025-06-13). When changing the orchestration itself (rosters, verifier layers, the .mjs ports — not on routine research runs), re-fetch that post and compare: it names lessons we may not have adopted yet (e.g. async agent coordination). Advisory only — report divergence, never auto-adopt; an unreachable URL never blocks anything.

MANDATORY: URL Verification

READ: UrlVerificationProtocol.md - Every URL must be verified before delivery.

Research agents hallucinate URLs. A single broken link is a catastrophic failure.


MANDATORY: Source Routing (Step 0 of every workflow)

READ: SourceRoutingProtocol.md — sentiment-signal detection + scraper-first paths for Reddit / YouTube / X / TikTok.

The rule: web search answers "what was published about X." Community scrapers answer "what people said about X." If the question is about fan sentiment, ratings, reactions, opinions, or what real people thought — route to Reddit (JSON API first, Apify fallback), YouTube comments, and X before spawning Perplexity/Claude/Gemini web-search agents. Recap journalism is the secondary source, not the primary one.

Sentiment signal triggers (run at Step 0 of Quick / Standard / Extensive):

  • "what did fans / people / the community think (of|about)"
  • "ratings of" / "fan ratings" / "best | worst | favorite (sets | episodes | moments)"
  • "reactions to" / "what people are saying"
  • "is X any good" / "consensus on"
  • Event name + ("last night" | "last weekend" | recent date)

Detection fires → sentiment-mode routing per SourceRoutingProtocol.md. Detection does not fire → standard routing.


Sufficiency Check (Algorithm v6.7.0 Step 0)

Before executing any workflow, verify context sufficiency: do I have what I need to produce a hard-to-vary research artifact, or am I about to speculate? If the question shape and target sources are clear, proceed. If speculating, emit a one-line ambiguity flag and ship best-effort. If clearly insufficient, emit ≤3 questions with proceed override.


Workflow Routing

CRITICAL: For due diligence, company/person background checks, or vetting -> use a dedicated OSINT/entity-investigation skill instead

Workflow Trigger File
QuickResearch Quick/minor research; Perplexity API research (1 Perplexity agent, 1 query) Workflows/QuickResearch.md
StandardResearch Standard research — DEFAULT (3 agents: Claude + Gemini + Perplexity, cross-checked) Workflows/StandardResearch.md
ExtensiveResearch Extensive research (7 explorers + 2 verifiers = 9 agents) Workflows/ExtensiveResearch.md
DeepInvestigation Deep investigation / iterative research / map the [X] landscape (progressive deepening, loop-compatible) Workflows/DeepInvestigation.md
DeepVerifiedResearch Deep verified / fact-checked research — slowest tier, claim-level adversarial verification (see notes below) Workflows/DeepVerifiedResearch.mjs
research.mjs EXPERIMENTAL deterministic port of Standard + Extensive — do NOT route real research here until a smoke run lands (see Mandatory Trigger note) Workflows/research.mjs
Verify Verify research findings / cross-check claims / confidence scoring Workflows/Verify.md
ExtractAlpha Extract alpha / deep analysis / highest-alpha insights Workflows/ExtractAlpha.md
Retrieve Difficulty accessing content (CAPTCHA, bot detection, blocking) Workflows/Retrieve.md
YoutubeExtraction YouTube URL extraction (use fabric -y URL immediately) Workflows/YoutubeExtraction.md
WebScraping Web scraping Workflows/WebScraping.md
ClaudeResearch Claude WebSearch only (free, no API keys) Workflows/ClaudeResearch.md
InterviewResearch Interview preparation (Tyler Cowen style) Workflows/InterviewResearch.md
AnalyzeAiTrends AI trends analysis Workflows/AnalyzeAiTrends.md
Fabric Use Fabric patterns (242+ specialized prompts) Workflows/Fabric.md
Enhance Enhance/improve content Workflows/Enhance.md
ExtractKnowledge Extract knowledge from content Workflows/ExtractKnowledge.md

DeepVerifiedResearch notes: run via Workflow({scriptPath: 'skills/Research/Workflows/DeepVerifiedResearch.mjs', args: {question: '...'}}) (pass args as an OBJECT, never a JSON string). Does NOT replace Extensive — it sits below it. Measured ~150-190s vs Extensive's ~60-90s, because claim-level verification needs one extra serial hop (you can't vote on claims until they're extracted). Reach for it only when claims must be bulletproof: each extracted claim is attacked by three skeptics from different lenses (quote-support, contradiction, source-strength), survives only on a quorum of non-refuting votes (all-abstain never survives), then a written synthesis frames the survivors with [HIGH]/[MED]/[LOW]/[CONFLICT] tags and refuted-claim transparency. Dedup, ranking, vote-counting, and the abstention guard run deterministically in the script. research.mjs is the faster sibling and the place multi-vendor diversity lives (Standard/Extensive rosters + URL verify).


Quick Reference

READ: QuickReference.md for detailed examples and mode comparison.

Trigger Mode Speed
"quick research" 1 Perplexity agent ~10-15s
"do research" 3 agents + cross-check ~30-60s
"extensive research" 7 explorers + 2 verifiers ~60-90s
"deep investigation" Progressive iteration + verification ~3-60min

Verification Architecture

Inspired by Nomad (arXiv:2603.29353). Three layers of verification, zero added latency:

Layer What Where Cost
Self-Verification Each agent verifies own URLs and tags confidence before returning All agents 0s (inside parallel window)
Cross-Check Synthesis step detects conflicts and cross-references findings Standard, Extensive, Deep 2-3s (within synthesis)
Independent Verification Dedicated verifier agents with no access to explorer reasoning Extensive, Deep only 0s (parallel with explorers)

Confidence tags in output: [HIGH] [MED] [LOW] [CONFLICT]

See Workflows/Verify.md for full verification protocol.


Integration

Feeds Into

  • A blog-authoring skill - Research for blog posts
  • A newsletter skill - Research for newsletters
  • A social-post skill - Create posts from research

Uses

  • be-creative - deep thinking for extract alpha
  • OSINT/entity investigation - MANDATORY for company/people comprehensive research
  • BrightData MCP - CAPTCHA solving, advanced scraping
  • Apify MCP - RAG browser, specialized site scrapers

Deep Investigation Mode

Progressive iterative research that builds a persistent knowledge vault. Works in both single-run (one cycle) and iterative mode (Algorithm-driven iterations).

Concept: Broad landscape → discover entities → score importance/effort → deep-dive one at a time → loop until coverage complete.

Domain template packs customize the investigation for specific domains:

  • Templates/MarketResearch.md — Companies, Products, People, Technologies, Trends, Investors
  • Templates/ThreatLandscape.md — Threat Actors, Campaigns, TTPs, Vulnerabilities, Tools, Defenders
  • No template? The workflow creates entity categories dynamically from the landscape research.

Example invocation:

"Do a deep investigation of the AI agent market"
→ Loads MarketResearch.md template
→ Iteration 1: Broad landscape + first entity deep-dive
→ Iterative mode: Each iteration deep-dives the next highest-priority entity
→ Exit: When all CRITICAL/HIGH entities researched + all categories covered

Artifacts persist at ~/.claude/LIFEOS/MEMORY/RESEARCH/{date}_{topic}/ — the vault survives across sessions.

See Workflows/DeepInvestigation.md for full workflow details.


File Organization

Working files (temporary work artifacts): ~/.claude/LIFEOS/MEMORY/WORK/{current_work}/

  • Read ~/.claude/ to get the work_dir value
  • All iterative work artifacts go in the current work item directory
  • This ties research artifacts to the work item for learning and context

History (permanent): ~/.claude/History/research/YYYY-MM/YYYY-MM-DD_[topic]/

Gotchas

  • X/Twitter-URL gate (check before anything else). Machine-checkable precheck: scan the prompt for x\.com|twitter\.com (e.g. rg -q 'x\.com|twitter\.com' on the request text) BEFORE spawning any research agents. X blocks WebFetch and generic scraping, so generic research agents burn turns and return nothing. When the gate fires, do NOT spawn generic agents at the URL — take the first path below that is actually available, and say in the response which path you took and why (a silent skip is a failure):
    1. A dedicated X/Twitter reader skill, if one is installed — it is the highest-fidelity path.
    2. X_BEARER_TOKEN in the environment → read the post via X API v2 directly.
    3. The Apify Twitter actor (skills/Apify/skills/get-user-tweets.ts) or the BrightData ladder, if either is configured.
    4. None of the above → tell the user plainly that X blocks automated reads here and ask them to paste the post text. Then research the substance normally. Research the rest of the request either way — one unreadable X URL never cancels the whole task.
  • Research agents hallucinate URLs. EVERY URL must be verified before delivery. A single broken link is a catastrophic failure.
  • Recap journalism is not fan sentiment. When the question is "what did fans think of X" — press articles invent consensus, fabricate timestamps, and parrot promoter copy. Route to Reddit JSON API + X (via the X-URL gate ladder above) + YouTube first per SourceRoutingProtocol.md. Recap web search is the secondary source for community-sentiment questions, not the primary one. Quick mode can return recap-only and miss the actual fan data — pull Reddit directly rather than waiting to be asked again. Do not repeat.
  • API first, scraper second, web search last. Never invert. For every platform: try the official API path (Reddit JSON, X API v2 if X_BEARER_TOKEN is set, YouTube Data API v3 if YOUTUBE_API_KEY is set) before reaching for Apify or BrightData. Scrapers are fallback for when the API path is unavailable, rate-limited, or doesn't expose the data shape needed (e.g., YouTube transcripts — use fabric -y even when the Data API key is set). The cascade inversion is the recurring failure mode. See SourceRoutingProtocol.md Cascade Priority section for the per-platform table.
  • Reddit JSON API is free and unauth'd — it IS the Tier-1 path for Reddit. Append .json to any thread or listing URL. Set User-Agent: LifeOS-Research/1.0 or Reddit rate-limits the default UA. Apify Reddit scraper is Tier 2 (fallback), not Tier 1.
  • "research" alone = Standard mode (3 agents + cross-check). Never default to Quick. Users saying "research this" expect thorough results.
  • Due diligence, background checks, people lookup → a dedicated OSINT/entity-investigation skill, NOT Research. Research handles general investigation; entity-specific deep investigation belongs to that skill.
  • Don't spawn redundant research agents when you already have the answer in context. If prior work in the session already covers the topic, skip agent spawning.
  • "extract alpha" routes to ExtractAlpha workflow — not the ExtractWisdom skill. Different things.
  • YouTube extraction uses fabric -y URL directly — don't try to scrape YouTube pages with WebFetch.
  • The inverse signal is signal. When pulling fan sentiment, what people hated is as informative as what they loved. Always include a "disappointments" / "Tier C" section.
  • DeepVerifiedResearch.mjs is a Workflow-tool script, not a markdown workflow. Invoke it with the Workflow tool (scriptPath), never by reading it and "doing the steps" — the whole point is that dedup, fetch-budget, vote-counting, and the abstention guard run deterministically in code. Running it spawns many agents + live web calls, so it is opt-in multi-agent: confirm with the principal (or use args.test: true for a small smoke run) rather than firing a full ~30–95-agent run unprompted.
  • Deep-verified voters are native Claude, diverse by lens — NOT by vendor. A 2026-06-02 smoke test proved the external-API LifeOS researchers (Gemini/Perplexity, and the since-removed Grok) do NOT honor the Workflow structured-output contract: schema-forced, they complete without emitting a verdict, so cross-vendor voters all abstained and every claim died 0-0. The fix: voters are native workflow agents (reliable StructuredOutput), made diverse by attack lens (quote-support / contradiction / source-strength). Same lesson applies to the search and fetch stages — keep schema-gated phases on native agents. Multi-vendor diversity belongs in research.mjs (text-returning researchers), not in the schema-gated verification engine. A claim only survives a quorum of valid votes with fewer than the kill threshold refuting; all-abstain does NOT survive (guards the false-survive bug).

Examples

Example 1: Quick lookup

User: "quick research on Hono SSR middleware patterns"
→ Invokes QuickResearch workflow (1 Claude agent)
→ Returns summary with key patterns and links
→ ~10-15 seconds

Example 2: Standard multi-source research

User: "research the current state of AI agent frameworks"
→ Invokes StandardResearch workflow (3 agents: Claude + Gemini + Perplexity, cross-checked)
→ Cross-references findings, confidence-tags, verifies URLs
→ Returns synthesized report with citations
→ ~30-60 seconds

Example 3: Deep investigation

User: "do a deep investigation of the AI agent market"
→ Invokes DeepInvestigation workflow
→ Broad landscape scan → entity discovery → priority scoring → deep-dives
→ Builds persistent knowledge vault in MEMORY/RESEARCH/
→ Loop-compatible for multi-session investigation

Execution Log

After completing any workflow, append a single JSONL entry:

echo '{"ts":"'$(date -u +%Y-%m-%dT%H:%M:%SZ)'","skill":"Research","workflow":"WORKFLOW_USED","input":"8_WORD_SUMMARY","status":"ok|error","duration_s":SECONDS}' >> ~/.claude/LIFEOS/MEMORY/SKILLS/execution.jsonl

Replace WORKFLOW_USED with the workflow executed, 8_WORD_SUMMARY with a brief input description, and SECONDS with approximate wall-clock time. Log status: "error" if the workflow failed.

Version History

  • ce046f2 Current 2026-08-20 12:57

Same Skill Collection

LifeOS/install/skills/ApertureOscillation/SKILL.md
LifeOS/install/skills/ArXiv/SKILL.md
LifeOS/install/skills/Council/SKILL.md
LifeOS/install/skills/CreateCLI/SKILL.md
LifeOS/install/skills/ExtractWisdom/SKILL.md
LifeOS/install/skills/FirstPrinciples/SKILL.md
LifeOS/install/skills/Ideate/SKILL.md
LifeOS/install/skills/IterativeDepth/SKILL.md
LifeOS/install/skills/Loop/SKILL.md
LifeOS/install/skills/Novelty/SKILL.md
LifeOS/install/skills/Optimize/SKILL.md
LifeOS/install/skills/Prompting/SKILL.md
LifeOS/install/skills/RedTeam/SKILL.md
LifeOS/install/skills/RootCauseAnalysis/SKILL.md
LifeOS/install/skills/Science/SKILL.md
LifeOS/install/skills/SecurityMarketData/SKILL.md
LifeOS/install/skills/SystemsThinking/SKILL.md
LifeOS/install/skills/Telos/SKILL.md
LifeOS/install/skills/Upgrade/SKILL.md
LifeOS/install/skills/USMetrics/SKILL.md
LifeOS/install/skills/WorldThreatModel/SKILL.md
LifeOS/install/skills/Aphorisms/SKILL.md
LifeOS/install/skills/Apify/SKILL.md
LifeOS/install/skills/Art/SKILL.md
LifeOS/install/skills/AudioEditor/SKILL.md
LifeOS/install/skills/BeCreative/SKILL.md
LifeOS/install/skills/BiasCheck/SKILL.md
LifeOS/install/skills/BitterPillEngineering/SKILL.md
LifeOS/install/skills/BrightData/SKILL.md
LifeOS/install/skills/CMUX/SKILL.md
LifeOS/install/skills/Cortex/SKILL.md
LifeOS/install/skills/CreateSkill/SKILL.md
LifeOS/install/skills/Daemon/SKILL.md
LifeOS/install/skills/DetectAI/SKILL.md
LifeOS/install/skills/Evals/SKILL.md
LifeOS/install/skills/Fabric/SKILL.md
LifeOS/install/skills/Hardening/SKILL.md
LifeOS/install/skills/HTML/SKILL.md
LifeOS/install/skills/Interceptor/SKILL.md
LifeOS/install/skills/Interview/SKILL.md
LifeOS/install/skills/ISA/SKILL.md
LifeOS/install/skills/LifeOS/SKILL.md
LifeOS/install/skills/LocalIntelligence/SKILL.md
LifeOS/install/skills/Migrate/SKILL.md
LifeOS/install/skills/PrivateInvestigator/SKILL.md
LifeOS/install/skills/Remotion/SKILL.md
LifeOS/install/skills/Sales/SKILL.md
LifeOS/install/skills/SuggestSkills/SKILL.md
LifeOS/install/skills/Teach/SKILL.md

Metadata

Files
0
Version
ce046f2
Hash
8cdc2e04
Indexed
2026-08-20 12:57

Accueil - Wiki
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-08-30 03:51
浙ICP备14020137号-1 $Carte des visiteurs$