rea-analysis-optimization — Claude Code skill: setup and use
rea-analysis-optimization is a Claude Code skill that streamlines REA providers and shared analysis workflows for latency, CPU, and memory. It resolves bottlenecks in cache and query design.
no license ★ 71 updated 2026-11-13
npx skills add freyrswift/UaStation --skill rea-analysis-optimization -a claude-codeWhat rea-analysis-optimization does
This skill detects redundant operations across REA data analysis workflows and shifts logic fixes directly to producers across CLI and MCP entry points. It profiles admission, decoding, projection, serialization, and evidence retention without sacrificing result accuracy.
Every shared cache or producer must declare its lookup key, owner, eviction rules, retained memory, and lifespan. The workflow caps process-family limits to prevent out-of-memory stops and isolates single-caller cancellations from affecting active peers.
The workflow guides optimization steps but grants no execution, publishing, or git merge permissions. Profiling test suites and CI pipelines is explicitly excluded; that workload belongs to rea-ci-tests-audit.
What it helps with
- reduce latency and memory consumption in REA analysis pipelines
- structure keys, lifespans, and invalidation for shared caches
- eliminate redundant fact scans and duplicate decoding operations
- verify optimization correctness against an independent oracle
Example prompts for the agent
- Optimize the REA provider for this MCP task to reduce serialization memory overhead
- Audit query cache bottlenecks and establish explicit invalidation lifespans
- Locate redundant decoding steps in the CLI workflow and verify output against an oracle
How to install rea-analysis-optimization
1Skills CLI (Vercel)
npx skills add freyrswift/UaStation --skill rea-analysis-optimization -a claude-code2Manually: put the files in place
~/.claude/skills/rea-analysis-optimization/SKILL.mdCopy the whole skill folder; for one project use .claude/skills/rea-analysis-optimization/
1Skills CLI (Vercel)
npx skills add freyrswift/UaStation --skill rea-analysis-optimization -a codex2Manually: put the files in place
.agents/skills/rea-analysis-optimization/SKILL.mdFor all projects use ~/.agents/skills/
1Skills CLI (Vercel)
npx skills add freyrswift/UaStation --skill rea-analysis-optimization -a cursor2Manually: put the files in place
.cursor/skills/rea-analysis-optimization/SKILL.mdCursor also reads .agents/skills/ and .claude/skills/
1GitHub CLI
gh skill install freyrswift/UaStation resources/skills-upstream/rea/rea-analysis-optimization2Manually: put the files in place
.github/skills/rea-analysis-optimization/SKILL.md1Skills CLI (Vercel)
npx skills add freyrswift/UaStation --skill rea-analysis-optimization -a gemini-cli2Platform CLI
gemini skills install https://github.com/freyrswift/UaStation --path resources/skills-upstream/rea/rea-analysis-optimizationManually: put the files in place
.devin/skills/rea-analysis-optimization/SKILL.mdThe legacy .windsurf/skills/ path still works
Claude.ai
Zip the folder and upload it in Settings → Capabilities → Skills
Step by step, with commands for each platform: How to install skills in Claude Code: five ways
Questions about rea-analysis-optimization
How to install rea-analysis-optimization in Claude Code?
Run npx skills add freyrswift/UaStation --skill rea-analysis-optimization -a claude-code. The file is stored at ~/.claude/skills/rea-analysis-optimization/SKILL.md.
What does rea-analysis-optimization do?
It guides profiling of REA providers, identifies early performance bottlenecks in queries, and verifies output fidelity through independent correctness oracles.
When should rea-analysis-optimization not be used?
It applies to analysis bottlenecks and caching logic. Optimizing test suites and continuous integration pipelines belongs to rea-ci-tests-audit.