# EAPIL Skill Market

Codex custom plugin marketplace test repository.

## Desktop test

In **Add plugin marketplace**:

- Source: `https://git.playones.com/arechen/EapilSkillMarket.git`
- Git ref: `main`
- Sparse path: leave empty

After the marketplace is added, install only the plugin you need from the `EAPIL Skill Market` marketplace.

If you want to use sparse checkout, enter both paths if the UI allows multiple lines:

```text
.agents
plugins/codex
```

## CLI test

```powershell
codex plugin marketplace add https://git.playones.com/arechen/EapilSkillMarket.git --ref main
codex plugin add docx@eapil-skill-market
```

Sparse CLI form:

```powershell
codex plugin marketplace add https://git.playones.com/arechen/EapilSkillMarket.git --ref main --sparse .agents --sparse plugins/codex
codex plugin add superpowers@eapil-skill-market
```

For local testing before pushing:

```powershell
codex plugin marketplace add .
codex plugin add ui-ux-pro-max@eapil-skill-market
```

Start a new Codex thread after installing so the new skills are loaded into context.

## Plugins

- `docx`
- `superpowers`
- `ui-ux-pro-max`

List available plugins:

```powershell
codex plugin list --marketplace eapil-skill-market
```

Remove an installed plugin:

```powershell
codex plugin remove docx@eapil-skill-market
```

## External sync

Third-party plugins are configured in `config/external-sources.json` and synced with:

```powershell
powershell -ExecutionPolicy Bypass -File .\scripts\sync_external_plugins.ps1
```

If GitHub access is unstable locally, use the proxy:

```powershell
powershell -ExecutionPolicy Bypass -File .\scripts\sync_external_plugins.ps1 -Proxy http://127.0.0.1:18085
```

The sync script currently supports:

- `codex-plugin`: mirrors an upstream Codex plugin repo, used for `obra/superpowers`.
- `claude-skill`: converts one Claude-style skill directory into a Codex plugin, used for `nextlevelbuilder/ui-ux-pro-max-skill`.

Use `manifestOverrides` and `skillDescriptions` in `config/external-sources.json` for local Chinese UI text and skill descriptions. These overlays are applied after each upstream sync, so do not edit generated third-party plugin files directly for localization.

After sync, validate the marketplace:

```powershell
python scripts\validate_marketplace.py
```

Periodic sync should call the script directly from a maintenance process, cron job, or service container. Keep the scheduling layer outside this repository; the repository only defines source config, generated plugin output, and validation.

## Layout

```text
.agents/plugins/marketplace.json
plugins/codex/
  .agents/plugins/marketplace.json
  plugins/docx/
    .codex-plugin/plugin.json
    skills/docx/
  plugins/superpowers/
    .codex-plugin/plugin.json
    skills/
  plugins/ui-ux-pro-max/
    .codex-plugin/plugin.json
    skills/ui-ux-pro-max/
```
