rea-analysis-optimization
Skill by morluto
Guides agents in optimizing REA providers and shared analysis workflows for context, latency, CPU, and memory. It keeps correctness and Evidence intact and focuses on analysis bottlenecks and cache or query design. Intended for developers working on REA analysis code.
Install rea-analysis-optimization
Built from the published package, never by AI.
git clone --depth 1 https://github.com/morluto/rea /tmp/rea && mkdir -p ~/.claude/skills && cp -r /tmp/rea/.agents/skills/rea-analysis-optimization ~/.claude/skills/rea-analysis-optimizationRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
Step-by-step: install rea-analysis-optimization in Claude Code
git clone --depth 1 https://github.com/morluto/rea /tmp/rea && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/rea/.agents/skills/rea-analysis-optimization ~/.gemini/antigravity-cli/skills/rea-analysis-optimizationAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Step-by-step: install rea-analysis-optimization in Antigravity CLI
Skills can run scripts on your machine. Some need an API key: check the README.
About
rea-analysis-optimization is an agent skill for optimizing REA providers and shared analysis workflows. It aims to reduce agent context, latency, CPU, and memory use while preserving correctness and Evidence. It covers analysis bottlenecks and cache or query design. CI and test-suite optimization belongs to a separate skill, rea-ci-tests-audit.
The workflow pins the analyst's task and a correctness oracle that is independent of the changed code. It traces one public CLI or MCP task to its producer to find the earliest unnecessary work, then changes that work at its owner. Results are checked by comparing completed tasks before and after, with timings, memory, and cleanup recorded. It is meant for developers who need measured, verifiable changes to REA analysis code. Routine cleanup does not need this workflow.
Written from the project's SKILL.md and checked against it.
What it can do
- Pin the questionDefines the completed analyst task and a correctness oracle independent of the changed implementation.
- Locate unnecessary workTraces one public CLI or MCP task through shared code to its producer and measures each phase.
- Choose structural fixesSelects corrections such as indexes, shared results, projection, bounded reads, or backpressure based on evidence.
- Define cache lifetimeStates the key, owner, invalidation, retained size, and lifetime for any cache or shared producer.
- Compare completed tasksRuns affected workflows before and after and reports outcome, timings, CPU, peak memory, and cleanup.
- Limit token claimsSeparates tokenizer estimates from actual model usage when making token-saving claims.
Try asking
- Find unnecessary work in this REA analysis task and propose a fix
- Design a cache for this REA provider with invalidation and lifetime
- Compare before and after timings for this analysis workflow
Good to know
- Does not grant permission to execute targets, publish, or merge.
- Performance measurements are reserved for performance-targeted or regression-concern changes.
- CI and test-suite optimization belongs to rea-ci-tests-audit.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: .agents/skills/rea-analysis-optimization/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
-
SKILL.md9 KB -
agents/openai.yaml283 B -
references/kuna-case-study.md6 KB
Alternatives to rea-analysis-optimization
All alternatives →Runs a 7-stage workflow for auditing, cleaning up and reviewing GitHub repositories, plus competitor analysis. Written for developers who want a repo checked for secrets, junk files and documentation gaps.
Teaches an AI assistant to build, debug and explain Gradio web UIs and ML demos in Python. It covers the core API, components, event listeners, layouts and the MCP server option. Aimed at Python developers who work with Gradio.
Recommends menus, buttons, toolbars and disclosure controls for Apple platforms using Human Interface Guidelines conventions. Built for developers and designers making iOS, iPadOS, macOS or visionOS interfaces. Checks existing project design context before asking questions.
Creates production-ready FastAPI project structures with async patterns, dependency injection, and error handling. It is for developers starting new FastAPI applications or backend API projects.
Analyzes Android apps to find user workflows to expose as AppFunctions, so AI agents and system shortcuts can run them without opening the app UI. Generates Kotlin code and refines KDoc for Android developers.
Creates, edits, validates and runs Agent QA tests, suites and hooks through MCP or CLI. It keeps canonical IDs and schema contracts intact, for developers and QA teams using Agent QA.
Compare with openclaw-github-repo-commander, gradio or hig-components-menus
rea-analysis-optimization: common questions
Does this skill require benchmarks for every change?
No. Routine cleanup uses correctness checks and does not need this workflow or synthetic benchmarks unless the change targets performance or has a concrete regression concern.
Can this skill publish or merge changes?
No. The skill says it is not extra permission to execute targets, publish, or merge, so current contracts and user authorization still apply.
How is this different from rea-ci-tests-audit?
The source says CI and test-suite optimization belongs to rea-ci-tests-audit. This skill covers analysis bottlenecks and cache or query design.
How do I install rea-analysis-optimization?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is rea-analysis-optimization free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is rea-analysis-optimization safe to use?
It scores 94 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to rea-analysis-optimization?
Similar skills: openclaw-github-repo-commander, gradio, hig-components-menus, fastapi-templates.
