Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx skills add prasad-vennam/Awesome-Android-AI-Agent-Skills --skill android-custom-drawing-canvasgit clone --depth 1 https://github.com/prasad-vennam/Awesome-Android-AI-Agent-SkillsWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/prasad-vennam/awesome-android-ai-agent-skills/android-custom-drawing-canvas)<a href="https://agentmods.dev/skills/prasad-vennam/awesome-android-ai-agent-skills/android-custom-drawing-canvas"><img src="https://agentmods.dev/badge/skills/prasad-vennam/awesome-android-ai-agent-skills/android-custom-drawing-canvas/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/prasad-vennam/awesome-android-ai-agent-skills/android-custom-drawing-canvas"><img src="https://agentmods.dev/badge/skills/prasad-vennam/awesome-android-ai-agent-skills/android-custom-drawing-canvas.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00032 | $0.00919 |
| Opus 5.5 | $0.00013 | $0.00368 |
| Sonnet 5.5 | $0.00006 | $0.00184 |
| Haiku 4.5 | $0.00003 | $0.00092 |
Grade A, and why
android-custom-drawing-canvas scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2mo ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 90 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Android Custom Drawing & Canvas ✏️🎨
Advanced strategies for high-performance, pixel-level custom UI components, data visualization, and creative graphics in Jetpack Compose.
⚡ When to Use
- Custom Charts: Drawing pie, bar, or line charts with precise control.
- Complex UI Elements: Building circular progress bars or custom sliders.
- Graphic Effects: Applying shaders (AGSL), gradients, or masks.
- Dynamic Graphics: Hand-drawn signatures or interactive shapes.
- Particle Systems: Drawing lightweight, dynamic visual effects.
🏗️ Drawing with Canvas
- Rule: Use
Modifier.drawBehind { ... }orCanvas(modifier = ...) { ... }. - Coordinate System: (0,0) is TOP-LEFT.
- Draw Scope: Access built-in methods like
drawRect,drawCircle,drawPath.
1. Drawing a Circular Progress Bar
Canvas(modifier = Modifier.size(100.dp)) {
val strokeWidth = 8.dp.toPx()
drawArc(
color = Color.LightGray,
startAngle = 0f,
sweepAngle = 360f,
useCenter = false,
style = Stroke(width = strokeWidth)
)
drawArc(
color = Color.Blue,
startAngle = -90f,
sweepAngle = progress * 360f,
useCenter = false,
style = Stroke(width = strokeWidth, cap = StrokeCap.Round)
)
}
2. The Path API
- Use for complex shapes (Stars, Polygons, Waves).
- Use
Path()and methods likemoveTo,lineTo,cubicTo. - Rule: Reuse the
Pathobject if possible to avoid allocations in the drawing loop.
🚀 Performance & Tips
- Avoid Object Allocation: Never create
Paint,Path, orBrushobjects insidedrawBehind. Create them withrememberoutside. - Use
graphicsLayer: Move drawing into a separate layer for better hardware acceleration and cacheability. - Pixel Conversion: Use
toPx()carefully within theDrawScope. Keep dimensions consistent. - AGSL Shaders: For Android 13+, use
RuntimeShaderfor professional-grade effects (Blur, Wave, Noise).
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 2mo ago First seen · 90 lines · 32 tokens per session scan A dd1f0788c419
android-custom-drawing-canvas is a skill published in the GitHub repository prasad-vennam/Awesome-Android-AI-Agent-Skills (11 stars, last pushed 7mo ago), licensed MIT. It adds 32 tokens to every session and 919 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.
android-custom-drawing-canvas compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| android-custom-drawing-canvasprasad-vennam/Awesome-Android-AI-Agent-Skills | Skill | 11 | 7mo ago | MIT | A | 32 | Claude Code, Codex |
| apple-designbillythekidz/apple-design-skill | Skill | 5 | 2mo ago | MIT | A | 55 | Claude Code, Codex |
| anti-slop-designsickn33/agentic-awesome-skills | Skill | 49k | yesterday | MIT | A | 34 | Claude Code |
| display-glasses-with-jetpack-compose-glimmerandroid/skills | Skill | 10k | yesterday | Apache-2.0 | A | 112 | Claude Code |
| glance-canonical-layoutsandroid/skills | Skill | 10k | yesterday | Apache-2.0 | A | 56 | Claude Code |
| expo-design-systemexpo/skills | Skill | 4.1k | yesterday | MIT | A | 197 | Claude Code, Codex |
| flutter-build-responsive-layoutflutter/agent-plugins | Skill | 3.2k | 2d ago | BSD-3-Clause | A | 51 | Claude Code |