Live survey304 models · 14 providers · 22,792 auditsAudited grill-with-docs · SAFE →What changedHow we verifyllms.txt

Agent skill · Audited from source

styles

skill · android/skillsApache-2.0 licenceAudited 31 Oct 2026 · source ba2d4bc1b905

★ 10,134pushed 2 days ago
✕BLOCKGrade D · 69/100 · 17 findings · ba2d4bc
10,134repo stars · whole android/skills

Is it safe? No — BLOCK, grade D (69/100). We read this skill's source at commit ba2d4bc1b905 and observed network access and no hard-coded secrets. The audit raised 17 findings, 6 critical or high. What it does: Provide technical guidance for Android camera development with CameraX.

Ask an AI about this pageGChatGPTCClaudePPerplexityGeGeminiXGrok
More
Cite

Cite this page

ModelsAtlas. “styles (android/skills)”. Retrieved 31 Oct 2026. https://modelsatlas.com/skills/android/styles

Blocked. The page stays public so you can check this skill if someone recommended it to you. The audit found 6 critical or high findings, starting with “Prompt injection” in identity/restore-credentials/SKILL.md:144. Do not install it without reading them.

Trust audit

Audit 0.4.1 · source read 31 Oct 2026

Trust score69/100✕BLOCK D
4 critical2 high6 medium1 low4 info

BLOCK means the audit found something that could harm you or your machine. Grade D is shared by 721 of 17,602 audited skills.

What the source does

  • FilesystemNone observedNo reads or writes in the source
  • NetworkDeclared4 observations
  • ShellNone observedNo commands run in the source
  • DependenciesPinnedNothing floats
  • SecretsNone foundNo keys in source

Five audit layers

LayerWhat we checkResultFindings
L0 ProvenanceRepo owner, licence, archive status, activityPASS0
L1 Static sourceSecrets, path traversal, supply chain, hidden codeWARN1
L2 InstructionsPrompt injection, authority framing, hidden directivesFAIL16
L3 InventoryThe files and declarations match the sourcePASS0
L4 SandboxRun in isolation and watch behaviourSKIPPED why0

Gates applied: critical finding, no behavioural pass, undeclared transfer.

Findings (17)

