apmlisted
Install: claude install-skill yspbwx2010/skills
# APatch module (APM)
An APM is a **Magisk-style systemless module** for [APatch](https://github.com/bmax121/APatch).
It modifies `/system` without touching the real partition, runs boot scripts, and installs from a
zip through the APatch manager. APatch's module engine is derived from KernelSU's, so if you know
Magisk/KernelSU modules this is familiar — the differences are the ones that bite, and they are
called out below.
This skill is written against **APatch manager 11224** (its `apd` daemon and installer). APM is
**not** KPM: a KPM is kernel-space C (see the `kpm` skill); an APM is files + shell.
## The two things that make an APM
1. A directory installed at `/data/adb/modules/<id>/` containing at least a **`module.prop`**.
2. Optionally a **`system/`** tree (mounted over `/system`), boot **scripts**, and metadata files.
Distributed as a **zip** flashed in the APatch manager. Minimum viable module:
```
mymodule.zip
├── module.prop # required — without it, it is not a module
├── customize.sh # optional install-time script
├── system/... # optional, overlaid on /system
└── service.sh # optional, runs late in boot
```
Use `scripts/new_module.py <dir> --id my_module --name "My Module"` to scaffold a valid zip layout.
## module.prop (required)
```
id=my_module
name=My Module
version=v1.0
versionCode=1
author=you
description=What it does
```
- **`id`** must match `^[a-zA-Z][a-zA-Z0-9._-]+$` (verified in `apd`). It is the d