Available in
Marketplaces, most starred first
Tags
Add to README
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
By jmaglyv2026.11.9MITIn 1 marketplace
Classifies large task context into relevant, peripheral and distractor sections before Claude works on it. Its reliability gain is unmeasured design intent drawn from a cited paper's findings.
Trending plugins
7-day copy clicks
Claude hands work to one, or you mention it with @.
1 marketplace, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Evidence status: paper-reported (REF-002, not measured in AIWG); targets below are unmeasured.
Context curation and distractor filtering intended to improve agent reliability (design intent, unmeasured).
REF-002: Roig (2025) "How Do LLMs Fail In Agentic Scenarios?"
Archetype 3: Distractor-Induced Context Pollution
"Irrelevant but superficially relevant information derails reasoning. The 'Chekhov's gun' effect—if data is present, models assume it must be relevant."
Across all model tiers (32B to 671B parameters), agents failed when:
REF-002 reports that even DeepSeek V3.1 (92% success rate overall) showed degraded performance on distractor-heavy tasks (paper-reported, not measured in AIWG).
Pre-filters context before task execution, scoring relevance and marking distractors.
# Deploy
aiwg use context-curator
# Usage
Task(subagent_type="context-curator", prompt="
Task: Calculate Q4 revenue for Product A
Context: [large dataset with Q1-Q4 data]
")
Deployable .claude/rules/ files for runtime guidance:
Importable prompt templates:
# Add to project
aiwg use context-curator
# Or include with other frameworks
aiwg use sdlc --with context-curator
# Pre-filter context before complex task
Task(
subagent_type="context-curator",
prompt="""
Task Scope:
- Time range: Q4 2024
- Entity filter: Product A only
- Operation: Revenue aggregation
Context to classify:
[paste or reference context]
Output: Relevance-scored sections with RELEVANT/PERIPHERAL/DISTRACTOR labels
"""
)
Rules are automatically deployed to .claude/rules/ and apply globally:
.claude/rules/
├── distractor-filter.md # Context classification
└── scoped-reasoning.md # Scope enforcement
| Category | Definition | Action |
|---|---|---|
| RELEVANT | Directly supports the task | Process first |
| PERIPHERAL | May be useful for edge cases | Process if needed |
| DISTRACTOR | Similar but out of scope | Never incorporate |
RELEVANT when:
PERIPHERAL when:
DISTRACTOR when:
Task: "Calculate Q4 2024 revenue for Product A"
Context Classification:
- ✓ RELEVANT: Q4 2024 Product A sales records
- ~ PERIPHERAL: Q4 2024 Product B sales (same period)
- ~ PERIPHERAL: Q3 2024 Product A sales (same product)
- ✗ DISTRACTOR: Q1-Q2 2024 Product B sales (wrong both)
- ✗ DISTRACTOR: 2023 annual summary (wrong year)
This addon implements Rule 6: Scoped Context from the Agent Design Bible:
"Only process information relevant to the current task."
The distractor filter rules automatically apply when Claude works with any context, providing a "belt and suspenders" approach:
Targets from the Unified Production Plan (unmeasured; no AIWG measurement yet):
| Metric | Target | Measurement |
|---|---|---|
| Distractor error reduction | ≥50% | KAMI-style benchmark |
| Context classification accuracy | >90% | Manual audit |
| False positive rate | <5% | Relevant marked as distractor |
Built from public signals: copy clicks on this site, GitHub stars and activity, the README and the manifest. Not a security audit or an endorsement.
npx claudepluginhub jmagly/aiwg --plugin context-curatorPlugins from other owners that cover similar ground