# Adaptive (agent skill)

> Adaptive is an agent skill (a SKILL.md file) from android/skills. Instructions to make or update an app's UI so that it adapts to different Android devices including phones, tablets, foldables, laptops, desktop, TV, Auto, and XR. It works with Claude Code and Codex and has 9,760 GitHub stars across a repository of 5 listed skills.

Instructions to make or update an app's UI so that it adapts to different Android devices including phones, tablets, foldables, laptops, desktop, TV, Auto, and XR. It includes how to handle different window sizes, pointing devices (such as mouse) and text entry devices (such as keyboard) using the Compose MediaQuery API, and how to preserve UI, navigation, scroll, and media playback state across configuration changes (such as folding/unfolding a foldable, rotating a device, or resizing a…

## Key facts

| Fact | Value |
|---|---|
| Repository | https://github.com/android/skills |
| Skill path | jetpack-compose/adaptive/SKILL.md |
| Skill name | adaptive |
| GitHub stars | 9,760 |
| Installs on skills.sh | not listed |
| License | Apache-2.0 |
| Skills in repo | 5 |
| Plugin marketplace | android-skills |
| Official | no |
| Works with | Claude Code, Codex |
| Category | Design & frontend |
| Last commit | Oct 23, 2026 |

## Add this skill

### Claude Code

```sh
/plugin marketplace add android/skills
/plugin install android-skills@android-skills
```

In the Claude apps, zip the skill folder and upload it under Customize > Skills > + > Upload a skill (code execution must be on).

### ChatGPT / Codex

```sh
git clone --depth 1 https://github.com/android/skills.git
cp -r skills/jetpack-compose/adaptive .agents/skills/adaptive   # repo; ~/.agents/skills for all projects
```

### Cursor

```sh
git clone --depth 1 https://github.com/android/skills.git
cp -r skills/jetpack-compose/adaptive .cursor/skills/adaptive   # project; ~/.cursor/skills for all projects
```

Sources (checked 2026-10-07): https://code.claude.com/docs/en/skills, https://support.claude.com/en/articles/12512180-using-skills-in-claude, https://learn.chatgpt.com/docs/build-skills, https://cursor.com/docs/context/skills

---

Canonical page: https://appsgit.com/skills/android-adaptive
Source: appsgit (https://appsgit.com), the app store for github. Data from the GitHub API, refreshed daily.
Machine access: JSON API https://appsgit.com/api/v1/apps (OpenAPI: https://appsgit.com/openapi.json), MCP server https://mcp.appsgit.com/mcp, full index https://appsgit.com/llms-full.txt.
