Agent skill

Dossier Collect

by ruvnet in ruvnet/ruflo

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

MITAuto-check: notesDevelopment

Install Dossier Collect

skills CLI
$ npx skills add ruvnet/ruflo --skill dossier-collect -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install ruvnet/ruflo dossier-collect --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/ruvnet/ruflo.git skills-src && mkdir -p .claude/skills && cp -r skills-src/plugins/ruflo-goals/skills/dossier-collect .claude/skills/dossier-collect && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
dossier-collect
GitHub stars
74k
Token cost
~1.1k tokens
SKILL.md length
306 words
Files
1
Skills in repo
265
Repo updated
First seen
Licence
MIT

At a glance

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

  • Works in 11 steps: Detect seed type — classify as one of:… → Pick sources — match the source matrix… → Start trajectory — call… → …
  • Tasks that involve Architecture decision records
  • SKILL.md covers When to use, Steps, Output schema (JSON) and Budget discipline, plus 1 more section
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Dossier Collect is an agent skill from ruvnet/ruflo. 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

Its SKILL.md is about 1.1k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Development, covering Architecture decision records and Knowledge graphs. It works with Git and Model Context Protocol. The repository describes itself as: 🌊 The original agent harness. Deploy intelligent multi-player swarms, coordinate autonomous workflows, and build conversational AI systems. Features adaptive memory…. The licence is MIT.

When your agent uses it

  • Tasks that involve Architecture decision records
  • Tasks that involve Knowledge graphs

Example prompts

  • “/dossier-collect”

Requirements

  • Pre-approved tools (allowed-tools): mcp__plugin_ruflo-core_ruflo__memory_store, mcp__plugin_ruflo-core_ruflo__memory_search, mcp__plugin_ruflo-core_ruflo__memory_search_unified, mcp__plugin_ruflo-core_ruflo__agentdb_pattern-search, mcp__plugin_ruflo-core_ruflo__agentdb_pattern-store, mcp__plugin_ruflo-core_ruflo__agentdb_hierarchical-recall, mcp__plugin_ruflo-core_ruflo__embeddings_search, mcp__plugin_ruflo-core_ruflo__hooks_intelligence_pattern-search, mcp__plugin_ruflo-core_ruflo__hooks_intelligence_pattern-store, mcp__plugin_ruflo-core_ruflo__hooks_intelligence_trajectory-start, mcp__plugin_ruflo-core_ruflo__hooks_intelligence_trajectory-step, mcp__plugin_ruflo-core_ruflo__hooks_intelligence_trajectory-end, mcp__plugin_ruflo-core_ruflo__task_create, Bash, WebSearch, WebFetch, Read, Write, Grep, Glob

Workflow steps

