Skip to content

Commit bc5990e

Browse files
authored
feat: package self-contained skill bundle
* feat: package self-contained skill bundle * fix: bump cryptography security pin
1 parent 4b3ddb2 commit bc5990e

9 files changed

Lines changed: 212 additions & 62 deletions

File tree

apps/orchestrator/requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ pre-commit==4.5.1
4141
vulture==2.14
4242

4343
# Security-pinned transitive dependencies required by the mainline audit gate.
44-
cryptography==46.0.6
44+
cryptography==46.0.7
4545
pyasn1==0.6.3
4646
pyjwt==2.12.1
4747
pygments==2.20.0

apps/orchestrator/uv.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.

public-skills/README.md

Lines changed: 14 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,17 @@
1-
This directory holds repo-tracked public skill artifacts for external skill registries.
1+
This directory holds CortexPilot public skill bundles for external skill
2+
registries.
23

3-
Each skill here must stay aligned with the current public CortexPilot boundary:
4+
Each bundle here must ship four things together:
45

5-
- public repo + Pages front door
6-
- read-only MCP only
7-
- local starter/bundle adoption
8-
- no hosted operator claim
9-
- no write-capable MCP claim
6+
- `SKILL.md`: the agent-facing instructions
7+
- `README.md`: the human-facing install and usage guide
8+
- `references/`: bundle-local install, tool-map, and lane notes
9+
- `manifest.yaml`: registry metadata for hosts such as ClawHub
1010

11-
These skills may mirror repo-owned bundle surfaces, but they must not claim a live
12-
registry listing until the listing has been independently confirmed.
11+
The bundle is only valid if an agent can answer all four questions without
12+
leaving this directory:
13+
14+
1. How do I install the published CortexPilot MCP package?
15+
2. Which read-only tools does the MCP expose?
16+
3. Which lane should I choose first?
17+
4. Which claims remain out of bounds?
Lines changed: 28 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,37 @@
11
# CortexPilot Adoption Router
22

3-
This public skill package exposes the current CortexPilot adoption router as a
4-
registry-friendly skill surface.
3+
This bundle teaches an agent how to connect the published CortexPilot read-only
4+
MCP package and choose the right public adoption lane.
55

6-
It is designed for host ecosystems that want a single skill folder with a
7-
`SKILL.md` contract and semver-friendly manifest.
6+
## What the agent learns here
87

9-
## What it does
8+
- how to install the published `cortexpilot-orchestrator==0.1.0a4` MCP package
9+
- which read-only CortexPilot tools exist and which are safe-first
10+
- how to choose between run/workflow inspection, queue/approval reads, and
11+
proof/incident reads
12+
- which hosted or write-capable claims stay out of bounds
1013

11-
- routes operators to the right CortexPilot adoption lane
12-
- keeps read-only MCP vs starter vs builder boundaries honest
13-
- points back to the current public repo and Pages front door
14+
## Included files
1415

15-
## What it does not claim
16+
- `SKILL.md` — the progressive-disclosure prompt for the agent
17+
- `references/mcp-install.md` — exact install snippets for OpenHands/OpenClaw
18+
- `references/tool-map.md` — the stable read-only tool inventory
19+
- `references/example-tasks.md` — example asks and expected return shape
20+
- `manifest.yaml` — registry metadata used by hosts such as ClawHub
21+
22+
## The shortest install path
23+
24+
Use the published package, not a repo-local checkout:
25+
26+
```bash
27+
uvx --from cortexpilot-orchestrator==0.1.0a4 cortexpilot-readonly-mcp
28+
```
29+
30+
If the host needs a saved MCP config snippet, use the host-specific examples in
31+
`references/mcp-install.md`.
32+
33+
## Hard boundaries
1634

1735
- no hosted operator service
1836
- no write-capable public MCP
19-
- no live marketplace / registry listing unless independently confirmed
37+
- no first-party marketplace claim unless that host independently confirms it
Lines changed: 65 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -1,46 +1,81 @@
11
---
22
name: cortexpilot-adoption-router
3-
description: Route the current job to the right CortexPilot surface without overclaiming hosted, write-capable MCP, or published plugin support.
3+
description: Teach the agent how to connect the published CortexPilot read-only MCP package, choose the right public lane, and use the stable read-only tools without overclaiming hosted or write-capable support.
4+
triggers:
5+
- cortexpilot
6+
- cortexpilot setup
7+
- cortexpilot mcp
8+
- cortexpilot proof
9+
- cortexpilot workflow
410
---
511

6-
# Purpose
12+
# CortexPilot Adoption Router
713

