ai-memory-routing-install
하는 일
스킬은 AI 도구를 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복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.
사용 방법
가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.
바로 붙여넣을 수 있는 메시지
Claude Code, Codex, Cursor용입니다. 프로젝트 폴더에서 실행하면 스킬이 설치됩니다.
SKILL.md를 다운로드해 에이전트의 스킬 폴더에 넣으세요.
AI에게 요청하는 예시
“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
- 업데이트
- 2026. 11. 2.
댓글
- …
이 저장소의 다른 스킬
ai-memory-durable-pages
15k장기적으로 기억해야 할 내용을 요청하면, ai-memory 위키의 영구 프로젝트 메모를 저장하고 수정하고 삭제하도록 에이전트를 돕습니다.
ai-memory-handoff
15k다음 세션에 맥락을 넘겨 이어서 작업하게 하고, 마무리 메모를 저장하거나 잘못 보낸 인계를 취소하도록 에이전트를 돕습니다.
ai-memory-learning-maintenance
15k세션 메모를 주제 페이지로 정리하고, 모순을 확인하며, 요청하면 오래된 항목을 정리해 메모리 위키를 깔끔하게 관리하도록 에이전트를 돕습니다.
ai-memory-messaging
15k독립적으로 완결된 요청을 다른 프로젝트의 수신함으로 보내고, 내 프로젝트의 수신함을 확인하며, 보낸 메시지를 취소하도록 에이전트를 돕습니다.
비슷한 스킬
mcporter
394k에이전트가 HTTP나 stdio로 MCP 서버와 그 도구를 목록화하고, 호출하고, 점검하며, 로그인 설정을 관리하도록 돕습니다.
fastmcp
260kAPI, 데이터베이스, 파일에 AI 어시스턴트가 도구로 접근할 수 있도록 Python MCP 서버를 만들고 테스트하고 배포하도록 돕습니다.
mcp-oauth-remote-gateway
260kHermes가 서버에서 실행될 때 일반 브라우저 로그인이 닿지 않는 경우를 위해, 원격 MCP 서버의 OAuth 로그인을 단계별로 안내합니다.