エージェントの作業履歴とトークン数から、完了した成果ごとの費用や手戻りの費用を整理します。推定額と実測額を区別し、根拠付きのHTMLやCSVなどにまとめるスキルです。
- 週ごとの支出と成果を確認したいとき
- 完了した成果ごとの費用比較
- 繰り返しや手戻りの費用調査
claude-memのローカルデータベースを定期スナップショットで保存し、バックアップ状況の確認や、保存したファイルからの復元を行うスキルです。
Set up, check, or restore local claude-mem database snapshots. Use when the user says "set up backups", "back up my memories", "backup status", or "restore my database".
実行スコア 未検証
インストール方法を見るclaude-memのデータベースを、指定した間隔でローカルにスナップショット保存する設定を行います。保存する間隔と、残しておくファイル数を決められます。現在のバックアップ状況では、最新の保存時刻、スナップショット数、直近のエラーを確認できます。保存済みファイルの一覧から復元すると、ワーカーがデータベースを切り替えて再起動し、復元前のデータベースも同じフォルダーに保存します。
claude-memの記憶データを定期的に保管したいときや、バックアップが動いているか確かめたいときに使えます。誤操作や不具合に備えて、過去のスナップショットへ戻したい場合にも向いています。保存先はこのマシン内です。
設定にはnpx claude-memを使います。設定ファイルには認証情報が含まれるため、内容を表示せず、ファイルのアクセス権を0600に保ちます。クラウド同期が有効な場合、復元後にスナップショットの位置から同期が再開し、クラウド側の変更を取り込むことがあります。
この紹介文は、公開されている SKILL.md をもとに AI(OpenAI Codex)が作成しました。正確な仕様は下の原文を確認してください。
SKILL.md の記述から、注意が要る操作と導入の前提を AI が確認しました。点数は実際に動かした結果(実行検証)だけで付けています。
点数には入れていません。 2026年10月27日 時点で AI(OpenAI Codex)が判定しました。目安なので、入れる前に原文も確認してください。
インストールする前に、エージェントに与えられる指示の中身を確認できます。
The installed worker snapshots ~/.claude-mem/claude-mem.db on a schedule
(VACUUM INTO, consistent while sessions run) and keeps the newest N under
~/.claude-mem/backups/auto/. Each snapshot is one standalone SQLite file.
Snapshots stay on this machine.
Preserve every unrelated setting and keep ~/.claude-mem/settings.json mode
0600. Never print the file's contents: it holds credentials.
Based on $ARGUMENTS:
setup or empty: 1. Check status, then 2. Enable snapshotsrestore: 3. Restorestatus: 1. Check status onlynpx claude-mem backup status
npx claude-mem start and retry.npx claude-mem update brings them once a release
includes them. Do not write the settings in step 2, and never say backups
are on.Ask (or default): interval in hours (default 24, range 1 to 168) and how many snapshots to keep (default 7, range 1 to 100). Then write the settings without echoing anything else in the file:
node - <<'EOF'
const fs = require('fs'), os = require('os'), path = require('path');
const intervalHours = 'PASTE_INTERVAL_HOURS_HERE'; // e.g. '24'
const retainCount = 'PASTE_RETAIN_COUNT_HERE'; // e.g. '7'
const dir = path.join(os.homedir(), '.claude-mem');
const file = path.join(dir, 'settings.json');
fs.mkdirSync(dir, { recursive: true });
const settings = fs.existsSync(file) ? JSON.parse(fs.readFileSync(file, 'utf8')) : {};
const target = settings.env && typeof settings.env === 'object' ? settings.env : settings;
target.CLAUDE_MEM_BACKUP_ENABLED = 'true';
target.CLAUDE_MEM_BACKUP_INTERVAL_HOURS = intervalHours;
target.CLAUDE_MEM_BACKUP_RETAIN_COUNT = retainCount;
fs.writeFileSync(file, JSON.stringify(settings, null, 2) + '\n', { mode: 0o600 });
fs.chmodSync(file, 0o600);
console.log('backups enabled: every ' + intervalHours + 'h, keeping ' + retainCount);
EOF
Restart the worker so the schedule starts, then confirm with step 1. Tell the user backups are on only when that status reports them enabled:
npx claude-mem restart
npx claude-mem backup status
The first automatic snapshot lands about five minutes after the worker starts. To take one now:
npx claude-mem backup run
npx claude-mem backup list
npx claude-mem restore <file>
npx claude-mem backup status
restore stages the snapshot and restarts the worker (it also starts a
worker that is not running). The new worker swaps the database in before it
opens it, saves the database it replaced in the same folder as
claude-mem-<timestamp>-pre-restore.db (restore that file to undo; it counts
toward the retain count), and records the outcome. With cloud sync on, the
restored database resumes syncing from the snapshot's position and can pull
back changes that reached the cloud after it. backup status then prints a "Last restore" line: on success it
names the saved copy; on failure it gives the reason, and the worker kept
the database it had.
Report the snapshot count, the last snapshot time, any error, and the last restore outcome if there was one.
まだレビューはありません。使ってみた感想をお寄せください。
ログインなしで書き込めます。使ってみた感想、質問、動かなかった環境などを気軽にどうぞ。
まだコメントはありません。最初のコメントを書いてみませんか。
エージェントの作業履歴とトークン数から、完了した成果ごとの費用や手戻りの費用を整理します。推定額と実測額を区別し、根拠付きのHTMLやCSVなどにまとめるスキルです。
プルリクエストのレビューと自動チェックを継続確認し、指摘の検証、修正、テスト、反映を繰り返して、未解決事項がなくマージできる状態まで見届けるスキル。
コーディング作業をサブエージェントに任せ、buildの実行から準備済みPRのマージ、更新後のmainを起点とするreleaseまでを順に自動化するスキル。
ローカルのclaude-memの稼働確認と重要記録のキャッシュ更新を行い、記録の除外・復元や階層間のルール競合を報告する定期運用向けスキル。
リリース後の公開パッケージ、本番サービス、導入済みプラグインを実際に確認し、遅れて届くCI結果や不具合報告も追いながら、許可された範囲で修正を進めるスキル。
Grok Botにclaude-memを導入し、作業記録を取り込む環境を整えるスキルです。標準のCMEM Pro構成に加え、任意のローカル構成やリモート接続も案内します。