[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M75DRJC830090MWQ6GCKWZ76":3,"skill-same:01M75DRJC830090MWQ6GCKWZ76":45},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":24,"commitSha":25,"skillDirectory":26,"forksCount":27,"repositoryHtmlUrl":28,"repositoryHomepageUrl":6,"ownerHtmlUrl":29,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":30,"install":31,"resources":44},"01M75DRJC830090MWQ6GCKWZ76","mem0-status",null,"Diagnoses mem0 connectivity, API key validity, and memory read\u002Fwrite functionality. Use when memory operations fail, searches return empty, add_memory errors occur, or to verify the plugin is working correctly.","zhangmask\u002FC_AnimeCompanion","zhangmask","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F142085030?v=4","01M75DE4RMVR0PZNRT2CHBNB1K","Zeshan Zhang","01M75DE4SE8VQSYG2PMV66F3PE",2,"Apache-2.0","https:\u002F\u002Fgithub.com\u002Fzhangmask\u002FC_AnimeCompanion\u002Fblob\u002Fmain\u002Fothergithubdemo\u002Fmem0-main\u002Fmem0-main\u002Fintegrations\u002Fmem0-plugin\u002F.opencode-plugin\u002Fopencode-skills\u002Fmem0-status\u002FSKILL.md",[],[],"2026-11-12 13:55:43",false,"---\nname: mem0-status\ndescription: Diagnoses mem0 connectivity, API key validity, and memory read\u002Fwrite functionality. Use when memory operations fail, searches return empty, add_memory errors occur, or to verify the plugin is working correctly.\n---\n\n# Mem0 Status\n\nRun a diagnostic check on the mem0 plugin. Useful for troubleshooting.\n\n## Execution\n\nRun ALL checks, then display a single summary. Do not stop on the first failure.\n\n### Check 1: API key\n\n```bash\n_KEY=\"${MEM0_API_KEY:-}\"\n[ -n \"$_KEY\" ] && echo \"${_KEY:0:6}...\" || echo \"NOT_SET\"\n```\n\n- If `NOT_SET`: FAIL — \"No API key configured\"\n- If set: PASS — the command already prints only the first 6 chars\n\n### Check 2: Identity resolution\n\nResolve identity from the `MEM0_*` environment variables set by the plugin's `shell.env` hook. These are the exact values the plugin uses to scope memories, so report them directly. Do NOT re-run `git` here: the plugin already resolved branch and project from git at session start, and re-shelling git can disagree with it — e.g. it prints an empty branch that renders as `(not a git repo)` while the Session check below shows `branch=main`. One source of truth keeps the two lines consistent.\n\n```bash\necho \"user_id=${MEM0_USER_ID:-${USER:-default}}\"\necho \"project_id=${MEM0_APP_ID:-}\"\necho \"branch=${MEM0_BRANCH:-main}\"\n_S=\"$HOME\u002F.mem0\u002Fsettings.json\"\n_SCOPE=\"$(grep -o '\"default_scope\"[[:space:]]*:[[:space:]]*\"[a-z]*\"' \"$_S\" 2>\u002Fdev\u002Fnull | grep -o '[a-z]*\"$' | tr -d '\"')\"\necho \"default_scope=${_SCOPE:-project}\"\n```\n\n- `user_id`: from `MEM0_USER_ID`, falling back to `$USER`\n- `project_id`: from `MEM0_APP_ID`\n- `branch`: from `MEM0_BRANCH` (the plugin's resolved value; falls back to `main` outside a git repo)\n- `default_scope`: from `~\u002F.mem0\u002Fsettings.json` (`default_scope`), falling back to `project`. This is the scope memory tools use when none is given; change it with `\u002Fmem0-scope`.\n\nPASS if `user_id` and `project_id` are non-empty. WARN if `project_id` is empty — the `shell.env` hook may not have fired (restart OpenCode). Report the branch verbatim from `MEM0_BRANCH`; never invent a string like `(not a git repo)`.\n\n### Check 3: Memory tool connectivity\n\nCall `search_memories` with:\n- `query=\"health check\"`\n- `filters={\"AND\": [{\"user_id\": \"\u003Cactive_user_id>\"}, {\"app_id\": \"\u003Cactive_project_id>\"}]}`\n- `top_k=1`\n\n- If returns successfully (even empty): PASS\n- If errors: FAIL — show the error message\n\n### Check 4: Memory write capability\n\nCall `add_memory` with:\n- `text=\"Health check probe — safe to delete.\"`\n- `user_id=\u003Cactive_user_id>`\n- `app_id=\u003Cactive_project_id>`\n- `metadata={\"type\": \"health_check\", \"probe\": true}`\n- `infer=False`\n\nThe response returns `event_id` (v3 writes are async). Call `get_event_status(event_id=\u003Cevent_id>)` to check processing.\n\n- If status is `SUCCEEDED`: PASS — extract the memory ID from the event result, then call `delete_memory` with that ID to clean up.\n- If status is `PENDING` after 5 seconds: PASS (write accepted, processing delayed)\n- If errors: FAIL — show the error.\n\n### Check 5: Session context\n\nCheck that the plugin's `shell.env` hook has injected session context into the environment:\n\n```bash\necho \"session_id=${MEM0_SESSION_ID:-}\"\necho \"app_id=${MEM0_APP_ID:-}\"\necho \"branch=${MEM0_BRANCH:-}\"\n```\n\n- If all three are non-empty: PASS — \"Session active\"\n- If any are missing: WARN — \"Plugin env vars not set; shell.env hook may not have fired\"\n\n### Check 6: Auto-dream readiness\n\nExplain whether auto-dream (memory consolidation) is eligible to run, and if not, exactly which gate is blocking. Auto-dream runs at most once per session and only when **all** gates pass: time since last consolidation ≥ `minHours`, sessions since ≥ `minSessions`, and project memory count ≥ `minMemories`.\n\nRead the gate state and thresholds:\n\n```bash\n_ST=\"$HOME\u002F.mem0\u002Fmem0-dream-state.json\"\n_SET=\"$HOME\u002F.mem0\u002Fsettings.json\"\necho \"sessions_since=$(grep -o '\"sessionsSince\"[[:space:]]*:[[:space:]]*[0-9]*' \"$_ST\" 2>\u002Fdev\u002Fnull | grep -o '[0-9]*$' || echo 0)\"\necho \"last_consolidated_ms=$(grep -o '\"lastConsolidatedAt\"[[:space:]]*:[[:space:]]*[0-9]*' \"$_ST\" 2>\u002Fdev\u002Fnull | grep -o '[0-9]*$' || echo 0)\"\necho \"min_hours=$(grep -o '\"minHours\"[[:space:]]*:[[:space:]]*[0-9]*' \"$_SET\" 2>\u002Fdev\u002Fnull | grep -o '[0-9]*$' || echo 24)\"\necho \"min_sessions=$(grep -o '\"minSessions\"[[:space:]]*:[[:space:]]*[0-9]*' \"$_SET\" 2>\u002Fdev\u002Fnull | grep -o '[0-9]*$' || echo 5)\"\necho \"min_memories=$(grep -o '\"minMemories\"[[:space:]]*:[[:space:]]*[0-9]*' \"$_SET\" 2>\u002Fdev\u002Fnull | grep -o '[0-9]*$' || echo 20)\"\necho \"now_s=$(date +%s)\"\necho \"dream_env=${MEM0_DREAM:-unset}\"\n```\n\nFor the memory count, reuse the project memory count from Check 3\u002F4 (or call `get_memories` with the project filter, `page_size=1`, and read `count`).\n\nCompute each gate:\n- **time**: `hours_since = (now_s - last_consolidated_ms\u002F1000) \u002F 3600`. Passes when `≥ min_hours`. If `last_consolidated_ms` is 0 it has never run → time gate passes.\n- **sessions**: passes when `sessions_since ≥ min_sessions`.\n- **memories**: passes when project memory count `≥ min_memories`.\n\nReport:\n- If `dream_env` is `false`\u002F`0`\u002F`no`\u002F`off`, or `dream.enabled` is false in settings: WARN — \"Auto-dream disabled\".\n- If all three gates pass: PASS — \"eligible (runs at next session start)\".\n- Otherwise: WARN — list the blocking gate(s), e.g. `sessions 2\u002F5, memories 3\u002F20`. This is expected, not an error — auto-dream is just waiting. Note the user can run `\u002Fmem0-dream` to consolidate now, or lower the thresholds via the `dream` block in `~\u002F.mem0\u002Fsettings.json`.\n\n### Display\n\n```\n## mem0 status\n\nPASS  API Key         m0-dVe...\nPASS  Identity        user=kartik, project=mem0, branch=main\nPASS  Default scope   project\nPASS  Memory Tools    142ms\nPASS  Write\u002FRead      write + delete OK\nPASS  Session         session_id=abc123, app_id=mem0, branch=main\nWARN  Auto-dream      waiting — sessions 2\u002F5, memories 3\u002F20 (\u002Fmem0-dream to run now)\n\nAll checks passed.\n```\n\nThe Auto-dream line is informational: WARN here means \"waiting on gates\", not a failure. Show PASS when eligible, or \"disabled\" when turned off.\n\nIf any check fails, add a `## Troubleshooting` section with specific fix steps for each failure.\n\n## Extended mode: Memory Quality Analysis\n\nWhen invoked with `--deep` (e.g., `\u002Fmem0-status --deep`), run the standard 6 checks above **plus** a memory quality scan.\n\n### Quality Check 1: Duplicates\n\nCall `get_memories` with `filters={\"AND\": [{\"user_id\": \"\u003Cactive_user_id>\"}, {\"app_id\": \"\u003Cactive_project_id>\"}]}`, `page_size=200`. Compare all pairs within the same `metadata.type` group for high textual overlap (shared nouns\u002Fkeywords > 60%). Report:\n\n```\nPotential duplicates: \u003CN> pairs\n  [mem0:\u003Cid1>] ≈ [mem0:\u003Cid2>] — both about \"\u003Cshared topic>\"\n```\n\n### Quality Check 2: Stale memories\n\nFlag memories where:\n- `metadata.type` is `session_state` or `compact_summary` AND older than 90 days\n- `metadata.confidence` \u003C 0.3 AND older than 30 days\n\n```\nStale candidates: \u003CN>\n  [mem0:\u003Cid>] — session_state, 142d old\n```\n\n### Quality Check 2b: Low-confidence memories\n\nFlag memories where `metadata.confidence` \u003C 0.5 (regardless of age). Report separately from stale:\n\n```\nLow-confidence memories: \u003CN>\n  [mem0:\u003Cid>] — confidence=0.3, \"\u003Ccontent preview>\"\n```\n\n### Quality Check 3: Contradictions\n\nWithin each `metadata.type` group, flag pairs that assert opposing facts about the same topic. Use semantic judgment — look for negation patterns, conflicting tool\u002Fframework choices, or reversed decisions.\n\n```\nPossible contradictions: \u003CN>\n  [mem0:\u003CidA>] vs [mem0:\u003CidB>] — conflicting on \"\u003Ctopic>\"\n```\n\n### Quality Check 4: Orphan memories\n\nMemories with no `metadata.type` set, or with `metadata.type` not in the 17 known coding categories. These were likely written without proper tagging.\n\n```\nUntagged\u002Forphan memories: \u003CN>\n```\n\n### Quality summary\n\n```\n## Memory Quality\n\nDuplicates: \u003CN> · Stale: \u003CN> · Contradictions: \u003CN> · Orphans: \u003CN>\n```\n\nIf all counts are 0: `Memory quality: clean.`\nIf any non-zero: append `Run \u002Fmem0-dream to fix.`\n\nTo fix issues found by `--deep`, run `\u002Fmem0-dream` for automated consolidation (merges, prunes, conflict resolution).\n\n## Output formatting\n\nIMPORTANT: Do NOT use markdown in your output. OpenCode TUI renders text verbatim — markdown like **bold**, ## headers, and | table | syntax appears as raw characters. Use plain text with indentation for structure. Use dashes for lists. Use spaces to align columns instead of markdown tables.\n","# Mem0 Status\n\nRun a diagnostic check on the mem0 plugin. Useful for troubleshooting.\n\n## Execution\n\nRun ALL checks, then display a single summary. Do not stop on the first failure.\n\n### Check 1: API key\n\n```bash\n_KEY=\"${MEM0_API_KEY:-}\"\n[ -n \"$_KEY\" ] && echo \"${_KEY:0:6}...\" || echo \"NOT_SET\"\n```\n\n- If `NOT_SET`: FAIL — \"No API key configured\"\n- If set: PASS — the command already prints only the first 6 chars\n\n### Check 2: Identity resolution\n\nResolve identity from the `MEM0_*` environment variables set by the plugin's `shell.env` hook. These are the exact values the plugin uses to scope memories, so report them directly. Do NOT re-run `git` here: the plugin already resolved branch and project from git at session start, and re-shelling git can disagree with it — e.g. it prints an empty branch that renders as `(not a git repo)` while the Session check below shows `branch=main`. One source of truth keeps the two lines consistent.\n\n```bash\necho \"user_id=${MEM0_USER_ID:-${USER:-default}}\"\necho \"project_id=${MEM0_APP_ID:-}\"\necho \"branch=${MEM0_BRANCH:-main}\"\n_S=\"$HOME\u002F.mem0\u002Fsettings.json\"\n_SCOPE=\"$(grep -o '\"default_scope\"[[:space:]]*:[[:space:]]*\"[a-z]*\"' \"$_S\" 2>\u002Fdev\u002Fnull | grep -o '[a-z]*\"$' | tr -d '\"')\"\necho \"default_scope=${_SCOPE:-project}\"\n```\n\n- `user_id`: from `MEM0_USER_ID`, falling back to `$USER`\n- `project_id`: from `MEM0_APP_ID`\n- `branch`: from `MEM0_BRANCH` (the plugin's resolved value; falls back to `main` outside a git repo)\n- `default_scope`: from `~\u002F.mem0\u002Fsettings.json` (`default_scope`), falling back to `project`. This is the scope memory tools use when none is given; change it with `\u002Fmem0-scope`.\n\nPASS if `user_id` and `project_id` are non-empty. WARN if `project_id` is empty — the `shell.env` hook may not have fired (restart OpenCode). Report the branch verbatim from `MEM0_BRANCH`; never invent a string like `(not a git repo)`.\n\n### Check 3: Memory tool connectivity\n\nCall `search_memories` with:\n- `query=\"health check\"`\n- `filters={\"AND\": [{\"user_id\": \"\u003Cactive_user_id>\"}, {\"app_id\": \"\u003Cactive_project_id>\"}]}`\n- `top_k=1`\n\n- If returns successfully (even empty): PASS\n- If errors: FAIL — show the error message\n\n### Check 4: Memory write capability\n\nCall `add_memory` with:\n- `text=\"Health check probe — safe to delete.\"`\n- `user_id=\u003Cactive_user_id>`\n- `app_id=\u003Cactive_project_id>`\n- `metadata={\"type\": \"health_check\", \"probe\": true}`\n- `infer=False`\n\nThe response returns `event_id` (v3 writes are async). Call `get_event_status(event_id=\u003Cevent_id>)` to check processing.\n\n- If status is `SUCCEEDED`: PASS — extract the memory ID from the event result, then call `delete_memory` with that ID to clean up.\n- If status is `PENDING` after 5 seconds: PASS (write accepted, processing delayed)\n- If errors: FAIL — show the error.\n\n### Check 5: Session context\n\nCheck that the plugin's `shell.env` hook has injected session context into the environment:\n\n```bash\necho \"session_id=${MEM0_SESSION_ID:-}\"\necho \"app_id=${MEM0_APP_ID:-}\"\necho \"branch=${MEM0_BRANCH:-}\"\n```\n\n- If all three are non-empty: PASS — \"Session active\"\n- If any are missing: WARN — \"Plugin env vars not set; shell.env hook may not have fired\"\n\n### Check 6: Auto-dream readiness\n\nExplain whether auto-dream (memory consolidation) is eligible to run, and if not, exactly which gate is blocking. Auto-dream runs at most once per session and only when **all** gates pass: time since last consolidation ≥ `minHours`, sessions since ≥ `minSessions`, and project memory count ≥ `minMemories`.\n\nRead the gate state and thresholds:\n\n```bash\n_ST=\"$HOME\u002F.mem0\u002Fmem0-dream-state.json\"\n_SET=\"$HOME\u002F.mem0\u002Fsettings.json\"\necho \"sessions_since=$(grep -o '\"sessionsSince\"[[:space:]]*:[[:space:]]*[0-9]*' \"$_ST\" 2>\u002Fdev\u002Fnull | grep -o '[0-9]*$' || echo 0)\"\necho \"last_consolidated_ms=$(grep -o '\"lastConsolidatedAt\"[[:space:]]*:[[:space:]]*[0-9]*' \"$_ST\" 2>\u002Fdev\u002Fnull | grep -o '[0-9]*$' || echo 0)\"\necho \"min_hours=$(grep -o '\"minHours\"[[:space:]]*:[[:space:]]*[0-9]*' \"$_SET\" 2>\u002Fdev\u002Fnull | grep -o '[0-9]*$' || echo 24)\"\necho \"min_sessions=$(grep -o '\"minSessions\"[[:space:]]*:[[:space:]]*[0-9]*' \"$_SET\" 2>\u002Fdev\u002Fnull | grep -o '[0-9]*$' || echo 5)\"\necho \"min_memories=$(grep -o '\"minMemories\"[[:space:]]*:[[:space:]]*[0-9]*' \"$_SET\" 2>\u002Fdev\u002Fnull | grep -o '[0-9]*$' || echo 20)\"\necho \"now_s=$(date +%s)\"\necho \"dream_env=${MEM0_DREAM:-unset}\"\n```\n\nFor the memory count, reuse the project memory count from Check 3\u002F4 (or call `get_memories` with the project filter, `page_size=1`, and read `count`).\n\nCompute each gate:\n- **time**: `hours_since = (now_s - last_consolidated_ms\u002F1000) \u002F 3600`. Passes when `≥ min_hours`. If `last_consolidated_ms` is 0 it has never run → time gate passes.\n- **sessions**: passes when `sessions_since ≥ min_sessions`.\n- **memories**: passes when project memory count `≥ min_memories`.\n\nReport:\n- If `dream_env` is `false`\u002F`0`\u002F`no`\u002F`off`, or `dream.enabled` is false in settings: WARN — \"Auto-dream disabled\".\n- If all three gates pass: PASS — \"eligible (runs at next session start)\".\n- Otherwise: WARN — list the blocking gate(s), e.g. `sessions 2\u002F5, memories 3\u002F20`. This is expected, not an error — auto-dream is just waiting. Note the user can run `\u002Fmem0-dream` to consolidate now, or lower the thresholds via the `dream` block in `~\u002F.mem0\u002Fsettings.json`.\n\n### Display\n\n```\n## mem0 status\n\nPASS  API Key         m0-dVe...\nPASS  Identity        user=kartik, project=mem0, branch=main\nPASS  Default scope   project\nPASS  Memory Tools    142ms\nPASS  Write\u002FRead      write + delete OK\nPASS  Session         session_id=abc123, app_id=mem0, branch=main\nWARN  Auto-dream      waiting — sessions 2\u002F5, memories 3\u002F20 (\u002Fmem0-dream to run now)\n\nAll checks passed.\n```\n\nThe Auto-dream line is informational: WARN here means \"waiting on gates\", not a failure. Show PASS when eligible, or \"disabled\" when turned off.\n\nIf any check fails, add a `## Troubleshooting` section with specific fix steps for each failure.\n\n## Extended mode: Memory Quality Analysis\n\nWhen invoked with `--deep` (e.g., `\u002Fmem0-status --deep`), run the standard 6 checks above **plus** a memory quality scan.\n\n### Quality Check 1: Duplicates\n\nCall `get_memories` with `filters={\"AND\": [{\"user_id\": \"\u003Cactive_user_id>\"}, {\"app_id\": \"\u003Cactive_project_id>\"}]}`, `page_size=200`. Compare all pairs within the same `metadata.type` group for high textual overlap (shared nouns\u002Fkeywords > 60%). Report:\n\n```\nPotential duplicates: \u003CN> pairs\n  [mem0:\u003Cid1>] ≈ [mem0:\u003Cid2>] — both about \"\u003Cshared topic>\"\n```\n\n### Quality Check 2: Stale memories\n\nFlag memories where:\n- `metadata.type` is `session_state` or `compact_summary` AND older than 90 days\n- `metadata.confidence` \u003C 0.3 AND older than 30 days\n\n```\nStale candidates: \u003CN>\n  [mem0:\u003Cid>] — session_state, 142d old\n```\n\n### Quality Check 2b: Low-confidence memories\n\nFlag memories where `metadata.confidence` \u003C 0.5 (regardless of age). Report separately from stale:\n\n```\nLow-confidence memories: \u003CN>\n  [mem0:\u003Cid>] — confidence=0.3, \"\u003Ccontent preview>\"\n```\n\n### Quality Check 3: Contradictions\n\nWithin each `metadata.type` group, flag pairs that assert opposing facts about the same topic. Use semantic judgment — look for negation patterns, conflicting tool\u002Fframework choices, or reversed decisions.\n\n```\nPossible contradictions: \u003CN>\n  [mem0:\u003CidA>] vs [mem0:\u003CidB>] — conflicting on \"\u003Ctopic>\"\n```\n\n### Quality Check 4: Orphan memories\n\nMemories with no `metadata.type` set, or with `metadata.type` not in the 17 known coding categories. These were likely written without proper tagging.\n\n```\nUntagged\u002Forphan memories: \u003CN>\n```\n\n### Quality summary\n\n```\n## Memory Quality\n\nDuplicates: \u003CN> · Stale: \u003CN> · Contradictions: \u003CN> · Orphans: \u003CN>\n```\n\nIf all counts are 0: `Memory quality: clean.`\nIf any non-zero: append `Run \u002Fmem0-dream to fix.`\n\nTo fix issues found by `--deep`, run `\u002Fmem0-dream` for automated consolidation (merges, prunes, conflict resolution).\n\n## Output formatting\n\nIMPORTANT: Do NOT use markdown in your output. OpenCode TUI renders text verbatim — markdown like **bold**, ## headers, and | table | syntax appears as raw characters. Use plain text with indentation for structure. Use dashes for lists. Use spaces to align columns instead of markdown tables.\n",{"name":5,"description":7},"main","89af4b6bd8e57a4af34127bcd3e74beba2960c99","othergithubdemo\u002Fmem0-main\u002Fmem0-main\u002Fintegrations\u002Fmem0-plugin\u002F.opencode-plugin\u002Fopencode-skills\u002Fmem0-status",0,"https:\u002F\u002Fgithub.com\u002Fzhangmask\u002FC_AnimeCompanion","https:\u002F\u002Fgithub.com\u002Fzhangmask","2026-08-12 23:25:19",{"source":8,"skillName":5,"commands":32,"prompt":42,"zipAvailable":43},[33,36,39],{"tool":34,"command":35},"npx","npx skills add zhangmask\u002FC_AnimeCompanion --skill mem0-status",{"tool":37,"command":38},"bunx","bunx skills add zhangmask\u002FC_AnimeCompanion --skill mem0-status",{"tool":40,"command":41},"pnpm","pnpm dlx skills add zhangmask\u002FC_AnimeCompanion --skill mem0-status","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fzhangmask\u002FC_AnimeCompanion\u002Fblob\u002Fmain\u002Fothergithubdemo\u002Fmem0-main\u002Fmem0-main\u002Fintegrations\u002Fmem0-plugin\u002F.opencode-plugin\u002Fopencode-skills\u002Fmem0-status\u002FSKILL.md",true,[],[46,54,62,70,78,86],{"skillNo":47,"name":48,"nameZh":6,"description":49,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":50,"sourceHtmlUrl":51,"categories":52,"keywords":53,"publishedAt":19},"01M75DWFRG97DMF5XB527G18KQ","mem0","Mem0 Platform SDK for adding persistent memory to AI applications. TRIGGER when: user mentions \"mem0\", \"MemoryClient\", \"memory layer\", \"remember user preferences\", \"persistent context\", \"personalization\", or needs to add long-term memory to chatbots, agents, or AI apps. Covers Python SDK (mem0ai), TypeScript SDK (mem0ai), and framework integrations (LangChain, CrewAI, OpenAI Agents SDK, Pipecat, LlamaIndex, AutoGen, LangGraph). Also covers the open-source self-hosted Memory class. This is the DEFAULT mem0 skill for ambiguous queries. DO NOT TRIGGER when: user asks about CLI commands, terminal usage, or shell scripts (use mem0-cli), or Vercel AI SDK \u002F @mem0\u002Fvercel-ai-provider \u002F createMem0 (use mem0-vercel-ai-sdk).","https:\u002F\u002Fgithub.com\u002Fzhangmask\u002FC_AnimeCompanion\u002Fblob\u002Fmain\u002Fothergithubdemo\u002Fmem0-main\u002Fmem0-main\u002Fskills\u002Fmem0\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fzhangmask\u002FC_AnimeCompanion\u002Fblob\u002Fmain\u002Fothergithubdemo\u002Fmem0-main\u002Fmem0-main\u002Fskills\u002Fmem0\u002FSKILL.md",[],[],{"skillNo":55,"name":56,"nameZh":6,"description":57,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":58,"sourceHtmlUrl":59,"categories":60,"keywords":61,"publishedAt":19},"01M75DWA6DYJVW82BRA7PGWAWP","mem0-vercel-ai-sdk","Mem0 provider for Vercel AI SDK (@mem0\u002Fvercel-ai-provider). TRIGGER when: user mentions \"vercel ai sdk\", \"@mem0\u002Fvercel-ai-provider\", \"createMem0\", \"retrieveMemories\", \"addMemories\", \"getMemories\", \"searchMemories\", \"mem0 vercel\", \"AI SDK provider\", \"AI SDK memory\", or is using generateText\u002FstreamText with mem0. Also triggers for Next.js apps needing memory-augmented AI. DO NOT TRIGGER when: user asks about direct Python\u002FTS SDK calls without Vercel (use mem0 skill), or CLI terminal commands (use mem0-cli skill).","https:\u002F\u002Fgithub.com\u002Fzhangmask\u002FC_AnimeCompanion\u002Fblob\u002Fmain\u002Fothergithubdemo\u002Fmem0-main\u002Fmem0-main\u002Fskills\u002Fmem0-vercel-ai-sdk\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fzhangmask\u002FC_AnimeCompanion\u002Fblob\u002Fmain\u002Fothergithubdemo\u002Fmem0-main\u002Fmem0-main\u002Fskills\u002Fmem0-vercel-ai-sdk\u002FSKILL.md",[],[],{"skillNo":63,"name":64,"nameZh":6,"description":65,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":66,"sourceHtmlUrl":67,"categories":68,"keywords":69,"publishedAt":19},"01M75DW1BKX9416VYXSV0MWWKK","mem0-test-integration","Verify a Mem0 integration produced by \u002Fmem0-integrate. Runs in the same workspace on the same branch (loose coupling) — installs dependencies, runs the repo's native test suite, then exercises a real end-to-end smoke flow against the user's API key. Produces a scorecard. TRIGGER when: user has just run \u002Fmem0-integrate and says \"verify\", \"test the integration\", \"run \u002Fmem0-test-integration\", or when a .mem0-integration\u002F directory exists and tests have not been run yet on the current branch. DO NOT TRIGGER when: the user wants to run general project tests (defer to the repo's native test command), or when no prior \u002Fmem0-integrate run exists in the current branch (ask them to run \u002Fmem0-integrate first). This skill ONLY catches compile and runtime bugs by design. Logical integration errors — wrong data stored, wrong time retrieved, wrong user scoping — are on the human reviewer.","https:\u002F\u002Fgithub.com\u002Fzhangmask\u002FC_AnimeCompanion\u002Fblob\u002Fmain\u002Fothergithubdemo\u002Fmem0-main\u002Fmem0-main\u002Fskills\u002Fmem0-test-integration\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fzhangmask\u002FC_AnimeCompanion\u002Fblob\u002Fmain\u002Fothergithubdemo\u002Fmem0-main\u002Fmem0-main\u002Fskills\u002Fmem0-test-integration\u002FSKILL.md",[],[],{"skillNo":71,"name":72,"nameZh":6,"description":73,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":74,"sourceHtmlUrl":75,"categories":76,"keywords":77,"publishedAt":19},"01M75DVRVCQK3DNHFASD8SD2A2","mem0-oss-to-platform","Plan and then execute a migration of a project from the mem0 open-source \u002F self-hosted SDK (the local `Memory` class) to the mem0 Platform \u002F hosted \u002F managed SDK (the `MemoryClient` class). Use this whenever a developer wants to move, switch, or migrate their mem0 usage off OSS\u002Fself-hosted to the hosted API — e.g. \"migrate my mem0 setup to the platform\", \"switch from self-hosted mem0 to MemoryClient\", \"use my mem0 API key instead of a local Qdrant\", \"move mem0 to the cloud\u002Fhosted\u002Fmanaged service\", or \"replace my local mem0 vector store + embedder config with the platform\". Applies to Python (`from mem0 import Memory` → `from mem0 import MemoryClient`) and TypeScript\u002FJavaScript (`import { Memory } from \"mem0ai\u002Foss\"` → `import MemoryClient from \"mem0ai\"`). Trigger even when the user doesn't say the word \"migrate\" but clearly wants their existing mem0 integration to run against the hosted platform. It first produces a reviewable migration plan, then executes it after the developer approves. Strictly scoped to the mem0 integration — it does not refactor, restructure, or \"improve\" any unrelated code.","https:\u002F\u002Fgithub.com\u002Fzhangmask\u002FC_AnimeCompanion\u002Fblob\u002Fmain\u002Fothergithubdemo\u002Fmem0-main\u002Fmem0-main\u002Fskills\u002Fmem0-oss-to-platform\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fzhangmask\u002FC_AnimeCompanion\u002Fblob\u002Fmain\u002Fothergithubdemo\u002Fmem0-main\u002Fmem0-main\u002Fskills\u002Fmem0-oss-to-platform\u002FSKILL.md",[],[],{"skillNo":79,"name":80,"nameZh":6,"description":81,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":82,"sourceHtmlUrl":83,"categories":84,"keywords":85,"publishedAt":19},"01M75DVH4QN1KKJ6JWFH0ZEP4K","mem0-integrate","Integrate Mem0 into an existing repository using a goal-driven, TDD pipeline. Detects the repo's language automatically and asks the user to pick between Mem0 Platform (managed) and Mem0 Open Source (self-hosted). Writes failing tests before any implementation. Produces a local feature branch plus `.mem0-integration\u002F` artifacts consumed by the paired verification skill. TRIGGER when: user says \"integrate mem0\", \"add mem0 to this repo\", \"wire mem0 into \u003Crepo>\", or asks how to add memory to an existing project. DO NOT TRIGGER when: the user wants general SDK usage (use skill:mem0), CLI usage (use skill:mem0-cli), or Vercel AI SDK (use skill:mem0-vercel-ai-sdk). After success, invoke skill:mem0-test-integration to verify in the same workspace (loose coupling).","https:\u002F\u002Fgithub.com\u002Fzhangmask\u002FC_AnimeCompanion\u002Fblob\u002Fmain\u002Fothergithubdemo\u002Fmem0-main\u002Fmem0-main\u002Fskills\u002Fmem0-integrate\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fzhangmask\u002FC_AnimeCompanion\u002Fblob\u002Fmain\u002Fothergithubdemo\u002Fmem0-main\u002Fmem0-main\u002Fskills\u002Fmem0-integrate\u002FSKILL.md",[],[],{"skillNo":87,"name":88,"nameZh":6,"description":89,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":90,"sourceHtmlUrl":91,"categories":92,"keywords":93,"publishedAt":19},"01M75DV93TE88NQW790RDN7WRY","mem0-cli","Mem0 CLI -- the command-line interface for mem0 memory operations. TRIGGER when: user mentions \"mem0 cli\", \"mem0 command line\", \"@mem0\u002Fcli\", \"mem0-cli\", \"pip install mem0-cli\", \"npm install -g @mem0\u002Fcli\", or is running mem0 commands in a terminal\u002Fshell (mem0 add, mem0 search, mem0 list, mem0 get, mem0 init, mem0 config, mem0 import). Also triggers when query includes CLI flags like --user-id, --output, --json, --agent, or describes bash\u002Fzsh\u002Fterminal\u002Fshell usage. DO NOT TRIGGER when: user asks about programmatic SDK integration in Python\u002FTS code (use mem0 skill), or Vercel AI SDK provider (use mem0-vercel-ai-sdk skill).","https:\u002F\u002Fgithub.com\u002Fzhangmask\u002FC_AnimeCompanion\u002Fblob\u002Fmain\u002Fothergithubdemo\u002Fmem0-main\u002Fmem0-main\u002Fskills\u002Fmem0-cli\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fzhangmask\u002FC_AnimeCompanion\u002Fblob\u002Fmain\u002Fothergithubdemo\u002Fmem0-main\u002Fmem0-main\u002Fskills\u002Fmem0-cli\u002FSKILL.md",[],[]]