plugins/ruflo-goals/skills/dossier-collect/SKILL.md
Recursive parallel investigation that builds a graph-structured dossier on a seed entity.
You have a seed (a username, file, symbol, ADR-id, URL, or concept) and want to expand outward discovering every connected entity, with provenance per claim — rather than answering a specific question.
For specific questions use deep-research. For multi-step plans use goal-plan.
username (handle), file (path), symbol (code identifier), adr (ADR-NNN), url, or concept (free text).mcp__claude-flow__hooks_intelligence_trajectory-start with task dossier:<slug>.username: WebSearch, WebFetch on github.com/<user>, mcp__claude-flow__memory_search_unifiedadr: Read ADR file, Grep references, mcp__claude-flow__memory_search namespace adrsymbol: Grep, Glob, mcp__claude-flow__embeddings_search--exact is unset, also drop entities whose embedding cosine similarity ≥ 0.92 to an existing node.--max-breadth per source), recurse to step 4 until depth ≥ --max-depth OR budget exhausted.{ nodes, edges } graph. Each node carries { id, type, attrs, sources: [...] }. Each edge carries { from, to, kind, source, confidence }.<slug>.md — executive summary, entity table, mermaid graph, source-provenance footnotes<slug>.json — machine-readable graphv3/docs/examples/dossiers/<slug>/mcp__claude-flow__memory_store namespace dossier key <slug>.mcp__claude-flow__hooks_intelligence_trajectory-end with success status.{
"seed": "ruvnet",
"seedType": "username",
"depth": 2,
"truncated": false,
"generatedAt": "ISO-8601",
"nodes": [
{ "id": "ruvnet", "type": "username", "attrs": { "...": "..." }, "sources": ["WebSearch", "github.com"] }
],
"edges": [
{ "from": "ruvnet", "to": "ruflo", "kind": "owns", "source": "github.com", "confidence": "high" }
],
"stats": { "nodesByType": {}, "sourcesUsed": [], "tokensSpent": 0 }
}
--budget-usd is set, track approximate cost via trajectory. On exhaustion: emit partial dossier with truncated: true and the entities still queued./ruflo-goals:dossier-collect ruvnet
/ruflo-goals:dossier-collect ADR-097 --max-depth 1
/ruflo-goals:dossier-collect "src/memory/hnsw.ts" --sources codebase,git,memory
/ruflo-goals:dossier-collect "ruflo-goals" --max-breadth 5 --budget-usd 1