wear-widget

wear-widget is a skill for Claude Code, Codex from ithinkihaveacat/dotfiles. It costs 81 tokens per session (3,839 once invoked), scanned A, original, Apache-2.0.

A workflow guide for examining and extracting Wear OS and Android widgets from APK files. An APK is the installable package used by Android apps; the guide covers widgets, tiles, manifests, layouts, icons, previews, and emulator rendering.

In plain words
What is it for?
Use it to inspect APK widget features, decode manifests and XML, extract widget artwork, render previews, or develop and audit Wear OS widgets and tiles.
Why use it?
It provides a repeatable way to discover how an app declares and displays widgets. This reduces manual inspection when analyzing an existing app or checking a widget implementation.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to inspect APK widget features, decode manifests and XML, extract widget artwork, render previews, or develop and audit Wear OS widgets and tiles.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/ithinkihaveacat/dotfiles/wear-widget
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 ithinkihaveacat/dotfiles --skill wear-widget
Clone the repo
git clone --depth 1 https://github.com/ithinkihaveacat/dotfiles

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 wear-widget

README.md
[![agentmods](https://agentmods.dev/badge/skills/ithinkihaveacat/dotfiles/wear-widget.svg)](https://agentmods.dev/skills/ithinkihaveacat/dotfiles/wear-widget)
Your own site
<a href="https://agentmods.dev/skills/ithinkihaveacat/dotfiles/wear-widget"><img src="https://agentmods.dev/badge/skills/ithinkihaveacat/dotfiles/wear-widget.svg" alt="Measured on agentmods" height="20"></a>
Per session 81 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,839 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. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00081 $0.03839
Opus 5 $0.00041 $0.01920
Sonnet 5 $0.00016 $0.00768
Haiku 4.5 $0.00008 $0.00384

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

Security

Grade A, and why

wear-widget 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 8d 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.

skills/wear-widget/SKILL.md · 371 lines

How it starts

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

Wear Widget Skill

This skill provides specialized workflows, checklists, and tools for reverse-engineering, analyzing, and extracting Wear OS and Android widgets.

Use this skill when:

  • Analyzing an Android application package (APK) to identify its widget-related features.
  • Inspecting widget manifest declarations, services, and XML configuration files.
  • Extracting and rendering widget icons and preview images.
  • Developing, testing, or auditing custom Wear OS widgets or tiles.

Widget Analysis & Extraction Checklist

Follow this step-by-step methodology when analyzing an APK. Leverage binary analysis and ADB device management tools where applicable.

Decompile the APK

Decompile the APK to decode binary manifests, layouts, and resource values into readable plain-text formats using binary decoding tools (such as apktool or workspace APK helpers):

apktool d <app_name>.apk -o <output_dir>

Identify Widget Services in the Manifest

Search the decompiled AndroidManifest.xml for services or receivers acting as widget or tile providers:

  • Glance / Wear OS Widgets: <action android:name="androidx.glance.wear.action.BIND_WIDGET_PROVIDER" />
  • Standard Android AppWidgets: <action android:name="android.appwidget.action.APPWIDGET_UPDATE" />
  • Wear OS Tiles: <action android:name="androidx.wear.tiles.action.BIND_TILE_PROVIDER" />
  • Locate Configuration XML: Find the <meta-data> element pointing to the XML info file:
    • Glance: name="androidx.glance.wear.widget.provider"
    • AppWidget: name="android.appwidget.provider"
    • Resource: Note the xml resource path (e.g., @xml/widget_info, mapping to res/xml/widget_info.xml).

Extract and Parse the Configuration XML

Open the resolved XML file in res/xml/ to extract metadata:

  • Basic Attributes: Note label, description, icon, and preferredType (e.g., SMALL, LARGE).
  • Containers: Note all supported container sizes/types and their corresponding previewImage drawables.

Read the full file on GitHub · 371 lines

Files

What ships with it

2 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. 8d ago First seen · 371 lines · 81 tokens per session scan A 6857afef0c3f

Subscribe to this mod's changes

wear-widget is a skill published in the GitHub repository ithinkihaveacat/dotfiles (48 stars, last pushed today), licensed Apache-2.0. It adds 81 tokens to every session and 3,839 once invoked, about $0.0004 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-08-30.

Related

Other skills, from other repositories

aish-add-skills

Create new skills from documents, tutorials, or examples. Use when user wants to create a skill from learning materials or existing content.

AI-Shell-Team/aish · 32 tokens

diagnose_system_lag

A read-only Linux troubleshooting guide for computers that feel slow, freeze, run out of memory, restart unexpectedly, or have storage or local-network delays. It chooses checks based on the reported symptom.

AI-Shell-Team/aish · 78 tokens

devops-platform-engineering

Platform engineering expert specializing in internal developer platforms, self-service infrastructure, Backstage service catalogs, GitOps with ArgoCD, and golden path templates. Use for building developer portals and platform-as-a-product.

AI-Shell-Team/aish · 47 tokens

dns-diagnose

A read-only tool for finding problems with domain-name resolution, the system that turns names such as example.com into server addresses. It checks local resolvers and DNS records for failures, wrong answers, or changes that are not visible yet.

AI-Shell-Team/aish · 66 tokens

network-path-diagnose

A read-only tool for checking the network route from this computer to a chosen server or website. It uses standard connection tests to examine reachability, delay, packet loss, and variation in delay.

AI-Shell-Team/aish · 82 tokens

devops-docker-patterns

Docker containerization expert specializing in multi-stage builds, image optimization, Docker Compose patterns, and production container security. Use for Dockerfile optimization, compose configurations, and container best practices.

AI-Shell-Team/aish · 43 tokens