Package the apk-reverse skill as Claude Code and Codex plugins

Add a manifest and marketplace for each host. Both wrap the existing skills/apk-reverse/ tree without duplicating it. Document both install routes in both READMEs, switch all repository links to the Codeberg remote, and add offline manifest tests. A real install round-trip stays unverified: neither CLI is installed here.
This commit is contained in:
root committed 2026-12-03 23:22:09 +08:00
1 parent 93ec493d02
commit dd3d4e21b4
8 files changed
+324 -20

No files matched your search

+48 -10
View File
@@ -10,12 +10,12 @@
</p>
<p align="center">
<a href="https://github.com/newliver666/apk-reverse/stargazers"><img src="https://img.shields.io/github/stars/newliver666/apk-reverse?style=flat-square&label=stars&color=49454F" alt="stars"></a>
<a href="https://github.com/newliver666/apk-reverse/network/members"><img src="https://img.shields.io/github/forks/newliver666/apk-reverse?style=flat-square&label=forks&color=49454F" alt="forks"></a>
<a href="LICENSE"><img src="https://img.shields.io/github/license/newliver666/apk-reverse?style=flat-square&color=49454F" alt="license"></a>
<a href="https://codeberg.org/reverse-skill-lab/apk-reverse/stars"><img src="https://img.shields.io/badge/stars-codeberg-49454F?style=flat-square&logo=codeberg&logoColor=white" alt="stars"></a>
<a href="https://codeberg.org/reverse-skill-lab/apk-reverse/forks"><img src="https://img.shields.io/badge/forks-codeberg-49454F?style=flat-square&logo=codeberg&logoColor=white" alt="forks"></a>
<a href="LICENSE"><img src="https://img.shields.io/badge/license-MIT-49454F?style=flat-square" alt="license"></a>
<img src="https://img.shields.io/badge/python-3.9%2B-49454F?style=flat-square&logo=python&logoColor=white" alt="python">
<img src="https://img.shields.io/badge/platform-android-49454F?style=flat-square&logo=android&logoColor=white" alt="android">
<a href="https://github.com/newliver666/apk-reverse/actions/workflows/ci.yml"><img src="https://img.shields.io/github/actions/workflow/status/newliver666/apk-reverse/ci.yml?style=flat-square&label=ci&color=49454F" alt="ci"></a>
<a href="https://codeberg.org/reverse-skill-lab/apk-reverse/src/branch/main/.github/workflows/ci.yml"><img src="https://img.shields.io/badge/CI-workflow-49454F?style=flat-square" alt="ci"></a>
</p>
<p align="center">
@@ -150,8 +150,9 @@ measurements.
## Structure
`SKILL.md`, `references/` and `scripts/` are all inside the skill directory, `skills/apk-reverse/`.
Everything at the repository root is maintenance tooling shared across skills, not part of an
installed skill.
Everything else at the repository root is maintenance tooling shared across skills, not part of an
installed skill — except the plugin manifests (`.claude-plugin/`, `.codex-plugin/` and
`.agents/plugins/`), which package that one skill and ship no content of their own.
```
SKILL.md a procedure with gates, not background reading:
@@ -522,10 +523,10 @@ This repository is a **skills repository**: the skill lives at `skills/apk-rever
layout the `skills` CLI resolves, and it is installed by name rather than by copying a directory:
```
npx skills add newliver666/apk-reverse # install every skill in the repo
npx skills add newliver666/apk-reverse --list # list what is here, install nothing
npx skills add newliver666/apk-reverse --skill apk-reverse -y
npx skills use newliver666/apk-reverse@apk-reverse # use it once, without installing
npx skills add https://codeberg.org/reverse-skill-lab/apk-reverse # install every skill in the repo
npx skills add https://codeberg.org/reverse-skill-lab/apk-reverse --list # list what is here, install nothing
npx skills add https://codeberg.org/reverse-skill-lab/apk-reverse --skill apk-reverse -y
npx skills use https://codeberg.org/reverse-skill-lab/apk-reverse --skill apk-reverse # use it once, without installing
```
The CLI symlinks the skill into your agent's skills directory by default (`--copy` makes independent
@@ -536,6 +537,43 @@ selects a single skill once a second one exists.
Once installed, the agent loads `SKILL.md` when a task matches its description, and pulls in
`references/*` only as needed. No global state, no machine-specific paths, and no build step.
### Also installable as a plugin (Claude Code / Codex)
The same skill is packaged as a plugin for both agent CLIs. A plugin installs and updates the skill
as one unit; the `npx skills add` route above installs just the skill folder and does not need either
plugin.
**Claude Code** — add this repository as a marketplace, then install from it:
```
/plugin marketplace add https://codeberg.org/reverse-skill-lab/apk-reverse
/plugin install apk-reverse@apk-reverse
```
The shell equivalents are `claude plugin marketplace add https://codeberg.org/reverse-skill-lab/apk-reverse` and
`claude plugin install apk-reverse@apk-reverse`. The skill appears as `/apk-reverse:apk-reverse`.
To load a local checkout without installing, use `claude --plugin-dir .`.
**Codex** — add the same repository as a marketplace, then add the plugin:
```
codex plugin marketplace add https://codeberg.org/reverse-skill-lab/apk-reverse
codex plugin add apk-reverse@apk-reverse
```
Restart Codex so the new skill is picked up; invoke it with `$apk-reverse` or let the description
trigger it implicitly. `codex plugin list --json` shows what was installed.
The plugin files are manifests only — `.claude-plugin/plugin.json` and
`.claude-plugin/marketplace.json` for Claude Code, `.codex-plugin/plugin.json` and
`.agents/plugins/marketplace.json` for Codex. All four point at the one skill in
`skills/apk-reverse/`; no skill content is duplicated.
Verification status: the files were checked against each vendor's published plugin format and by
`tests/unit/test_plugin_manifests.py` (required fields, path resolution and cross-manifest
agreement). Neither `claude` nor `codex` was installed on the machine where this was written, so a
real install round-trip is `unverified`; run the commands above before treating it as `observed`.
## Requirements
Nothing is mandatory; each script checks what it needs. `skills/apk-reverse/scripts/doctor.py` reports