Use when the user wants to write Python code that interacts with GoodMem — creating embedders, spaces, memories, retrieval, managing API keys, etc. Provides the complete SDK reference for the goodmem Python package.
Installs into .claude/skills of the current project.
Sponsors
SSkills DirectorySkills Directory
Is that skill safe to install?
SSkills DirectorySkills Directory
Know which skills are safe — weekly.
Are you the author of Python?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/majiayu000-python)
---
name: goodmem:python
description: "Use when the user wants to write Python code that interacts with GoodMem — creating embedders, spaces, memories, retrieval, managing API keys, etc. Provides the complete SDK reference for the goodmem Python package."
user-invocable: false
---
You have access to the GoodMem Python SDK. Use it to write Python code that accomplishes the user's request.
See [reference.md](reference.md) for the complete API reference including all method signatures,
convenience shortcuts, available model identifiers, error handling, and common patterns.
Key principles:
- Always use context managers: `with Goodmem(...) as client:`
- For create methods, pass flat kwargs (convenience transforms handle the rest)
- For update methods, pass either a typed request object or a plain dict
- Use `model_identifier` for embedders/LLMs/rerankers — the SDK auto-infers provider, endpoint, etc.
- Use `api_key="sk-..."` on create (not `credentials`) — the SDK builds the credential struct
- Iterate paginated results directly: `for item in client.spaces.list():`
- Use `stream=False` on retrieve if you want a plain list instead of a stream