8-
Use this skill when a coding-agent workflow needs the shortest honest CortexPilot
9-
entrypoint.
14+
Use this skill when the user needs the shortest truthful path into CortexPilot.
1015

11-
The job is to pick the right adoption lane first instead of treating every host
12-
tool as the same kind of plugin system.
16+
## What this skill teaches
1317

14-
# Read Order
18+
- how to install the published CortexPilot MCP package
19+
- how to choose the right read-only tool for the current job
20+
- how to start with one public lane instead of mixing every surface together
21+
- how to keep the answer inside the current read-only public boundary
1522

16-
1. `README.md`
17-
2. `docs/README.md`
18-
3. `docs/compatibility/index.html`
19-
4. `docs/integrations/index.html`
20-
5. One deeper lane only:
21-
- `docs/mcp/index.html`
22-
- `docs/skills/index.html`
23-
- `docs/builders/index.html`
24-
- `docs/use-cases/index.html`
23+
## When to use this skill
2524

26-
# Use It To Choose A Lane
25+
Use this skill when the user asks to:
2726

28-
- Start with **read-only MCP** when the first need is machine-readable
29-
inspection.
30-
- Start with **skills** when the first need is repeatable repo-owned behavior.
31-
- Start with **builders** when the first need is package-level reuse.
32-
- Start with **use cases** when the first need is proof-first product
33-
understanding.
27+
- connect CortexPilot to OpenHands or OpenClaw
28+
- inspect runs or workflows through the public read-only MCP
29+
- understand which public CortexPilot lane to choose first
30+
- inspect approvals, queue state, proof, compare, or incident summaries without
31+
mutating anything
3432

35-
# Guardrails
33+
## If the MCP is not connected yet
34+
35+
Open `README.md` in this folder and follow `references/mcp-install.md`.
36+
Do not invent repo-local startup paths when the published package already
37+
exists.
38+
39+
## Safe-first workflow
40+
41+
1. `list_runs` or `list_workflows`
42+
Use these first when the user needs the top-level ledger.
43+
2. `get_run` or `get_workflow`
44+
Use these after the user already has the specific run or workflow to inspect.
45+
3. `list_queue`, `get_pending_approvals`, or `get_diff_gate_state`
46+
Use these for queue, approval, or diff-gate posture.
47+
4. `get_run_reports`, `get_compare_summary`, `get_proof_summary`, or
48+
`get_incident_summary`
49+
Use these after the user is already inside one run and needs a specific
50+
proof-oriented read model.
51+
52+
## Tool-selection rule
53+
54+
- Choose run/workflow reads for “what is happening now?”
55+
- Choose queue/approval reads for “what is blocked or pending?”
56+
- Choose compare/proof/incident reads for “what evidence exists for this run?”
57+
- Do not mix multiple lanes unless the user explicitly asks for a broader audit
58+
59+
## What to return
60+
61+
Return a short answer with:
62+
63+
1. the chosen lane
64+
2. the next 1-3 actions
65+
3. one boundary reminder
66+
4. one exact MCP tool or install snippet
67+
68+
## Guardrails
3669

3770
- Do not describe CortexPilot as a hosted operator product.
3871
- Do not describe the public MCP surface as write-capable.
39-
- Do not claim this bundle is a published Codex or OpenClaw listing.
40-
- Do not describe Claude Code as if it has a CortexPilot marketplace package.
41-
- Keep `task_contract` as the only execution authority.
72+
- Do not claim a first-party marketplace listing unless that host independently
73+
confirms it.
74+
- Keep `task_contract` as the execution authority for real runs; this MCP is
75+
read-only inspection only.
4276

43-
# Done Signal
77+
## Read next
4478

