Skip to content

Commit be0cdb1

Browse files
regenrekcursoragent
andcommitted
Move plugin payload to plugins/planr so Codex can install it
Codex 0.138 silently ignores marketplace plugins whose source path is the repository root; the payload now lives in plugins/planr with the marketplace manifests pointing at the subdirectory. Fix the documented install command (codex plugin add planr@planr) and bump to 1.1.2. Co-authored-by: Cursor <cursoragent@cursor.com>
1 parent 92f8610 commit be0cdb1

27 files changed

Lines changed: 51 additions & 35 deletions

File tree

.agents/plugins/marketplace.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
"name": "planr",
99
"source": {
1010
"source": "local",
11-
"path": "./"
11+
"path": "./plugins/planr"
1212
},
1313
"policy": {
1414
"installation": "AVAILABLE",

.claude-plugin/marketplace.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
"plugins": [
1010
{
1111
"name": "planr",
12-
"source": "./",
12+
"source": "./plugins/planr",
1313
"description": "One $planr entry point, an autonomous $planr-loop, and evidence-backed task graph skills powered by the planr CLI.",
1414
"category": "productivity"
1515
}

.cursor-plugin/plugin.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "planr",
3-
"version": "1.1.1",
3+
"version": "1.1.2",
44
"description": "Skill-driven planning and execution loop for coding agents: one planr entry point, an autonomous planr-loop, and evidence-backed task graph skills powered by the planr CLI.",
55
"author": {
66
"name": "instructa"
@@ -9,5 +9,5 @@
99
"repository": "https://github.com/instructa/planr",
1010
"license": "MIT",
1111
"keywords": ["planning", "task-graph", "agent-loop", "skills"],
12-
"skills": "./skills/"
12+
"skills": "./plugins/planr/skills/"
1313
}

Cargo.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "planr"
3-
version = "1.1.1"
3+
version = "1.1.2"
44
edition = "2021"
55
license = "MIT"
66
description = "Local-first planning and execution coordination for coding agents"

README.md

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -122,23 +122,22 @@ cargo run -- close <item-id> --summary "Verified"
122122
- `src/integrations.rs`: Codex, Claude Code, Cursor, and MCP install descriptors.
123123
- `src/util.rs`: small CLI-boundary helpers for ids, paths, output, and file writes.
124124
- `tests/e2e.rs`: real CLI, MCP, HTTP, import, review-gate, run-log, and concurrent-pick tests.
125-
- `skills/`: public Planr-native skills — `planr` (router), `planr-loop` (autonomous closing loop), `planr-verify-web` (live verification capability), and the stage skills.
126-
- `agents/`: worker and reviewer subagent roles registered by the plugin.
127-
- `.codex-plugin/`, `.claude-plugin/`, `.cursor-plugin/`: the repository root doubles as an installable plugin for Codex, Claude Code, and Cursor.
125+
- `plugins/planr/`: the installable plugin payload — all nine skills, the worker and reviewer subagent roles, and the per-host plugin manifests.
126+
- `.agents/plugins/marketplace.json`, `.claude-plugin/marketplace.json`: marketplace manifests pointing Codex and Claude Code at `plugins/planr`.
128127
- `docs/planr-spec/`: production-ready product specification package for Planr V1.
129128
- `examples/real-world-flow.md`: executable real-world operator flow.
130129

131130
## Install The Plugin (Skills)
132131

133-
The repository root doubles as an installable plugin for Codex, Claude Code, and Cursor. The plugin carries the nine Planr skills plus the `planr-worker` and `planr-reviewer` subagent roles; the `planr` CLI itself must be installed separately (see [Quick Start](#quick-start)).
132+
The repository ships an installable plugin for Codex, Claude Code, and Cursor under `plugins/planr`. The plugin carries the nine Planr skills plus the `planr-worker` and `planr-reviewer` subagent roles; the `planr` CLI itself must be installed separately (see [Quick Start](#quick-start)).
134133

135134
<a id="install-plugin-codex"></a>
136135
<details>
137136
<summary><strong>Codex</strong></summary>
138137

139138
```bash
140139
codex plugin marketplace add instructa/planr
141-
codex plugin install planr
140+
codex plugin add planr@planr
142141
```
143142

144143
Then invoke skills directly in a session:

docs/CODEX.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ The Planr repository is a Codex plugin. Install it to get the `$planr`, `$planr-
66

77
```bash
88
codex plugin marketplace add instructa/planr
9-
codex plugin install planr
9+
codex plugin add planr@planr
1010
```
1111

1212
See [Skills](SKILLS.md) for the skill workflow and subagent role templates.

docs/RELEASE.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ The package must include:
7878
- `docs/`
7979
- `docs/MCP_CONTRACT.md`
8080
- `docs/fixtures/mcp-contract.json`
81-
- `skills/`
81+
- `plugins/`
8282
- `README.md`
8383
- `LICENSE.md`
8484

docs/SKILLS.md

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
# Planr Skills
22

3-
Planr ships agent-facing skill templates under `skills/`.
3+
Planr ships agent-facing skill templates under `plugins/planr/skills/`.
44

5-
The repository root is also a plugin for Codex (`.codex-plugin/`), Claude Code (`.claude-plugin/`), and Cursor (`.cursor-plugin/`), so the skills can be installed as one package instead of copied by hand. The plugin only carries skills and agent roles; the `planr` CLI must be installed separately (`brew install instructa/tap/planr`).
5+
The repository ships an installable plugin under `plugins/planr` for Codex, Claude Code, and Cursor, so the skills can be installed as one package instead of copied by hand. Marketplace manifests at the repo root (`.agents/plugins/marketplace.json`, `.claude-plugin/marketplace.json`) point at that subdirectory — Codex silently ignores marketplaces whose plugin source is the repo root itself. The plugin only carries skills and agent roles; the `planr` CLI must be installed separately (`brew install instructa/tap/planr`).
66

77
## Install As Plugin (preferred)
88

@@ -11,7 +11,7 @@ Codex:
1111
```bash
1212
codex plugin marketplace add instructa/planr
1313
# then install "planr" from the plugin directory picker, or:
14-
codex plugin install planr
14+
codex plugin add planr@planr
1515
```
1616

1717
Claude Code:
@@ -21,7 +21,7 @@ Claude Code:
2121
/plugin install planr@planr
2222
```
2323

24-
Skills are namespaced in Claude Code: `/planr:planr`, `/planr:planr-loop`. The plugin also registers the `planr-worker` and `planr-reviewer` subagents from `agents/`.
24+
Skills are namespaced in Claude Code: `/planr:planr`, `/planr:planr-loop`. The plugin also registers the `planr-worker` and `planr-reviewer` subagents from the plugin's `agents/` directory.
2525

2626
Cursor: pending marketplace review; until listed, use MCP plus the CLI prompt (below).
2727

@@ -32,7 +32,7 @@ opencode: no plugin yet; use `planr mcp` as an MCP server (below). A JS plugin w
3232
Entry points (what users invoke):
3333

3434
- `planr`: master router. One entry point for any request; reads live map state and dispatches to the right skill. Users do not need to remember skill names.
35-
- `planr-loop`: autonomous closing loop. Drives one feature to verified completion — work, live verification, independent review, fix items — until the map is clean or the iteration budget runs out. Ships subagent templates under `skills/planr-loop/agents/`.
35+
- `planr-loop`: autonomous closing loop. Drives one feature to verified completion — work, live verification, independent review, fix items — until the map is clean or the iteration budget runs out. Ships subagent templates under `plugins/planr/skills/planr-loop/agents/`.
3636

3737
Capability skills (dispatched by the loop's live-verification step):
3838

@@ -161,10 +161,10 @@ Rules that hold in both journeys:
161161

162162
```bash
163163
# Codex: project-scoped agents preloading planr-work / planr-review
164-
cp skills/planr-loop/agents/*.toml .codex/agents/
164+
cp plugins/planr/skills/planr-loop/agents/*.toml .codex/agents/
165165

166166
# Claude Code standalone (the plugin registers these automatically)
167-
cp agents/*.md .claude/agents/
167+
cp plugins/planr/agents/*.md .claude/agents/
168168
```
169169

170170
Dispatches stay one line: `Use $planr-work on item <id>` and `Use $planr-review on item <id>`. The map and logs are the loop memory, so any iteration can resume from zero context.
@@ -175,15 +175,15 @@ Copy the Planr skills into Codex's local skill directory:
175175

176176
```bash
177177
mkdir -p ~/.codex/skills
178-
cp -R skills/* ~/.codex/skills/
178+
cp -R plugins/planr/skills/* ~/.codex/skills/
179179
```
180180

181181
If Planr was installed from an npm package that includes `skills/`, copy from the package location instead:
182182

183183
```bash
184184
PLANR_PKG="$(npm root -g)/planr"
185185
mkdir -p ~/.codex/skills
186-
cp -R "$PLANR_PKG"/skills/* ~/.codex/skills/
186+
cp -R "$PLANR_PKG"/plugins/planr/skills/* ~/.codex/skills/
187187
```
188188

189189
Do not present `npx planr` as the primary install path until the npm artifact ships platform-native Planr binaries. Today the normal user path is the GitHub Release installer; npm is a development and consumer-test wrapper.
@@ -208,8 +208,8 @@ Claude Code loads project skills from `.claude/skills/`:
208208

209209
```bash
210210
mkdir -p .claude/skills .claude/agents
211-
cp -R skills/* .claude/skills/
212-
cp skills/planr-loop/agents/claude/*.md .claude/agents/
211+
cp -R plugins/planr/skills/* .claude/skills/
212+
cp plugins/planr/agents/*.md .claude/agents/
213213
```
214214

215215
Then add MCP and the Planr workflow prompt to project instructions when needed:

docs/planr-spec/TASKS.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -628,7 +628,7 @@ Dependencies:
628628
- TASK-DATA-003.
629629

630630
Do not do:
631-
- Do not reintroduce private runtime copies of agent skills; public templates live under `skills/`.
631+
- Do not reintroduce private runtime copies of agent skills; public templates live under `plugins/planr/skills/`.
632632

633633
## MCP And Agent Integrations
634634

0 commit comments

Comments
 (0)