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.
npx agentmods add skills/miaoy0ushan/fp/android-kernelnpx skills add MiaoY0uShan/FP --skill android-kernelgit clone --depth 1 https://github.com/MiaoY0uShan/FPWhat 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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5 | $0.00068 | $0.00732 |
| Opus 5 | $0.00034 | $0.00366 |
| Sonnet 5 | $0.00014 | $0.00146 |
| Haiku 4.5 | $0.00007 | $0.00073 |
Grade A, and why
fp-android-kernel 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 2d 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.
How it starts
The opening of the file, as written. The whole thing — 48 lines — stays where its author put it; the contents beside it link to each section on GitHub.
FP Android-Kernel Profile
Load with fp-live-system for any task involving kernel source, boot images, or device firmware.
Android-Specific Rules
1. KMI Compatibility Is a Hard Gate
- Never flash a boot image without comparing
Module.symversagainst the stock baseline. changed_crc > 0ormissing > 0→ stop, do not flash.- Adding new exports is safe only when
changed_crc=0andmissing=0for all existing symbols. - On GKI 2.0 (6.x+), vendor modules in
vendor_dlkmmust match vermagic exactly, including page size suffix (-4k/-16k).
2. Boot Image Structure Varies
- Verify header version with
unpack_bootimg.pybefore repacking. - Never assume header v3/v4 from build config — check the actual device boot image.
- Stock ramdisk must be preserved when adding KernelSU; only the kernel Image is replaced.
3. Deployment Path Hierarchy
fastboot boot(temporary) →fastboot flash(permanent) — preferred when available.9008 EDL + Firehose— fallback when fastboot is blocked; requires Firehose programmer for the specific SoC.ddfrom live system — highest risk; only when both fastboot and 9008 are unavailable, and only after verifying partition offsets withlpdumpor GPT readback.
4. eBPF on Android
- Stock kernels may lack
CONFIG_DEBUG_INFO_BTF; plan for raw bpf() syscall path, not CO-RE. - Android uses BoringSSL, not OpenSSL.
SSL_read/SSL_writesymbols may be in/apex/com.android.conscrypt/lib64/libssl.so. - SELinux context (
u:r:ksu:s0) may denybpf()orperf_event_open(); capture AVC denials before modifying policy. - Verify with exact-PID uprobe + negative control (wrong PID → zero events) before claiming functional.
5. KernelSU Module Packaging
/data/adb/modules/<name>/module.prop+service.shfor boot-time execution.- ConfigFS USB Gadget functions require
CONFIG_USB_F_*built-in, not just as modules. - sysfs-based debug controls: expose via
/sys/kernel/debug/<subsystem>/<control>with default-off behavior.
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.
- 2d ago First seen · 48 lines · 68 tokens per session scan A 41a20128ff58
fp-android-kernel is a skill published in the GitHub repository MiaoY0uShan/FP (3 stars, last pushed 26d ago), licensed MIT. It adds 68 tokens to every session and 732 once invoked, about $0.0003 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-31.
Other skills, from other repositories
gamified-app
A multi-frame gamified mobile-app prototype — three phone frames on a dark showcase stage. Frame 1: cover / poster, Frame 2: today's quests with XP ribbons and a level bar, Frame 3: quest detail. Vivid quest tiles, level ribbon, bottom tab bar. Use when the brief asks for a "gamified app", "habit tracker", "RPG-style…
amc-run-rtsp-calibration
Calibrate a new dataset from live RTSP camera streams via the AutoMagicCalib REST API. Use when the user provides RTSP URLs or asks to calibrate live cameras; VIOS records clips, AMC ingests them, then runs calibration.
deepstream-run-mv3dt
Run and operate the DeepStream Multi-View 3D Tracking reference app, also known as MV3DT. Use when the user asks to set up prerequisites, run shipped MV3DT samples, run Multi-View 3D Tracking on custom synchronized MP4 datasets, import camera calibration, delegate missing calibration to AutoMagicCalib, inspect OSD or…
nvidia-skill-finder
Use for NVIDIA-related requests where an NVIDIA skill might help, even if the user did not ask for a skill. Trigger on NVIDIA products, hardware, software, SDKs, GPUs, Jetson/JetPack/L4T/BSP/SDK Manager/driver/flashing/setup, CUDA, NIM, NeMo, Omniverse/OpenUSD/SimReady, RAPIDS/cuDF, cuPyNumeric, cuOpt, Dynamo…
doca-aes-gcm
Use this skill when the user is doing hands-on DOCA AES-GCM work on a BlueField DPU or ConnectX NIC — configuring docaaesgcmtaskencrypt / taskdecrypt, querying docaaesgcmcap for per-key-type (only DOCAAESGCMKEY128 / 256 — AES-192 not supported) and per-task support, sizing plaintext against the max-buf cap, setting…
doca-common
Use this skill whenever the user is doing hands-on DOCA programming on a BlueField DPU or ConnectX NIC and needs the foundation primitives every per-library context rests on — walking the docactx lifecycle, discovering docadev / docadevinfo and gating on docacap before trusting a feature, wiring docammap /…