/prometheus-research-skills:stage-04-collectfrom prometheus-research-skills
Deep research Stage 04 — Collect. Indexes content chunks from Stage 03 into surreal-memory as ResearchSource entities. Extracts key claims per chunk for downstream verification and graph building.
Ships in prometheus-research-skills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Index all retrieved content chunks into surreal-memory as structured entities. Extract key claims from each chunk. Produce the indexed source registry that Stage 05 uses for credibility verification and Stage 07 uses for graph building.
| Field | Type | Description |
|---|---|---|
chunks | object[] | Content chunks from Stage 03 |
job_id | string | Research job identifier for scoping |
| Field | Type | Description |
|---|---|---|
source_registry | object[] | {url, entity_id, claims[], chunk_ids[]} per source |
indexed_count | int | Sources successfully indexed |
claim_count | int | Total claims extracted |
Group chunks by source URL — aggregate all chunks from the same domain into a single source entity.
Create surreal-memory entities — for each unique source, call:
create_entity(
name = <url>,
entityType = "ResearchSource",
observations = [
"job_id:<job_id>",
"domain:<domain>",
"chunk_count:<n>",
"retrieved_at:<timestamp>"
]
)
Extract claims — for each chunk, identify 1–5 factual claims (statements that can be true or false, not opinions). Store claims as additional observations on the entity.
Handle surreal-memory unavailability — if surreal-memory MCP is not
connected, store the source registry in <job_id>/sources/registry.json
on disk. Pipeline continues; cross-session querying will not be available.
Write registry — emit <job_id>/sources/registry.json for Stages 05–07.
Primary: surreal-memory MCP (create_entity, add_observations)
Fallback: disk-based JSON registry at <job_id>/sources/registry.json
Entity type: ResearchSource
Claim relation type: supports (created in Stage 07)
Input chunk: { "url": "https://qdrant.tech/benchmarks/", "text": "Qdrant achieves 98.5% recall..." }
surreal-memory call:
create_entity(
name="https://qdrant.tech/benchmarks/",
entityType="ResearchSource",
observations=["job_id:vdb-rag-001", "domain:qdrant.tech", "claim:98.5% recall at 1ms p99"]
)
What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
11 skills in this plugin
/deep-research10-stage deep research pipeline: Planner → Search → Retrieve → Collect → Verify → Resolve → Graph → Cite → Report → Export. Driven by a stage-contract driver that validates every stage's artifacts, checkpoints each boundary, and resumes. Produces persistent research packages (OKF-aligned knowledge assets) with labelled claims, a provenance sidecar, citations, confidence scores, knowledge graphs, and contradiction tracking. Integrates with surreal-memory, liter-llm, sycophancy-correction, and Feynman learning skills. Supersedes disposable report generation with structured knowledge infrastructure.
/stage-01-plannerDeep research Stage 01 — Planner. Decomposes a research query into structured sub-questions, a search strategy, and a token budget. Produces the research plan that drives all subsequent stages.
/stage-02-searchDeep research Stage 02 — Search. Executes web searches for each sub-question from the research plan. Deduplicates URLs, filters low-quality domains, and produces a ranked source list for Stage 03 retrieval.
/stage-03-retrieveDeep research Stage 03 — Retrieve. Fetches full page content for each source URL from Stage 02 and chunks it into retrievable segments. Handles PDF, HTML, and structured data formats. Outputs content chunks for Stage 04 indexing.
/stage-05-verifyDeep research Stage 05 — Verify. Scores each source for credibility using a 5-dimension rubric. Applies sycophancy-correction bias detection to source framing. Filters low-credibility sources before graph building.
/stage-06-resolveDeep research Stage 06 — Resolve. Detects contradictions between source claims and resolves them using structured strategies (authority, recency, consensus). Escalates to pmpo-elicit when contradictions cannot be resolved autonomously.
npx claudepluginhub prometheus-ags/prometheus-skill-system --plugin prometheus-research-skills2 plugins in one repository ship this exact skill · first indexed Nov 27, 2026