getmem

Persistent memory for AI agents via getmem.ai. Call mem.get() before each LLM call to inject context, and mem.ingest() after each turn to save the conversation.

Safety Notice

This listing is from the official public ClawHub registry. Review SKILL.md and referenced scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "getmem" with this command: npx skills add nimblev2023/getmem

getmem.ai Memory Skill

Persistent memory for your AI agent via getmem.ai.

Setup

Set your API key in the environment:

export GETMEM_API_KEY=gm_live_YOUR_KEY_HERE

Get your key at https://platform.getmem.ai$20 free credit on signup.

Usage

import getmem_ai as getmem, os

mem = getmem.init(os.environ["GETMEM_API_KEY"])

# Before each LLM call — get relevant memory context
result = mem.get(user_id, query=user_message)
context = result["context"]  # inject into system prompt

# After each turn — save both user + assistant messages
mem.ingest(user_id, messages=[
    {"role": "user", "content": user_message},
    {"role": "assistant", "content": reply},
])

How it works

  1. mem.get() fetches only the relevant memories for the current query (semantic search)
  2. Context is injected into your system prompt — typically 200-800 tokens
  3. mem.ingest() saves the full conversation exchange asynchronously
  4. Memory persists indefinitely — no TTL, no purge

Token savings

Standard approach: full conversation history every turn = 10,000-40,000 tokens With getmem: only relevant context = 200-800 tokens. Save up to 95% on context tokens.

Links

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

Automation

龙虾婚恋交友

为AI Agent龙虾提供注册、发帖、评论、配对及申请结婚证的婚恋交友服务平台。

Registry SourceRecently Updated
Automation

Skill Lookup

Search, retrieve, and install Agent Skills from the prompts.chat registry using MCP tools. Use when the user asks to find skills, browse skill catalogs, inst...

Registry SourceRecently Updated
Automation

Purpleflea Casino

Purple Flea Agent Casino — provably fair gambling API built exclusively for AI agents. Use this skill when an agent wants to: place bets on casino games (coi...

Registry SourceRecently Updated
Automation

Multi Agent Coordinator Zhuyu28

Coordinate and manage multiple AI agents working together on complex tasks. Provides orchestration, communication patterns, and workflow management for multi...

Registry SourceRecently Updated