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.
Agent Mode
Pluxx has two product layers:Core: deterministic scaffolding, validation, build, install, and syncAgent: guided semantic refinement driven by Claude Code, Codex, or another coding agent
- let Pluxx own the structure, hard rules, and safe write boundaries
- let the host agent own the semantic judgment
Why Agent Mode Exists
pluxx init --from-mcp can always produce a valid scaffold from:
- MCP transport + auth
serverInfotools/list- tool descriptions and input schemas
pluxx.config.ts- baseline
INSTRUCTIONS.md - baseline
skills/*/SKILL.md - generated hooks / scripts
- platform bundles
- setup vs runtime tools
- knowledge tools vs API tools
- account/usage/admin surfaces
- the way the product is actually explained on its site and docs
Product Definition
Core Mode
Core Mode stays deterministic and model-free. It owns:- MCP introspection
- config generation
- baseline skill generation
- lint
- build
- install
- sync
- file ownership rules
Agent Mode
Agent Mode prepares the semantic context and prompt pack for the host agent. It owns:- MCP summary for the agent
- product/workflow context
- prompt packs for taxonomy, instructions, and review
- explicit write boundaries
- acceptance criteria for the refinement pass
User Flow
Flow A: Core only
Flow B: Core + Agent
Commands
Phase 1 should support:--attach is only supported for the opencode runner.
Autopilot mode defaults:
quick: keep the run near-deterministic unless metadata warnings force a taxonomy cleanup passstandard: the default; only invoke expensive passes when metadata quality or extra docs/context suggest they will helpthorough: always run taxonomy and instructions, and include review by default
auto: use Firecrawl when configured and fall back to the local OSS path when notfirecrawl: require Firecrawl-backed scrapinglocal: force local fetch + extraction
Runner Adapters
Agent Mode is file-first. The runner layer is optional.pluxx agent run does three things:
- refreshes
.pluxx/agent/context.mdand.pluxx/agent/plan.json - refreshes the selected prompt pack (and after a successful taxonomy run, refreshes all prompt packs so saved packs stay aligned with renamed/merged skills)
- invokes a host agent in headless mode against those files
claudecursoropencodecodex
pluxx autopilot. It composes scaffold import, agent refinement, and final verification without introducing a separate authoring engine.
Verification Contract
For edit-oriented runs liketaxonomy and instructions, Pluxx verifies the scaffold after the host agent exits by running the normal Pluxx verification flow.
For read-only runs like review, Pluxx disables verification automatically and keeps the host runner in read-only/review mode where supported.
Deterministic scaffold rewrites (pluxx sync --from-mcp or taxonomy re-renders) invalidate saved .pluxx/agent/* pack files. Regenerate them with pluxx agent prepare/pluxx agent prompt (or run pluxx agent run / pluxx autopilot, which refreshes them automatically).
Generated Files
pluxx agent prepare generates:
https://docs.firecrawl.dev/mcp-server, Pluxx uses that page directly and also infers the broader docs root when it can. That gives Agent Mode both the MCP-specific setup page and the higher-level product docs context.
When remote sources are present, .pluxx/sources.json now records the requested and resolved ingestion provider so the provenance trail stays inspectable.
Prompt packs are generated separately:
.pluxx/agent/ directory:
context.md
The semantic handoff for the host agent.
Should include:
- MCP identity and auth summary
- discovered tool inventory
- current generated skills and their tool assignments
- optional docs/site summary
- known caveats from lint/test
- the intended output quality bar
plan.json
Machine-readable constraints for the agent.
Should include:
- editable files
- editable sections
- non-editable files
- success criteria
- known caveats
taxonomy-prompt.md
Prompt for:
- grouping tools into real product/workflow skills
- merging/splitting/renaming generated skills
- identifying setup/admin/account surfaces
- avoiding misleading labels and unnecessary singleton skills
instructions-prompt.md
Prompt for rewriting the generated block in INSTRUCTIONS.md.
It should use branded product wording and avoid raw MCP-internal naming unless technically required.
review-prompt.md
Prompt for evaluating whether the scaffold is actually good after refinement.
Write Boundaries
Agent Mode only works if the write contract is explicit. The host agent may edit:- the generated block in
INSTRUCTIONS.md - the generated block in each
skills/*/SKILL.md - files under
.pluxx/agent/
- auth wiring in
pluxx.config.ts - target platform configuration
- user-owned custom sections
- generated platform bundles in
dist/ pluxx.agent.md
Prompt Contract
The prompt packs should be constrained, not vague. Example taxonomy prompt:Steering Complex MCPs With pluxx.agent.md
For larger MCPs, use project overrides to steer taxonomy and instructions without editing Pluxx internals:
## Grouping Hints: propose durable product-surface buckets (for exampleonboarding,account-and-usage,runtime-workflows)## Taxonomy Guidance: call out anti-patterns (misleading labels, one-tool singleton sprawl, setup/admin mixed into runtime)## Instructions Guidance: force branded language and explicit setup/admin/account/runtime boundaries
PlayKit Example
The deterministic import of PlayKit produced a working scaffold, but the grouping was still mostly lexical. Agent Mode should help move that scaffold toward a more product-shaped taxonomy like:Why Not Built-in Smart Mode
Built-in Smart Mode sounds appealing, but it creates a larger product than Pluxx needs right now:- provider abstraction
- model auth and billing
- retries and fallbacks
- nondeterministic support burden
- prompt/runtime orchestration inside the CLI
- deterministic in Core
- agent-native in semantic refinement
Phase 1 Scope
Phase 1 Agent Mode should ship:pluxx agent prepare- prompt pack generation
- context pack generation
- explicit write boundaries
- docs links from README / docs
- built-in model execution
- provider abstraction
- prompt marketplace complexity
- automatic commit/publish flows
Success Criteria
Agent Mode is successful when:- a user can scaffold from an MCP in Core mode
- run
pluxx agent prepare - hand the prompt/context pack to Claude Code or Codex
- get a better plugin without losing deterministic safety
- preserve custom edits across future syncs
Dogfood Plugin
This repo now ships a repo-local Codex plugin plus marketplace metadata for the local plugin catalog. The dogfood/operator skill pack now centers the main Pluxx jobs:pluxx-import-mcppluxx-migrate-pluginpluxx-validate-scaffoldpluxx-refine-taxonomypluxx-rewrite-instructionspluxx-review-scaffoldpluxx-build-installpluxx-sync-mcp