Repository navigation
Agent Setup
OpenCode:
bash scripts/sync-live-agents.shDry run first if you want to inspect the plan:
bash scripts/sync-live-agents.sh --dry-runOpenClaw:
bash scripts/sync-live-agents.sh --openclaw| Variable | Purpose |
|---|---|
AGENT_REPOS_DIR |
parent directory containing the agent repos |
SERIES_MANIFEST |
alternate registry file |
OPENCODE_AGENTS |
OpenCode destination, default ~/.config/opencode/agents
|
OPENCLAW_ROOT |
OpenClaw root, default ~/.openclaw
|
NO_RELOAD |
set to 1 to skip reloading OpenCode after sync |
~/.config/opencode/agents/
Each ready agent gets:
agents/<id>.mdagents/<id>-consult.mdagents/<id>/
The primary agent file is active. Other Markdown files in the workspace are
marked disabled: true so only the intended entry point loads.
Linux/macOS:
cd destiny-agent-eris-morn
bash setup.sh ../destiny-agent-grimoire --no-mcpWindows:
cd destiny-agent-eris-morn
bash setup.sh path\to\destiny-agent-grimoire --no-mcpPass a path to this archive, for example ../destiny-agent-grimoire.
--no-mcp skips the optional MCP install (the virtualenv). The OpenClaw
MCP entry/pointer is still updated to reference this checkout; install the
venv before relying on it, or leave OpenClaw unconfigured.
OpenClaw's update doctor starts MCP servers to validate their tool schema, and
it cannot resolve a bare run.sh. Onboarding takes care of this itself:
-
setup.shrunslore/scripts/ensure-openclaw-mcp.shafter the archive is linked. The ensure script pins openclaw.json'sgrimoireentry to the stable wrapper~/.local/bin/grimoire-mcp(which execs$GRIMOIRE_ROOT/mcp-server/run.shvia the~/.local/share/grimoirepointer symlink to this checkout), so relocating the archive only needs the symlink refreshed — openclaw.json stays untouched. Idempotent; backs upopenclaw.jsonfirst; skips when OpenClaw is not installed. -
scripts/sync-live-agents.sh --openclawre-checks it on every sync.
Verify with:
openclaw doctor --lint --only core/doctor/runtime-tool-schemassetup.sh links the archive in three steps, so no manual work is usually
needed:
-
ln -s(works on Unix and on Git Bash with native symlinks) -
mklink /Jdirectory junction whenln -sis unavailable -
git cloneof the archive as a last resort
To link it yourself:
mklink /J lore ..\destiny-agent-grimoireThe agent expects lore/ to resolve to this archive. If a stale copy blocks
the link, clear it first:
attrib -r -s -h lore /s /d
rmdir /s /q lorepython3 lore/db/query.py statsIf the counts print, the agent can read the archive. Start a conversation and ask a question in the agent's area; a grounded answer cites verified lines from the database.
OpenCode lists the agent by its display name. Choose it, then talk normally. The agent loads its core voice first and escalates to deeper modules only when the conversation needs them.
To consult another persona from inside a conversation, use the matching
<id>-consult agent. Consult agents are read-only and answer in character; they
do not change your files or delegate further.