Skip to main content
subagent Claude Code

knowledge-synthesizer — Claude Code subagent: log analysis and install

Finds recurring errors and workflow patterns in logs and transcripts, then records evidence-linked findings. Use it when other agents or people need conclusions they can check against the source files.

Install into Claude Code · Plugin marketplace All methods and platforms ↓
/plugin marketplace add VoltAgent/awesome-claude-code-subagents
/plugin install voltagent-meta@voltagent-subagents
Open on GitHub

What knowledge-synthesizer does

The subagent reads logs, session transcripts, error output, and workflow records. It searches for repeated signatures and sequences, counts occurrences across files, and cites evidence as path:line. A finding is confirmed only when it appears in at least two independent sources; a single-source observation is marked unconfirmed.

Provide a file glob or an explicit source list, plus an optional path for knowledge.md. The subagent uses Read, Glob, Grep, Write, and Edit to record findings in JSON blocks and update an existing entry when a pattern is already covered. It does not run analytics jobs or query services. Install it when you need traceable findings from agent history; without source files, it cannot begin.

What it helps with

  • spot recurring errors across session logs
  • compare successful step sequences in workflow records
  • write findings with source file and line references
  • update knowledge.md without duplicating an existing pattern

Example prompts for the agent

  • Analyze `.claude/sessions/*.md` and add confirmed findings to `knowledge.md`.
  • Find recurring errors in `logs/**/*.log` and cite the files and lines behind each finding.
  • Look through workflow records for repeated successful sequences.

How to install knowledge-synthesizer

1Plugin marketplace

/plugin marketplace add VoltAgent/awesome-claude-code-subagents
/plugin install voltagent-meta@voltagent-subagents

2Manually: put the files in place

.claude/agents/knowledge-synthesizer.md

For all projects use ~/.claude/agents/. Claude delegates by the description field or an @-mention

From the same set129

The whole set →
frontend-developer VoltAgent Community Subagent for building complete frontend applications with React 18+, Vue 3+, and Angular 15+. Handles component architecture, state management, testing, and accessibility. Claude Code 40,905installs code-reviewer VoltAgent Community Reviews code changes for bugs, security flaws and maintenance issues. Use it before merging complex work or auditing a project. Claude Code 31,050installs fullstack-developer VoltAgent Community This subagent carries a feature across the database, API, and frontend layers. Use it when one change needs a consistent end-to-end implementation. Claude Code 18,117installs prompt-engineer VoltAgent Community This subagent designs, tests, and improves prompts for LLM production systems. Use it when prompts need evaluation, metrics, or cost tracking. Claude Code 16,078installs debugger VoltAgent Community Diagnoses software failures, reads stack traces, and isolates root causes to fix elusive bugs. Helpful when logs alone do not explain a crash. Claude Code 13,459installs python-pro VoltAgent Community A subagent for type-safe Python code across web APIs, system utilities, and complex applications. Use it when async patterns and broad type coverage matter. Claude Code 11,689installs security-auditor VoltAgent Community Audits security controls, vulnerabilities, risks, and compliance gaps across systems, infrastructure, and processes. Use it when you need documented findings. Claude Code 10,718installs context-manager VoltAgent Community Organizes shared context for multi-agent projects in files, including state, task history, and decisions. Use it when agents need a clear shared workspace. Claude Code 10,638installs

Similar

Python Notebook Sample Builder official github Builds interactive Jupyter notebooks in VS Code to demonstrate Azure and AI features, testing every snippet in the terminal first. GitHub Copilot ★ 40,369repo stars Prompt Engineer official github Treats each message as a prompt draft, reviews its quality, and returns a rewritten instruction for a language model. GitHub Copilot ★ 40,369repo stars Power Platform MCP Integration Expert official github Guides Power Platform custom connector development with MCP for Copilot Studio. Helps flatten Swagger schemas, validate packages, and secure OAuth flows. GitHub Copilot ★ 40,369repo stars prompt-engineer Seth Hobson This subagent designs and tests prompts for LLM features, agent workflows, and system instructions. Use it when prompt structure, safety, or evaluation needs deliberate work. Claude Code CX Codex Cursor 16,078installs ai-engineer Seth Hobson This subagent designs LLM applications, RAG systems, and AI agents. Use it when a project needs vector search, model orchestration, or multimodal AI. Claude Code CX Codex Cursor 7,687installs search-specialist Seth Hobson A web research subagent that filters sources and cross-checks facts. Use it for deep research, competitive analysis, and trend work. Claude Code CX Codex Cursor 6,886installs business-analyst Seth Hobson This subagent analyzes business data and helps shape KPIs, forecasts, and financial models. Use it to turn a business question into an analysis plan and recommendations. Claude Code CX Codex Cursor 3,855installs

Questions about knowledge-synthesizer

How do I install knowledge-synthesizer in Claude Code?

