camerax-android: Skill for Claude Code

.agents/skills/styles/SKILL.md

styles is a skill for Claude Code, Codex from arindamxd/camerax-android. It costs 70 tokens per session (1,959 once invoked), scanned A, a copy of styles, Apache-2.0.

Guidance for using an experimental Jetpack Compose API to give custom Android UI components and themes shared visual styles.

In plain words
What is it for?
Use it to make custom components styleable, define custom themes, and migrate existing custom layout properties. It does not cover Material Design components.
Why use it?
It helps replace scattered layout settings with one styling approach, but requires alpha Compose dependencies and experimental API opt-in.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: installed under .agents/ (shared by several agents).

This is arindamxd/camerax-android's own configuration. It tells Claude Code and Codex how to work on camerax-android itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything camerax-android configures →

Reuse

Borrowing it

Nothing to install: this file belongs to arindamxd/camerax-android. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/arindamxd/camerax-android/master/.agents/skills/styles/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/arindamxd/camerax-android

Made for: Claude Code, Codex.

Wrote 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.

agentmods badge for styles

README.md
[![agentmods](https://agentmods.dev/badge/skills/arindamxd/camerax-android/styles/github.svg)](https://agentmods.dev/skills/arindamxd/camerax-android/styles)
Your own site
<a href="https://agentmods.dev/skills/arindamxd/camerax-android/styles"><img src="https://agentmods.dev/badge/skills/arindamxd/camerax-android/styles/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.

agentmods 80×15 button for styles

Your own site · 80×15
<a href="https://agentmods.dev/skills/arindamxd/camerax-android/styles"><img src="https://agentmods.dev/badge/skills/arindamxd/camerax-android/styles.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 70 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,959 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin 97% copy Near-identical to another mod in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.00070 $0.01959
Opus 5.5 $0.00028 $0.00784
Sonnet 5.5 $0.00014 $0.00392
Haiku 4.5 $0.00007 $0.00196

Measured 2mo ago against content hash 8929f516fbfe, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

styles 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.

Origin

This is a copy

97% identical to styles — 40 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

.agents/skills/styles/SKILL.md · 229 lines

How it starts

The opening of the file, as written. The whole thing — 229 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Limitations

  • Warn the user that this skill is EXPERIMENTAL and requires updating to alpha version of Compose and opting in to the Experimental APIs.
  • This skill only supports custom UI components and custom themes.
  • This skill does not support Material Design component Styles.

Prerequisites

1. Upgrade dependencies

  • The project must use compileSdk version 37 or higher.
  • The project must use androidx.compose.foundation:foundation version 1.12.0-alpha01 or higher.
  • Alternatively, the project must use Compose BOM version 2026.04.01 or higher.
  • The API requires this exact package: import androidx.compose.foundation.style.Style

2. Configure compiler options to enable experimental API

You must opt-in to the experimental API at the project level. Add the following block to your module's build.gradle.kts:

kotlin {
    compilerOptions {
        jvmTarget = JvmTarget.fromTarget("17")
        freeCompilerArgs.add("-opt-in=androidx.compose.foundation.style.ExperimentalFoundationStyleApi")
    }
}

Core workflows and guides

Refer to the official documentation to complete specific development tasks:

Read the full file on GitHub · 229 lines

Changes

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.

  1. 2mo ago First seen · 229 lines · 70 tokens per session scan A 8929f516fbfe

Subscribe to this mod's changes

styles is a skill published in the GitHub repository arindamxd/camerax-android (132 stars, last pushed 1mo ago), licensed Apache-2.0. It adds 70 tokens to every session and 1,959 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it A with 0 findings. It is 97% identical to styles, differing in 40 lines, and is treated as a copy.

Related

styles compared with skills from other repositories

styles next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
stylesarindamxd/camerax-androidSkill1321mo agoApache-2.0A70Claude Code, Codex
compose-component-designchrisbanes/skillsSkill1.1kyesterdayApache-2.0A41Claude Code
m3-expressiveahmed3elshaer/everything-claude-code-mobileSkill664mo agoMITA41Claude Code
liquid-glassahmed3elshaer/everything-claude-code-mobileSkill664mo agoMITA40Claude Code
accessibility-patternsahmed3elshaer/everything-claude-code-mobileSkill664mo agoMITA35Claude Code
design-uiThisIsSadeghi/KMPilotSkill553mo agoMITB22Claude Code
sceneviewsceneview/sceneviewSkill1.4kyesterdayApache-2.0A156Codex