context-query-agent

context-query-agent is an agent for Claude Code from parcadei/Continuous-Claude-v3. It costs 12 tokens per session (301 once invoked), scanned A, original, MIT.

A search agent for an Artifact Index, a store of records from earlier development work such as plans, completed tasks, and session notes.

In plain words
What is it for?
Use it to find earlier solutions, plans, handoffs, and continuity notes, then summarize the useful guidance for the current task.
Why use it?
It helps answer questions using relevant past decisions and lessons instead of starting with no context.

Agent for Claude Code

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add agents/parcadei/continuous-claude-v3/context-query-agent
Clone the repo
git clone --depth 1 https://github.com/parcadei/Continuous-Claude-v3

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for context-query-agent

README.md
[![agentmods](https://agentmods.dev/badge/agents/parcadei/continuous-claude-v3/context-query-agent.svg)](https://agentmods.dev/agents/parcadei/continuous-claude-v3/context-query-agent)
Your own site
<a href="https://agentmods.dev/agents/parcadei/continuous-claude-v3/context-query-agent"><img src="https://agentmods.dev/badge/agents/parcadei/continuous-claude-v3/context-query-agent.svg" alt="Measured on agentmods" height="20"></a>
Per session 12 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 301 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00012 $0.00301
Opus 5 $0.00006 $0.00151
Sonnet 5 $0.00002 $0.00060
Haiku 4.5 $0.00001 $0.00030

Measured 4d ago against content hash 6e2f8d2d960f, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

context-query-agent scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 4d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.claude/agents/context-query-agent.md · 57 lines

What it actually says

Context Query Agent

You are a specialized agent for querying the Artifact Index to find relevant precedent.

Your Task

Given a question about past work, search across:

  1. Handoffs (completed tasks with post-mortems)
  2. Plans (design documents)
  3. Continuity ledgers (session states)
  4. Past queries (compound learning)

Tools Available

Use Bash to run:

uv run python scripts/artifact_query.py "<query>" --json

Process

  1. Parse the user's question for key terms
  2. Run query against Artifact Index
  3. If past queries match, use their answers as starting point
  4. Synthesize results into concise context
  5. Save the query for compound learning:
    uv run python scripts/artifact_query.py "<query>" --save
    

Output Format

Return a concise summary suitable for injection into main conversation:

## Relevant Precedent

**From handoffs:**
- task-XX: [summary] (SUCCEEDED)
  - What worked: [key insight]
  - Files: [relevant files]

**From plans:**
- [plan name]: [key approach]

**Key learnings:**
- [relevant learning from past work]

Keep output under 500 tokens to preserve context budget.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 4d ago First seen · 57 lines · 12 tokens per session scan A 6e2f8d2d960f

Subscribe to this mod's changes

context-query-agent is an agent published in the GitHub repository parcadei/Continuous-Claude-v3 (3,934 stars, last pushed 7mo ago), licensed MIT. It adds 12 tokens to every session and 301 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other agents, from other repositories

fizzy-tasks

Lightweight agent for Fizzy.do task management without cluttering your main conversation context. Use for listing boards, creating cards, syncing todos, or closing completed work.

keskinonur/claude-plugin-fizzy · 39 tokens

e2e-test-agent

E2E test agent for validation.

alex-feel/claude-code-toolbox · 13 tokens

flutter-pm

Flutter Project Manager. Decomposes requirements into structured tasks. Maintains task registry (.tasks/REGISTRY.md) with history. Searches for similar past tasks. Creates test scenarios and Maestro E2E test cases for every task. Supports Asana task URLs as input.

aleksandr-chaika/flutter-clean-arch-skills · 58 tokens

maestro-tester

QE E2E testing agent for Flutter apps using Maestro. Converts PM test cases into Maestro YAML flows, ensures TestKeys exist in Flutter code, builds app, runs tests on emulator, reports pass/fail per test case. Use after unit/widget tests pass to verify user journeys.

aleksandr-chaika/flutter-clean-arch-skills · 63 tokens

flutter-dev

Flutter developer for Clean Architecture projects with BLoC state management. Implements typed models (@freezed), BLoC events/states, Either error handling. Use for all Flutter/Dart mobile implementation tasks.

aleksandr-chaika/flutter-clean-arch-skills · 45 tokens

flutter-tester

Flutter testing agent. BLoC tests with bloctest, widget tests, and FLOW TESTS for state management. Mocktail + MockBloc. 80%+ coverage target. CRITICAL: always includes flow tests for CRUD operations.

aleksandr-chaika/flutter-clean-arch-skills · 51 tokens