r8-analyzer
Analyzes Android build files and R8 keep rules to identify redundancies, broad package-wide rules, and rules that subsume library consumer keep rules.
Skill by Google LLC
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/charleshall888-r8-analyzer
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md and code. Checked Oct 26, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/r8-analyzer
What's inside
- Skill name
r8-analyzer- Description
- Analyzes Android build files and R8 keep rules to identify redundancies, broad package-wide rules, and rules that subsume library consumer keep rules. Use when developers want to optimize their app's size, remove redundant or overly broad keep rules, or troubleshoot Proguard configurations.
- License
- MIT
- Metadata
- author: Google LLC
- Instructions
- 25 lines in SKILL.md · view on GitHub
Files (7)
- SKILL.md
- CONFIGURATION.md · references/
- KEEP-RULES-IMPACT-HIERARCHY.md · references/
- REDUNDANT-RULES.md · references/
- REFLECTION-GUIDE.md · references/
- enable-app-optimization.md · references/android/topic/performance/app-optimization/
- size-pin.txt · references/
SKILL.md (first lines)
## Core workflow
- \[ \] Step 1: Create a file called R8_Configuration_Analysis.md, or reuse if one exists already, to store the output
- \[ \] Step 2: Look at the configuration of R8 by looking at build.gradle, build.gradle.kts, gradle.properties in the codebase using [references/CONFIGURATION.md](${CLAUDE_SKILL_DIR}/references/CONFIGURATION.md) as the reference. Inform the developer and add the analysis to the report file
- \[ \] Step 3: If the AGP version is less than 9, suggest moving to AGP 9.0 version as AGP 9.0 includes [optimizations](${CLAUDE_SKILL_DIR}/references/android/topic/performance/app-optimization/enable-app-optimization.md).
- \[ \] Step 4: Look at the proguard files in the codebase and evaluate each keep rule in the following specific order: a. **Libraries check** : Check rules against [references/REDUNDANT-RULES.md](${CLAUDE_SKILL_DIR}/references/REDUNDANT-RULES.md). If the app has keep rules targeting libraries - Google, AndroidX, Kotlin, Kotlinx, Room, Gson, Retrofit, inform the user that these are not required and suggest removal of these rules. b. **Impact analysis** : For the remaining keep rules, assess them based on the impact hierarchy defined in [references/KEEP-RULES-IMPACT-HIERARCHY.md](${CLAUDE_SKILL_DIR}/references/KEEP-RULES-IMPACT-HIERARCHY.md). (Note: Do NOT assess the impact of keep rules already covered in the libraries check step).
- \[ \] Step 5: Identify subsuming keep rules in the remaining keep rules based on the hierarchy defined in [references/KEEP-RULES-IMPACT-HIERARCHY.md](${CLAUDE_SKILL_DIR}/references/KEEP-RULES-IMPACT-HIERARCHY.md) and suggest removing the broader keep rules.
- \[ \] Step 6: For each remaining keep rule, analyze in detail the code affected by the rule by examining the code and adjacent files to understand why it was written. Look for reflection usage in those packages, and suggest a narrow and specific keep rule for the scenario using [references/REFLECTION-GUIDE.md](${CLAUDE_SKILL_DIR}/references/REFLECTION-GUIDE.md).
- \[ \] Step 7: For every keep rule inform concisely and to the point what action needs to be taken - whether the rule needs to be removed/refined.
- If refining the rule, give instructions on finding a narrower and specific keep rule using the [/references/REFLECTION-GUIDE.md](${CLAUDE_SKILL_DIR}/references/REFLECTION-GUIDE.md).
- If removing, provide reasoning on why it needs to be removed.
- \[ \] Step 8: After keep analysis, order the keep rule analysis based on the impact to the codebase hierarchy defined in [references/KEEP-RULES-IMPACT-HIERARCHY.md](${CLAUDE_SKILL_DIR}/references/KEEP-RULES-IMPACT-HIERARCHY.md)
- \[ \] Step 9: Advise the user to run tests using [UI
automator](https://developer.android.com/training/testing/other-components/ui-automator) to assess that there is no issue with the suggested changes, concentrating on the packages where keep rules will be affected.
## Mandatory rules
- Don't make any changes in keep rule files
- Don't say about what level each keep rule is.
- Don't generate parts of the report if there is no keep rule to report in that section.
- Don't mention the generated files.
- Don't mention exceptions that occur during execution.
- Don't mention the benefits of R8
- Don't mention any files of this skillFrom charleshall888/cortex-command, MIT.
More from charleshall888/cortex-command
- 0.606score
overnight
charleshall888
Plan and launch an unattended overnight session — pick refined features, approve the plan, hand off to the runner.
SkillAFreshness: A★ 3Claude Code +9 - 0.606score
android-cli
charleshall888
Orchestrates Android development tasks including project creation, deployment, SDK management, and environment diagnostics using the `android` command-line…
SkillAFreshness: A★ 3Claude Code +9 - 0.606score
build
charleshall888
Take a refined ticket from spec through plan, implement, review, and complete.
SkillAFreshness: A★ 3Claude Code +9 - 0.606score
critical-review
charleshall888
Adversarial review — 1–2 fresh reviewer agents on distinct angles, consolidated here.
SkillAFreshness: A★ 3Claude Code +9 - 0.606score
dev
charleshall888
Development entry point — routes a request to the right workflow.
SkillAFreshness: A★ 3Claude Code +9 - 0.606score
discovery
charleshall888
Investigate a topic, then decompose it into backlog tickets grouped by epic.
SkillAFreshness: A★ 3Claude Code +9 - 0.606score
refine
charleshall888
Take a backlog item from idea to approved spec via Clarify → Research → Spec.
SkillAFreshness: A★ 3Claude Code +9 - 0.606score
research
charleshall888
Parallel research orchestrator — dispatches 1–6 agents across independent angles, synthesizes into research.md.
SkillAFreshness: A★ 3Claude Code +9 - 0.606score
morning-review
charleshall888
Walk the morning report after an overnight run — verify features, answer deferred questions, advance lifecycles, merge the PR, close tickets.
SkillAFreshness: A★ 3Claude Code +9 - 0.604score
harness-review
charleshall888
Evaluate overnight runner components against a curated inventory using a 4-question rubric to classify each as load-bearing, experiment-candidate, or…
SkillAFreshness: A★ 3Claude Code +9 - 0.601score
writing-great-skills
charleshall888
Reference for writing and editing skills well — the vocabulary and principles that make a skill predictable.
SkillAFreshness: A★ 3Claude Code +9 - 0.601score
requirements
charleshall888
Use /cortex-core:requirements to gather requirements or define project scope.
SkillAFreshness: A★ 3Claude Code +9
Signals
- Stars
- 3
- Forks
- 0
- Open issues
- 0
- Last commit (this folder)
- Jul 21, 2026 (3 months ago)
- Last release
- Oct 5, 2026 (24 days ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- Repository
- github.com/charleshall888/cortex-command
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from Google LLC
- 0.861score
secops-cases
Google LLCOfficial
Manage Google Security Operations (SecOps) SOAR cases throughout their lifecycle.
SkillAFreshness: A★ 21.5KClaude Code +9 - 0.861score
secops-triage
Google LLCOfficial
Expert guidance for security alert triage in Google SecOps.
SkillAFreshness: A★ 21.5KClaude Code +9 - 0.861score
secops-investigate
Google LLCOfficial
Expert guidance for deep security incident and entity investigations in Google SecOps.
SkillAFreshness: A★ 21.5KClaude Code +9 - 0.861score
secops-hunt
Google LLCOfficial
Expert guidance for proactive threat hunting in Google SecOps.
SkillAFreshness: A★ 21.5KClaude Code +9 - 0.861score
secops-detection-engineering
Google LLCOfficial
Author, validate, test, and deploy YARA-L 2.0 detection rules and evaluate end-to-end detection coverage gaps in Google SecOps.
SkillAFreshness: A★ 21.5KClaude Code +9 - 0.815score
ima-sdk-client-side
Google LLCOfficial
Supports Interactive Media Ads (IMA) SDK.
SkillBFreshness: B★ 21.5KClaude Code +9
Cite this page
r8-analyzer skill. Agent Mart. https://agentmart.dev/skills/charleshall888-r8-analyzer (last updated 2026-10-24)