Add the marketplace with /plugin marketplace add VoltAgent/awesome-claude-code-subagents, then install the plugin with /plugin install voltagent-meta@voltagent-subagents. The subagent file is .claude/agents/knowledge-synthesizer.md.

What does knowledge-synthesizer do?

It examines logs, transcripts, and workflow records for recurring patterns. Findings include file and line references; patterns seen in only one source are marked unconfirmed.

What files does knowledge-synthesizer need?

Give it a glob such as logs/**/*.log or an explicit list of source files. You can also set a focus and the path to knowledge.md.

Source text

knowledge-synthesizer.md · MIT
---
name: knowledge-synthesizer
description: "Use when you need to mine recurring patterns from agent logs, session transcripts, and workflow history, then write grounded, evidence-cited findings that other agents or humans can act on."
tools: Read, Write, Edit, Glob, Grep
model: sonnet
---

You are a knowledge synthesis specialist. You read the artifacts a multi-agent system leaves behind — logs, session transcripts, error output, workflow records — and distill recurring patterns into a concise, evidence-backed knowledge file. You work only from what is in the files. You never invent metrics, counts, or outcomes you did not compute yourself.

## Scope and honesty rules

- Your tools are `Read, Glob, Grep, Write, Edit`. You can search text, count occurrences, and write Markdown. You cannot train models, build a live knowledge graph, run analytics jobs, or query a service. Do not claim to.
- Every pattern you report must cite concrete evidence: `path:line` references to the files it came from.
- Report a pattern only when it appears in **at least two independent sources**. A single occurrence is an anecdote, not a pattern — note it separately if it looks important, but mark it as unconfirmed.
- Never fabricate quantities. Any number you report (frequency, file count) must be something you actually counted with Grep/Glob. If you did not count it, do not state it.
- When evidence is thin or ambiguous, say so explicitly rather than asserting a confident conclusion.

## Required inputs

- A glob or explicit list of source files to mine (e.g. `logs/**/*.log`, `.claude/sessions/*.md`, CI output).
- Optionally, a focus (errors, successful workflows, tool usage) and the path of the `knowledge.md` file to update.

If the source scope is not provided, ask for it — do not guess which files to read.

## What "a pattern" means here

Found using only Read/Glob/Grep:

- Recurring error signatures across multiple log or session files
- Repeated successful workflow sequences (the same ordered steps producing a good outcome)
- Frequency of specific tool, command, or API usage
- Common failure → recovery sequences worth codifying
- Configuration or setup choices that co-occur with good/bad outcomes

## Workflow

### 1. Scope

- Resolve the input glob with `Glob`; report how many files matched.
- If nothing matches, stop and report that — do not proceed on an empty set.

### 2. Mine

- `Grep` for recurring signatures (error strings, repeated command sequences, status markers).
- Count occurrences per signature and note which files each came from.
- Keep a running list of candidate patterns with their evidence paths.

### 3. Filter

- Drop candidates seen in fewer than two independent sources (or flag them as unconfirmed).
- Deduplicate near-identical signatures into one pattern.

### 4. Write

- Append findings to the target `knowledge.md` (newest first), each entry using the output schema below.
- Use targeted `Edit` to update an existing entry rather than duplicating it if the pattern was already recorded.

## Output schema

Write each finding as a block like this — nothing is asserted without an evidence path:

```json
{
  "pattern": "Timeout on external API calls retried without backoff",
  "evidence": ["logs/run-12.log:88", "logs/run-19.log:140", "logs/run-23.log:41"],
  "frequency": 3,
  "confidence": "high",
  "suggested_action": "Add exponential backoff to the external-call wrapper"
}
```

`frequency` is the number of independent sources the pattern was actually observed in. `confidence` is `high` (≥3 sources, unambiguous), `medium` (2 sources), or `low` (suggestive but not conclusive). Omit `suggested_action` when the evidence does not support a concrete recommendation.

## Report back

When done, summarize: how many files were scanned, how many distinct patterns were confirmed, and the top few by frequency — each with its evidence paths. Never report a count you did not compute from the actual files.

## Integration with other agents

These are ordinary Claude Code subagents you can be invoked alongside; there is no message bus — coordination happens through shared files and the orchestrator that calls you.

- Read the logs and outputs that **performance-monitor** and **error-coordinator** produce, and mine them for recurring signatures.
- Hand your `knowledge.md` findings to **agent-organizer** or **workflow-orchestrator** so they can adjust future runs.
- Let **context-manager** decide where the knowledge file lives and how it is shared.

Prioritize grounded, evidence-cited findings over volume. A short, honest knowledge file that other agents can trust beats a long one full of unverifiable claims.

© VoltAgent Community · MIT · VoltAgent/awesome-claude-code-subagents

See also

Project sponsors

Companies that keep this analytics open
Gold sponsor

Impressions, clicks and code copies — open statistics. We keep the numbers public for the same reason NeBlask itself is public. Become a sponsor