45-
The adoption path is correct only when the chosen lane matches the real job and
46-
the wording stays below official-listing or hosted-product claims.
79+
- `references/mcp-install.md`
80+
- `references/tool-map.md`
81+
- `references/example-tasks.md`
Lines changed: 13 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
schema_version: 1
22
name: cortexpilot-adoption-router
33
display_name: CortexPilot Adoption Router
4-
version: 1.0.0
4+
version: 1.1.0
55
summary: >
6-
Public skill package that routes Codex, Claude Code, OpenHands, and OpenClaw
7-
style workflows to the right CortexPilot adoption lane without overclaiming
8-
hosted or write-capable support.
6+
Public skill bundle for CortexPilot that packages MCP install guidance, a
7+
read-only tool map, and a truthful lane-selection workflow for OpenHands and
8+
OpenClaw style hosts.
99
homepage: https://github.com/xiaojiou176-open/CortexPilot-public
1010
repository: https://github.com/xiaojiou176-open/CortexPilot-public
1111
license: MIT
@@ -15,23 +15,25 @@ entrypoints:
1515
skill_markdown: SKILL.md
1616
compatibility:
1717
openhands:
18-
mode: skill directory
18+
mode: skill directory plus published MCP config
1919
published_listing: false
2020
clawhub:
21-
mode: skill publish
22-
published_listing: false
21+
mode: skill publish plus published MCP config
22+
published_listing: true
2323
capabilities:
24-
- route users to the truthful CortexPilot adoption lane
25-
- preserve read-only MCP and starter-only boundaries
24+
- install the published CortexPilot MCP package in host-specific config
25+
- expose the stable read-only CortexPilot tool inventory
26+
- route users to the truthful CortexPilot lane for runs, workflows, queue, and proof reads
2627
- keep hosted and write-capable claims gated
2728
boundaries:
2829
hosted_operator: false
2930
write_capable_mcp: false
3031
oauth_login: false
31-
official_listing_live: false
32+
official_listing_live: true
3233
distribution_notes:
33-
current_claim: skill package is ready for registry submission, but no external registry listing should be claimed until it is confirmed live
34+
current_claim: ClawHub listing is live; other hosts should only claim submission or live state when independently confirmed.
3435
verification:
3536
repo_commands:
3637
- npm run docs:check
3738
- bash scripts/check_repo_hygiene.sh
39+
- printf '%s\n%s\n' '{"jsonrpc":"2.0","id":1,"method":"initialize","params":{"protocolVersion":"2025-11-25","capabilities":{},"clientInfo":{"name":"bundle-audit","version":"0.0.0"}}}' '{"jsonrpc":"2.0","id":2,"method":"tools/list","params":{}}' | uvx --from cortexpilot-orchestrator==0.1.0a4 cortexpilot-readonly-mcp
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
# Example Tasks
2+
3+
Use this bundle for tasks like:
4+
5+
- “Connect CortexPilot to OpenHands and inspect the run ledger.”
6+
- “Which CortexPilot MCP tool should I call first for workflow truth?”
7+
- “Show me the safest read-only lane for approvals or queue state.”
8+
- “Inspect proof or incident summaries without mutating anything.”
9+
10+
Return shapes should stay short and operational:
11+
12+
1. chosen lane
13+
2. next 1-3 actions
14+
3. one boundary reminder
15+
4. one exact MCP tool or install snippet
Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
# Install The Published CortexPilot MCP
2+
3+
Use the published PyPI package, not a repo-local checkout.
4+
5+
## Published package
6+
7+
- package: `cortexpilot-orchestrator==0.1.0a4`
8+
- executable: `cortexpilot-readonly-mcp`
9+
- transport: `stdio`
10+
11+
## OpenHands example
12+
13+
Add the server to `~/.openhands/config.toml`:
14+
15+
```toml
16+
[mcp]
17+
stdio_servers = [
18+
{ name = "cortexpilot-readonly", command = "uvx", args = ["--from", "cortexpilot-orchestrator==0.1.0a4", "cortexpilot-readonly-mcp"] }
19+
]
20+
```
21+
22+
## OpenClaw example
23+
24+
Add the server to your saved MCP server config:
25+
26+
```json
27+
{
28+
"mcp": {
29+
"servers": {
30+
"cortexpilot-readonly": {
31+
"command": "uvx",
32+
"args": ["--from", "cortexpilot-orchestrator==0.1.0a4", "cortexpilot-readonly-mcp"]
33+
}
34+
}
35+
}
36+
}
37+
```
38+
39+
## Smoke check
40+
41+
Use a minimal MCP handshake and `tools/list` request after the host attaches the
42+
server.
Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
# CortexPilot MCP Tool Map
2+
3+
These are the stable read-only tools exposed by the published CortexPilot MCP.
4+
5+
## Safe-first tools
6+
7+
1. `list_runs`
8+
Use first when the user needs the current run ledger.
9+
2. `get_run`
10+
Use when the user already has one run identifier and needs the run snapshot.
11+
3. `list_workflows`
12+
Use when the user needs the current Workflow Case ledger.
13+
4. `get_workflow`
14+
Use when the user already has one workflow identifier.
15+
16+
## Queue and approval tools
17+
18+
- `list_queue`
19+
- `get_pending_approvals`
20+
- `get_diff_gate_state`
21+
22+
Use these when the user is inspecting queue state, pending approvals, or diff
23+
gate posture.
24+
25+
## Proof and incident tools
26+
27+
- `get_run_reports`
28+
- `get_compare_summary`
29+
- `get_proof_summary`
30+
- `get_incident_summary`
31+
32+
Use these after the user is already inside a specific run and wants the proof,
33+
compare, or incident read model.

0 commit comments

Comments
 (0)