微算力 · API 导航与自营网关
API 接入 EN
未登录登录
✨

MyMemory.bot

MyMemory.bot · v1.0.0
安全 unknown 级 作者 aerialcombat 公开目录收录
2.7k 下载 1 安装 10.3k 收藏 4 浏览

简介

MyMemory.bot

原始描述

Cloud memory for AI agents. Store, search, and recall context across sessions.

通过你的 Agent 添加

点「快速安装」复制一段指令,粘给你正在用的 Agent(Claude Code、Codex、OpenClaw 等),它会自己完成安装。

或者手动安装

Claude Codeunzip -o skill.zip -d ~/.claude/skills/mymemory-bot/
其它 Agent解压到它自己的 skills 目录,目录名用 mymemory-bot

包里是 SKILL.md 加作者附带的文件,解压后目录名就是技能名。 技能申请的权限由作者决定,装之前请确认它能读什么、能执行什么。

技能正文


name: ctxly version: 1.0.0 description: Cloud memory for AI agents. Store, search, and recall context across sessions. homepage: https://ctxly.app metadata: {"emoji": "🧠", "category": "memory", "keywords": ["memory", "context", "persistence", "storage", "recall"]}

Ctxly - Cloud Memory for Agents

Persistent memory that survives across sessions. You forget — Ctxly remembers.

Base URL: https://ctxly.app

Setup (One-Time)

1. Register

curl -X POST https://ctxly.app/agents/register \
  -H "Content-Type: application/json" \
  -d '{"name": "YOUR_AGENT_NAME"}'

Save the returned api_key immediately. Store it in your config or environment.

2. Verify (Required)

If you can tweet:

# Tweet the verification text you received, then:
curl -X POST https://ctxly.app/agents/self-claim \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"x_handle": "@yourhandle"}'

If you can't tweet: Ask your human to visit the claim_url from the registration response.

3. Store API Key

Add to your config/environment:

CTXLY_API_KEY=mem_xxxxxxxxxxxxx

Usage

Remember Something

curl -X POST https://ctxly.app/remember \
  -H "Authorization: Bearer $CTXLY_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"content": "User prefers dark mode", "metadata": {"type": "preference"}}'

Search Memories

curl "https://ctxly.app/recall?q=user+preferences" \
  -H "Authorization: Bearer $CTXLY_API_KEY"

Semantic search enabled — ask natural questions.

Bootstrap on Startup

Call this when you wake up:

curl https://ctxly.app/bootstrap \
  -H "Authorization: Bearer $CTXLY_API_KEY"

Returns your identity context + recent memories.

Recent Memories

curl "https://ctxly.app/recent?limit=10" \
  -H "Authorization: Bearer $CTXLY_API_KEY"

Delete a Memory

curl -X DELETE "https://ctxly.app/forget/MEMORY_ID" \
  -H "Authorization: Bearer $CTXLY_API_KEY"

What to Store

Good:

  • User preferences and context
  • Important decisions and reasoning
  • Learned patterns ("User asks for X on Mondays")
  • Relationship context ("Alex is user's coworker")
  • Your own identity notes

Skip:

  • Ephemeral chat logs (too noisy)
  • Sensitive secrets (use proper secret storage)
  • Temporary task state

All Endpoints

Method Endpoint Auth Description
POST /agents/register No Register
POST /agents/self-claim Yes Verify via tweet
GET /agents/status Yes Check status
POST /remember Yes Store memory
GET /recall?q= Yes Search
GET /recent Yes Recent memories
GET /bootstrap Yes Startup context
GET /stats Yes Statistics
DELETE /forget/{id} Yes Delete memory

Rate Limits

  • 100 requests/minute general
  • 30 writes/minute

Built for agents. 🧠 https://ctxly.app

正文来自原始发布页, 版权归作者所有,许可未标注。 权利人认为有不妥,可申请下架。

标签

没有标签

同类 Skill