skills/ARCHIVE-chaos-quarantine/agent-memory-bridge/SKILL.md
Bridge OpenClaw session logs to arifOS L4 (Postgres), L5 (Graphiti), L6 (Vault999). Extract facts, decisions, and verdicts from sessions and persist them to the constitutional memory substrate. USE WHEN: "sync session to arifOS", "bridge memory", "session to vault", "extract to Graphiti".
npx skillsauth add ariffazil/openclaw-workspace agent-memory-bridgeInstall 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.
Connects OpenClaw session context → arifOS constitutional memory layers.
OpenClaw has openclaw-memory (community SQLite + x402). arifOS has L1–L6 (ephemeral → vault). They are separate stores. Key decisions made in OpenClaw sessions don't automatically reach Vault999.
# Export recent session events to Postgres
# Table: session_events (session_id, actor_id, event_type, payload, timestamp)
psql $ARIFOS_CONN -c "
INSERT INTO session_events (session_id, actor_id, event_type, payload, timestamp)
SELECT 'session_$(date +%Y%m%d)', 'openclaw', 'skill_audit',
json_build_object('skill', '$SKILL', 'action', '$ACTION', 'ts', NOW()),
NOW()
ON CONFLICT DO NOTHING;
"
# Create entity links in Graphiti
# e.g., "user:arif" → performed → "skill:deep-research"
# e.g., "session:X" → used → "model:minimax-m2.7"
# e.g., "agent:openclaw" → decided → "verdict:SEAL"
Sealed entries:
888_JUDGE verdicts| Session Event | → arifOS Layer | |---|---| | Skill installed/removed | L4 Postgres | | MCP crash/restart | L4 + L5 | | Constitutional audit result | L6 Vault999 | | Model switch | L4 | | Security finding | L6 Vault999 | | Human veto | L5 Graphiti + L6 |
# Bridge last session's key decisions to arifOS
bridge-session --session-id omega-forge-2026-05-17 --layers l4,l5,l6
# Bridge a specific verdict
bridge-verdict --verdict SEAL --actor Arif --context "DeepSeek 402 hotfix"
# Full sync of recent sessions
bridge-recent --hours 24 --confirm
arifos-memory (L3–L6 access)session-logs (read session history)arif_seal (L6 immutable ledger)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.