Aim agent sanctum init

From Hidden-History/ai-memory · View interactive version

Aim agent sanctum init is an AI agent skill from the GitHub repository Hidden-History/ai-memory. Initialize sanctum directory for an agent. Runs deterministic First Breath scaffolding — creates folder structure and writes template-substituted files.

How to use this skill

Skill file

aim-agent-sanctum-init — Agent Sanctum Initialization

Initialize the sanctum directory structure for an agent. Deterministic scaffolding only — no conversational awakening. For Parzival this runs automatically on first activation when any of the 8 required sanctum files are missing. For domain agents (future work) it runs when Parzival spawns a memory-bearing agent needing cross-session state.

Steps

  1. Determine target sanctum path: {project-root}/_ai-memory/sanctum/{agent_id}/
  1. File-level idempotency: each sanctum file is created if missing, preserved if existing. The script never overwrites an existing file in the sanctum.
  1. Invoke scripts/init-sanctum.py {project-root} {skill-path} where {skill-path} is this skill's directory (resolves to _ai-memory/pov/skills/aim-agent-sanctum-init/).
  1. The script:
  1. Verify: after script returns 0, confirm all required sanctum files exist (for parzival: CREED.md, PERSONA.md, INDEX.md, BOND.md, LORE.md, MEMORY.md, CAPABILITIES.md, PULSE.md).

Parameters

This skill is currently parzival-only (single-agent scaffold). The script accepts these positional arguments:

| Position | Description |

|---|---|

| <project-root> | Required. Path to the project where _ai-memory/ lives. |

| <skill-path> | Required. Path to this skill bundle (where assets/, scripts/ live). |

Multi-agent support (agent_id / agent_type / tier / domain parameters) is planned. See "Future Work" below.

Idempotency

The script always runs through all TEMPLATE_FILES. Each file is checked individually — existing files are preserved, missing files are created.

Integration Points

Future Work (not in Phase 1)

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.