ctxly

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

7 stars

Best use case

ctxly is best used when you need a repeatable AI agent workflow instead of a one-off prompt.

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

Teams using ctxly should expect a more consistent output, faster repeated execution, less prompt rewriting.

When to use this skill

  • You want a reusable workflow that can be run more than once with consistent structure.

When not to use this skill

  • You only need a quick one-off answer and do not need a reusable workflow.
  • You cannot install or maintain the underlying files, dependencies, or repository context.

Installation

Claude Code / Cursor / Codex

$curl -o ~/.claude/skills/cloud-memory/SKILL.md --create-dirs "https://raw.githubusercontent.com/Demerzels-lab/elsamultiskillagent/main/public/skills/aerialcombat/cloud-memory/SKILL.md"

Manual Installation

  1. Download SKILL.md from GitHub
  2. Place it in .claude/skills/cloud-memory/SKILL.md inside your project
  3. Restart your AI agent — it will auto-discover the skill

How ctxly Compares

Feature / AgentctxlyStandard Approach
Platform SupportNot specifiedLimited / Varies
Context Awareness High Baseline
Installation ComplexityUnknownN/A

Frequently Asked Questions

What does this skill do?

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

Where can I find the source code?

You can find the source code on GitHub using the link provided at the top of the page.

SKILL.md Source

# 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

```bash
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:**
```bash
# 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

```bash
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

```bash
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:

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

Returns your identity context + recent memories.

### Recent Memories

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

### Delete a Memory

```bash
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

Related Skills