# memtree

> memtree — aiagate-memtree. Use this tool when you need to manage and query session data from Codex and Claude Code, as it collects and stores JSONL data in a local SQLite memory. It solves problems related to data retrieval, storage, and manipulation, providing tools for search, context management, and data modification. It accepts session data as input and outputs queried results, status updates, and modified data, ideal for use cases requiring efficient data handling and analysis.

Canonical page: https://skillsregistry.net/skills/aiagate-memtree  
JSON: https://api.skillsregistry.net/v1/skills/aiagate-memtree

## Description

Collects session JSONL from Codex and Claude Code into local SQLite memory, exposed through MCP with tools for memory context, search, get, put, forget, sleep, and status.

## Trust

- **Trust score (0–1):** 0.69
- **Verification tier:** scanned
- **Last scanned:** 2026-08-29

## Facts

- **Version:** 1.0.0
- **Skill type:** atomic
- **Execution layer:** mcp-remote
- **Runtime environment:** api
- **Category:** database
- **Updated:** 2026-08-29

## Source

- **Source listing:** [Glama](https://glama.ai/mcp/servers/uq9pp2nmq3)
- **Repository:** <https://github.com/shimae-net/memtree>

## Use it

Resolve this record through the SkillsRegistry MCP server (no auth, read-only):

```
claude mcp add --transport http --scope user skillsregistry https://api.skillsregistry.net/mcp
```

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "get_skill",
    "arguments": {
      "slug": "aiagate-memtree"
    }
  }
}
```

REST: `GET https://api.skillsregistry.net/v1/skills/aiagate-memtree` · pull for local use: `GET https://api.skillsregistry.net/v1/skills/aiagate-memtree/pull`

---
SkillsRegistry indexes agent skills from public registries and GitHub. Skills we have analysed are scanned with Circle-IR and scored on six dimensions; each listing states its scan coverage. More: https://skillsregistry.net/llms.txt
