Quickstart
OpenNexus is a Rust CLI for bootstrapping, updating, and uninstalling context-driven project workflows
OpenNexus is a Rust CLI package (opennexus) centered on the opennexus command. It installs governance and workflow assets into your project, keeps command specs in sync, and gives teams a repeatable way to run context-driven development.
Start Here
- Install the CLI:
cargo install opennexus- Initialize OpenNexus in your project root:
opennexus setupAfter install + setup, your repository is prepared with Nexus assets as documented in the README:
.
├── .nexus/
│ ├── .version
│ ├── commands/
│ │ ├── nexus-0-prompt.md
│ │ ├── nexus-1.2-context-create.md
│ │ └── ...
│ ├── context/
│ │ ├── .extract-allowlist
│ │ ├── nexus/
│ │ ├── nexus-cli/
│ │ └── fumadocs/
│ ├── rules/
│ │ ├── context.md
│ │ ├── rs.md
│ │ └── ...
│ └── templates/
│ ├── PROJECT.md
│ ├── AGENTS.md
│ └── nexus/
└── .opencode/
└── command/
├── nexus-0-prompt.md -> ../../.nexus/commands/nexus-0-prompt.md
├── nexus-1.2-context-create.md -> ../../.nexus/commands/nexus-1.2-context-create.md
└── ...If you are new to the workflow, read the Context Driven Development (CDD) guide for the specification model and project structure.
Core Commands
| Command | What it does |
|---|---|
opennexus setup | Installs/refreshes .nexus assets and .opencode/command links in the current repo |
opennexus update | Upgrades the installed opennexus command to the latest published version |
opennexus uninstall | Removes the globally installed opennexus command |
opennexus --help | Shows available commands and options |
Features
Slash Commands
OpenCode command-form workflows are documented in the Slash Commands catalog.
| Slash Command | Purpose |
|---|---|
nexus-0-prompt | Rewrites a user prompt for clarity/structure and returns only the rewritten prompt |
nexus-1.1-context-search | Finds relevant Desired Outcomes and Next Actions from .nexus/context/ |
nexus-1.2-context-create | Creates new context specs from goals with correct IDs/prefixes and E2E-testable actions |
nexus-1.3-context-sync | Produces an analysis-only Context Sync Report without editing files |
nexus-1.4-context-review | Audits context quality, proposes fixes, and can suggest context splitting |
nexus-1.5-context-from-code | Proposes candidate contexts or updates by analyzing code behavior |
nexus-2-investigate | Runs 5 parallel analysts and consolidates severity-grouped findings |
nexus-3.5-critique | Stress-tests a plan for risks, logic gaps, and edge cases |
nexus-4-code | Orchestrates implementation tracks across parallel workstreams |
nexus-create-skill-from-codebase | Orchestrates full/incremental llms.txt generation with quality gates |
Skills
OpenNexus ships built-in skills under Skills -> Rust.
Rust
| Skill | Purpose |
|---|---|
ratkit | Operational guide for the ratkit Rust TUI ecosystem, feature flags, modules, and usage patterns |
opencode-rs-sdk | Operational guide for OpenCode Rust SDK HTTP, SSE streaming, and managed server/client workflows |
llms.txt Generation
OpenNexus can use AIs to generate a friendly llms.txt file that captures project knowledge in an agent-consumable format.
- Generated
llms.txtcontent can be converted into reusable skills. - This is the same workflow used to create
.nexus/skills/ratkit/SKILL.mdand.nexus/skills/opencode-rs-sdk/SKILL.md. - Use the slash-command workflow to iterate from project context to
llms.txt, then fromllms.txtto skill artifacts.