android-coil-compose

android-coil-compose is a skill for Codex from krutikJain/android-agent-skills. It costs 26 tokens per session (1,001 once invoked), scanned A, original, MIT.

An Android image-loading guide for using Coil with Jetpack Compose. Coil is a Kotlin image-loading library that fetches and displays images, including loading and error states.

In plain words
What is it for?
Use it to choose between AsyncImage and painter APIs, add placeholders and error handling, set image sizes, provide descriptions, and improve list rendering.
Why use it?
It helps prevent incorrectly sized, inaccessible, or poorly behaved images, especially in scrolling lists.

Skill for Codex

Written for Codex: agents/openai.yaml present.

Good fit Use it to choose between AsyncImage and painter APIs, add placeholders and error handling, set image sizes, provide descriptions, and improve list rendering.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/krutikjain/android-agent-skills/android-coil-compose
Install

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.

Any agent
npx skills add krutikJain/android-agent-skills --skill android-coil-compose
Clone the repo
git clone --depth 1 https://github.com/krutikJain/android-agent-skills

Made for: 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 android-coil-compose

README.md
[![agentmods](https://agentmods.dev/badge/skills/krutikjain/android-agent-skills/android-coil-compose.svg)](https://agentmods.dev/skills/krutikjain/android-agent-skills/android-coil-compose)
Your own site
<a href="https://agentmods.dev/skills/krutikjain/android-agent-skills/android-coil-compose"><img src="https://agentmods.dev/badge/skills/krutikjain/android-agent-skills/android-coil-compose.svg" alt="Measured on agentmods" height="20"></a>
Per session 26 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,001 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 original No closer match found 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.00026 $0.01001
Opus 5 $0.00013 $0.00500
Sonnet 5 $0.00005 $0.00200
Haiku 4.5 $0.00003 $0.00100

Measured 4d ago against content hash 911bd516e017, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, from the pricing page.

Security

Grade A, and why

android-coil-compose 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 4d ago.

The scan reads SKILL.md. This mod also ships 1 executable file (scripts/run_examples.sh), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

.github/skills/android-coil-compose/SKILL.md · 77 lines

How it starts

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

Android Coil Compose

When To Use

  • Use this skill when the request is about: coil compose image loading, asyncimage android compose, rememberasyncimagepainter android.
  • Primary outcome: Use Coil in Jetpack Compose with AsyncImage, painter variants, sizing, and accessible image loading patterns.
  • Reach for this skill when the work is specifically about image loading, placeholders, error states, sizing, or list performance in Compose.
  • Read references/patterns.md for the AsyncImage vs painter vs subcomposition decision guide.
  • Read references/scenarios.md for list-performance and screenshot-stable validation paths.
  • Handoff skills when the scope expands:
  • android-compose-foundations
  • android-compose-performance

Workflow

  1. Identify whether the UI needs a simple image surface, low-level painter access, or custom slot-based loading states.
  2. Prefer AsyncImage first, then drop down to painter APIs only when the component truly needs them.
  3. Constrain size, placeholders, and content description so the image behavior is both performant and accessible; for painter APIs, supply an explicit size resolver when needed.
  4. Check list rendering, state churn, and visual fallbacks before considering the implementation done, and confirm that remote data or decoder modules are actually present when the source type needs them.
  5. Hand off general Compose layout or broader performance issues to the neighboring skills after the image pipeline is stable.

Guardrails

  • Prefer AsyncImage for most Compose surfaces.
  • Keep image requests sized to the rendered UI surface when possible.
  • Provide meaningful accessibility behavior: descriptive contentDescription for informative images, null for decorative ones.
  • Avoid subcomposition-heavy image patterns in scroll-heavy lists unless the UX truly needs them.
  • If you need painter state directly, remember that rememberAsyncImagePainter does not infer on-screen size by itself.

Anti-Patterns

  • Loading full-size remote assets into tiny list items.
  • Using SubcomposeAsyncImage everywhere when a simple placeholder is enough.
  • Treating image loading failures as silent no-ops with no error fallback.
  • Forgetting accessibility semantics on actionable or informative images.

Read the full file on GitHub · 77 lines

Files

What ships with it

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

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. 4d ago First seen · 77 lines · 26 tokens per session scan A 911bd516e017

Subscribe to this mod's changes

android-coil-compose is a skill published in the GitHub repository krutikJain/android-agent-skills (14 stars, last pushed 5mo ago), licensed MIT. It adds 26 tokens to every session and 1,001 once invoked, about $0.0001 per session on Opus 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-09-03.

Related

Other skills, from other repositories

truesheet-usage

Consumer-side guide for integrating @lodev09/react-native-true-sheet into a React Native app. Use this skill whenever the user wants to add, configure, control, or debug a bottom sheet using TrueSheet — including ref-based sheets, named global sheets, web support with TrueSheetProvider/useTrueSheet, React Navigation…

lodev09/react-native-true-sheet · 169 tokens

uniwind

Uniwind — Tailwind CSS v4 styling for React Native. Use when adding, building, or debugging components in a React Native project that uses Uniwind classNames. Covers setup, Metro config, global.css, theming, className props, accent- color props, platform/data/state/responsive variants, CSS variables, custom utilities…

uni-stack/uniwind · 130 tokens

e2e-testing

AI-powered E2E testing for any app — Flutter, React Native, iOS, Android, Electron, Tauri, KMP, .NET MAUI. Connects via MCP to running apps so the agent can take screenshots, tap elements, enter text, scroll, inspect UI trees, and verify state with natural language. Use when the user wants to test an app's UI…

ai-dashboad/flutter-skill · 107 tokens

maui-blazor-hybrid

Build/debug MAUI Blazor Hybrid. USE FOR: BlazorWebView vs HybridWebView, Razor UI, embedded HTML/JS, AddMauiBlazorWebView, root components, JS/.NET messaging, trim-safe JSON, wwwroot assets, auth/data handoff, DevFlow CDP route/DOM debugging. DO NOT USE FOR: pure XAML UI or browser-only apps.

dotnet/maui-labs · 88 tokens

react-native-expert

Expert in React Native, cross-platform mobile development, native modules, and performance optimization. Use when the user mentions mobile, JavaScript, TypeScript, cross platform, iOS, or Android, or when the task involves React Native Architecture, Component Types, Hooks Essentials, or Navigation.

personamanagmentlayer/pcl · 62 tokens

migrate-nativewind-to-uniwind

Migrate a React Native project from NativeWind to Uniwind. Use when the user wants to replace NativeWind with Uniwind, upgrade from NativeWind, switch to Uniwind, or mentions NativeWind-to-Uniwind migration. Handles package removal, config migration, Tailwind 4 upgrade, cssInterop removal, theme conversion, and all…

uni-stack/uniwind · 82 tokens