compose-graphics
Skill by Jwuthri
Adds advanced Jetpack Compose visuals to an AI assistant, including Material 3 Expressive motion, AGSL shaders, Canvas and DrawScope drawing, and graphicsLayer effects. Aimed at Android developers who need graphics beyond basic animation. The AGSL shader recipes need Android 13 or later.
Install compose-graphics
Built from the published package, never by AI.
git clone --depth 1 https://github.com/Jwuthri/Tracely-ai /tmp/Tracely-ai && mkdir -p ~/.claude/skills && cp -r /tmp/Tracely-ai/.agents/skills/compose-graphics ~/.claude/skills/compose-graphicsRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/Jwuthri/Tracely-ai /tmp/Tracely-ai && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/Tracely-ai/.agents/skills/compose-graphics ~/.gemini/antigravity-cli/skills/compose-graphicsAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Skills can run scripts on your machine. Some need an API key: check the README.
About
Compose Graphics is a skill for advanced visuals in Jetpack Compose. It covers Material 3 Expressive motion, which uses spring-based physics instead of fixed-duration tweens, along with shape morphing through androidx.graphics.shapes. It also covers AGSL shaders, Canvas and DrawScope drawing, and graphicsLayer effects such as blur.
The skill includes a decision tree that maps each need to an API, plus code recipes for an expressive hero card, a touch ripple, a holographic gradient, a liquid glass style, and an animated sine wave on Canvas. It says AGSL shaders need Android 13 or later and should fall back to unmodified content on older versions. It is aimed at Android developers who need advanced Compose graphics, and it points to a separate compose-motion skill for the basics.
Written from the project's SKILL.md and checked against it.
What it can do
- Expressive motion specsChooses spring-based MotionScheme tokens for spatial and effects animations in Material 3 Expressive.
- Hero card expandAnimates a card's height and alpha using expressive springs with updateTransition.
- Shape morphingMorphs between predefined shapes such as Circle and Cookie4Sided using androidx.graphics.shapes.
- AGSL touch rippleBuilds a runtime shader that distorts content in waves from the tap point.
- Holographic gradientAdds a rainbow shimmer over text or icons using a phase-shifted AGSL sine wave.
- Liquid glass styleCombines chromatic aberration and edge tint in AGSL with a blur modifier for a frosted look.
- Canvas drawingExplains DrawScope methods such as drawCircle, drawPath, drawArc and drawText.
- Animated sine waveDraws a looping wave path on a Canvas driven by an infinite transition.
What you need
- Android 13 or later for AGSL shaders
- Jetpack Compose
Try asking
- Show me how to add an expressive hero card expand animation in Compose.
- Write an AGSL touch ripple shader that starts from the tap point.
- Create a Canvas animated sine wave for the top of my Compose screen.
Good to know
- AGSL shaders require Android 13 or later; older versions get unmodified content.
- Each RuntimeShader adds a render pass, so the source advises benchmarking at 60fps.
- Expressive motion is meant for about 1-3% of the UI, according to the source.
- The source says Android has no native liquid glass API like iOS yet.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: .agents/skills/compose-graphics/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
-
SKILL.md17 KB -
references/agsl-recipes.md11 KB -
references/canvas-generative.md9 KB -
references/m3-expressive-deep.md10 KB
Alternatives to compose-graphics
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
compose-graphics: common questions
What Android version do the AGSL shader recipes need?
The source says shaders need Android 13 or later. It recommends gating on Build.VERSION.SDK_INT with TIRAMISU, and falling back to unmodified content or a blur on older versions.
When should I use MotionScheme.expressive() instead of standard?
The source recommends expressive for hero moments, key interactions, FABs and primary CTAs. Standard is the default for the rest of the app, since mixing too much expressive motion feels chaotic.
Does this skill cover basic Compose animation?
No. The source says the compose-motion skill covers the basics, and this skill is for advanced topics such as shaders, expressive motion and Canvas.
How do I install compose-graphics?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is compose-graphics free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is compose-graphics safe to use?
It scores 89 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 compose-graphics?
Similar skills: openclaw-github-repo-commander, gradio, hig-components-menus, fastapi-templates.
