Home / Subagents / context-query-agent

context-query-agent

parcadei/Continuous-Claude-v3Subagent

Query the artifact index for precedent and guidance

ScannedSubagentSource: GitHub
3,946 stars +5 this week Updated 9mo ago License MIT Context ≈18 tokens in your chat
53popular

Why this score

Stars15/35
Usage (forks)4/15
Upkeep9/25
License15/15
Owner history10/10

This repo hosts 32 subagents, so its 3,946 stars are split between them (about 123 each) for scoring.

Popularity score: 53/100 from public GitHub signals only. It shows how widely used and maintained this is, not how well it works. Not included yet: the fake-star check. The security scan is shown separately and doesn't change the score. How we rank

What it can use

  • Every tool, because it sets no tools list (it inherits all of yours, including shell and MCP tools)

Model: sonnet

This agent can act outside your files. Read it before installing, and narrow its tools: line if it needs less.

The agent file

---
name: context-query-agent
description: Query the artifact index for precedent and guidance
model: sonnet
---

# 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:
```bash
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:
   ```bash
   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.

MIT license, from parcadei/Continuous-Claude-v3 at commit d07ff4b06b62.

Security

Scanned Oct 21, 2026 at commit d07ff4b06b62, with Cisco's open-source skill-scanner.

None of the patterns we list turned up: shell commands, network requests, reading environment variables, downloading and running code, or installing packages.

A scan lists patterns in the code. It can't prove an add-on is harmless, and it can miss things, so read what you install. How we scan

Alternatives

Other makers' add-ons that do the same job, next to this one.

NameScoreStarsContextUpdated
This onecontext-query-agent parcadei/Continuous-Claude-v3 · Subagent 53★ 3.9k≈18 in chat9mo ago
query-agent ThibautBaissac/rails_ai_agents · Subagent Both about query 53★ 668≈93 in chat5mo ago
query-validation nimrodfisher/data-analytics-skills · Skill Both about query 61★ 481≈47 always1mo ago
generate-editor-search-query Unity-Technologies/skills · Skill Both about query 58★ 1.1k≈61 always16d ago
query-wikipedia google-ai-edge/gallery · Skill Both about query 84★ 25k≈16 always16d ago
query-listener data-goblin/power-bi-agentic-development · Subagent Both about query 71★ 1.1k≈78 in chat18d ago