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 piyushverma0/android-agent-skills --skill design-tokensgit clone --depth 1 https://github.com/piyushverma0/android-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/piyushverma0/android-agent-skills/design-tokens)<a href="https://agentmods.dev/skills/piyushverma0/android-agent-skills/design-tokens"><img src="https://agentmods.dev/badge/skills/piyushverma0/android-agent-skills/design-tokens/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/piyushverma0/android-agent-skills/design-tokens"><img src="https://agentmods.dev/badge/skills/piyushverma0/android-agent-skills/design-tokens.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.00162 | $0.02405 |
| Opus 5.5 | $0.00065 | $0.00962 |
| Sonnet 5.5 | $0.00032 | $0.00481 |
| Haiku 4.5 | $0.00016 | $0.00241 |
Grade A, and why
design-tokens 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 3mo 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 — 267 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Design Tokens
The complete Material 3 design system foundation for Android. Every color, spacing value, elevation, and shape in a production app must come from this system. 22 rules covering all categories globally.
CRITICAL — Color System
Rule 1: Always Use Semantic Color Roles — Never Hardcode
// ✅ Every color references MaterialTheme
Text(color = MaterialTheme.colorScheme.onSurface) // primary text
Text(color = MaterialTheme.colorScheme.onSurfaceVariant) // secondary text
Box(Modifier.background(MaterialTheme.colorScheme.surfaceContainerLow)) // card bg
Icon(tint = MaterialTheme.colorScheme.onSurfaceVariant) // secondary icon
// ❌ Hardcoded hex — breaks dark mode and dynamic color
Text(color = Color(0xFF212121))
Box(Modifier.background(Color.White))
The 6 color families — each has a surface + on-surface pair:
primary/onPrimary— brand color, key interactive elementssecondary/onSecondary— supporting brand colortertiary/onTertiary— accent, contrasting highlighterror/onError— errors, destructive actionssurface/onSurface— cards, sheets (useonSurfaceVariantfor secondary text)background/onBackground— page background
Container variants — for filled backgrounds:
primaryContainer/onPrimaryContainer, secondaryContainer/onSecondaryContainer
Surface containers — layered depth (lowest→low→default→high→highest)
Always pair correctly: content on primaryContainer uses onPrimaryContainer, never onSurface.
Rule 2: Theme Structure — Complete Theme.kt Required
// ✅ Complete theme with dynamic color + fallback
@Composable
fun AppTheme(
darkTheme: Boolean = isSystemInDarkTheme(),
dynamicColor: Boolean = true,
content: @Composable () -> Unit
) {
val colorScheme = when {
dynamicColor && Build.VERSION.SDK_INT >= Build.VERSION_CODES.S -> {
val context = LocalContext.current
if (darkTheme) dynamicDarkColorScheme(context)
else dynamicLightColorScheme(context)
}
darkTheme -> DarkColorScheme // your brand dark scheme
else -> LightColorScheme // your brand light scheme
}
MaterialTheme(colorScheme = colorScheme, typography = AppTypography,
shapes = AppShapes, content = content)
}
// Theme files: Color.kt · Type.kt · Shape.kt · Theme.kt
// ❌ Defining theme inside a specific screen
// ❌ No dark color scheme defined — only light
// ❌ lightColorScheme() with no arguments — all M3 default purple, no brand
What ships with it
11 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
- metadata.json 787 B
- references/color-roles-reference.md 3.1 KB
- rules/brand-color-integration.md 4.9 KB
- rules/color-system.md 5.2 KB
- rules/dark-mode-tokens.md 5.0 KB
- rules/dynamic-color-material-you.md 4.0 KB
- rules/elevation-system.md 4.6 KB
- rules/semantic-color-usage.md 5.5 KB
- rules/shape-tokens.md 4.5 KB
- rules/spacing-scale.md 4.0 KB
- rules/theme-structure.md 5.1 KB
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.
- 3mo ago First seen · 267 lines · 162 tokens per session scan A a3d476f428a2
design-tokens is a skill published in the GitHub repository piyushverma0/android-agent-skills (15 stars, last pushed 7mo ago), licensed MIT. It adds 162 tokens to every session and 2,405 once invoked, about $0.0006 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-30.
design-tokens compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| design-tokenspiyushverma0/android-agent-skills | Skill | 15 | 7mo ago | MIT | A | 162 | Claude Code, Codex |
| compose-inspectorrabee-elkholy/android-harness-kit | Skill | 3 | 3mo ago | MIT | A | 39 | Claude Code, Codex |
| android-ui-journey-testingsickn33/agentic-awesome-skills | Skill | 51k | today | MIT | A | 27 | Claude Code |
| ios-screenssickn33/agentic-awesome-skills | Skill | 51k | today | MIT | A | 36 | Claude Code |
| hig-foundationssickn33/agentic-awesome-skills | Skill | 51k | today | MIT | A | 12 | Claude Code |
| hig-patternssickn33/agentic-awesome-skills | Skill | 51k | today | MIT | A | 14 | Claude Code |
| hig-components-layoutsickn33/agentic-awesome-skills | Skill | 51k | today | MIT | A | 15 | Claude Code |