A skill registry for Codex and OpenCode. Start with a task, inspect the exact source and license behind a matching skill, then decide whether to use it in your host.
Rehearse a Mac setup · Inspect the recorded outputs · Restore a setup
From a checkout with Python 3.11 or newer, try a frontend design task. The commands below read the registry with an unused state path and leave it absent.
(
export NSTACK_STATE="$PWD/.nstack-demo-state"
[ ! -e "$NSTACK_STATE" ] && [ ! -L "$NSTACK_STATE" ] || exit 1
python3 nstack.py search web-ui-design --brief
python3 nstack.py show L010
python3 nstack.py route L010
)What to look for in the output
| Command | What the record tells you |
|---|---|
search |
web-ui-design and mcp-builder belong to component L010. |
show |
The two selected source paths share a pinned revision. The upstream document skill has different rights and is excluded. |
route |
For frontend work, check mobile layout, keyboard use and reduced motion in the actual interface. The runtime still needs separate verification. |
If you know the task but not the skill name, try
python3 nstack.py search keyboard layout accessibility --brief --limit 1.
The keyboard and mobile-layout walkthrough
connects that result to the exact audit source, its license and a one-skill rehearsal.
- Set up a host. Rehearse a single skill in a temporary home, then choose your permanent collection. Mac onboarding · OpenCode adapter
- Follow a worked example. A synthetic clap becomes an editable decay plot and an independently checked measurement. Room-decay example
- Inspect a change. Read how selection, pinned source, backups and rollback work. Source fidelity · Transaction design
Operator reference · CLI bootstrap, runtime commands, recovery and platform support
For a new Codex installation, use the host-aware installation prompt. OpenCode has a separate adapter. The retained Claude Code adapter documentation describes its compatibility source; that host is not part of the current Mac workflow. Craft Anything is an optional local software analysis addition; its static tooling and rebuild workflows have distinct checks.
Requirements: Git, Python 3.11 or later, and a compatible Codex or OpenCode host.
Run the installer with that supported Python explicitly if python3 resolves
to an older system version. The installed nstack launcher binds the installing
interpreter, so later PATH changes do not select another Python. Keep that
interpreter available; reinstall with a new run ID after moving or replacing it.
The installer leaves system Python and PATH unchanged.
When Node is available during installation, the launcher also records its
directory as a command-local fallback for Node-based tools. A Node already on
the current PATH keeps precedence. This does not install Node or alter shell
configuration.
The pinned CLI bootstrap currently supports native Apple Silicon macOS only.
The independently managed desktop app is preserved. No API key, purchase or
provider signup is part of installation. uv is needed only for the selected
Python runtime recipes; Node/npm and browser downloads are needed only for the
selected JavaScript recipes. The FFmpeg recipe uses the existing Apple compiler
and make.
Use onboarding to inspect the complete native skill profile, rehearse it in an isolated home, and install it for Codex or OpenCode. The legacy CLI cutover is separate. To stage the toolkit and pinned Apple Silicon CLI without applying changes to the host profile:
python3 install.py install --stage-only --bootstrap-cliIf you explicitly intend the older CLI cutover, review its staged result and
retain recovery files before applying it. The --retire-personal option moves
the previous user-managed collection into private recovery storage. Skip this
cutover for an existing compatible setup or when you only want native skills.
python3 install.py install --bootstrap-cli --retire-personal --run-id cutover
"$HOME/.local/bin/nstack" doctorSearch and native installation share the selected-name policy. One selection reads one manifest snapshot, so a registry replacement cannot mix two parsed generations within that operation. The next selection reads the current manifest again; there is no persistent cache to invalidate.
Recovery records the destination directory's identity as well as the installed entry. If that directory is moved and replaced, repair and rollback refuse the replacement before writing. Restoring the original directory permits recovery; unrelated dirty bytes remain preserved. Transaction behavior and platform limits includes legacy journals and interrupted operations.
The regression checks use disposable directories and synthetic installations. They do not establish that a separately installed version has these changes, or that every optional runtime is ready for a real task.
Choose optional additions in that single native_setup.py command rather than
running successive replacements: --academic-research, --ecc, --unslop,
--maps-scraper, --untangle-codebase, --raea, --adaptive-routing,
--llm-council, --roast-room, --council-of-high-intelligence,
--cloudflare-security-audit, --strix, --skillspector, --rea, --craft-anything,
--creative-reframing, --playwright-mcp, --agent-orchestration,
--dream-loop, --fpga, --cirq, --formal-verification, --research-engines,
--agent-desktop and --game-systems-review.
Academic sources are fetched privately under their noncommercial license.
Source fidelity explains upstream methods, native ports and private source packs.
When replacing a collection, include all additions you intend to retain.
The base install command retires the complete old user-managed skill collection into private recovery storage, preserving built-ins. It merges only owned config keys and preserves unrelated settings and current model/effort choices. It does not read credential stores, move projects or conversations, manage hosted account connections, or replace the desktop application. Inventory and back up any separately managed hooks, profiles, plugins and jobs before retiring them. An explicit private retirement plan supports snapshotted Codex profiles, hooks, skill-lock files and already-unloaded Mac LaunchAgents. It rejects changed targets and leaves other applications and jobs alone.
Private state defaults to ~/Library/Application Support/nstack/, outside
skill discovery. Immutable code releases, source cache, reviewed builds,
runtime locks, private backups and restart-safe ownership journals live there.
NSTACK_STATE can select a separate private deployment for testing. Add
$HOME/.local/bin to your normal PATH if it is absent. To replace an existing
CLI entry elsewhere, pass its exact absolute path with --cli-path.
An optional OpenCode V2 adapter reuses the same skills, user instructions and canonical vault. It preserves the selected model and credentials, disables background warming, and adds only the existing documentation and semantic connections. Host-native accounts and automatic memories remain separate.
For the actual Codex agent engine inside an OpenCode project terminal, use the optional native harness launcher. DeepSeek Harness, Superagent and OpenHarness have distinct roles; adding a model provider is not a harness replacement.
The optional untangle-codebase
skill is shared by both hosts. Invoke it explicitly with $untangle-codebase in
Codex or select it with @untangle-codebase in OpenCode. It stays out of automatic
skill selection because it requests a substantial refactor. Its pinned MIT source
and license are bundled; no additional runtime, service or provider is needed.
Open an ordinary project and ask for the finished result. No project-init step
is required. Codex discovers the installed skill summaries and reads the relevant
complete SKILL.md and support when needed. The global collection contains only
170 selected on-demand leaves, plus explicit additions if enabled. The academic suite adds five skills and keeps
its CC BY-NC source separate from this MIT repository.
RAEA local GPU rendering is available with the optional native flag --raea.
Its pinned runtime stays separate from this MIT toolkit and runs offline without
upstream hooks, model downloads or provider connections. See RAEA.
REA optionally adds shipped-software analysis with its own pinned private runtime. It remains separate from Craft Anything and RAEA.
For visual automation, durable background jobs, AI application graphs, optional tracing and codebase graphs, see On-demand workflows. These recipes do not start services or create accounts during skill installation.
Heavy dependencies are separate and remain on demand. Search the full installed
native-skill-index.json when the native summary list is truncated.
For one explicit entry to adaptive selection across the session, add
--adaptive-routing to the native install command and invoke $01 once.
It keeps ordinary work direct and applies relevant specialists as the task
changes. Behavior, testing and limits.
--agent-orchestration adds the reusable native lead/specialist method for
dynamic delegation, user-defined worker tiers or verified inheritance, checked
handoffs, integration and fresh-context review. The chosen lead and effort stay
selected; unset Y/Z tiers supply no model defaults. It complements 01's capability selection and installs no
second agent framework. The host comparison
distinguishes native coordination from applications that need Agents SDK or
LangGraph. Context and cost efficiency
records TokenEconomizer's source-tested limits and the bounded ideas worth using
without activating unverified hooks or tool pruning.
--game-systems-review adds document-based game balance and GDD interaction
review adapted from Donchitos' Game Studios methods. It does not install the
whole studio or claim engine/playtest validation. --agent-desktop retains
Vercel Labs' desktop method and platform guides. Installation of that method
does not install or admit its CLI; verify native admission and startup effects
before any command, including help/status. Read the respective native bindings.
Optional LLM Council adds independent alternatives, blinded critique and reversed-order checks. It uses available native workflows; its offline helper makes no model requests. Multi-provider use needs its own connection, data scope and budget. No simulator or extra service is started.
The optional security methods add one Cloudflare repository-audit skill and one Strix skill shared by both hosts. They preserve the complete licensed method references without activating scanners, cloud accounts or paid providers. Routine security review keeps its existing route.
Optional SkillSpector audits agent instructions and their bundled source with the pinned NVIDIA static scanner and source-aware review. The shared skill adds no cloud provider or always-on scanner.
nstack search room clap decay
nstack show P318
python3 native_setup.py listCandidate IDs remain provenance keys in the catalog and commands. Installed skill names have no candidate-number prefix. “Personal” in Codex is its category for user-installed skills, including this new collection.
native_setup.py privately backs up the actual root and instructions, rehearses
restoration, publishes recovery before changing the profile, installs only the
selected entries, and preserves complete support bundles outside discovery.
It updates only the owned nstack instruction block. Repeating the same install
leaves target bytes and the journal unchanged. It also repairs deletion of its
exact owned root link without changing the original rollback baseline.
The older project publisher remains available for deliberately temporary, project-scoped experiments. It is optional. Do not expose the same leaf through both mechanisms. Source fetches use full Git commits and verified blobs; trial, substitute, consultation and excluded entries are rejected by generic activation.
For native tool connections, the knowledge vault, exact runtime revisions and what was actually checked, see Everyday setup. The portable installer does not copy an author's private account, vault, plugins or runtime environments onto another Mac.
nstack route ID returns the exact source, prerequisites, activation, check and
retirement sequence. All 198 on-demand components have a route: 46 use reviewed
selected leaves, 93 have isolated runtime recipes (94 operations), and 59 use
native build or official application procedures. Some components also retain
supporting leaves. The 28 trials and seven substitutes remain conditional;
generic publication, workspace creation and runtime commissioning reject them.
Their per-ID target verifiers must be implemented and pass before admission.
The nine consult records never become standalone installs.
Python source recipes build the exact selected source into an isolated wheel with separate hash-locked build dependencies and runtime dependencies. Go recipes use a checksummed private toolchain and the exact selected source. Node workspaces use their native package manager, check packed local dependency closure, and install only the native target packages into the named project. No dormant route provisions an account, GPU, model, service or application. A recipe is available for use; its actual target remains untested until checked.
Native source builds can start with nstack workspace ID /absolute/project.
This creates a private editable checkout and output prefix, outside discovery.
Repeat use requires unchanged source and Git bytes. --fresh retains an edited
attempt before preparing another. nstack retire-workspace ID /absolute/project
retains all bytes, including unexpected files, and removes only active ownership.
Follow the route's explicit working directory, lock procedure and environment.
Examples with concrete commission, invocation, check and removal commands:
| Component | Operation | Scope |
|---|---|---|
| P053 | cli |
ast-grep 0.51.1 structural search/refactor |
| P061 | test |
Playwright Test 1.65.0, matched Chromium and Firefox |
| P318 | rt60 |
Exact reviewed pure-Python room-decay estimator; hash-locked environment |
| P230 | media |
Minimum local-only FFmpeg/ffprobe build from the reviewed source commit |
| P190 | cli |
Exact-source Gitleaks with private, redacted scanning reports |
| P144 | python |
Exact-source Optuna in a locked isolated Python environment |
| P198 | ux |
Selected local UX guidance data and stdlib lookup helper |
| P355 | posting |
Local posting-text decoder and hidden-instruction guard |
nstack commission P318 rt60
nstack check P318 rt60
nstack run P318 rt60 -- clap.wav result.json
nstack commission P230 media
nstack check P230 media
nstack run P230 media -- ffprobe -v error -show_streams -of json output.mkv
nstack remove-runtime P230 mediaCommissioning resolves only the registered operation. It never silently selects a newer product or enables a whole collection. Existing locks are checked on repeat use. Removal moves the exact owned environment into recovery storage, including unexpected local additions, and removes its active receipt. It does not recursively delete those bytes. Other runtime/platform/provider lanes keep their prerequisites and target checks explicit in the catalog; a missing adapter or unmet condition is a blocked operation, not a passing installation.
The original synthetic clap example produces editable SVG, PDF, PNG and CSV, checks the known decay with an independent stdlib comparator, and rejects a stale handoff before regeneration. No recording, private data, model or API is required.
nstack inventory /absolute/project reads a fresh native CLI's skill and local
MCP metadata through its supported app-server protocol. --binary /absolute/codex
can inspect a separately managed backend. It discards raw configuration and
environment values. It does not establish normal desktop relaunch, hosted plugin
enablement or successful provider access. Hosted optional plugins must be retired
through supported native controls while preserving built-ins and account access.
Add --plugins to request fresh native plugin installation/enabled metadata and
marketplace error counts. An error or an unobserved remote catalog cannot prove
a plugin was removed. Installation, enabled state and actual tool use are separate
checks. Keep personal plugin choices in private deployment records; do not copy
account identifiers or preferences into the public registry. An explicitly retained
official plugin can coexist with the on-demand catalog without a duplicate local
skill collection. Its installation grants no new sending, spending or data access.
The native effective-config response is held transiently to extract server names
and local enablement flags. Configuration layers and credential files are not
requested; raw configuration is discarded.
Keep one canonical project record, source attribution and current input hashes. From inside the owning project:
nstack knowledge set /absolute/project fixture-level --claim '30 dB' --source evidence.txt
nstack knowledge read /absolute/project fixture-level
nstack knowledge delete /absolute/project fixture-level --expected-generation 1Retrieval checks current project scope and actual source bytes. A correction
supersedes the prior generation; deletion leaves a tombstone. Updates and
deletions must pass --expected-generation N using the generation returned by
read. Competing writers serialize; a stale generation is refused without
changing the accepted record. Creation expects generation 0. Commit durable
records through the project's authorized Git workflow. Reject stale derived
results at handoff and regenerate affected artifacts. Native automatic memory
remains separate and can skip externally sourced sessions; do not claim a
canonical-record check proves automatic-memory generation. Retrieval indexes
and memory services are conditional additions, not extra permanent authorities.
"$HOME/Library/Application Support/nstack/rollback.sh"The helper works independently of Codex and follows the recorded release chain
back to the pre-cutover profile. It restores only the recorded changes.
Owned TOML edits are inverted while preserving later unrelated edits. A later
conflicting edit to the same owned setting stops rollback for reconciliation.
New projects, knowledge and conversations are preserved. An explicit job plan
restores definitions in their original unloaded state; the installer never
stops or starts a loaded service. macOS may assign a new com.apple.provenance
tag to a copied file; nstack leaves that system tag alone while checking bytes,
ACLs, ownership, flags, modes and other extended attributes.
Keep the private backup after success. Reinstalling the same release/run is idempotent; changing release code uses a new recorded run so earlier rollback helpers and originals remain available.
Original toolkit code is MIT. Third-party terms remain independent; see THIRD_PARTY_NOTICES.md. This repository publishes portable metadata, original adapters and patch mechanisms. It contains no raw research ledger, private deployment, account binding, credential, personal vault, conversation export or proprietary plugin implementation. Restricted services and assets must use their official access and rights checks.
Run the portable tests with the command above. python3 tests/check_recovery.py check --output /absolute/private/capture
uses a loopback capture receiver and synthetic identities to test lost
acknowledgements, restart and exactly one business effect. It never sends mail.
The registry contract test checks full component/path coverage and permissions;
private deployment receipts and the supplied raw-ledger coverage checker stay
outside this public tree.
The pinned bootstrap supports Apple Silicon macOS. The normal CLI and independent desktop backend have separate loaders; a backend inventory is not a desktop UI check. Trial, proprietary, hardware-specific, provider and large model lanes are conditional on their own rights, platform, resources and output checks. These sources do not imply that every target runtime has been installed or tested.