Documentation Index
Fetch the complete documentation index at: https://docs.pluxx.dev/llms.txt
Use this file to discover all available pages before exploring further.
Practical Handbook
This is the operational handbook for Pluxx. Use it when you want the practical answer to:- what Pluxx is for
- which command to run next
- what Pluxx manages versus what you own
- how Agent Mode fits in
- how install, build, sync, and publish actually work
What Pluxx Is
Pluxx is the plugin authoring and maintenance layer for MCP teams. Bring a raw MCP server:- remote HTTP
- legacy SSE
- local stdio
- Claude Code
- Cursor
- Codex
- OpenCode
The Two Product Layers
Core
Core is deterministic. It owns:- MCP introspection
- config generation
- baseline skills and instructions
doctorlintbuildinstallsynctest
Agent
Agent Mode refines the scaffold semantically. It owns:- context packs
- prompt packs
- headless runner orchestration for Codex, Claude, Cursor, and OpenCode
- safe write boundaries for generated content
The Default Paths
Path A: one-shot
Use this when you want the quickest end-to-end result.- import the MCP
- generate the scaffold
- optionally prepare agent context/prompt packs if the selected mode needs them
- run only the agent passes justified by the mode and MCP quality
- run verification unless you opt out with
--no-verify
quick: fastest path; usually scaffold + verify, with taxonomy only when metadata warnings make it necessarystandard: balanced default; uses quality signals and docs/context to decide whether taxonomy or instructions are worth runningthorough: always runs taxonomy, instructions, and review before verification
Path B: manual but controlled
Use this when you want to inspect each stage.Which Command To Run
| Command | When to use it | What it does |
|---|---|---|
pluxx init --from-mcp ... | Start a plugin project from a raw MCP | Introspects the MCP and generates the source scaffold |
pluxx autopilot ... | You want import + agent refinement + verification in one shot | Wraps init, Agent Mode, and final test |
pluxx doctor | Before publish, after import, or when setup feels off | Checks config, paths, auth shape, scaffold metadata, and trust warnings |
pluxx lint | Before build or in CI | Validates frontmatter, naming, paths, hooks, and platform-specific constraints |
pluxx build | You want fresh platform bundles in dist/ | Generates the target platform outputs |
pluxx test | You want the meaningful project verification contract | Runs config load, lint, build, and target smoke checks |
pluxx install --target ... | You want to test a built plugin locally in a host app | Symlinks bundles into the local host plugin location |
pluxx sync --from-mcp ... | The MCP changed and the plugin should catch up | Refreshes generated scaffold content while preserving custom sections |
pluxx agent prepare | You want to inspect or customize Agent Mode before running it | Writes the agent context pack and plan |
pluxx agent prompt ... | You want to read the prompt pack itself | Writes a specific prompt pack without running a headless agent |
pluxx agent run ... --runner ... | You want only one refinement pass | Runs taxonomy, instructions, or review through a host runner |
The Files You Get
After import, the project should look roughly like:What Pluxx Manages Versus What You Own
Pluxx-managed
pluxx.config.tsgenerated defaults and MCP wiring.pluxx/mcp.json.pluxx/agent/*- the generated blocks inside:
INSTRUCTIONS.mdskills/*/SKILL.md
dist/*
User-owned
- the custom blocks inside:
INSTRUCTIONS.mdskills/*/SKILL.md
pluxx.agent.md- any other repo docs, tests, assets, or notes you add
Mixed ownership
Generated markdown files use this pattern:- edit the
customblock if you want changes to survivepluxx sync --from-mcp - expect the
generatedblock to be rewritten by Pluxx or Agent Mode
How Agent Prompts Work
Pluxx generates prompt packs under.pluxx/agent/.
These are disposable generated files, not the durable customization layer.
Use them to:
- inspect what Codex or Claude will be told
- debug a poor refinement pass
- run a single pass manually
pluxx.agent.md.
How To Update The Prompts
One-off tweak
Edit a generated prompt file in.pluxx/agent/ and run the headless pass manually.
This is useful for debugging, but not durable.
Durable project customization
Createpluxx.agent.md at the project root.
Supported sections include:
Context PathsProduct HintsSetup/Auth NotesGrouping HintsTaxonomy GuidanceInstructions GuidanceReview Criteria
pluxx agent preparepluxx agent promptpluxx agent runpluxx autopilot
Changing the default system prompts
That means editing Pluxx itself, mainly:src/cli/agent.ts
Auth And Setup
Remote bearer auth
Remote custom header auth
OAuth-first MCPs
Pluxx can now detect common auth-required and redirect-to-login flows more clearly, but you still need a real credential before introspection can succeed. The rule is:- finish the provider auth flow first
- export the resulting token or API key
- rerun Pluxx with the right auth flags
Build, Install, And What Goes Where
pluxx build writes platform bundles under dist/.
Important directories:
dist/claude-code/dist/cursor/dist/codex/dist/opencode/
Local host testing
Use:pluxx install --target cursor links dist/cursor/ into ~/.cursor/plugins/local/<plugin-name>, which matches Cursor’s documented local plugin test path.
Use --trust if the plugin includes command hooks and you have already reviewed them.
Use --dry-run to preview local install locations and trust implications.
Manual sharing
If you are not relying onpluxx install, the thing you share is the platform bundle inside the matching dist/<platform>/ directory.
Local MCP During Development, Remote MCP In Production
This is a normal lifecycle. Example:- import from local stdio while the MCP is under active development
- refine, build, and test the plugin repo
- deploy the MCP backend separately
- sync the plugin repo against the remote endpoint
When To Run doctor, lint, test, And sync
Run doctor
- right after import
- when auth/setup feels wrong
- before publish
Run lint
- before committing
- in CI
- after editing instructions, skills, hooks, or platform-facing metadata
Run test
- after Agent Mode changes
- before pushing/releasing
- in CI
Run sync --from-mcp
- when the MCP tool list changes
- when auth metadata changes
- when a deployed endpoint replaces a local dev source
Publishing Checklist
- Run
pluxx doctor - Run
pluxx test - Review
INSTRUCTIONS.mdandskills/*/SKILL.md - Review hook trust implications if command hooks exist
- Commit the source repo:
pluxx.config.tsINSTRUCTIONS.mdskills/.pluxx/mcp.json- optional
pluxx.agent.md
- Build fresh bundles
- Share or publish the matching
dist/<platform>/folders through your normal channel
What To Do If The Generated Result Feels Weak
If the scaffold is valid but not product-shaped:- run
pluxx doctorand inspect MCP metadata warnings - add
--websiteand--docsto Agent Mode or autopilot - create
pluxx.agent.mdwith product/setup/grouping hints - rerun:
pluxx agent run taxonomy --runner codexpluxx agent run instructions --runner codex
--verbose-runner if you want full headless runner logs.
The Practical Mental Model
Pluxx is:- the deterministic plugin substrate
- the maintenance loop
- the safe wrapper around agent-assisted refinement
- bring an MCP
- get a working plugin repo
- let Codex or Claude refine it safely
- validate it
- install/share it
- sync it later from one source of truth