Skip to content
Back to skills

Memory Sync

ASecurity

Use when the user wants to import or backfill durable memory from Claude Code, Codex, Aider, OpenCode, or other local agent session history into Titan.

  • 2 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added December 3, 2026
ai-agentsgodatabase

Works with

  • claude code

Security analysis

A100/100

Scanned December 3, 2026

npx -y skills add kuwosaad/titan-pi-memory --skill memory-sync --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Memory Sync?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Memory Sync
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/kuwosaad-memory-sync/badge)](https://www.skillsdirectory.com/skills/kuwosaad-memory-sync)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: memory-sync
description: Use when the user wants to import or backfill durable memory from Claude Code, Codex, Aider, OpenCode, or other local agent session history into Titan.
---

# Memory Sync

Memory Sync imports useful local agent history into Titan as distilled trace packets. It is not a daemon, not a new database, and not a raw transcript copier.

## Hard Rules

Never modify source agent directories such as `~/.codex`, `~/.claude`, `~/.aider`, or OpenCode state directories. Never read auth files, token files, key files, `.env` files, cookies, private keys, or credential blobs. Never store raw transcripts in Titan. Always ask for user approval before the first import write in a session.

## Routing

Use this skill when the user says memory sync, import agent history, backfill Titan, Claude sync, Codex sync, cross-agent continuity, or asks to move memories from another coding agent into Titan.

## Workflow

1. Inventory candidate local history files read-only. Missing paths are normal.
2. Check existing import manifests when present: `~/.titan/imports/memory-sync/manifest.jsonl` and legacy `~/.titan/imports/claude-sync/manifest.jsonl`.
3. Summarize candidate agents, likely projects, date ranges, already-imported counts, and a recommended bounded scope.
4. Ask the user to approve the import scope before writing.
5. Read only the approved source files. Sample schemas first; if a schema is unknown, report it instead of guessing.
6. Distill durable facts, decisions, outcomes, and reusable lessons. Drop low-signal chatter, raw logs, secrets, and duplicate sessions.
7. Store each meaningful session or cluster with `store_trace_packet`. Include a source tag such as `[source:codex]` or `[source:claude-code]` in the goal or context.
8. Record imported/skipped fingerprints in the manifest if you create local import bookkeeping.
9. Verify retrieval with `query_memories` for representative imported topics.

## Safe Source Hints

Codex candidates may live under `~/.codex/history.jsonl`, `~/.codex/session_index.jsonl`, `~/.codex/sessions/`, or `~/.codex/memories/`.

Claude Code candidates may live under `~/.claude/history.jsonl`, `~/.claude/sessions/`, or `~/.claude/projects/`.

Do not inspect `~/.codex/auth.json`, `~/.claude.json`, key files, pem files, `.env` files, or credential-shaped files.

## Storage Shape

Prefer one trace packet per meaningful session or cluster. The packet should contain the import goal, distilled context, important decisions, outcomes, and source metadata. Do not create dozens of tiny memories from one transcript unless the user explicitly asks for a deep import.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.