# Mode

> Show or set NeatContext routing to auto, ask, or manual for Codex, with an optional default shared with every other NeatContext host. Use only when the user explicitly invokes this skill or clearly asks to change routing behavior.

- Skill: `xtsoftwarelabs/mode` (Agent Skill, multi-file: 2 files)
- Install (CLI): `npx skillmds@latest add xtsoftwarelabs/mode`
- Raw SKILL.md: https://api.skillmd.com/api/skills/xtsoftwarelabs/mode/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Coding & Dev Tools
- Author: XTSoftwareLabs (https://skillmd.com/u/xtsoftwarelabs)
- Updated: 2026-09-17
- Page: https://skillmd.com/skills/xtsoftwarelabs/mode

---


# Routing mode

Resolve `<plugin-root>` as two directories above the directory containing this file.

Accept only no mode, exactly one of `auto`, `ask`, or `manual`, and an optional explicit request to make it the global default. Reject other values without running them.

Run one of:

```text
node "<plugin-root>/src/codex/neatcontext-cli.mjs" mode
node "<plugin-root>/src/codex/neatcontext-cli.mjs" mode <auto|ask|manual>
node "<plugin-root>/src/codex/neatcontext-cli.mjs" mode <auto|ask|manual> --global
```

Relay the CLI output. Do not switch contexts as part of this workflow.

