Skip to content

/history-portability

Import Claude Code or Codex history and move complete CCAM datasets between machines. Use when rescanning provider history, importing a copied directory, uploading JSONL or archives, exporting a backup, restoring it idempotently, or verifying that tokens, workflows, runs, rules,

From plugin
claude-code-agent-monitor
88372 skills3 agents
Install
$ npx -y skills add hoangsonww/Claude-Code-Agent-Monitor --skill history-portability --agent claude-code

How it fires

How this skill gets triggered: by you, by Claude, or both.

  • Fires itselfAuto-invocation. Claude auto-loads it when your prompt matches the work.Auto-invocation is when the right skill fires by itself at the right moment, driven by a FLOW.md router and a hook, instead of you invoking it by name. It is the difference between a skill being installed and a skill actually getting used.Read the full definition →
  • You can call itInvoke it directly when you want it.
  • Slash command/history-portability

Context preview

The summary Claude sees to decide when to auto-load this skill.

Import Claude Code or Codex history and move complete CCAM datasets between machines. Use when rescanning provider history, importing a copied directory, uploading JSONL or archives, exporting a backup, restoring it idempotently, or verifying that tokens, workflows, runs, rules,

SKILL.md

history-portability.SKILL.md
name: history-portability
description: >
  Import Claude Code or Codex history and move complete CCAM datasets between
  machines. Use when rescanning provider history, importing a copied directory,
  uploading JSONL or archives, exporting a backup, restoring it idempotently,
  or verifying that tokens, workflows, runs, rules, and pricing survived.

History Portability

Provider History

1. Read provider-specific paths and limits: `ccam import guide --provider claude|codex`. 2. Rescan the configured provider home: `ccam import rescan --provider <provider>`. 3. Scan an existing directory: `ccam import path /absolute/path --provider <provider>`. 4. For file or archive upload, use the app or MCP `dashboard_upload_history_files`.

Full Dashboard Backup

ccam export ccam-export.json
ccam import-data ccam-export.json

Restore is idempotent and non-destructive. Existing sessions are skipped as a whole. New sessions bring agents, events, token usage, and workflows. Independent run, rule, and pricing rows are inserted only when absent.

Verify session counts, representative transcripts, token totals, cost, workflow runs, alert rules, and both Claude and GPT pricing after restore.

Ships withclaude-code-agent-monitor

🚀 A real-time monitoring dashboard for Claude Code & Codex, built with SQLite3, Node.js, Express, React, Vite, TailwindCSS, & WebSockets. It tracks sessions, agent activity, tool usage, and subagent orchestration, providing live analytics, a Kanban status board, status notifications, a cute buddy, & an interactive web UI/MacOS/Windows native app.

Get the whole plugin, auto-invoked
Stats
887
Stars
0
Views
198
Forks
Active
Maintenance
TypeScript
Language
MIT
License
7m ago
Last commit
5mo ago
Created

Repo: hoangsonww/Claude-Code-Agent-Monitor

Other skills on claude-code-agent-monitor.