ai-memory-routing-install
O que ela faz
A skill configura os blocos de instruções e os arquivos de skill que conectam suas ferramentas de IA ao ai-memory. É para quem quer que os agentes usem corretamente as ferramentas de memória.
Quando usar
- ✓Quando você quer instalar as instruções de roteamento do ai-memory na configuração do seu agente.
- ✓Quando as instruções ou skills do ai-memory precisam de reparo ou atualização.
- ✓Quando você quer remover as instruções ou skills gerenciadas pelo ai-memory.
Link da skill
https://github.com/akitaonrails/ai-memory/blob/main/crates/ai-memory-core/src/routing_skills/ai-memory-routing-install/SKILL.mdCopie e cole na sua IA (Claude, ChatGPT ou Cursor) pedindo para seguir as instruções.
Como usar
O jeito mais fácil: copie a mensagem e cole na sua IA. Ela lê a skill e segue as instruções.
Mensagem pronta para colar
Para Claude Code, Codex ou Cursor: rode na pasta do projeto e a skill fica instalada.
Baixe o SKILL.md e coloque na pasta de skills do seu agente.
Exemplo do que pedir para a IA
“Instale as instruções de roteamento do ai-memory no meu CLAUDE.md e atualize as skills.”
5 skills novas por semana. 1 minuto de leitura.
Como funciona
O agente obtém o bloco de instruções padrão e os arquivos de skill da ferramenta de instalação do ai-memory, e os coloca entre linhas de marcação. O conteúdo fora dessas marcações é mantido como está.
Conteúdo técnico (SKILL.md original)
Texto original do autor, em inglês, direto do 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.
Perguntas frequentes
Ela muda minhas outras instruções?
Não. Ela substitui somente o bloco entre as marcações do ai-memory e deixa o conteúdo não relacionado intacto.
Para que servem as marcações?
Elas mostram onde o ai-memory é dono do texto, para que as atualizações não toquem nas suas outras instruções.
Quais arquivos ela pode atualizar?
Arquivos de instrução como CLAUDE.md ou AGENTS.md, e as pastas de skills gerenciadas.
Detalhes
Descrição original do autor
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
Popularidade
- Estrelas no GitHub
- 15 mil
- Posição no ranking
- #11042
- Licença
- MIT
- Atualizada em
- 02/11/2026
Comentários
- …
Mais skills deste repositório
ai-memory-durable-pages
15 milAjuda seu agente a salvar, atualizar ou apagar notas permanentes do projeto na sua wiki do ai-memory quando você pedir para lembrar algo duradouro.
ai-memory-handoff
15 milAjuda seu agente a passar contexto para a próxima sessão, para que você possa retomar de onde parou, salvar uma nota de encerramento ou cancelar uma passagem feita por engano.
ai-memory-learning-maintenance
15 milAjuda seu agente a organizar a wiki de memória transformando notas de sessão em páginas de tópico, verificando contradições e removendo entradas desatualizadas quando solicitado.
ai-memory-messaging
15 milAjuda seu agente a enviar um pedido autocontido para a caixa de entrada de outro projeto, verificar a caixa de entrada do seu projeto ou cancelar uma mensagem que você enviou.
Skills parecidas
mcporter
394 milAjuda seu agente a listar, chamar e inspecionar servidores MCP e suas ferramentas por HTTP ou stdio, e a gerenciar as configurações de login.
fastmcp
260 milAjuda você a construir, testar e publicar um servidor MCP em Python que dá a assistentes de IA acesso à sua API, banco de dados ou arquivos como ferramentas.
mcp-oauth-remote-gateway
260 milGuia você pelo login OAuth de um servidor MCP remoto quando o Hermes roda em um servidor, onde o login normal pelo navegador não consegue chegar.