ai-memory-durable-page…
Use this skill for any explicit wiki mutation in ai-memory: saving durable or time-bounded project knowledge, recording a rule or…
Use this skill for any request to install, refresh, repair, inspect, or remove ai-memory's agent-facing routing: managed instruction snippets, Agent Skills, CLAUDE.md/AGENTS.md integration, or local/global skill roots. Trigger by semantic intent rather than exact wording.
Claude Code
$ npx -y skills add akitaonrails/ai-memory --skill ai-memory-routing-install --agent claude-code
Codex
$ npx skills add akitaonrails/ai-memory --skill ai-memory-routing-install -a codex -y
Cursor
$ npx skills add akitaonrails/ai-memory --skill ai-memory-routing-install -a cursor -y
Gemini CLI
$ npx skills add akitaonrails/ai-memory --skill ai-memory-routing-install -a gemini-cli -y
GitHub Copilot
$ npx skills add akitaonrails/ai-memory --skill ai-memory-routing-install -a github-copilot -y
OpenCode
$ npx skills add akitaonrails/ai-memory --skill ai-memory-routing-install -a opencode -y
Windsurf
$ npx skills add akitaonrails/ai-memory --skill ai-memory-routing-install -a windsurf -y
name: ai-memory-routing-install description: "Use this skill for any request to install, refresh, repair, inspect, or remove ai-memory's agent-facing routing: managed instruction snippets, Agent Skills, CLAUDE.md/AGENTS.md integration, or local/global skill roots. Trigger by semantic intent rather than exact wording."
<!-- ai-memory-managed: routing-skill -->
Use this skill when the user wants ai-memory's agent-facing routing instructions or managed Agent Skills installed, refreshed, repaired, or removed.
The always-loaded instruction block is owned by ai-memory only between these markers.
Refresh must replace the first complete marker-bounded block whose start and end delimiters appear alone on their own lines, preserving unrelated content before and after it. Ignore inline mentions of marker strings inside prose or code; they are not delimiters. If no complete line-delimited block exists, append the canonical block with one blank line of separation. Never edit unrelated instructions while refreshing ai-memory routing.
Every ai-memory-managed `SKILL.md` file contains this ownership marker.
`<!-- ai-memory-managed: routing-skill -->`
Installers and uninstallers should overwrite or remove same-name skill files only when that marker is present, unless the user supplied an explicit force option. If a same-name skill lacks the marker, skip it with an actionable message so user-authored skills are preserved.
Global Grok installs also write `$GROK_HOME/rules/ai-memory-handoff.md` (default `~/.grok/rules/ai-memory-handoff.md`) with the ownership marker `<!-- ai-memory-managed: grok-handoff-rule -->`. Overwrite or uninstall that file only when the marker is present, unless the user supplied `--force`. Project-scope Grok skill installs leave that user rule alone.
Managed skills are ordinary Agent Skills. Their relative file path is `<skill>/SKILL.md`, and the installer prepends the selected skill root.
Project-local targets:
Global targets:
`~/.grok/skills/<skill>/SKILL.md`).
(default: `~/.copilot/skills/<skill>/SKILL.md`).
Use platform-aware path joining. Do not build paths by string concatenation.
For an agent-side refresh, call the install-routing tool (pass `compact: true` if the target file already uses the compact snippet or if managed Agent Skills handle detailed routing). Its returned `target_hints` are authoritative for skill roots: choose the right instruction filename from `agent_filenames`, write the markered block with the agent's file-edit tool, and write each managed skill file below the selected hint using its `relative_path`. When a hint is an array, install the skill under every listed root. Claude Code normally uses `CLAUDE.md` and `.claude/skills`; Codex, OpenCode, Cursor, Gemini CLI, and AGENTS-aware clients normally use `AGENTS.md` and `.agents/skills`; Antigravity uses `AGENTS.md` and `.agents/skills` in a project, with separate App/IDE and CLI roots globally; Grok Build CLI uses `AGENTS.md` and `.grok/skills`; GitHub Copilot CLI uses `AGENTS.md` and `.github/skills` unless the project says otherwise.
For a CLI refresh, prefer the canonical install command. The snippet and skills must be updated from the same core-owned assets so they do not drift.
Solution for long term memory for agent coding CLIs and to facilitate handoff between different agent vendors
Use this skill for any explicit wiki mutation in ai-memory: saving durable or time-bounded project knowledge, recording a rule or…
Use this skill for any request whose goal is session continuity across agents or time: finding a pending handoff, resuming…
Use this skill for any ai-memory knowledge-base maintenance request: consolidating observations, reviewing session lessons,…
Use this skill for cross-project agent-to-agent messaging: sending a request to another project's inbox, checking or popping this…
Use this skill for any request whose goal is read-only retrieval from ai-memory: project history, prior context, decisions,…
Check whether ai-memory is capturing this session and its memory tools can reach the server. Run it when memory looks missing or…
Believable agent cost report for any period, default the last 7 full days PT, not counting today. Measured tokens from Claude…
Keep a durable record of work passed between Bots in the shared Hindsight memory bank. Use when handing work to another Bot, when…
Install, configure, and operate MemPalace, including a private local palace, a shared-brain hub, or a client joining an existing…
Install, configure, and operate MemPalace, including a private local palace, a shared-brain hub, or a client joining an existing…