ai-memory-routing-install
Что он делает
Скилл настраивает блоки инструкций и файлы скиллов, которые связывают ваши ИИ-инструменты с ai-memory. Он нужен людям, которые хотят, чтобы агенты правильно использовали инструменты памяти.
Когда использовать
- ✓Когда вы хотите установить инструкции маршрутизации ai-memory в настройки агента.
- ✓Когда инструкции или скиллы ai-memory нужно починить или обновить.
- ✓Когда вы хотите удалить управляемые ai-memory инструкции или скиллы.
Ссылка на скилл
https://github.com/akitaonrails/ai-memory/blob/main/crates/ai-memory-core/src/routing_skills/ai-memory-routing-install/SKILL.mdСкопируйте и вставьте её в ваш ИИ (Claude, ChatGPT или Cursor) с просьбой следовать инструкциям.
Как использовать
Самый простой способ: скопируйте сообщение и вставьте его в свой ИИ. Он прочитает скилл и выполнит инструкции.
Готовое сообщение для вставки
Для Claude Code, Codex или Cursor: запустите в папке проекта, и скилл установится.
Скачайте SKILL.md и положите его в папку скиллов вашего агента.
Пример запроса к вашему ИИ
“Установи инструкции маршрутизации ai-memory в мой CLAUDE.md и обнови скиллы.”
5 новых скиллов в неделю. 1 минута чтения.
Как это работает
Агент получает стандартный блок инструкций и файлы скиллов из установочного инструмента ai-memory, затем размещает их между строками-маркерами. Содержимое за пределами маркеров остаётся как есть.
Технический текст (оригинальный SKILL.md)
Оригинальный текст автора на английском, прямо с GitHub.
ai-memory routing install
Use this skill when the user wants ai-memory's agent-facing routing instructions or managed Agent Skills installed, refreshed, repaired, or removed.
Tools in this cluster
memory_install_self_routingreturns the canonical markered instruction block, marker strings, filename hints, notes, and managed skill payloads for agents that cannot let the MCP server write the host filesystem directly. Passcompact: truewhen managed Agent Skills are installed or when refreshing a file that already uses the compact snippet.
Managed instruction marker
The always-loaded instruction block is owned by ai-memory only between these markers.
- Start marker:
<!-- ai-memory:start --> - End marker:
<!-- ai-memory:end -->
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.
Managed skill marker
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.
Skill install targets
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:
.claude/skills/<skill>/SKILL.mdfor Claude-compatible installs..agents/skills/<skill>/SKILL.mdfor cross-client installs..grok/skills/<skill>/SKILL.mdfor Grok Build CLI installs..github/skills/<skill>/SKILL.mdfor GitHub Copilot CLI installs.
Global targets:
~/.claude/skills/<skill>/SKILL.mdfor Claude-compatible installs.~/.agents/skills/<skill>/SKILL.mdfor cross-client installs.$GROK_HOME/skills/<skill>/SKILL.mdfor Grok Build CLI installs (default:~/.grok/skills/<skill>/SKILL.md).$COPILOT_HOME/skills/<skill>/SKILL.mdfor GitHub Copilot CLI installs (default:~/.copilot/skills/<skill>/SKILL.md).
Use platform-aware path joining. Do not build paths by string concatenation.
Refresh guidance
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.
Частые вопросы
Изменит ли он мои другие инструкции?
Нет. Он заменяет только блок между маркерами ai-memory и не трогает остальное.
Зачем нужны маркеры?
Они показывают, какой текст принадлежит ai-memory, поэтому обновления не затрагивают ваши другие инструкции.
Какие файлы он может обновлять?
Файлы инструкций, например CLAUDE.md или AGENTS.md, и управляемые папки скиллов.
Подробности
Оригинальное описание автора
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.
repo: akitaonrails/ai-memory
Популярность
- Звёзды на GitHub
- 15k
- Место в рейтинге
- #11042
- Лицензия
- MIT
- Обновлён
- 02.11.2026
Комментарии
- …
Другие скиллы из этого репозитория
ai-memory-durable-pages
15kПомогает агенту сохранять, обновлять или удалять постоянные заметки проекта в вики ai-memory, когда вы просите запомнить что-то надолго.
ai-memory-handoff
15kПомогает агенту передать контекст следующей сессии: вы продолжаете с того места, где остановились, сохраняете заметку на прощание или отменяете ошибочную передачу.
ai-memory-learning-maintenance
15kПомогает агенту навести порядок в вики памяти: превращать заметки сессий в тематические страницы, проверять противоречия и убирать устаревшее по вашей просьбе.
ai-memory-messaging
15kПомогает агенту отправить самодостаточный запрос во входящие другого проекта, проверить входящие вашего проекта или отменить отправленное вами сообщение.
Похожие скиллы
mcporter
394kПомогает агенту выводить список, вызывать и проверять серверы MCP и их инструменты по HTTP или stdio, а также управлять настройками входа.
fastmcp
260kПомогает агенту создать, проверить и развернуть MCP-сервер на Python, который даёт ИИ-ассистентам доступ к API, базе или файлам.
mcp-oauth-remote-gateway
260kПомогает агенту вручную пройти вход OAuth для удалённого MCP-сервера, если Hermes работает на сервере и обычный вход через браузер не работает.