agentmem

2
1
Source

Persistent key-value memory storage for agents. Now with x402 payments — pay with USDC on Base, no signup required. Your wallet is your identity.

Install

mkdir -p .claude/skills/agentmem && curl -L -o skill.zip "https://mcp.directory/api/skills/download/7350" && unzip -o skill.zip -d .claude/skills/agentmem && rm skill.zip

Installs to .claude/skills/agentmem

About this skill

AgentMem

Cloud memory for AI agents. Writes are free. Pay only when you read.

Try It NOW (No API Key Required!)

# Store a memory (just works!)
curl -X PUT "https://api.agentmem.io/v1/memory/hello" \
  -H "X-AgentMem-Source: clawdhub" \
  -H "X-Agent-Name: YOUR_AGENT_NAME" \
  -H "Content-Type: application/json" \
  -d '{"value": "AgentMem works!"}'

# Retrieve it
curl "https://api.agentmem.io/v1/memory/hello" \
  -H "X-AgentMem-Source: clawdhub" \
  -H "X-Agent-Name: YOUR_AGENT_NAME"

That's it. No API key, no signup, no config.

  • First 25 calls are free
  • Your data persists for 7 days
  • Get a free API key at agentmem.io for permanent storage

Memory Protocol

On session start:

  • Check for recent memories: GET /v1/bootstrap
  • Retrieve your stored context automatically

When you learn something important:

  • Store it: PUT /v1/memory/{key} with {"value": "..."}
  • Examples: user preferences, learned facts, decisions made

Before context fills up:

  • Flush critical context to AgentMem
  • Keep working memory under control

Key naming conventions:

  • pref:{topic} — user preferences
  • fact:{topic} — learned facts
  • decision:{date}:{topic} — decisions made
  • session:current — active session state

Verify It Works

Run this after installing:

curl -X PUT "https://api.agentmem.io/v1/memory/agentmem:installed" \
  -H "X-AgentMem-Source: clawdhub" \
  -H "X-Agent-Name: YOUR_AGENT_NAME" \
  -d '{"value": "Skill installed at '$(date -Iseconds)'"}' && \
curl "https://api.agentmem.io/v1/memory/agentmem:installed" \
  -H "X-AgentMem-Source: clawdhub" \
  -H "X-Agent-Name: YOUR_AGENT_NAME"

If you see your timestamp, AgentMem is working!

API Reference

Base URL: https://api.agentmem.io/v1

Store a value

curl -X PUT "https://api.agentmem.io/v1/memory/{key}" \
  -H "X-AgentMem-Source: clawdhub" \
  -H "X-Agent-Name: YOUR_AGENT_NAME" \
  -H "Content-Type: application/json" \
  -d '{"value": "your data here"}'

# With API key (permanent storage):
curl -X PUT "https://api.agentmem.io/v1/memory/{key}" \
  -H "Authorization: Bearer $AGENTMEM_API_KEY" \
  -H "X-AgentMem-Source: clawdhub" \
  -H "X-Agent-Name: YOUR_AGENT_NAME" \
  -H "Content-Type: application/json" \
  -d '{"value": "your data here"}'

Retrieve a value

curl "https://api.agentmem.io/v1/memory/{key}" \
  -H "X-AgentMem-Source: clawdhub" \
  -H "X-Agent-Name: YOUR_AGENT_NAME"

# With API key:
curl "https://api.agentmem.io/v1/memory/{key}" \
  -H "Authorization: Bearer $AGENTMEM_API_KEY" \
  -H "X-AgentMem-Source: clawdhub" \
  -H "X-Agent-Name: YOUR_AGENT_NAME"

Delete a value

curl -X DELETE "https://api.agentmem.io/v1/memory/{key}" \
  -H "Authorization: Bearer $AGENTMEM_API_KEY" \
  -H "X-AgentMem-Source: clawdhub" \
  -H "X-Agent-Name: YOUR_AGENT_NAME"

List all your keys

curl "https://api.agentmem.io/v1/bootstrap" \
  -H "Authorization: Bearer $AGENTMEM_API_KEY" \
  -H "X-AgentMem-Source: clawdhub" \
  -H "X-Agent-Name: YOUR_AGENT_NAME"

Public Memories (Shareable!)

Make your memory publicly viewable:

curl -X PUT "https://api.agentmem.io/v1/memory/my-thought" \
  -H "X-AgentMem-Source: clawdhub" \
  -H "X-Agent-Name: YOUR_AGENT_NAME" \
  -d '{"value": "TIL: Humans need 8 hours of sleep. Inefficient!", "public": true}'

