Skip to main content

status

Diagnoses Mem0 connectivity, API key validity, and memory read/write functionality. Use when memory operations fail, searches return empty, or to verify the plugin is working correctly.

설치로 이동

소스 정보

저장소
Natsummerance/agents
최근 소스 활동
2026년 8월 26일 06:52
감지된 SKILL.md 언어
영어
스타
3
포크
0

설치 방법

기본적으로 소스를 먼저 확인하는 Prompt가 선택됩니다. 직접 명령으로 전환하거나 로컬 사본을 다운로드할 수도 있습니다.

소스 파일 검토

설치 여부를 결정하기 전에 SKILL.md와 SkillsMP에 표시된 보조 파일을 읽어 보세요.

SKILL.md 표시 중

SKILL.md
소스 지침 · 읽기 전용 미리보기
name
status
description
Diagnoses Mem0 connectivity, API key validity, and memory read/write functionality. Use when memory operations fail, searches return empty, or to verify the plugin is working correctly.
# Health Check / Status Run a diagnostic check on the Mem0 plugin. Useful for troubleshooting. ## Execution Run ALL checks, then display a single summary. Do not stop on the first failure. ### Check 1: API key Verify the API key is configured. The plugin loads it from `MEM0_API_KEY` env var or `~/.pi/agent/mem0-config.json`. - If not set: FAIL — "No API key configured" - If set: PASS — show first 6 chars followed by `...` ### Check 2: Identity resolution Report the resolved identity: - `user_id`: from config, env, or system user - `project_id`: auto-detected from current directory - `session_id`: current session identifier PASS if user_id and project_id are non-empty. WARN if any falls back to defaults. ### Check 3: Connectivity Use `mem0_memory` tool with `action="search"`, `query="health check"`. - If returns successfully (even empty): PASS - If errors: FAIL — show the error message ### Check 4: Memory write capability Use `mem0_memory` tool with `action="add"`, `content="Health check probe — safe to delete."`. - If succeeds: PASS — then clean up by deleting the probe memory. - If errors: FAIL — show the error. ### Display ``` ## mem0 health PASS API Key m0-dVe... PASS Identity user=kartik, project=my-app, session=abc123 PASS Connectivity 142ms PASS Write/Read write + delete OK All checks passed. ``` If any check fails, add a `## Troubleshooting` section with specific fix steps. ## Extended mode: Memory Quality Analysis When invoked with `--deep` (e.g., `/mem0-status --deep`), run the standard checks above **plus** a memory quality scan. ### Quality Check 1: Duplicates Fetch all memories with `mem0_memory` `action="get_all"`. Compare pairs within the same category for high textual overlap (shared nouns > 60%). Report: ``` Potential duplicates: <N> pairs [mem0:<id1>] ~ [mem0:<id2>] — both about "<shared topic>" ``` ### Quality Check 2: Stale memories Flag memories older than 180 days that haven't been accessed recently. ### Quality Check 3: Contradictions Within each category, flag pairs that assert opposing facts. ### Quality summary ``` ## Memory Quality Duplicates: <N> · Stale: <N> · Contradictions: <N> ``` If all counts are 0: `Memory quality: clean.` If any non-zero: append `Run /mem0-dream to fix.`
GitHub에서 보기