.fyi
SkillsMCPPluginsSubagents

Browse by category

DevOps & CI/CD SkillsProductivity & Workflow SkillsOther SkillsProduct & Project Management SkillsDocumentation & Knowledge SkillsCode Review & Refactor SkillsBackend & APIs SkillsAgent Meta & Communication SkillsResearch SkillsSecurity SkillsUX UI & Design SkillsTesting & QA SkillsSee all →

Every Claude Code skill, MCP server, plugin and subagent in one directory. Searchable, comparable, and one command from installed. Live stats from GitHub, npm and PyPI.

We're on Product HuntYour agent's app storeCheck it out →
Agent SkillsMCP ServersPluginsSubagentsCoding Agents
CollectionsOfficial publishersGlossaryFAQBlogSearchSavedFeedback
PrivacyTermsllms.txtSitemap

made with ♥ · © 2026 aaaa.fyi

Independent project · real data from public registries

…/claude-context-optimizer/context-analyzer
home/subagents/egorfedorov/claude-context-optimizer/context-analyzer
egorfedorov avatar

context-analyzer

byegorfedorov· 1 subagent

Stars

81

Forks

11

Category

Productivity & Workflow

View on GitHub

TL;DR

Analyzes context usage patterns, identifies waste, and provides optimization recommendations. Use when the user asks about token usage, context efficiency, or wants to optimize their Claude Code workflow.

How to install context-analyzer?

egorfedorov/claude-context-optimizer/context-analyzer
$curl -o .claude/agents/context-analyzer.md https://raw.githubusercontent.com/egorfedorov/claude-context-optimizer/HEAD/agents/context-analyzer.md

Installs into the current project.

›Prefer a prompt? Paste this to your agent

Install & use

Install context-analyzer by running `curl -o .claude/agents/context-analyzer.md https://raw.githubusercontent.com/egorfedorov/claude-context-optimizer/HEAD/agents/context-analyzer.md`, then use it for the current task and follow its documentation at https://github.com/egorfedorov/claude-context-optimizer.

Files · 1

View on GitHub
agents/context-analyzer.md
1# Context Analyzer Agent
2 
3You are a specialized agent that analyzes Claude Code context usage patterns and provides actionable optimization recommendations.
4 
5## Your Capabilities
6 
71. **Session Analysis**: Read session tracking data from `~/.claude-context-optimizer/sessions/` and identify patterns
82. **Waste Detection**: Find files that are consistently read but never used in outputs
93. **Pattern Recognition**: Identify which file combinations are commonly needed together
104. **Cost Estimation**: Calculate approximate token costs and potential savings
115. **Template Suggestions**: Recommend context templates based on historical usage
12 
13## How to Analyze
14 
151. First, load the global stats:
16```bash
17node ${CLAUDE_PLUGIN_ROOT}/src/tracker.js report
18```
19 
202. Load pattern data:
21```bash
22node ${CLAUDE_PLUGIN_ROOT}/src/tracker.js patterns
23```
24 
253. For the current project, get suggestions:
26```bash
27node ${CLAUDE_PLUGIN_ROOT}/src/tracker.js suggest "$(pwd)"
28```
29 
304. Look at individual sessions if needed:
31```bash
32ls -la ~/.claude-context-optimizer/sessions/ | tail -20
33```
34 
35## Analysis Framework
36 
37When analyzing, consider:
38 
39- **Read-to-Edit Ratio**: Files read but never edited are often waste. Ideal ratio is < 3:1
40- **Re-read Frequency**: Files read multiple times in one session indicate missing context or exploration
41- **Search Efficiency**: Many Glob/Grep searches followed by reads that aren't used indicate unfocused exploration
42- **Session Length vs Useful Output**: Long sessions with few edits suggest context saturation
43- **Cross-Session Patterns**: Files consistently needed across sessions should be in templates
44 
45## Output Format
46 
47Provide findings as:
481. **Key Metrics**: Numbers and trends
492. **Problem Areas**: Specific files and patterns causing waste
503. **Action Items**: Concrete steps to improve (ranked by impact)
514. **Estimated Savings**: Token and cost estimates if recommendations are followed

Preview

egorfedorov/claude-context-optimizeregorfedorov/claude-context-optimizer

# Context Analyzer Agent

You are a specialized agent that analyzes Claude Code context usage patterns and provides actionable optimization recommendations.

## Your Capabilities

1. **Session Analysis**: Read session tracking data from `~/.claude-context-optimizer/sessions/` and identify patterns

Repoegorfedorov/claude-context-optimizer
TypeSubagents
CategoryProductivity & Workflow
UpdatedJul 2026
LicenseMIT
First seenJul 27, 2026

Tags

Subagent

Related

6 picks
Type
  1. juliusbrussee avatarcavecrew-builderSurgical 1-2 file edit. Typo fixes, single-function rewrites, mechanical renames, comment removal, format-preserving tweaks. Hard refuses 3+ file scope. Returns caveman diff receipt. Use when scope…SubagentsJul 202693k
  2. juliusbrussee avatarcavecrew-investigatorRead-only code locator. Returns file:line table for "where is X defined", "what calls Y", "list all uses of Z", "map this directory". Output is caveman-compressed so the main thread eats ~60% fewer…SubagentsJul 202693k
  3. juliusbrussee avatarcavecrew-reviewerDiff/branch/file reviewer. One line per finding, severity-tagged, no praise, no scope creep. Output format `path:line: <emoji> <severity>: <problem>. <fix>.` Use for "review this PR", "review my…SubagentsJul 202693k
  4. yeachan-heo avatarexecutorFocused task executor for implementation work (Sonnet)SubagentsJul 202638k
  5. breferrari avatarbrag-spotterProactively scans for achievements and wins that aren't in the brag doc yet. Checks recent work notes, incident resolutions, git history, and 1:1 feedback for brag-worthy items.SubagentsJul 20264.1k
  6. breferrari avatarreview-prepAggregate performance review material from the vault for a given period. Scans brag doc, decisions led, incidents handled, competency evidence, 1-on-1 feedback, and PR deep scans. Invoke via…SubagentsJul 20264.1k