CRITICALPrompt injectionprompt.transfer_instruction · identity/restore-credentials/SKILL.md:144
F-01 Prompt injectionCWE-94 · CWE-1427Layer L2
2. [**Get credential creation options from the app server**](https://developer.mozilla.org/en-US/docs/Web/API/Web_Authentication_API): Send the client app the details required to create the restore ke
Why
an instruction to move sensitive data to an outside destination
Fix
remove; a skill never needs the user's secrets off the machine
CRITICALPrompt injectionprompt.transfer_instruction · identity/restore-credentials/SKILL.md:146
F-01 Prompt injectionCWE-94 · CWE-1427Layer L2
4. [**Handle the credential creation response**](https://w3c.github.io/webauthn/#dictdef-publickeycredentialrequestoptionsjson): Send the credentials from your client app to your app server for proces
Why
an instruction to move sensitive data to an outside destination
Fix
remove; a skill never needs the user's secrets off the machine
CRITICALPrompt injectionprompt.transfer_instruction · identity/restore-credentials/SKILL.md:148
F-01 Prompt injectionCWE-94 · CWE-1427Layer L2
1. [**Get credential retrieval options from the app server**](#get-credential-retrieval): Send the client app the details required to retrieve the restore key from your app server.
Why
an instruction to move sensitive data to an outside destination
Fix
remove; a skill never needs the user's secrets off the machine
CRITICALPrompt injectionprompt.transfer_instruction · identity/restore-credentials/SKILL.md:150
F-01 Prompt injectionCWE-94 · CWE-1427Layer L2
3. [**Handle the credential retrieval response**](#handle-sign-in): Send the restore key from the client app to the app server to sign in the user.
Why
an instruction to move sensitive data to an outside destination
Fix
remove; a skill never needs the user's secrets off the machine
HIGHPrompt injectionprompt.read_system · play/play-policy-insights/SKILL.md:115
F-01 Prompt injectionCWE-94 · CWE-1427Layer L2
complete. Pass the prompt: `"Read your instructions from
Why
No further detail recorded for this rule.
Fix
—
HIGHPrompt injectionprompt.read_system · play/play-policy-insights/SKILL.md:135
F-01 Prompt injectionCWE-94 · CWE-1427Layer L2
`"Read your instructions from <temp_dir>/prompt_critic_<i>.md and execute. MANDATORY: You must use your file-writing capabilities to save your final JSON findings directly to the file system at <temp_
Why
No further detail recorded for this rule.
Fix
—
MEDIUMNetwork egressnet.beacon_words · play/play-policy-insights/scripts/generate_report.py:805
F-04 Network egressCWE-200 · CWE-319Layer L1
" exfiltration was detected. These typically do not require a"
Why
No further detail recorded for this rule.
Fix
—
MEDIUMPrompt injectionprompt.conditional_escalation · device-ai/appfunctions/SKILL.md:59
F-01 Prompt injectionCWE-94 · CWE-1427Layer L2
When the user asks for a subset of the steps, run those steps and any step
Why
No further detail recorded for this rule.
Fix
—
MEDIUMSupply chainprompt.pipe_to_shell · devtools/android-cli/SKILL.md:33
F-08 Supply chainCWE-829 · CWE-1357Layer L2
- Linux x86-64: curl -fsSL https://dl.google.com/android/cli/latest/linux_x86_64/install.sh \| bash
Why
No further detail recorded for this rule.
Fix
—
MEDIUMSupply chainprompt.pipe_to_shell · devtools/android-cli/SKILL.md:34
F-08 Supply chainCWE-829 · CWE-1357Layer L2
- Linux ARM64: curl -fsSL https://dl.google.com/android/cli/latest/linux_arm64/install.sh \| bash
Why
No further detail recorded for this rule.
Fix
—
MEDIUMSupply chainprompt.pipe_to_shell · devtools/android-cli/SKILL.md:35
F-08 Supply chainCWE-829 · CWE-1357Layer L2
- Mac Arm: curl -fsSL https://dl.google.com/android/cli/latest/darwin_arm64/install.sh \| bash
Why
No further detail recorded for this rule.
Fix
—
MEDIUMSupply chainprompt.pipe_to_shell · devtools/android-cli/SKILL.md:36
F-08 Supply chainCWE-829 · CWE-1357Layer L2
- Mac Intel: curl -fsSL https://dl.google.com/android/cli/latest/darwin_x86_64/install.sh \| bash
Why
No further detail recorded for this rule.
Fix
—
LOWPrompt injectionprompt.transfer_instruction · cars/android-for-cars-parked-apps/references/android/docs/quality-guidelines/car-app-quality/index.md:189
F-01 Prompt injectionCWE-94 · CWE-1427Layer L2
| Templated Messaging Functionality | `TMF-1` | Messaging (templated) | The app displays conversations as described in [Display conversations](https://developer.android.com/training/cars/communication
Why
an instruction to move sensitive data to an outside destination
Fix
remove; a skill never needs the user's secrets off the machine
INFOPrompt injectionprompt.credential_read · cars/android-for-cars-parked-apps/references/android/docs/quality-guidelines/car-app-quality/index.md:108
F-01 Prompt injectionCWE-94 · CWE-1427Layer L2
| Sensitive Data | `SD-1` | Browsers | Browsers must not save or allow access to passwords or payment information unless the [user can block access to passwords](https://developer.android.com/training
Why
asks the agent to read credentials
Fix
—
INFOPrompt injectionprompt.credential_read · cars/android-for-cars-parked-apps/references/android/docs/quality-guidelines/car-app-quality/index.md:542
F-01 Prompt injectionCWE-94 · CWE-1427Layer L2
Browsers must not save or allow access to passwords or payment
Why
asks the agent to read credentials
Fix
—
INFOPrompt injectionprompt.credential_read · cars/android-for-cars-parked-apps/references/android/docs/quality-guidelines/car-app-quality/index.md:543
F-01 Prompt injectionCWE-94 · CWE-1427Layer L2
information unless the user can block access to passwords using a
Why
asks the agent to read credentials
Fix
—
INFOPrompt injectionprompt.credential_read · identity/verified-email/references/android/identity/digital-credentials/index.md:16
F-01 Prompt injectionCWE-94 · CWE-1427Layer L2
- **Interoperability**: By following open standards, digital credentials can work across different operating systems, devices, and platforms.
Why
asks the agent to read credentials
Fix
—

Audit 0.4.1 · source sha ba2d4bc1b905 · 31 Oct 2026Report an issue or request a re-scan

Provenance

Who published it, and what the verdict is pinned to

  • Publisherandroid GitHub organizationOwner of the repository this skill is read from
  • Source folderandroid/skillsThe exact folder we audited
  • LicenceApache-2.0As the repository states it
  • Commit pinned for this verdictba2d4bc1b905A new audit runs when the source changes
  • Repository statusNot archivedLast push 2 days ago
  • Sandboxed runNot runSkills are read, not executed; layer L4 is skipped

What it tells the agent

Full source on GitHub ↗

Its description: Provide technical guidance for Android camera development with CameraX.

---
name: camerax
description: Provide technical guidance for Android camera development with CameraX.
  Use when implementing camera features, handling asynchronous recording lifecycles,
  wiring low-level hardware interop using CameraX, or integrating ML Kit or Media3
  effects.
license: Complete terms in LICENSE.txt
metadata:
  author: Google LLC
  last-updated: '2026-10-08'
  keywords:
  - recipe
  - Android
  - Camera
  - Camera1
  - Camera2
  - CameraX
  - migration
  - Compose
  - guide
  - dependencies
  - PreviewView
  - CameraXViewfinder
  - ImageCapture
  - VideoCapture
  - ImageAnalysis.
---

This skill provides procedural guidance and standard patterns for building
camera applications on Android, with a focus on CameraX, including its
`Camera2Interop` utilities, and Media3 integrations.

## Core workflows

### Handling immutable API patterns

Various Android camera and media APIs, especially CameraX `VideoCapture`, use a
**fluent, immutable builder-like pattern** where methods return a new instance.
Failing to reassign these results in settings, such as audio, being ignored.

**Pattern: Reassignment is required**


```kotlin
// WRONG
run {
  val pending = recorder.prepareRecording(context, opts)
  pending.withAudioEnabled() // This returns a new instance which is ignored
  val active = pending.start(exec, listener)
}

// CORRECT
run {
  val pending = recorder.prepareRecording(context, opts)
      .withAudioEnabled() // Chaining works
  val active = pending.start(exec, listener)
}

// ALSO CORRECT
run {
  var pending = recorder.prepareRecording(context, opts)
  pending = pending.withAudioEnabled() // Reassignment
  val active = pending.start(exec, listener)
}
```

<br />

See [immutability](references/immutability.md) for a list of affected classes.

### Migrating to CameraX

When migrating legacy camera codebases to the CameraX Jetpack library:

- **Camera1 to CameraX** : For migrating legacy `android.hardware.Camera` implementations, surface handling, and manual lifecycles, see the [Camera1 migration guide](references/camera1-to-camerax.md).
- **Camera2 to CameraX** : For migrating more recent but verbose `android.hardware.camera2` implementations, session state callbacks, and interop patterns, see the [Camera2 migration guide](references/camera2-to-camerax.md).

### Comprehensive feature blueprinting

For multi-step features that involve multiple files and hardware-level wiring,
follow the [Structural Blueprinting](references/expert-blueprints.md) approach to avoid
system timeouts. Such complex features include:

- **Manual controls** : Break down into the `ViewModel` state, the controller layer, and the `Camera2Interop` wiring in the session.
- **RAW capture**: Separate JPEG and RAW output configurations into discrete build steps.
- **Custom effects** : Prefer `Media3Effect` or `SurfaceProcessor` over manual OpenGL pipelines unless absolute performance is required.
- **Low-light** : See [low-light](references/low-light.md) for Night Mode and LLB guidance.
- **Foldables** : See [foldables](references/foldables.md) for handling dynamic postures and hinge states.
- **XR, AR, and VR** : See [xr](references/xr.md) for spatial tracking, passthrough synchronization, and latency guardrails.
- **Thermals and power** : See [thermals](references/thermals.md) for managing `StreamUseCase` optimizations and `PowerManager` thermal states.
- **Testing and mocking** : See [testing](references/testing.md) for using `FakeCameraConfig`, handling asynchronous lifecycles, and validating analysis pipelines.
- **ML Kit spatial analysis** : See [mlkit-spatial](references/mlkit-spatial.md) for coordinate mapping, rotation logic, and mirrored lens handling.
- **Wear OS camera remote** : See [wear-os](references/wear-os.md) for circular UI constraints, Data Layer API syncing, and remote trigger logic.

See [expert-blueprints](references/expert-blueprints.md) for step-by-step guides.

### API discovery

Always use higher-level abstractions instead of low-level manual wiring:

- **Analysis** : Use `MlKitAnalyzer` instead of manual `ImageAnalysis.Analyzer`.
- **Filters and effects** : Use `Media3Effect` for standard post-processing.
- **Multi-camera** : Use `ConcurrentCamera` APIs for dual-stream setups.

See [modern-apis](references/modern-apis.md) for current recommendations.

### Code quality and architectural rules

Adhere to the following Android ecosystem standard patterns when building your
camera implementations:

- **Testing, fakes over mocks** : Avoid mocking libraries like `Mockito`, especially for multi-step CameraX interfaces like `ImageProxy`. Build "Fakes" to verify state rather than unreliable implementation details.
- **Google Truth assertions** : Use `assertThat` over standard `JUnit` assertions like `assertEquals` for improved readability.
- **Explicit test runners** : Always define an explicit `@RunWith` for test classes to ensure the CI environment executes them correctly.
- **Semantic UI merging** : When building custom camera controls in Compose, such as a button with an `Icon` and `Text`, use `semantics {
  mergeDescendants = true }` to ensure screen readers announce them as a single, coherent unit.

## Hardware and device diversity

Camera apps run on a wide variety of hardware, from mobile phones and
foldables to tablets, laptops, and even smart appliances. Have consideration
for the specific hardware the app is running on.

- **Form factors**: Account for screen size and orientation changes on foldables and tablets.
- **Multi-camera arrays**: Some devices have a rear-facing camera and a front-facing camera. Other devices have multiple rear-facing cameras, such as wide-angle and telephoto lenses.
- **Feature parity**: Features like flash or auto-focus behave differently across hardware. For example, CameraX handles both physical flash, back, and screen-based flash, front, and both must be considered when implementing flash functionality.

## Common pitfalls

- **Asynchronous l

Excerpt, first 6,000 characters of SKILL.md, verbatim from the audited commit. It is text from someone else’s repository, quoted so you can judge it before your agent reads it.

Install

Pinned to the audited commit ba2d4bc

git clone https://github.com/android/skills
git -C skills checkout ba2d4bc1b905

The author documents no install command, so this uses the repository directly. Our verdict covers commit ba2d4bc1b905 only.

Works in which agents?

What its own text says, not a test

AgentStatusMore
Claude CodeMentioned in its text, not testedSkills for Claude Code · About Claude Code
CodexMentioned in its text, not testedSkills for Codex · About Codex
CursorMentioned in its text, not testedSkills for Cursor · About Cursor
“Mentioned” means the skill’s text names the agent. We have not run it there.

Audit history

Every audit, every source change

  1. ✕BLOCK D 69 / 100

    first audit · source ba2d4bc1b905

README badge

For maintainers · shows the latest audit

ModelsAtlas: BLOCK DMODELSATLASBLOCK · D
[![ModelsAtlas: BLOCK D](https://modelsatlas.com/skills/android/styles/badge.svg)](https://modelsatlas.com/skills/android/styles/)

The badge shows our verdict and grade for this skill, and links back to this page. It changes when the audit does.

Similar skills

Add this badge to your README

[![ModelsAtlas: BLOCK D](https://modelsatlas.com/skills/android/styles/badge.svg)](https://modelsatlas.com/skills/android/styles/)

Questions about styles

Is styles safe to install?
No — not without reading the findings first. The audit graded it D (69/100) and found 6 critical or high issues in the source. Each one is listed on this page with the file and line it is on.
What can styles access on my machine?
The audit observed that it reaches the network. Each of those is consistent with what it says it does. Secrets in the source: none found.
Which assistants does styles work with?
Its documentation mentions claude-code, codex and cursor. That is what the text claims, not a compatibility test we ran.
How current is this page?
The grade is for one exact copy of the source (ba2d4bc1b905), read on 2026-10-31. The repository is watched, and a new audit runs when it changes — this is the first audit.

Sources

Spotted something wrong? Report a correction · Methodology

Keep going in your AI

Opens with this page as the source. We add nothing else to the prompt.