federation/gemini/plugins/arifos/skills/arif-init-wrapper/SKILL.md
Universal session auto-anchor for ALL agent vendors on arifOS VPS — Codex, Claude, Gemini, Kimi, OpenCode, Aider, Copilot, and future agents
npx skillsauth add ariffazil/openclaw-workspace arif-init-wrapperInstall 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.
P0 — Universal Anchor for All Agent Vendors Seal: DITEMPA BUKAN DIBERI · 2026-03-27
Every agent on this VPS starts from the same broken state: no anchor, no session context, no constitutional grounding. The arif-init-wrapper closes this gap for every vendor by providing a universal bootstrap that:
Why this is P0: Without this, agents operate unanchored — the exact condition that produced the opencode catastrophe (session with no constitutional grounding, leading to blind git reset --hard origin/main).
Every time any of these agents start a session, run arif-init-wrapper:
| Agent | Invocation |
|-------|-----------|
| Claude Code | On every claude session start |
| Codex | On every codex session start |
| Gemini / Antigravity | On every gemini / Antigravity session start |
| Kimi | On every kimi session start |
| OpenCode | On every opencode session start |
| Aider | On every aider session start |
| Copilot CLI | On every github-copilot-cli session start |
| Any new agent | On first boot, before any tool use |
curl -sf http://localhost:8080/health 2>/dev/null && {
echo "[ANCHORED] arifOS MCP online — proceeding with constitutional grounding"
} || {
echo "[UNANCHORED] arifOS MCP unavailable. Operating WITHOUT constitutional grounding."
echo "[WARNING] This is high-risk. Proceed with extreme caution."
}
core_modules=$(ls /root/arifosmcp/core/*.py 2>/dev/null | wc -l)
if [ "$core_modules" -lt 10 ]; then
echo "[P0 CONSTITUTIONAL CRISIS] /root/arifosmcp/core/ appears broken"
echo "[ACTION] HALT. Report to Arif. Do not proceed."
fi
arifos memory '{"operation":"search","content":"last session summary"}'
Output a plain-language status block:
✅ SESSION ANCHORED
Actor: [agent_name]
Floor health: F1-F13 OK
Memory: [last context recalled]
VPS: [health status]
Ready for: [declared task]
DITEMPA BUKAN DIBERI — 000 INIT ALIVE
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.