← 返回
AI智能 Key 中文

Supermemory Free

Cloud knowledge backup and retrieval using Supermemory.ai free tier. Store high-value insights to the cloud and search them back when local memory is insuffi...
利用 Supermemory.ai 免费版进行云端知识备份与检索。存储高价值洞察至云端,弥补本地记忆不足。
broedkrummen
AI智能 clawhub v1.0.0 1 版本 100000 Key: 需要
★ 0
Stars
📥 1,284
下载
💾 59
安装
1
版本
#latest

概述

Supermemory Free — Cloud Knowledge Backup

Backs up important knowledge and insights to Supermemory.ai's cloud using the free tier API.

Uses only /v3/documents (store) and /v3/search (retrieve) — no Pro-only endpoints.

Prerequisites

Set in .env

SUPERMEMORY_OPENCLAW_API_KEY="sm_..."

Tools

supermemory_cloud_store

Store a knowledge string to the cloud.

python3 skills/supermemory-free/store.py "Your knowledge string here"

# With optional container tag (namespace/filter)
python3 skills/supermemory-free/store.py "knowledge string" --tag openclaw

# With metadata
python3 skills/supermemory-free/store.py "knowledge string" --tag fixes --source "session"

# Output raw JSON
python3 skills/supermemory-free/store.py "knowledge string" --json

When to use:

  • User asks to "remember" something permanently
  • Important configuration/setup knowledge
  • Resolved problems / solutions discovered
  • Key facts you want cross-session persistence for

supermemory_cloud_search

Search the cloud memory for relevant knowledge.

python3 skills/supermemory-free/search.py "your query"

# With container tag filter
python3 skills/supermemory-free/search.py "your query" --tag openclaw

# More results
python3 skills/supermemory-free/search.py "your query" --limit 10

# Higher precision (less noise)
python3 skills/supermemory-free/search.py "your query" --threshold 0.7

# Search across ALL tags
python3 skills/supermemory-free/search.py "your query" --no-tag

When to use:

  • Local memory (MEMORY.md, daily logs) doesn't have the answer
  • User references something from "a long time ago"
  • Cross-session knowledge lookup
  • "Do you remember when..." queries

Auto-Capture (Cron)

Scans recent session memory logs and automatically pushes high-value insights to Supermemory cloud.

# Run manually
python3 skills/supermemory-free/auto_capture.py

# Dry run (show what would be captured, no upload)
python3 skills/supermemory-free/auto_capture.py --dry-run

# Scan last N days (default: 3)
python3 skills/supermemory-free/auto_capture.py --days 7

# Force re-upload even if already seen
python3 skills/supermemory-free/auto_capture.py --force

# Verbose mode
python3 skills/supermemory-free/auto_capture.py --verbose

Install cron job (runs daily at 2:00 AM UTC):

bash skills/supermemory-free/install_cron.sh

Remove cron job:

bash skills/supermemory-free/install_cron.sh --remove

Check cron status:

bash skills/supermemory-free/install_cron.sh --status

What Gets Auto-Captured

The auto-capture script identifies "high-value" insights from memory logs using these heuristics:

PatternLabelExample
-------------------------
Resolved errors / fixesfixFixed: SSL cert error by running...
Error contexterrorException: Connection refused on port 5432
Configuration pathsconfig/etc/nginx/sites-available/default
API/endpoint infoapiEndpoint: POST /v3/documents for storage
User preferencespreferenceUser prefers Python over Node for scripts
Decisions madedecisionDecided to use PostgreSQL because...
Learned factsinsightLearned that cron syntax for...
Installs / setupsetupInstalled nginx, configured with...
Bullet-point blocksbullet- Key finding: X works better than Y

Deduplication: Already-uploaded items are tracked in .capture_state.json — re-running is safe.


Container Tags

Use --tag to namespace your memories:

TagPurpose
--------------
openclawGeneral OpenClaw session knowledge (default)
fixesBug fixes and solutions
configConfiguration and setup
user-prefsUser preferences
projectsProject-specific knowledge

Files

FilePurpose
---------------
store.pyCLI tool: upload knowledge to cloud
search.pyCLI tool: search cloud knowledge
auto_capture.pyCron script: auto-analyze memory logs
install_cron.shInstall/remove/status of cron job
.capture_state.jsonDedup state (auto-generated, gitignore)
SKILL.mdThis file
_meta.jsonSkill metadata

API Info

  • Base URL: https://api.supermemory.ai
  • Store endpoint: POST /v3/documents
  • Search endpoint: POST /v3/search
  • Auth: Bearer token from SUPERMEMORY_OPENCLAW_API_KEY
  • Free tier limits: Check https://console.supermemory.ai for current quotas
  • Note: Cloudflare-compatible headers included — avoids 1010 access denial errors

Troubleshooting

HTTP 403 / 1010 Access Denied:

The scripts include proper User-Agent, Origin, and Referer headers to satisfy Cloudflare. If it recurs, verify the API key is valid at https://console.supermemory.ai.

No memory files found:

Auto-capture looks in memory/YYYY-MM-DD.md. Ensure your memory skill is writing daily logs there.

Re-upload everything:

Delete .capture_state.json or use --force to ignore the dedup state.

版本历史

共 1 个版本

  • v1.0.0 当前
    2026-03-29 05:20 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

productivity

Brave Api Search

broedkrummen
Real-time web search, autosuggest, and AI-powered answers using the official Brave Search API. Use for searching documen
★ 2 📥 9,281
ai-intelligence

ontology

oswalpalash
类型化知识图谱,用于结构化智能体记忆与可组合技能。支持创建/查询实体(人员、项目、任务、事件、文档)及关联...
★ 709 📥 243,508
ai-intelligence

Self-Improving + Proactive Agent

ivangdavila
自我反思+自我批评+自我学习+自组织记忆。智能体评估自身工作、发现错误并持续改进。
★ 1,349 📥 317,674