본문으로 건너뛰기
Skillpedia
에이전트101k · #1264

mem-setup

하는 일

이 도구는 Claude가 기억을 저장하고 불러올 수 있도록 cmem.ai 계정을 설정합니다. 자격 증명을 연결해 시스템이 작동하도록 합니다.

사용하는 경우

  • ✓cmem.ai 계정을 연결하고 싶을 때.
  • ✓저장된 기억과 함께 Claude를 사용하기 시작할 때.
  • ✓기억이 제대로 저장되거나 불러와지지 않는 경우.

스킬 링크

https://github.com/thedotmack/claude-mem/blob/main/cowork/skills/mem-setup/SKILL.md

복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.

사용 방법

가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.

바로 붙여넣을 수 있는 메시지

Use this skill to help me: https://github.com/thedotmack/claude-mem/blob/main/cowork/skills/mem-setup/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
AI가 이런 스킬을 알아서 찾아 쓰길 원하시나요?무료 Skillpedia MCP를 설치하세요. 한 줄이면 작업마다 스킬 15,000+개 중에서 검색합니다.1분 만에 설치 →

AI에게 요청하는 예시

“cmem.ai 계정을 동기화 토큰 'cm_...', 사용자 ID '...', URL 'https://sync.cmem.ai'로 설정해 주세요.”

매주 새 스킬 5개. 읽는 데 1분.

작동 방식

도구는 cmem.ai 계정 정보(토큰, ID, URL)를 받아 안전하게 저장합니다. Claude가 기억 서비스와 통신할 수 있도록 합니다.

기술 내용 (원본 SKILL.md)

작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.

Claude-Mem Setup (Cowork pairing)

Configure this plugin with the user's own cmem.ai credentials so hooks can capture and inject memory. Anyone can pair — credentials are per-user configuration, never hardcoded in plugin logic.

What to collect

From cmem.ai → Connect, the user has three values:

  1. sync token (starts with cm_) — used as the bearer API key
  2. user id (UUID)
  3. SyncHub URL (https://sync.cmem.ai)

If the user pastes the whole Connect blurb, extract the three values from it. If any are missing, ask for the sync token at minimum — the other two are optional.

Secret handling — non-negotiable

  • Never echo the token back in conversation, put it in a shell argv, or log it.
  • Move it only via file writes (Write/Edit tool) and file reads.

Steps

  1. Locate the installed plugin root (this skill's own plugin). Update its config.json: set apiKey to the sync token, userId, and syncHubUrl. Leave other settings unless the user asks (inject toggles). Project naming is automatic (cmem_work_*) and is not configurable.

  2. Cowork containers are ephemeral: edits to the installed copy last only for this session. To make pairing permanent, repackage — zip the plugin directory as <plugin-name>.plugin and send it to the user to re-install (the cowork-plugin skill's packaging flow). Tell the user this is why.

  3. If this machine also has a local claude-mem install (a ~/.claude-mem/ directory exists), write the same values to ~/.claude-mem/settings.json with mode 0600 (CLAUDE_MEM_CLOUD_SYNC_TOKEN, CLAUDE_MEM_CLOUD_SYNC_USER_ID, CLAUDE_MEM_CLOUD_SYNC_HUB_URL keys — the same keys the local claude-mem cloud-sync pairing writes). This plugin's hooks stay off wherever claude-mem is installed locally, so that pairing is what carries this machine's work to cmem.ai. The worker reads those keys only at startup: restart it and run the claude-mem cloud-sync skill's Verify step, which must report configured: true and hub.reachable: true. Don't report success before it does; if it never does, pair through that skill's installer flow instead.

  4. Verify without exposing the secret:

    node "${CLAUDE_PLUGIN_ROOT}/scripts/cmem-hook.mjs" status
    

    Report the masked output. A MISSING key means the write didn't land; a 404 on /api/hooks/context is expected until the Pro endpoints deploy (search/injection still work via /api/mcp).

Alternate source

Env vars override everything and need no file edits: CMEM_API_KEY, CMEM_USER_ID, CMEM_SYNC_HUB_URL, CMEM_API_BASE.

자주 묻는 질문

cmem.ai 자격 증명은 어디에서 찾나요?

cmem.ai 웹사이트의 'Connect' 섹션에서 동기화 토큰, 사용자 ID, SyncHub URL을 찾을 수 있습니다.

자격 증명은 안전하게 저장되나요?

네, 도구는 토큰을 대화에 표시하지 않고, 안전한 파일에만 저장해 노출되지 않도록 합니다.

설정 후 Claude를 다시 시작해야 하나요?

네, 새 설정을 올바르게 적용하려면 Claude나 관련 워커를 다시 시작해야 할 수 있습니다.

상세 정보

작성자의 원본 설명

This skill should be used when the user asks to "set up claude-mem", "pair claude-mem", "connect cmem", "add my cmem key", "set up cloud sync in Cowork", or provides cmem.ai Connect values (sync token, user id, SyncHub URL) for this plugin. Configures the claude-mem-cowork plugin credentials.

repo: thedotmack/claude-mem

인기도

GitHub 스타
101k
순위
#1264
라이선스
Apache-2.0
업데이트
2026. 10. 15.

이 스킬이 유용한가요?

0

로그인 투표하려면 로그인하세요.

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