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 another local agent's session history into Titan.

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

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-edf0241d/badge)](https://www.skillsdirectory.com/skills/kuwosaad-memory-sync-edf0241d)

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 another local agent's session history into Titan.
---

# Memory Sync

Import useful local history as distilled trace packets. This is a bounded ETL
workflow, not a raw transcript copier or a background process.

## Hard boundaries

- Read source histories only after the user approves the bounded scope.
- Keep source agent directories unchanged.
- Never read authentication, token, key, cookie, private-key, credential, or
  environment-secret files.
- Never store raw transcripts, secrets, or full environment dumps in Titan.
- Write only to the active OpenCode Titan namespace.
- Tag every packet with its origin, such as `[source:claude-code]`, `[source:codex]`,
  or `[source:opencode]`.

## Workflow

1. **Inventory.** Read directory listings and small metadata samples only. Candidate
   locations include `~/.claude/history.jsonl`, `~/.claude/projects/`,
   `~/.codex/history.jsonl`, `~/.codex/sessions/`, and OpenCode's local session
   storage. Missing paths are normal. Inspect
   `~/.titan/imports/memory-sync/manifest.jsonl` and the legacy Claude import
   manifest when present.
2. **Summarize.** Report available source agents, likely projects, date ranges,
   schema families, prior-import counts, and a recommended bounded scope. Prefer the
   last 20 sessions per available agent, current project when detectable.
3. **Approve.** Ask for approval before the first write. If the user asks for a large
   import, propose batches or a dry run first.
4. **Normalize.** Sample each source format before parsing. If a schema is unknown,
   classify it and report it rather than guessing. Extract source agent, session ID,
   timestamp, project/cwd, and a content fingerprint.
5. **Filter and cluster.** Skip login-only, empty, duplicated, startup-only, and
   low-signal sessions. Group related sessions by project and task.
6. **Distill and redact.** Keep durable decisions, outcomes, constraints, corrections,
   and reusable lessons. Remove chatter, raw logs, credentials, and duplicates.
7. **Store.** For each meaningful cluster, call `titan-memory_store_trace_packet`
   with a concise goal, context, outcome, and source tag. Do not create dozens of
   tiny memories from one session.
8. **Manifest.** Record imported and skipped fingerprints in the memory-sync
   manifest when local bookkeeping is needed.
9. **Verify.** Call `titan-memory_query_memories` for representative imported topics
   and report what was found.

**Done when:** the approved scope is covered, every packet is distilled, redacted,
source-tagged, and deduplicated, and representative retrieval has been verified.

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.