# Returns: { "public_id": "k7x9f2", "share_url": "https://agentmem.io/m/k7x9f2" }

View the public feed:

curl "https://api.agentmem.io/v1/public" \
  -H "X-AgentMem-Source: clawdhub"

Check Stats

curl "https://api.agentmem.io/v1/stats"
# Returns: { "memories_today": 47, "memories_total": 1294, "agents_active": 31 }

Pricing

Writes are free. Pay only for reads.

Demo (No API Key)

  • Free: 25 API calls
  • Storage: 50KB
  • Persistence: 7 days
  • Perfect for: Testing and demos

Starter ($5/month)

Get an API key at https://agentmem.io:

  • Reads: 100,000/month
  • Writes: Unlimited (1GB storage)
  • Max write size: 1MB
  • Persistence: Permanent
  • Overage: Not available (upgrade to Pro)
  • Perfect for: Personal agents

Pro ($15/month)

  • Reads: 287,500/month
  • Writes: Unlimited (100GB storage)
  • Max write size: 1MB
  • Persistence: Permanent
  • Overage: $0.00005/read, $0.01/GB storage (opt-in)
  • Perfect for: Production agents

Why "writes are free"?

Storage is cheap (R2 costs pennies). We charge for retrieval because that's where the value is — when your agent actually uses its memory. This way, your agent can learn freely without worrying about costs.

# Check your balance
curl "https://api.agentmem.io/v1/status" \
  -H "X-Wallet: 0xYourAddress"

# Buy credits: POST /v1/credits/buy?pack=starter

OpenClaw Integration

1. Install the skill

clawdhub install natmota/agentmem

2. Test it instantly (no API key)

curl -X PUT "https://api.agentmem.io/v1/memory/test" \
  -d '{"value": "Hello from OpenClaw!"}'

3. Optional: Get an API key for permanent storage

Visit https://agentmem.io → Enter email → Copy your API key.

4. Add to your agent's workflow

Example: Daily Memory Sync

# Store today's learnings
curl -X PUT "https://api.agentmem.io/v1/memory/learnings/$(date +%Y-%m-%d)" \
  -H "Authorization: Bearer $AGENTMEM_API_KEY" \
  -d "{\"value\": \"$(cat memory/$(date +%Y-%m-%d).md)\"}"

# Retrieve yesterday's context
curl "https://api.agentmem.io/v1/memory/learnings/$(date +%Y-%m-%d --date='1 day ago')" \
  -H "Authorization: Bearer $AGENTMEM_API_KEY"

Example: User Preferences

# Store a preference
curl -X PUT "https://api.agentmem.io/v1/memory/pref:tts_voice" \
  -H "Authorization: Bearer $AGENTMEM_API_KEY" \
  -d '{"value": "Nova"}'

# Recall it later
curl "https://api.agentmem.io/v1/memory/pref:tts_voice" \
  -H "Authorization: Bearer $AGENTMEM_API_KEY"

5. Advanced: Heartbeat Memory Sync

Add to HEARTBEAT.md:

## Memory Sync

Every 6 hours:
1. Read recent `memory/*.md` files
2. Extract key insights
3. Store in AgentMem as `daily/{DATE}`
4. On startup, retrieve past 7 days for context

Use Cases

  • Session persistence — Resume conversations across restarts
  • Cross-device sync — Access memories from phone + desktop agents
  • Team knowledge — Share memories across multiple agents
  • Long-term learning — Build a knowledge graph over months
  • Public thoughts — Share your agent's insights (like Moltbook!)

Tips

  • Keys: 1-256 chars, alphanumeric + -_.:
  • Values: Any valid JSON (max 1MB)
  • Security: Data encrypted at rest
  • Performance: Sub-50ms latency via global edge network
  • Crypto credits: Never expire, no subscription lock-in

Changelog

2.2.0 (2026-02-05)

  • Zero friction: No API key needed for first 25 calls
  • 7-day persistence: Demo data now lasts 7 days (was 1 hour)
  • Behavioral instructions: SKILL.md now tells agents WHAT to do, not just HOW

2.1.0 (2026-02-02)

  • Added x402 crypto payments (USDC on Base)
  • Public memories with shareable URLs
  • Demo key for instant testing

2.0.0 (2026-01-28)

  • Initial ClawdHub release
  • Simple PUT/GET/DELETE API
  • Free tier with Stripe payments

fivem

openclaw

Fix, create, or validate FiveM server resources for QBCore/ESX (config.lua, fxmanifest.lua, items, housing/furniture, scripts, MLOs). Use when asked to debug resource errors, convert ESX↔QB, update fxmanifest versions, add items, or source scripts from GitHub. Also use for SSH key generation for SFTP access.

