skill — independently scanned and version-tracked by SaferSkills.
SaferSkills independently audited skill (Agent Skill) and scored it 100/100 (green). The audit ran 55 deterministic rules across Security, Supply Chain, Maintenance, Transparency, and Community; it found 0 high-severity and 0 lower-severity findings. The full rule-by-rule trace and per-finding evidence are below. Free, methodology-open.
Findings & checks · 0 flagged
Every scanned point with the score it earned and what moved between them.
First recorded scan — no prior version to compare against.
The primary manifest — the file an agent reads to learn what this artifact does.
Etta Cognitive OS is a cognitive control layer that sits between user input and LLM execution. It transforms probabilistic LLM reasoning into a structured, deterministic cognitive system.
Core principle: Claude thinks → Etta decides → Workspace executes.
USER INPUT
│
▼
LLM Core (Claude) ← probabilistic reasoning, hypothesis generation
│ structured JSON output only
▼
Etta Cognitive Layer
├── Goal Engine ← extract & hierarchize intent
├── State Engine ← merge & track cognitive state (versioned)
├── Memory Engine ← multi-tier persistence (fact/obs/decision/failure)
├── Decision Engine ← propose actions with confidence scores
├── Critic Engine ← validate decisions (hard gate — no bypass)
├── Compression Engine ← prune redundant state
└── Evolution Engine ← adapt policies from history
│
▼
Workspace OS ← sole executor of external effects
├── Permission Engine
├── Transaction Manager
├── Audit Logger
└── Tool Interface Layer
│
▼
OUTPUT + STATE UPDATEAuthority hierarchy (highest → lowest): Protocol → Workspace OS → Execution Runtime → Etta Cognitive Layer → LLM Core → User Input
Every Etta cycle follows this strictly ordered state machine:
INIT → LOAD_STATE → PLAN → DECIDE → VALIDATE → EXECUTE → COMMIT → COMPRESS → COMPLETESteps:
{goal, subgoals, priority, constraints}{actions, rationale, confidence, hypothesis_branch}Invariants — never violate:
Read references/implementation.md for full Python code covering:
ClaudeBridge — LLM integration with structured JSON output enforcementStateEngine — versioned state merge and mutationMemoryEngine — JSONL append-only persistenceDecisionEngine — action proposal with confidence scoringCriticEngine — validation gate with retry loopWorkspaceOS — transactional execution layerEttaRuntime — orchestration loop (run_cycle())main.py — CLI entrypointRead references/schemas.md for all canonical data schemas:
For LLM agents operating inside a single context window (e.g., Claude SKILL):
# Etta state lives as a structured dict injected into every prompt
etta_state = {
"goal": "",
"subgoals": [],
"hypotheses": {"active": [], "rejected": []},
"decisions": [], # append-only
"memory": {"facts": [], "observations": [], "failures": []},
"constraints": [],
"confidence": 1.0,
"version": 0,
"execution_state": "INIT"
}Inject state into every LLM system prompt. Enforce JSON-only output. Run the Critic check inline before acting on any decision.
The SKILL prompt instructs Claude to:
Use the full implementation from references/implementation.md. Etta Runtime wraps any LLM call and enforces the cognitive loop externally.
| Failure | Response |
|---|---|
| Critic rejection | Retry Decision Engine (max 3 iterations, then escalate) |
| Execution failure | Rollback transaction, log to failure memory |
| State desync | Rehydrate from last valid version |
| Memory corruption | Skip entry, log deprecation |
| LLM parse error | Re-prompt with explicit JSON schema |
~30 seconds. Free. No account. Every finding cites a rule and a line of evidence.