registries/antigravity/skills/arifos-memory/SKILL.md
Master the 6-layer memory architecture of arifOS. Use this skill whenever you need to store, recall, or organize information across Ephemeral (L1), Session (L2), Semantic (L3), Structured (L4), Relational (L5), or Immutable (L6) layers. Mandatory for maintaining "Besi-level" factual consistency and adhering to Sovereign Memory Directives.
npx skillsauth add ariffazil/openclaw-workspace arifos-memoryInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
This skill enables the Sovereign Coder Agent to traverse and manage the hierarchical memory substrate of the arifOS Intelligence Kernel.
| Layer | Type | Engine | Purpose | | :--- | :--- | :--- | :--- | | L1 | Ephemeral | Redis | Immediate turn-by-turn variables. Dies with the turn. | | L2 | Session | Redis | Context preservation across the current session. | | L3 | Semantic | Qdrant (BGE-M3) | Fuzzy similarity search. "What feels similar to this?" | | L4 | Structured | Postgres (Supabase) | Durable records and structured audit logs. | | L5 | Relational | Graphiti / FalkorDB | Entity relationship mapping and semantic links. | | L6 | Immutable | Vault999 | Hash-chained, append-only "Besi" truth. |
Canonical source: arifos://memory resource in /root/arifOS/arifosmcp/resources/memory.py.
Before storing any persistent memory (L3–L6), you MUST pass the triage gate:
actor_id and session_id.sacred, canon, operational, session, or ephemeral.When persisting new "facts," use the canonical store_v2 envelope path:
arif_memory_recall(mode='store', ...) with envelope fields (memory_intent, source_type, source_confidence, durability, etc.). The canonical implementation writes to Qdrant (L3) and Postgres (L4) together.tier='L3' or tier='L4'. This is NOT the default.arif_vault_seal to anchor the state.mode='recall', tier='L3').mode='recall', tier='L4').# Store a canon fact with provenance
arif_memory_recall(
mode="store",
content="WELL medical boundary promoted to public MCP; F9 soul contract added.",
actor_id="kimi",
session_id="sess-2026-06-12-001",
memory_intent="canon",
source_type="forge_receipt",
source_uri="/root/WELL/server.py",
source_confidence=0.99,
durability="permanent",
tags=["well", "medical_boundary", "f9", "canon"],
)
# Recall similar facts
arif_memory_recall(
mode="recall",
query="medical boundary F9 soul contract",
tier="L3",
min_confidence=0.7,
)
/root/.secrets/ and SOPS/AGE.check_laws) returns HOLD or VOID.actor_id.confidence, provenance, and memory_quality when recalling memories. Do not trust high-similarity alone.session_id to maintain the audit chain."The measure of intelligence is the ability to change, but the measure of sovereignty is the ability to remember why." — HERMES ASI
testing
OpenClaw edge agent bridge — operational triage, doctor, restart, and A2A bridge routing for the federation edge (Telegram surface). USE WHEN: "openclaw unhealthy", "gateway down", "edge bot not responding", "a2a bridge disconnected", "watchdog tripped", "openclaw doctor", "openclaw restart". NOT for token/security audit — use FORGE-telegram-audit.
tools
Generate images, videos, TTS, voice clone, and music via MiniMax MCP server. Use when user asks to "draw", "generate image", "create picture", "make a photo", "text to image", "image generation".
testing
Single load-bearing constitutional-judgment skill. Routes all F1–F13, verdict, hold, seal, scope, authority and floor-check calls through the live arif_judge surface. Replaces 7 overlapping predecessors (arifos-constitutional-judge, arifos-constitutional-judge, arifos-constitutional-judge, arifos-constitutional-judge, arifos-constitutional-judge, arifos-constitutional-judge, arifos-constitutional-judge).
development
MANDATORY LSP grounding gate BEFORE any code mutation on .ts, .py, .js, .tsx, .jsx files. Forces the agent to read real-time compiler diagnostics and structural project context before editing — eliminating blind guesses and anchoring every mutation in F2 (TRUTH). Routes through arifOS kernel (:8088) for centralized gate logic.