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
development
Federation-wide gold (XAUUSD) trading capability. Python stack, OANDA broker, backtesting, macro signals, RSI strategy. Every organ has a role.
development
Capital claim state management — tracks claim lifecycle across WEALTH organ.
development
Archived constitutional warga placeholder retained only for audit provenance. Do not use for active work; use the live arifOS governance and constitutional skills instead.
testing
Warga (citizen) agent skills for AAA federation members. See subdirectories for specialized warga skills.