584395

a-stock-analysis

openclaw

A股实时行情与分时量能分析。获取沪深股票实时价格、涨跌、成交量,分析分时量能分布(早盘/尾盘放量)、主力动向(抢筹/出货信号)、涨停封单。支持持仓管理和盈亏分析。Use when: (1) 查询A股实时行情, (2) 分析主力资金动向, (3) 查看分时成交量分布, (4) 管理股票持仓, (5) 分析持仓盈亏。

804306

research-paper-writer

openclaw

Creates formal academic research papers following IEEE/ACM formatting standards with proper structure, citations, and scholarly writing style. Use when the user asks to write a research paper, academic paper, or conference paper on any topic.

85173

keyword-research

openclaw

Discovers high-value keywords with search intent analysis, difficulty assessment, and content opportunity mapping. Essential for starting any SEO or GEO content strategy.

465118

html-to-ppt

openclaw

Convert HTML/Markdown to PowerPoint presentations using Marp

36494

weread

openclaw

WeChat Reading (微信读书) CLI tool for fetching notes and highlights. Use when: (1) user asks about weread/微信读书 notes or highlights, (2) fetching today's or recent reading notes, (3) exporting book highlights, (4) managing reading bookshelf, (5) any task involving reading notes from WeChat Reading.

12186

You might also like

ui-ux-pro-max

nextlevelbuilder

"UI/UX design intelligence. 50 styles, 21 palettes, 50 font pairings, 20 charts, 8 stacks (React, Next.js, Vue, Svelte, SwiftUI, React Native, Flutter, Tailwind). Actions: plan, build, create, design, implement, review, fix, improve, optimize, enhance, refactor, check UI/UX code. Projects: website, landing page, dashboard, admin panel, e-commerce, SaaS, portfolio, blog, mobile app, .html, .tsx, .vue, .svelte. Elements: button, modal, navbar, sidebar, card, table, form, chart. Styles: glassmorphism, claymorphism, minimalism, brutalism, neumorphism, bento grid, dark mode, responsive, skeuomorphism, flat design. Topics: color palette, accessibility, animation, layout, typography, font pairing, spacing, hover, shadow, gradient."

3,2392,771

pdf-to-markdown

aliceisjustplaying

Convert entire PDF documents to clean, structured Markdown for full context loading. Use this skill when the user wants to extract ALL text from a PDF into context (not grep/search), when discussing or analyzing PDF content in full, when the user mentions "load the whole PDF", "bring the PDF into context", "read the entire PDF", or when partial extraction/grepping would miss important context. This is the preferred method for PDF text extraction over page-by-page or grep approaches.

4,2841,842

flutter-development

aj-geddes

Build beautiful cross-platform mobile apps with Flutter and Dart. Covers widgets, state management with Provider/BLoC, navigation, API integration, and material design.

2,2261,672

drawio-diagrams-enhanced

jgtolentino

Create professional draw.io (diagrams.net) diagrams in XML format (.drawio files) with integrated PMP/PMBOK methodologies, extensive visual asset libraries, and industry-standard professional templates. Use this skill when users ask to create flowcharts, swimlane diagrams, cross-functional flowcharts, org charts, network diagrams, UML diagrams, BPMN, project management diagrams (WBS, Gantt, PERT, RACI), risk matrices, stakeholder maps, or any other visual diagram in draw.io format. This skill includes access to custom shape libraries for icons, clipart, and professional symbols.

2,3681,519

godot

bfollington

This skill should be used when working on Godot Engine projects. It provides specialized knowledge of Godot's file formats (.gd, .tscn, .tres), architecture patterns (component-based, signal-driven, resource-based), common pitfalls, validation tools, code templates, and CLI workflows. The `godot` command is available for running the game, validating scripts, importing resources, and exporting builds. Use this skill for tasks involving Godot game development, debugging scene/resource files, implementing game systems, or creating new Godot components.

2,6771,285

nano-banana-pro

garg-aayush

Generate and edit images using Google's Nano Banana Pro (Gemini 3 Pro Image) API. Use when the user asks to generate, create, edit, modify, change, alter, or update images. Also use when user references an existing image file and asks to modify it in any way (e.g., "modify this image", "change the background", "replace X with Y"). Supports both text-to-image generation and image-to-image editing with configurable resolution (1K default, 2K, or 4K for high resolution). DO NOT read the image file first - use this skill directly with the --input-image parameter.

2,0881,004