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,
Install
npx skills add https://github.com/hoangsonww/Claude-Code-Agent-Monitor/tree/master/plugins/ccam-platform/skills/history-portability
claude plugin marketplace add https://llmmart.ai/marketplace.json && claude plugin install hoangsonww-claude-code-agent-monitor@llmmart
git clone https://github.com/hoangsonww/Claude-Code-Agent-Monitor.git
The skills CLI installs just this skill, for any of its supported agents. Claude Code installs the whole hoangsonww/claude-code-agent-monitor collection as a plugin from our marketplace. Git is the plain clone.
Skill manifest
History Portability
Provider History
- Read provider-specific paths and limits:
ccam import guide --provider claude|codex. - Rescan the configured provider home:
ccam import rescan --provider <provider>. - Scan an existing directory:
ccam import path /absolute/path --provider <provider>. - 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.
Files (claude-code-agent-monitor)
-
agents
-
openai.yaml 278 B
interface: display_name: "History Portability" short_description: "Import Claude Code or Codex history and move complete CCAM..." default_prompt: "Use $history-portability to inspect CCAM data and complete this workflow safely." policy: allow_implicit_invocation: false
-
-
SKILL.md 1.2 KB
--- 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 ```bash 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.
Comments (0)
Sign in to join the conversation.
Reviews (0)
No reviews yet.
No comments yet.