Nacl core

From ITSalt/NaCl · View interactive version

Nacl core is an AI agent skill from the GitHub repository ITSalt/NaCl. Shared NaCl conventions for Codex-adapted skills: graph configuration, Neo4j tool assumptions, schema locations, ID conventions, Excalidraw board conventions, confirmation gates, and verification vocabulary. Use when a Codex NaCl skill needs common graph or workflow rules. Also use when the user ref

How to use this skill

Skill file

NaCl Core For Codex

Installation mode preflight

Before any workflow work, reuse a nacl_installation_doctor result from the

current invocation or call that tool once when it is available. Continue only

when it returns status=VERIFIED; a FAILED or BLOCKED result stops the

workflow with its actionable guidance.

If the tool is absent or cannot be called, never infer legacy-only mode and do

not shell to a package/cache path. Report BLOCKED. The separate legacy

symlink distribution owns its own fallback; a plugin workflow uses only the

package MCP nacl_installation_doctor and preserves its exact result.

This skill is a shared reference for Codex-adapted NaCl skills. It is not a

user-facing workflow skill.

Core Rules

available.

whenever a skill writes a terminal Task.status to the graph.

Graph Configuration

Resolve graph settings from the current project's config.yaml when file access

is available:

| Data | Source priority |

|---|---|

| Neo4j Bolt port | graph.neo4j_bolt_port > fallback 3587 |

| Neo4j HTTP port | graph.neo4j_http_port > fallback 3574 |

| Neo4j secret | graph.neo4j_secret_reference (no committed fallback) |

| Boards directory | graph.boards_dir > fallback "graph-infra/boards" |

| Container prefix | graph.container_prefix > project.name > fallback "graph" |

Connection strings are for user-facing diagnostics only. Actual graph access is

allowed only through graph tools available in the current Codex environment.

Schema And Query Locations

ID Conventions (selected)

Allocate ids by scanning the existing max suffix and incrementing. Provenance and

change-tracking ids:

ADR-NNN). Written by nacl-sa-feature, nacl-tl-fix (L2/L3), and

nacl-sa-finalize. A :Decision is NOT a Requirement — keep it a distinct

label so it does not pollute the L3 requirement check or the planner.

Task.planned_from_version, and review_status/stale_reason/stale_since/

stale_origin on snapshot-bearing nodes — read with

coalesce(n.review_status,'current').

SCR-{PascalName} (:Screen), SCRST-{Screen}-{State} (:ScreenState),

SCREV-{Screen}-{Event} (:ScreenEvent), SCRTR-{Screen}-NNN (reified

:Transition, per-screen sequential), SCREF-{Screen}-NNN (:ScreenEffect,

per-screen sequential), ANEV-{Name} (:AnalyticsEvent). {Screen} is the

PascalName part of the Screen id without the SCR- prefix.

written by nacl-sa-uc slices). {NNN} is the parent UC number

(UC-006 → 006); {PascalName} derives from a latin short scenario name

(kebab/snake/space → PascalCase). The infix keeps repeated scenario names

unique across UCs and enables STARTS WITH 'SLC-NNN-' scoping.

error, written by nacl-sa-uc errors; also by nacl-tl-fix when an L2/L3

fix uncovers a missing error branch). {UPPER_SNAKE_CODE} equals the code

property — domain-prefixed (PROMO_NOT_FOUND, never bare NOT_FOUND).

Module-scoped shared vocabulary ((:Module)-[:HAS_ERROR]->): MERGE by id,

never duplicate per UC. ERRP-{CODE}-{PascalName} — :ErrorPresentation

node (one user-facing presentation; PascalName from the presentation

kind/context). See sa-schema.cypher § 3-quater and sa_uc_errors.

data surface, written by nacl-sa-uc resilience; also by nacl-tl-fix

when an L2/L3 fix uncovers a missing cache/invalidation policy). PascalName

from the cached surface + storage (CACHE-ResultMediaIndexedDb).

Module-scoped shared vocabulary ((:Module)-[:HAS_CACHE]->): MERGE by id,

never duplicate per UC. DEG-{NNN}-{PascalName} — :DegradationRule node

(one UC's degradation behavior); {NNN} is the parent UC number — the

infix enables STARTS WITH 'DEG-NNN-' scoping, exactly like SLC. See

sa-schema.cypher § 3-quinquies and sa_uc_resilience.

If these files are unavailable, report:

Status: BLOCKED
Reason: graph schema or query files are unavailable in the current workspace

Capabilities

May Do

Must Not Do

Conditional Tools And Actions

Blocked Or Unverified Reporting

Source Comparison

Preserved Methodology

Removed Claude Mechanics

Codex Replacement Behavior

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.