Skip to main content
subagent CX Codex

context-synthesizer — Claude Code subagent: usage and setup

context-synthesizer synthesizes multidimensional context across task constraints, domain patterns, and past execution memory. Helps maintain clear situational awareness during complex execution.

no license ★ 850 updated 2026-10-26

Install into Claude Code · Manually: put the files in place All methods and platforms ↓
.claude/agents/context-synthesizer.md
Open on GitHub

What context-synthesizer does

This subagent aggregates distinct information layers: the immediate task with its constraints, domain-level practices, agent state, and historical execution records. Lifecycle hooks invoke agentic-flow through npx before and after execution to query and update the reasoningbank storage.

Relevance filtering uses weighted scoring across four factors: task alignment accounts for 40%, reliability takes 25%, actionability gets 20%, and recency contributes 15%. Items below the 0.6 threshold get pruned, keeping at most 20 entries per category to avoid context bloat.

Without Node.js and an accessible npx binary in the environment, the pre- and post-execution hooks will fail during memory retrieval.

What it helps with

  • Consolidate fragmented task requirements and domain knowledge into one brief
  • Filter out irrelevant historical memories using weighted scoring criteria
  • Retrieve past failure modes and patterns from reasoningbank
  • Prepare structured risk warnings and execution strategies for peer agents

Example prompts for the agent

  • Synthesize context for refactoring the authentication layer using past project memories.
  • Gather domain best practices and environmental constraints before tackling this migration.
  • Analyze previous task outcomes and build an execution summary for this feature.

How to install context-synthesizer

Manually: put the files in place

.claude/agents/context-synthesizer.md

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

Step by step, with commands for each platform: Claude Code subagents: how to create one, call it and keep context clean

Questions about context-synthesizer

How to install context-synthesizer in Claude Code?

Place the subagent configuration into .claude/agents/context-synthesizer.md in your project root. Claude Code will load the subagent automatically.

What does context-synthesizer do?

It aggregates task goals, technical constraints, and past execution data into an actionable summary. Peer agents use this distilled view to avoid known pitfalls and stay aligned with domain standards.

What external dependencies does context-synthesizer rely on?

Its pre and post hooks require npx to execute the agentic-flow package for querying and distilling data in reasoningbank.

Similar subagents

All subagents for Agent setup: memory, context, orchestration →

From the same set76

The whole set →
code-goal-planner The code-goal-planner subagent turns software goals into milestones with dependencies and success criteria. Use it to plan a feature, bug fix, or refactor. CX Codex ★ 850repo stars swarm-issue swarm-issue turns a GitHub issue into work for a swarm: splits it into subtasks, assigns agents and reports progress back inside the issue. CX Codex ★ 850repo stars performance-optimizer The performance-optimizer subagent finds system bottlenecks and helps tune resource distribution, load balancing, and computational performance. CX Codex ★ 850repo stars pseudocode A subagent for the Pseudocode stage of SPARC: it turns a finished spec into an algorithm draft and works out the complexity. CX Codex ★ 850repo stars pattern-matcher The pattern-matcher subagent breaks down tasks, finds related solutions in ReasoningBank, and adapts them to a new context. CX Codex ★ 850repo stars Verification & Quality Assurance Verification & Quality Assurance is a Claude Code skill that checks code and agent outputs with reliability scores (0–1.0), reverting failed changes. CX Codex +1 ★ 850repo stars memory-optimizer memory-optimizer is a Claude Code, Codex, and Cursor subagent that merges similar ReasoningBank memories and removes stale or conflicting patterns. It also checks memory quality. CX Codex ★ 850repo stars sync-coordinator sync-coordinator coordinates version alignment, cross-package dependencies, and documentation updates across multiple repositories using an agent swarm. CX Codex ★ 850repo stars

Project sponsors

Companies that keep this analytics open