[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7905E57R23BKSYR5K6AYMPH":3,"skill-same:01M7905E57R23BKSYR5K6AYMPH":75},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":15,"categories":16,"keywords":17,"publishedAt":18,"linkOnly":19,"markdownContent":20,"markdownBody":21,"frontMatter":22,"refName":27,"commitSha":28,"skillDirectory":29,"forksCount":30,"repositoryHtmlUrl":31,"repositoryHomepageUrl":6,"ownerHtmlUrl":32,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":33,"install":34,"resources":46},"01M7905E57R23BKSYR5K6AYMPH","sdk-memory",null,"Use Mem0 SDKs for hosted Platform clients and local OSS memory in Python and TypeScript, including CRUD, search, async clients, entity filters, metadata, categories, export, feedback, and migration-sensitive API differences.","VectorSpaceLab\u002FAREX-Skill","VectorSpaceLab","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F180637102?v=4","01M7538C5WPSJGWF7KHR4EFZ9F","01M7538C6R2GFP53NPXTCZNBRT",351,"Apache-2.0","https:\u002F\u002Fgithub.com\u002FVectorSpaceLab\u002FAREX-Skill\u002Fblob\u002Fmain\u002Fskills\u002Frepositories\u002Frepo-skills\u002Fmem0\u002Fsub-skills\u002Fsdk-memory\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: sdk-memory\ndescription: \"Use Mem0 SDKs for hosted Platform clients and local OSS memory in\n  Python and TypeScript, including CRUD, search, async clients, entity filters,\n  metadata, categories, export, feedback, and migration-sensitive API\n  differences.\"\ndisable-model-invocation: true\nmetadata:\n  disco-role: operating\nlicense: Apache 2.0\n---\n\n# Mem0 SDK Memory\n\nUse this sub-skill when the task asks for Mem0, `mem0ai`, a memory layer, memory CRUD\u002Fsearch, Platform SDK calls, OSS `Memory()` usage, TypeScript `MemoryClient`, `mem0ai\u002Foss`, async memory calls, retrieve-generate-store flows, filters, metadata, categories, exports, feedback, or SDK migration debugging.\n\n## Route First\n\n- Use this sub-skill for Python `MemoryClient`, `AsyncMemoryClient`, `Memory`, `AsyncMemory`, TypeScript hosted `MemoryClient`, and TypeScript OSS `Memory` from `mem0ai\u002Foss`.\n- Use [Python SDK](references\u002Fpython-sdk.md) for imports, live signatures, sync\u002Fasync Python examples, and Platform-vs-OSS differences.\n- Use [TypeScript SDK](references\u002Ftypescript-sdk.md) for hosted `MemoryClient`, OSS `Memory`, camelCase\u002Fsnake_case option differences, exports, and feedback.\n- Use [Memory Operations](references\u002Fmemory-operations.md) for add\u002Fsearch\u002Fupdate\u002Fdelete patterns, retrieve-generate-store workflows, filters, metadata, categories, export, feedback, and migration notes.\n- Use [Troubleshooting](references\u002Ftroubleshooting.md) for empty search results, import\u002Finstall failures, API keys, optional backends, validation errors, and SDK misuse.\n\n## Sibling Boundaries\n\n- Route provider, vector store, embedder, LLM, reranker, graph-memory, and optional dependency selection to `provider-configuration`.\n- Route terminal commands, CLI config, JSON output, stdin\u002Ffile workflows, import\u002Fexport through commands, and `mem0 init\u002Fadd\u002Fsearch` behavior to `cli-memory`.\n- Route REST server deployment, Docker Compose, OpenMemory, MCP server hosting, API keys for self-hosted services, migrations, and operational backups to `self-hosted-openmemory`.\n- Route editor\u002Fagent plugins, framework cookbooks, Vercel AI SDK provider wrapping, MCP plugin config, hooks, OpenClaw, and Pi Agent plugin tasks to `integrations-plugins`.\n\n## Fast Decision Tree\n\n1. Hosted Platform SDK? Use `MemoryClient` \u002F `AsyncMemoryClient` in Python or `MemoryClient` in TypeScript; it needs a Mem0 API key and talks to `https:\u002F\u002Fapi.mem0.ai` by default.\n2. Local OSS memory? Use Python `Memory` \u002F `AsyncMemory` or TypeScript `Memory` from `mem0ai\u002Foss`; it needs provider\u002Fbackend configuration, often OpenAI credentials by default.\n3. Search or list memories? Put entity scope in `filters`, for example `filters={\"user_id\": \"alice\"}` in Python and `{ filters: { user_id: \"alice\" } }` in TypeScript.\n4. Add or bulk delete by entity? Follow the SDK-specific options in [Memory Operations](references\u002Fmemory-operations.md); current SDKs keep top-level entity options for add\u002Fdelete-all, while search\u002Fget-all require `filters`.\n5. Debug before changing code? Run `python scripts\u002Finspect_mem0_sdk.py --json` to inspect installed Python exports\u002Fsignatures without credentials, then `python scripts\u002Fmem0_sdk_smoke.py --mode plan --language both` to generate safe smoke snippets.\n\n## Minimal Patterns\n\nPython hosted Platform:\n\n```python\nfrom mem0 import MemoryClient\n\nclient = MemoryClient(api_key=os.environ[\"MEM0_API_KEY\"])\nclient.add(\"User prefers vegetarian meals\", user_id=\"alice\", metadata={\"source\": \"chat\"})\nresults = client.search(\"dietary preferences\", filters={\"user_id\": \"alice\"}, top_k=5)\n```\n\nPython OSS:\n\n```python\nfrom mem0 import Memory\n\nmemory = Memory()\nmemory.add(\"User prefers vegetarian meals\", user_id=\"alice\", metadata={\"source\": \"chat\"})\nresults = memory.search(\"dietary preferences\", filters={\"user_id\": \"alice\"}, top_k=5)\n```\n\nTypeScript hosted Platform:\n\n```ts\nimport { MemoryClient } from \"mem0ai\";\n\nconst client = new MemoryClient({ apiKey: process.env.MEM0_API_KEY! });\nawait client.add([{ role: \"user\", content: \"User prefers vegetarian meals\" }], { userId: \"alice\" });\nconst results = await client.search(\"dietary preferences\", { filters: { user_id: \"alice\" }, topK: 5 });\n```\n\nTypeScript OSS:\n\n```ts\nimport { Memory } from \"mem0ai\u002Foss\";\n\nconst memory = new Memory();\nawait memory.add(\"User prefers vegetarian meals\", { userId: \"alice\", metadata: { source: \"chat\" } });\nconst results = await memory.search(\"dietary preferences\", { filters: { user_id: \"alice\" }, topK: 5 });\n```\n\n## Safety Notes\n\n- Do not print API keys, provider keys, memory contents from production users, or full environment dumps.\n- Prefer read-only inspection before live API calls. The bundled scripts default to help\u002Fplan\u002Finspection modes and do not require credentials unless explicitly requested.\n- Never instruct future agents to run source-repository tests or examples; use the bundled references and scripts here.\n- Treat `reset`, wildcard deletes, and scoped `delete_all` \u002F `deleteAll` as destructive. Confirm scope and tenant before running them.\n","# Mem0 SDK Memory\n\nUse this sub-skill when the task asks for Mem0, `mem0ai`, a memory layer, memory CRUD\u002Fsearch, Platform SDK calls, OSS `Memory()` usage, TypeScript `MemoryClient`, `mem0ai\u002Foss`, async memory calls, retrieve-generate-store flows, filters, metadata, categories, exports, feedback, or SDK migration debugging.\n\n## Route First\n\n- Use this sub-skill for Python `MemoryClient`, `AsyncMemoryClient`, `Memory`, `AsyncMemory`, TypeScript hosted `MemoryClient`, and TypeScript OSS `Memory` from `mem0ai\u002Foss`.\n- Use [Python SDK](references\u002Fpython-sdk.md) for imports, live signatures, sync\u002Fasync Python examples, and Platform-vs-OSS differences.\n- Use [TypeScript SDK](references\u002Ftypescript-sdk.md) for hosted `MemoryClient`, OSS `Memory`, camelCase\u002Fsnake_case option differences, exports, and feedback.\n- Use [Memory Operations](references\u002Fmemory-operations.md) for add\u002Fsearch\u002Fupdate\u002Fdelete patterns, retrieve-generate-store workflows, filters, metadata, categories, export, feedback, and migration notes.\n- Use [Troubleshooting](references\u002Ftroubleshooting.md) for empty search results, import\u002Finstall failures, API keys, optional backends, validation errors, and SDK misuse.\n\n## Sibling Boundaries\n\n- Route provider, vector store, embedder, LLM, reranker, graph-memory, and optional dependency selection to `provider-configuration`.\n- Route terminal commands, CLI config, JSON output, stdin\u002Ffile workflows, import\u002Fexport through commands, and `mem0 init\u002Fadd\u002Fsearch` behavior to `cli-memory`.\n- Route REST server deployment, Docker Compose, OpenMemory, MCP server hosting, API keys for self-hosted services, migrations, and operational backups to `self-hosted-openmemory`.\n- Route editor\u002Fagent plugins, framework cookbooks, Vercel AI SDK provider wrapping, MCP plugin config, hooks, OpenClaw, and Pi Agent plugin tasks to `integrations-plugins`.\n\n## Fast Decision Tree\n\n1. Hosted Platform SDK? Use `MemoryClient` \u002F `AsyncMemoryClient` in Python or `MemoryClient` in TypeScript; it needs a Mem0 API key and talks to `https:\u002F\u002Fapi.mem0.ai` by default.\n2. Local OSS memory? Use Python `Memory` \u002F `AsyncMemory` or TypeScript `Memory` from `mem0ai\u002Foss`; it needs provider\u002Fbackend configuration, often OpenAI credentials by default.\n3. Search or list memories? Put entity scope in `filters`, for example `filters={\"user_id\": \"alice\"}` in Python and `{ filters: { user_id: \"alice\" } }` in TypeScript.\n4. Add or bulk delete by entity? Follow the SDK-specific options in [Memory Operations](references\u002Fmemory-operations.md); current SDKs keep top-level entity options for add\u002Fdelete-all, while search\u002Fget-all require `filters`.\n5. Debug before changing code? Run `python scripts\u002Finspect_mem0_sdk.py --json` to inspect installed Python exports\u002Fsignatures without credentials, then `python scripts\u002Fmem0_sdk_smoke.py --mode plan --language both` to generate safe smoke snippets.\n\n## Minimal Patterns\n\nPython hosted Platform:\n\n```python\nfrom mem0 import MemoryClient\n\nclient = MemoryClient(api_key=os.environ[\"MEM0_API_KEY\"])\nclient.add(\"User prefers vegetarian meals\", user_id=\"alice\", metadata={\"source\": \"chat\"})\nresults = client.search(\"dietary preferences\", filters={\"user_id\": \"alice\"}, top_k=5)\n```\n\nPython OSS:\n\n```python\nfrom mem0 import Memory\n\nmemory = Memory()\nmemory.add(\"User prefers vegetarian meals\", user_id=\"alice\", metadata={\"source\": \"chat\"})\nresults = memory.search(\"dietary preferences\", filters={\"user_id\": \"alice\"}, top_k=5)\n```\n\nTypeScript hosted Platform:\n\n```ts\nimport { MemoryClient } from \"mem0ai\";\n\nconst client = new MemoryClient({ apiKey: process.env.MEM0_API_KEY! });\nawait client.add([{ role: \"user\", content: \"User prefers vegetarian meals\" }], { userId: \"alice\" });\nconst results = await client.search(\"dietary preferences\", { filters: { user_id: \"alice\" }, topK: 5 });\n```\n\nTypeScript OSS:\n\n```ts\nimport { Memory } from \"mem0ai\u002Foss\";\n\nconst memory = new Memory();\nawait memory.add(\"User prefers vegetarian meals\", { userId: \"alice\", metadata: { source: \"chat\" } });\nconst results = await memory.search(\"dietary preferences\", { filters: { user_id: \"alice\" }, topK: 5 });\n```\n\n## Safety Notes\n\n- Do not print API keys, provider keys, memory contents from production users, or full environment dumps.\n- Prefer read-only inspection before live API calls. The bundled scripts default to help\u002Fplan\u002Finspection modes and do not require credentials unless explicitly requested.\n- Never instruct future agents to run source-repository tests or examples; use the bundled references and scripts here.\n- Treat `reset`, wildcard deletes, and scoped `delete_all` \u002F `deleteAll` as destructive. Confirm scope and tenant before running them.\n",{"name":5,"license":23,"metadata":24,"description":7,"disable-model-invocation":26},"Apache 2.0",{"disco-role":25},"operating",true,"main","ac3fe1afa80fb9a09775ecfb2b6cc3ba850a2db6","skills\u002Frepositories\u002Frepo-skills\u002Fmem0\u002Fsub-skills\u002Fsdk-memory",27,"https:\u002F\u002Fgithub.com\u002FVectorSpaceLab\u002FAREX-Skill","https:\u002F\u002Fgithub.com\u002FVectorSpaceLab","2026-09-03 10:25:21",{"source":8,"skillName":5,"commands":35,"prompt":45,"zipAvailable":26},[36,39,42],{"tool":37,"command":38},"npx","npx skills add VectorSpaceLab\u002FAREX-Skill --skill sdk-memory",{"tool":40,"command":41},"bunx","bunx skills add VectorSpaceLab\u002FAREX-Skill --skill sdk-memory",{"tool":43,"command":44},"pnpm","pnpm dlx skills add VectorSpaceLab\u002FAREX-Skill --skill sdk-memory","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FVectorSpaceLab\u002FAREX-Skill\u002Fblob\u002Fmain\u002Fskills\u002Frepositories\u002Frepo-skills\u002Fmem0\u002Fsub-skills\u002Fsdk-memory\u002FSKILL.md",[47,53,57,61,65,71],{"path":48,"resourceType":49,"resourceTypeDesc":50,"sizeBytes":51,"sourceHtmlUrl":52},"references\u002Fmemory-operations.md","REFERENCE","参考文档",9575,"https:\u002F\u002Fgithub.com\u002FVectorSpaceLab\u002FAREX-Skill\u002Fblob\u002Fmain\u002Fskills\u002Frepositories\u002Frepo-skills\u002Fmem0\u002Fsub-skills\u002Fsdk-memory\u002Freferences\u002Fmemory-operations.md",{"path":54,"resourceType":49,"resourceTypeDesc":50,"sizeBytes":55,"sourceHtmlUrl":56},"references\u002Fpython-sdk.md",9043,"https:\u002F\u002Fgithub.com\u002FVectorSpaceLab\u002FAREX-Skill\u002Fblob\u002Fmain\u002Fskills\u002Frepositories\u002Frepo-skills\u002Fmem0\u002Fsub-skills\u002Fsdk-memory\u002Freferences\u002Fpython-sdk.md",{"path":58,"resourceType":49,"resourceTypeDesc":50,"sizeBytes":59,"sourceHtmlUrl":60},"references\u002Ftroubleshooting.md",8495,"https:\u002F\u002Fgithub.com\u002FVectorSpaceLab\u002FAREX-Skill\u002Fblob\u002Fmain\u002Fskills\u002Frepositories\u002Frepo-skills\u002Fmem0\u002Fsub-skills\u002Fsdk-memory\u002Freferences\u002Ftroubleshooting.md",{"path":62,"resourceType":49,"resourceTypeDesc":50,"sizeBytes":63,"sourceHtmlUrl":64},"references\u002Ftypescript-sdk.md",7784,"https:\u002F\u002Fgithub.com\u002FVectorSpaceLab\u002FAREX-Skill\u002Fblob\u002Fmain\u002Fskills\u002Frepositories\u002Frepo-skills\u002Fmem0\u002Fsub-skills\u002Fsdk-memory\u002Freferences\u002Ftypescript-sdk.md",{"path":66,"resourceType":67,"resourceTypeDesc":68,"sizeBytes":69,"sourceHtmlUrl":70},"scripts\u002Finspect_mem0_sdk.py","SCRIPT","脚本",4206,"https:\u002F\u002Fgithub.com\u002FVectorSpaceLab\u002FAREX-Skill\u002Fblob\u002Fmain\u002Fskills\u002Frepositories\u002Frepo-skills\u002Fmem0\u002Fsub-skills\u002Fsdk-memory\u002Fscripts\u002Finspect_mem0_sdk.py",{"path":72,"resourceType":67,"resourceTypeDesc":68,"sizeBytes":73,"sourceHtmlUrl":74},"scripts\u002Fmem0_sdk_smoke.py",6282,"https:\u002F\u002Fgithub.com\u002FVectorSpaceLab\u002FAREX-Skill\u002Fblob\u002Fmain\u002Fskills\u002Frepositories\u002Frepo-skills\u002Fmem0\u002Fsub-skills\u002Fsdk-memory\u002Fscripts\u002Fmem0_sdk_smoke.py",[76,83,90,97,104,111],{"skillNo":77,"name":78,"nameZh":6,"description":79,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":80,"categories":81,"keywords":82,"publishedAt":18},"01M799NYSH1R3RVAHSM2D88Y84","passnet-triton-opt","Make a single PassNet Triton kernel fast AND numerically faithful: performance model (when a replacement can win at all), block\u002Fgrid\u002Fwarp tuning, autotune policy, launch overhead, and per-op numeric recipes to pass the dtype baseline tolerances. Use when a pass matches and is correct but speedup below expected, or when correctness fails by small numeric margins.","https:\u002F\u002Fgithub.com\u002FVectorSpaceLab\u002FAREX-Skill\u002Fblob\u002Fmain\u002Fskills\u002Ftask-oriented\u002FPassNet\u002Fskills\u002Fpassnet-triton-opt\u002FSKILL.md",[],[],{"skillNo":84,"name":85,"nameZh":6,"description":86,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":87,"categories":88,"keywords":89,"publishedAt":18},"01M799NS5APEC0N1FZ7XZVW6BN","passnet-solve","END-TO-END playbook for solving one PassNet sample: analyze the computation graphs, decide the optimization strategy (what to fuse, what to replace, what to leave alone), drive the iteration loop, and maximize the sample score. This is the ENTRY skill — invoke it first for any PassNet optimization task; it tells you when to use passnet-pattern-fusion, passnet-triton-opt and passnet-feedback.","https:\u002F\u002Fgithub.com\u002FVectorSpaceLab\u002FAREX-Skill\u002Fblob\u002Fmain\u002Fskills\u002Ftask-oriented\u002FPassNet\u002Fskills\u002Fpassnet-solve\u002FSKILL.md",[],[],{"skillNo":91,"name":92,"nameZh":6,"description":93,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":94,"categories":95,"keywords":96,"publishedAt":18},"01M799NNY9BKSM21V5R7QVTBJX","passnet-skill","PassNet GPU kernel optimization via compiler passes. Design and implement Triton-based optimization passes, create pass files under .\u002Fpass_dir\u002F, self-evaluate with pass_evaluator, and iterate to maximize GPU speedup.","https:\u002F\u002Fgithub.com\u002FVectorSpaceLab\u002FAREX-Skill\u002Fblob\u002Fmain\u002Fskills\u002Ftask-oriented\u002FPassNet\u002Fskills\u002Fpassnet-skill\u002FSKILL.md",[],[],{"skillNo":98,"name":99,"nameZh":6,"description":100,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":101,"categories":102,"keywords":103,"publishedAt":18},"01M799NHH6NP7Z1RK77KGXAN6S","passnet-pattern-fusion","Author PassNet pass files: write patterns that actually MATCH the FX graph, pick fusion regions (which ops to absorb into one Triton kernel), and structure multi-pass submissions with the mandatory shared-dispatch architecture. Use when creating or fixing pattern()\u002Freplacement_args()\u002Freplacement_func() files, when a pass \"failed to match\", or when deciding how to fuse multiple kernels\u002Fops.","https:\u002F\u002Fgithub.com\u002FVectorSpaceLab\u002FAREX-Skill\u002Fblob\u002Fmain\u002Fskills\u002Ftask-oriented\u002FPassNet\u002Fskills\u002Fpassnet-pattern-fusion\u002FSKILL.md",[],[],{"skillNo":105,"name":106,"nameZh":6,"description":107,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":108,"categories":109,"keywords":110,"publishedAt":18},"01M799ND2J4WNC2PGAZ0A06NDF","passnet-orchestrate","Round\u002Fbatch planning and decision support for PassNet graph optimization. Use for multi-sample triage, worker allocation, eval-budget policy, and post-eval keep\u002Frevert decisions. For solving one concrete sample end to end, use passnet-solve as the entry skill; consult this skill only when you need broader planning or a specific decision gate.","https:\u002F\u002Fgithub.com\u002FVectorSpaceLab\u002FAREX-Skill\u002Fblob\u002Fmain\u002Fskills\u002Ftask-oriented\u002FPassNet\u002Fskills\u002Fpassnet-orchestrate\u002FSKILL.md",[],[],{"skillNo":112,"name":113,"nameZh":6,"description":114,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":115,"categories":116,"keywords":117,"publishedAt":18},"01M799N8SBTMY02ZDG2AZF5ZWE","passnet-feedback","Fast, deterministic feedback for PassNet work: pre-flight pattern\u002Fmatch verification WITHOUT burning a GPU evaluation, per-node bottleneck analysis of a sample's graphs, and eval-log parsing into per-variant status + estimated score + failure classification. Use BEFORE every GPU evaluation (check_pattern), at the START of a sample (analyze_graph), and AFTER every evaluation (parse_eval_log).","https:\u002F\u002Fgithub.com\u002FVectorSpaceLab\u002FAREX-Skill\u002Fblob\u002Fmain\u002Fskills\u002Ftask-oriented\u002FPassNet\u002Fskills\u002Fpassnet-feedback\u002FSKILL.md",[],[]]