/nyxid-cli:aevatar-codex-exec-node-setupfrom nyxid-cli
Configures and verifies Aevatar codex_exec for a NyxID account, choosing between managed chrono-sandbox/gVisor for ephemeral workspaces or private NyxID node-backed SSH for fixed host workspaces. Handles credential setup, SSH hardening, and mandatory public-sample verification.
Ships in nyxid-cli. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Continue only when the user explicitly asks to configure, repair, or prove a codex_exec target,
or explicitly invokes this skill. If this skill was selected speculatively, stop before mutation:
route feasibility questions to aevatar-feasibility-advisor and failure attribution to
aevatar-triage.
Choose exactly one target before changing state:
managed_sandbox: use for bounded one-shot work in an operator-selected, empty, ephemeral Git
workspace. Explicitly prepare the eligible native NyxID user's invocation credential before
normal execution; Aevatar then calls that user's exact chrono-sandbox UserService and receives
a structured terminal result. No personal node or local Codex login is needed.private_ssh: use when work must access a user-owned fixed Git workspace, host files, or host Codex configuration. The user owns the private NyxID node, SSH service, principal, forced-command wrapper, and Codex authentication.Never mix fields between targets. Do not report either target as ready until its public Ornn sample succeeds through Aevatar with exact CODEX_EXEC_READY.
auth.json into workflow input, logs, issue comments, or image layers.POST /api/managed-codex/credential, then
GET /api/managed-codex/credential. Normal codex_exec is credential-read-only and never
provisions, reconciles, rotates, repairs, or retries credentials.workspace-write; never add a dangerous sandbox bypass.Require only these managed prerequisites:
RolloutBoundary=InternalOnly, and the user is eligible through Eligibility.Mode=Allowlist or the internal All policy.chrono-sandbox UserService with
forward_access_token=true and has exactly one usable chrono-llm-public route.execution_ready=true with
execution_readiness_reason=ready; status=active alone is insufficient.[email protected] managed proof returns exact
CODEX_EXEC_READY through Aevatar.Confirm only the user-facing identity and service inventory before the proof. The CLI form is:
nyxid --version
nyxid whoami
nyxid service list
The CLI is not required for service configuration. An HTTP-only client can inspect the same
authoritative inventory with authenticated GET /api/v1/keys. If the exact account-owned
chrono-sandbox entry reads forward_access_token=false, repair that UserService directly:
PUT /api/v1/user-services/{chronoSandboxUserServiceId}
Authorization: Bearer <nyxid-token>
Content-Type: application/json
{"forward_access_token":true}
Read GET /api/v1/keys again and verify forward_access_token=true on that same UserService ID
before retesting. The catalog entry's id and the account-owned entry's id are intentionally
different; use the latter here. Never send catalog_service_id to /api/v1/user-services/{id}.
POST /api/v1/services/{catalogServiceId}/resync-identity is a separate catalog recovery
operation for Admins and the catalog service's creator, not the owner self-service path.
Do not require a personal node, local Codex login, caller-managed OpenSandbox key, separate LLM consent, Landlock installation, or sandbox-side credential injection. Prepare the managed credential through the authenticated lifecycle API, then classify any typed failure in troubleshooting.md.
Prepare, read, and prove in this order:
POST /api/managed-codex/credential idempotently provisions or reconciles the
committed descriptor.GET /api/managed-codex/credential reads status. Stop unless execution_ready=true and
execution_readiness_reason=ready, even if status=active.ISecretVault. The key is never placed in the chrono request body.chrono-sandbox UserService terminates that invocation key at NyxID and injects a five-minute internal delegation token.NYXID_LLM_TOKEN.proxy:* delegation and remains InternalOnly. Do not present it as a public-ready security contract or ask callers to handle either credential.chrono-sandbox writes the prompt as data and runs only:
codex --ask-for-approval never exec --ephemeral --json \
- < /workspace/.aevatar/prompt.txt
The runtime-written Codex profile fixes the provider, model, retry bounds, approval policy, and sandbox_mode="danger-full-access". The caller cannot override them. Codex's inner sandbox is deliberately disabled because the one-shot gVisor workload is the managed isolation boundary. Sandbox-side Credential Vault substitution, a credential proxy, Landlock, and Bubblewrap are not deployed in this managed runtime and are not repair steps.
Mount the public dependency and run codex-exec-check with no caller-controlled routing. Follow its evaluation contract exactly. Success requires status=succeeded, target=managed_sandbox, trimmed output=CODEX_EXEC_READY, exit_code=0, and a non-empty sanitized diagnostic_id; elapsed_ms is optional. Health and direct chrono-sandbox checks are prerequisites, not this Aevatar identity-path proof.
Preserve the deadline hierarchy: chrono-sandbox/Codex 180s < Aevatar managed request 300s <
NyxID/ingress >=315s < NyxID client 330s < workflow canary >=360s
(timeout_ms=360000).
Build this ownership chain:
NyxID user -> private SSH UserService -> owned node -> SSH target -> fixed wrapper -> Codex CLI -> one Git workspace
The workflow receives the service slug or UUID, never node_id.
Choose NODE_PROFILE, NODE_NAME, SERVICE_LABEL, PRINCIPAL, absolute WORKSPACE, SSH_HOST, SSH_PORT, and dedicated SSH_KEY_FILE. Show these values and visibility before mutating state.
nyxid --version
nyxid whoami
codex --version
codex login status
git -C "$WORKSPACE" rev-parse --show-toplevel
command -v jq sshd ssh-keygen base64 codex
Stop if the Codex login is absent, the workspace is not a Git repository, or the NyxID identity is not the intended owner.
Preserve any default profile. Mint and consume the one-time token without emitting it:
NODE_STORAGE_FLAG=--keychain
registration_json="$(nyxid node register-token --name "$NODE_NAME" --terminal --output json)"
registration_token="$(printf '%s' "$registration_json" | jq -r '.token // .registration_token // .data.token // empty')"
test -n "$registration_token"
nyxid node register \
--token "$registration_token" \
--url wss://nyx-api.chrono-ai.fun/api/v1/nodes/ws \
--profile "$NODE_PROFILE" \
${NODE_STORAGE_FLAG:+$NODE_STORAGE_FLAG}
unset registration_token registration_json
nyxid node daemon install --profile "$NODE_PROFILE" --log-level info
nyxid node daemon start --profile "$NODE_PROFILE"
nyxid node daemon status --profile "$NODE_PROFILE"
nyxid node list --output json
Use --keychain only where a supported secret service exists; otherwise explicitly select NyxID's encrypted-file backend. Continue only when this profile's node is online.
Read forced-command-wrapper.md and install the wrapper first. On macOS follow macos-loopback-sshd.md; on Linux follow linux-ssh-target.md.
Allow only the selected host and port in this node profile's [ssh].allowed_targets, then restart only that profile. Do not replace its server, node, signing, or credential sections.
Create the service without --org unless organization ownership was explicitly requested:
node_id="$(nyxid node list --output json | jq -r --arg name "$NODE_NAME" '.nodes[] | select(.name == $name) | .id')"
test -n "$node_id"
service_json="$(nyxid service add-ssh \
--label "$SERVICE_LABEL" \
--host "$SSH_HOST" \
--port "$SSH_PORT" \
--via-node "$node_id" \
--node-key \
--principals "$PRINCIPAL" \
--output json)"
service_slug="$(printf '%s' "$service_json" | jq -r '.slug // .service_slug // .data.slug // empty')"
test -n "$service_slug"
NYXID_PROFILE="$NODE_PROFILE" nyxid node ssh-credentials add \
--service "$service_slug" \
--principal "$PRINCIPAL" \
--key-file "$SSH_KEY_FILE" \
--host "$SSH_HOST" \
--port "$SSH_PORT"
Investigate a host-key mismatch or explicitly rotate the verified pin. Never disable host verification.
Use troubleshooting.md to confirm a generic command is rejected and the exact Aevatar command profile succeeds through nyxid ssh exec.
Private workflow arguments use the nested contract:
{
"target": {
"kind": "private_ssh",
"private_ssh": {
"service": "your-service-slug",
"principal": "your-unix-user"
}
},
"prompt": "Reply with exactly CODEX_EXEC_READY",
"timeout_secs": 300
}
Do not use the obsolete root-level service and principal shape.
Mount the public dependency and run codex-exec-private-ssh-check with the actual service slug and principal. A direct SSH success is insufficient. The Aevatar workflow must return exit_code: 0, timed_out: false, and stdout exactly CODEX_EXEC_READY after trimming.
For either target, load the declared public dependency, [email protected], from Ornn:
{
"skill": "aevatar-codex-exec-workflow-sample",
"mount_workflows": true
}
Use codex-exec-check for managed or codex-exec-private-ssh-check for private SSH. If workflow mounting is unavailable, fetch the same published Ornn version and run it as explicit inline draft input; do not substitute an unverified local copy.
For managed, all must be true:
chrono-sandbox and chrono-llm-public UserServiceschrono-sandbox UserService reads back forward_access_token=trueCODEX_EXEC_READYFor private SSH, all must be true:
CODEX_EXEC_READYAnything less is partial configuration, not a usable codex_exec route.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
aevatar, codex-exec, nyxid, chrono-sandbox, gvisor, ssh-setup, workflow-configuration
npx claudepluginhub chronoaiproject/nyxid --plugin nyxid-cli17 skills in this plugin
/aevatar-agent-profile-managementUse when a user wants to create, edit, validate, publish, or explain an Aevatar Agent Profile; set purpose or instructions; bind exact Ornn skills and activation modes; restrict tool authority; or diagnose ETag, validation, publication, deployment exposure, or runtime binding. Agent Profile is a separate resource, not a workflow, member, team, service, or schedule. Use the opaque profileId, exact `{skillGuid, literalVersion, expectedName, expectedPublisherId}` references, strong ETags, accepted-vs-committed semantics, and capability detection before mutation./aevatar-automationAevatar scheduling & workflow automation: scheduled_agent_creator (cron/one-shot) for independent scheduled Ornn skill agents and reminders — NOT an alias for Studio Team member automation — the long-running task automation playbook, workflow creation semantics (Scope Workflow vs Ornn publish), agent_builder lifecycle, the typed required_nyx_services contract (exact user_service_id is the authorization; a slug snapshot never substitutes), dedicated Agent Key semantics (vault-held raw material, borrowed durable reference late-resolved per use, exact non-wildcard grants, ~90-day projected expiry, reauthorize-then-revoke, independent NyxID and Vault revocation tracks), accepted-is-admission-only receipts, and a token_expired triage protocol that reads credentialSourceKind before assuming any TTL./aevatar-channels-deliveryAevatar channel & delivery how-to: capability tools (code_execute, nyxid_proxy, GitHub PAT fallback, channel bots), token_expired/401 credential triage that identifies the typed credential source before interpreting the failure (a dedicated scheduled-invocation Agent Key is vault-held and late-resolved per use — never diagnose it with the 300-second broker TTL), LLM route selection slash commands, channel_registrations (staged Lark provisioning), agent_delivery_targets binding, and a strict never-emit-secret-material policy./aevatar-codex-exec-workflow-sampleMount and run harmless Aevatar workflows that prove codex_exec works through either the operator-managed chrono-sandbox/gVisor target or a private NyxID node-backed SSH target. Use after managed eligibility and required NyxID UserServices are ready, or after configuring a personal SSH node; also use when diagnosing typed managed or private-route failures before real tasks./aevatar-feasibility-advisorUse before building when a user asks whether Aevatar can achieve a goal, what prerequisites it has, or why it is unavailable. Triggers include bots and third-party APIs, inbound channels, external HTTP triggers, schedules, service exposure, Agent Profiles and tool ceilings, and bounded managed or private-host codex_exec work. It distinguishes outbound connectors from inbound channels and separates not connected, host-gated, not deployed, and genuinely unsupported outcomes. It chooses managed_sandbox versus private_ssh without promising repository, model, credential, runtime, or deployment capabilities the caller does not control, then routes feasible work to the owning Aevatar skill./aevatar-platform-mapEntry point, panorama, and router for the Aevatar skill family. Use before building, running, publishing, scheduling, externally triggering, or operating Aevatar resources; configuring an Agent Profile; assessing managed/private codex_exec feasibility and setup; running the canonical Codex readiness proof; authoring a workflow with codex_exec; diagnosing a Codex failure; or deciding which companion skill owns a request. It teaches resource and identity boundaries, NyxID-brokered auth, client REST versus in-session tools, deployment gates, and exact handoffs without treating member, workflow, service, profile, schedule, or Codex capabilities as one lifecycle.Other plugins' skills for the same job