
dossier-collect
Build a graph-structured dossier on a seed entity via parallel fan-out + recursive expansion across web, memory, knowledge-graph, codebase, ADR index, and git intel
- Installs
- 701
- Last 24h
- —
- Trending rank
- —
- Security
- Not audited
Install
Works with every agent the skills CLI supports.
npx skills add https://github.com/ruvnet/ruflo --skill dossier-collect- 01
Install
Run the command in your project. The CLI asks which agents to install for.
- 02
Describe the task
Ask your agent for something this skill covers. It loads dossier-collect automatically when relevant.
- 03
Review the result
The agent follows the SKILL.md steps, scripts and references bundled with the skill.
SKILL.md
The instructions your agent reads when the skill is triggered.
Dossier Collect
Recursive parallel investigation that builds a graph-structured dossier on a seed entity.
When to use
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.
Steps
- Detect seed type — classify as one of:
username(handle),file(path),symbol(code identifier),adr(ADR-NNN),url, orconcept(free text). - Pick sources — match the source matrix to the seed type. Default: all applicable.
- Start trajectory — call
mcp__plugin_ruflo-core_ruflo__hooks_intelligence_trajectory-startwith taskdossier:<slug>. - Round 0 fan-out — issue ALL source queries in ONE message. Examples:
- For
username:WebSearch,WebFetchon github.com/<user>,mcp__plugin_ruflo-core_ruflo__memory_search_unified - For
adr:ReadADR file,Grepreferences,mcp__plugin_ruflo-core_ruflo__memory_searchnamespaceadr - For
symbol:Grep,Glob,mcp__plugin_ruflo-core_ruflo__embeddings_search
- For
- Extract entities — from each hit, surface entities (people, repos, files, adrs, urls, terms). Lightweight regex + heuristics; no LLM extraction unless ambiguous.
- De-dup — drop entities already in the dossier. If
--exactis unset, also drop entities whose embedding cosine similarity ≥ 0.92 to an existing node. - Round k recursion — for each new entity (capped at
--max-breadthper source), recurse to step 4 until depth ≥--max-depthOR budget exhausted. - Aggregate — build
{ nodes, edges }graph. Each node carries{ id, type, attrs, sources: [...] }. Each edge carries{ from, to, kind, source, confidence }. - Render artifacts:
<slug>.md— executive summary, entity table, mermaid graph, source-provenance footnotes<slug>.json— machine-readable graph- Default location:
v3/docs/examples/dossiers/<slug>/
- Persist —
mcp__plugin_ruflo-core_ruflo__memory_storenamespacedossierkey<slug>. - End trajectory —
mcp__plugin_ruflo-core_ruflo__hooks_intelligence_trajectory-endwith success status.
Output schema (JSON)
{
"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 discipline
- If
--budget-usdis set, track approximate cost via trajectory. On exhaustion: emit partial dossier withtruncated: trueand the entities still queued. - BFS expansion only — finish round k before round k+1.
- Never silently truncate. Always mark and record what was skipped.
Examples
/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
FAQ
What does the dossier-collect skill do?
Build a graph-structured dossier on a seed entity via parallel fan-out + recursive expansion across web, memory, knowledge-graph, codebase, ADR index, and git intel
How do I install dossier-collect?
Run npx skills add https://github.com/ruvnet/ruflo --skill dossier-collect in your project. The skills CLI detects the agents you use and copies the skill into the right folder. For Claude Code you can also place the skill folder at ~/.claude/skills/dossier-collect/ (personal) or .claude/skills/dossier-collect/ (project).
Which AI agents can use dossier-collect?
Any agent that supports the open Agent Skills format (a folder with a SKILL.md file), including Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, Windsurf, Cline, OpenCode and more.
Is dossier-collect safe to install?
No partner security audit is available yet. Skills can run commands and scripts, so read the SKILL.md and any bundled files before installing.
Who maintains dossier-collect?
It is published by ruvnet in ruvnet/ruflo. It has 701 recorded installs.
More from ruvnet/ruflo
swarm-orchestration
ruvnet/ruflo
Multi-agent swarm coordination for complex tasks. Uses hierarchical topology with specialized agents to break down and execute complex work across multiple files and modules. Use when: 3+ files need changes, new feature implementation, cross-module refactoring, API changes with tests, security-related changes, performance optimization across codebase, database schema changes. Skip when: single file edits, simple bug fixes (1-2 lines), documentation updates, configuration changes, quick exploration.
agent-arch-system-design
ruvnet/ruflo
Agent skill for arch-system-design - invoke with $agent-arch-system-design
agent-workflow
ruvnet/ruflo
Agent skill for workflow - invoke with $agent-workflow
security-audit
ruvnet/ruflo
Comprehensive security scanning and vulnerability detection. Includes input validation, path traversal prevention, CVE detection, and secure coding pattern enforcement. Use when: authentication implementation, authorization logic, payment processing, user data handling, API endpoint creation, file upload handling, database queries, external API integration. Skip when: read-only operations on public data, internal development tooling, static documentation, styling changes.
github-project-management
ruvnet/ruflo
Comprehensive GitHub project management with swarm-coordinated issue tracking, project board automation, and sprint planning
Popular code quality & workflow skills
grill-me
mattpocock/skills
A relentless interview to sharpen a plan or design.
improve-codebase-architecture
mattpocock/skills
Scan a codebase for deepening opportunities, present them as a visual HTML report, then grill through whichever one you pick.
handoff
mattpocock/skills
Compact the current conversation into a handoff document for another agent to pick up.
domain-modeling
mattpocock/skills
Build and sharpen a project's domain model. Use when discussing codebase terminology, writing or editing a GLOSSARY.md, or recording or editing an ADR.
codebase-design
mattpocock/skills
Shared vocabulary for designing deep modules. Use when the user wants to design or improve a module's interface, find deepening opportunities, decide where a seam goes, make code more testable or AI-navigable, or when another skill needs the deep-module vocabulary.
diagnosing-bugs
mattpocock/skills
Diagnosis loop for hard bugs and performance regressions. Use when the user says "diagnose"/"debug this", or reports something broken/throwing/failing/slow.