11 steps, taken from the first numbered list in SKILL.md.

  1. Detect seed type — classify as one of: username (handle), file (path), symbol (code identifier), adr (ADR-NNN), url, or concept (free text).
  2. Pick sources — match the source matrix to the seed type. Default: all applicable.
  3. Start trajectory — call mcpplugin_ruflo-core_ruflohooks_intelligence_trajectory-start with task dossier:.
  4. Round 0 fan-out — issue ALL source queries in ONE message. Examples
  5. Extract entities — from each hit, surface entities (people, repos, files, adrs, urls, terms). Lightweight regex + heuristics; no LLM…
  6. De-dup — drop entities already in the dossier. If --exact is unset, also drop entities whose embedding cosine similarity ≥ 0.92 to an…
  7. Round k recursion — for each new entity (capped at --max-breadth per source), recurse to step 4 until depth ≥ --max-depth OR budget…
  8. Aggregate — build { nodes, edges } graph. Each node carries { id, type, attrs, sources: [...] }. Each edge carries { from, to, kind…
  9. Render artifacts
  10. Persist — mcpplugin_ruflo-core_ruflomemory_store namespace dossier key .
  11. End trajectory — mcpplugin_ruflo-core_ruflohooks_intelligence_trajectory-end with success status.

What it can do on your machine

Read from SKILL.md and the folder at commit 6c04654. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves these tools, so the agent can use them without asking each time:

    • mcp__plugin_ruflo-core_ruflo__memory_store
    • mcp__plugin_ruflo-core_ruflo__memory_search
    • mcp__plugin_ruflo-core_ruflo__memory_search_unified
    • mcp__plugin_ruflo-core_ruflo__agentdb_pattern-search
    • mcp__plugin_ruflo-core_ruflo__agentdb_pattern-store
    • mcp__plugin_ruflo-core_ruflo__agentdb_hierarchical-recall
    • mcp__plugin_ruflo-core_ruflo__embeddings_search
    • mcp__plugin_ruflo-core_ruflo__hooks_intelligence_pattern-search
    • mcp__plugin_ruflo-core_ruflo__hooks_intelligence_pattern-store
    • mcp__plugin_ruflo-core_ruflo__hooks_intelligence_trajectory-start

    …and 10 more on the same allowed-tools line.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md (its code samples are json).

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Dossier Collect loads about 1.1k tokens when it runs. Until then it costs about 45 tokens; SKILL.md has 306 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~45
When it runs · the whole SKILL.md, loaded when a task matches
~1.1k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check: notes

The automated check noted patterns worth knowing about, such as sudo or a known installer.

  • NotePre-approves every shell command (allowed-tools: Bash)SKILL.md
    allowed-tools: mcp__plugin_ruflo-core_ruflo__memory_store, mcp__plugin_ruflo-core_ruflo__memory_search, mcp__plugin

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from ruvnet/ruflo at commit 6c04654, republished under its MIT licence (© ruvnet). 306 words, ~1,102 tokens.

Download SKILL.mdSave it as .claude/skills/dossier-collect/SKILL.md (or your agent's skills folder).
name
dossier-collect
description
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
allowed-tools
mcp__plugin_ruflo-core_ruflo__memory_store, mcp__plugin_ruflo-core_ruflo__memory_search, mcp__plugin_ruflo-core_ruflo__memory_search_unified, mcp__plugin_ruflo-core_ruflo__agentdb_pattern-search, mcp__plugin_ruflo-core_ruflo__agentdb_pattern-store, mcp__plugin_ruflo-core_ruflo__agentdb_hierarchical-recall, mcp__plugin_ruflo-core_ruflo__embeddings_search, mcp__plugin_ruflo-core_ruflo__hooks_intelligence_pattern-search, mcp__plugin_ruflo-core_ruflo__hooks_intelligence_pattern-store, mcp__plugin_ruflo-core_ruflo__hooks_intelligence_trajectory-start, mcp__plugin_ruflo-core_ruflo__hooks_intelligence_trajectory-step, mcp__plugin_ruflo-core_ruflo__hooks_intelligence_trajectory-end, mcp__plugin_ruflo-core_ruflo__task_create, Bash, WebSearch, WebFetch, Read, Write, Grep, Glob
argument-hint
<seed> [--max-depth N] [--max-breadth N] [--sources s1,s2] [--budget-usd N] [--exact]

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

  1. Detect seed type — classify as one of: username (handle), file (path), symbol (code identifier), adr (ADR-NNN), url, or concept (free text).
  2. Pick sources — match the source matrix to the seed type. Default: all applicable.
  3. Start trajectory — call mcp__plugin_ruflo-core_ruflo__hooks_intelligence_trajectory-start with task dossier:<slug>.
  4. Round 0 fan-out — issue ALL source queries in ONE message. Examples:
    • For username: WebSearch, WebFetch on github.com/<user>, mcp__plugin_ruflo-core_ruflo__memory_search_unified
    • For adr: Read ADR file, Grep references, mcp__plugin_ruflo-core_ruflo__memory_search namespace adr
    • For symbol: Grep, Glob, mcp__plugin_ruflo-core_ruflo__embeddings_search
  5. Extract entities — from each hit, surface entities (people, repos, files, adrs, urls, terms). Lightweight regex + heuristics; no LLM extraction unless ambiguous.
  6. De-dup — drop entities already in the dossier. If --exact is unset, also drop entities whose embedding cosine similarity ≥ 0.92 to an existing node.
  7. Round k recursion — for each new entity (capped at --max-breadth per source), recurse to step 4 until depth ≥ --max-depth OR budget exhausted.
  8. Aggregate — build { nodes, edges } graph. Each node carries { id, type, attrs, sources: [...] }. Each edge carries { from, to, kind, source, confidence }.
  9. 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>/
  10. Persist — mcp__plugin_ruflo-core_ruflo__memory_store namespace dossier key <slug>.
  11. End trajectory — mcp__plugin_ruflo-core_ruflo__hooks_intelligence_trajectory-end with success status.

Output schema (JSON)

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-usd is set, track approximate cost via trajectory. On exhaustion: emit partial dossier with truncated: true and 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

© ruvnet, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in plugins/ruflo-goals/skills/dossier-collect of ruvnet/ruflo.

Open the folder on GitHubat commit 6c04654

Compare with similar skills

Dossier Collect next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Dossier Collect compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Dossier Collect this skillruvnet/ruflo74k—~1.1kAutomated safety check: NotesMIT
Forgetful Repo EncodingScottRBK/forgetful301—~1kAutomated safety check: PassMIT
Codebase Knowledge Graph Q&AEgonex-AI/Understand-Anything86k—~1.2kAutomated safety check: PassMIT
Understand Diff AnalysisEgonex-AI/Understand-Anything86k—~1.4kAutomated safety check: PassMIT
Understand ExplainEgonex-AI/Understand-Anything86k—~1.3kAutomated safety check: PassMIT
Explore Codebase with Graphtirth8205/code-review-graph32k1 repos~335Automated safety check: PassMIT

Similar skills

  • Forgetful Repo Encoding

    ScottRBK/forgetful

    Encodes a repository into the Forgetful knowledge base as a project, entities, atomic memories and documents, so a second run updates instead of duplicating.

    301 GitHub stars~1k tokensUpdated today
    Knowledge ManagementAuto-check passed
  • Codebase Knowledge Graph Q&A

    Egonex-AI/Understand-Anything

    Answers questions about a codebase by searching a prebuilt knowledge graph of its files, functions, classes and dependencies, not by rereading every source file.

    86k GitHub stars~1.2k tokensUpdated yesterday
    DevelopmentAuto-check passed
  • Understand Diff Analysis

    Egonex-AI/Understand-Anything

    Reads your git changes or a pull request against a prebuilt knowledge graph of the project to explain what changed, which components are affected and what is risky.

    86k GitHub stars~1.4k tokensUpdated yesterday
    DevelopmentAuto-check passed
  • Understand Explain

    Egonex-AI/Understand-Anything

    Gives an in-depth explanation of one file, function or module by reading the project's knowledge graph and checking that the graph is still fresh.

    86k GitHub stars~1.3k tokensUpdated yesterday
    DevelopmentAuto-check passed
  • Explore Codebase with Graph

    tirth8205/code-review-graph

    Navigates a codebase through the code-review-graph MCP tools: architecture overview, symbol search, caller and callee tracing, flows and oversized functions.

    32k GitHub starsUsed in 1 repo~335 tokens
    DevelopmentAuto-check passed
  • Compass

    crabbuild/compass

    A skill your agent uses for graph-first AI coding sessions and repository analysis: session initialization, architecture maps, dependency or call-graph tracing, symbol and repository search…

    171 GitHub stars~5k tokensUpdated 7 days ago
    DevelopmentAuto-check passed

More from ruvnet/ruflo

All 265 skills in this repo
  • Stores, searches, and retrieves successful patterns with HNSW-indexed semantic search so agents can reuse past solutions instead of relearning them.

    74k GitHub starsUsed in 2 repos~830 tokens
    Auto-check passed
  • Runs claude-flow CLI security scans for input validation, path traversal, SQL injection, XSS, hardcoded secrets and known CVEs, and writes an audit report.

    74k GitHub starsUsed in 2 repos~823 tokens
    Auto-check passed
  • Applies the SPARC method (specification, pseudocode, architecture, refinement, completion) with 17 specialized modes and multi-agent orchestration, from research to deployment.

    74k GitHub starsUsed in 2 repos~829 tokens
    Auto-check passed
  • Coordinates a hierarchical swarm of specialized agents through the claude-flow CLI for work that spans several files or modules at once.

    74k GitHub starsUsed in 2 repos~779 tokens
    Auto-check passed
  • Sets up and drives Ruflo, an npm-installed orchestration layer for multi-agent swarms, persistent memory, routing, hooks and its MCP tool catalog.

    74k GitHub starsUsed in 1 repo~975 tokens
    Auto-check passed
  • Agent Coordination

    ruvnet/ruflo

    Reference for spawning, listing, monitoring and stopping agents with claude-flow commands, with agent type families, routing codes and coordination tips.

    74k GitHub starsUsed in 2 repos~519 tokens
    Auto-check passed

Questions about Dossier Collect

What does Dossier Collect 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. Dossier Collect is an agent skill from ruvnet/ruflo.

When should I use Dossier Collect?

Dossier Collect fits situations like: tasks that involve Architecture decision records; tasks that involve Knowledge graphs.

How do I install Dossier Collect in Claude Code?

Run `npx skills add ruvnet/ruflo --skill dossier-collect -a claude-code`. Or copy the skill folder (plugins/ruflo-goals/skills/dossier-collect in ruvnet/ruflo) into .claude/skills/dossier-collect in your project. Claude Code loads it when a task matches its description.

How do I install Dossier Collect in Codex?

Run `npx skills add ruvnet/ruflo --skill dossier-collect -a codex`. Or copy the skill folder (plugins/ruflo-goals/skills/dossier-collect in ruvnet/ruflo) into .agents/skills/dossier-collect in your project. Codex loads it when a task matches its description.

Can I use Dossier Collect in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add ruvnet/ruflo --skill dossier-collect -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/dossier-collect, .gemini/skills/dossier-collect, .github/skills/dossier-collect and .opencode/skills/dossier-collect in your project.

What does Dossier Collect need to run?

SKILL.md names no scripts, command-line tools or credentials: Dossier Collect is instructions for the agent only. Its frontmatter pre-approves these tools: mcp__plugin_ruflo-core_ruflo__memory_store, mcp__plugin_ruflo-core_ruflo__memory_search, mcp__plugin_ruflo-core_ruflo__memory_search_unified, mcp__plugin_ruflo-core_ruflo__agentdb_pattern-search, mcp__plugin_ruflo-core_ruflo__agentdb_pattern-store, mcp__plugin_ruflo-core_ruflo__agentdb_hierarchical-recall, mcp__plugin_ruflo-core_ruflo__embeddings_search, mcp__plugin_ruflo-core_ruflo__hooks_intelligence_pattern-search, mcp__plugin_ruflo-core_ruflo__hooks_intelligence_pattern-store, mcp__plugin_ruflo-core_ruflo__hooks_intelligence_trajectory-start, mcp__plugin_ruflo-core_ruflo__hooks_intelligence_trajectory-step, mcp__plugin_ruflo-core_ruflo__hooks_intelligence_trajectory-end, mcp__plugin_ruflo-core_ruflo__task_create, Bash, WebSearch, WebFetch, Read, Write, Grep, Glob.

Does Dossier Collect access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Dossier Collect safe to install?

Our automated static check of SKILL.md found notes only (pre-approves every shell command (allowed-tools: bash)), nothing it rates as a warning. It is not a guarantee. Review the folder before installing.

What licence does Dossier Collect use?

Dossier Collect is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Dossier Collect use?

About 1.1k tokens (SKILL.md is roughly 4.4k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Dossier Collect?

Skills that share tags, products or a category with Dossier Collect: Forgetful Repo Encoding (ScottRBK/forgetful, 301 stars), Codebase Knowledge Graph Q&A (Egonex-AI/Understand-Anything, 86k stars), Understand Diff Analysis (Egonex-AI/Understand-Anything, 86k stars) and Understand Explain (Egonex-AI/Understand-Anything, 86k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Dossier Collect?

ruvnet (a GitHub user) maintains it in ruvnet/ruflo, which has 74,222 GitHub stars. The repository holds 265 skills in this directory. The repository was last updated on October 10, 2026.

Source: ruvnet/ruflo on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.