에이전트의 작업 기록과 토큰 수로 완료한 성과별 비용과 재작업 비용을 정리합니다. 추정액과 실측액을 구분하고 근거를 담은 HTML, JSON, 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)가 작성했습니다. 정확한 사양은 아래 원문을 확인하세요.
AI가 SKILL.md의 내용에서 주의가 필요한 작업과 도입 전제를 확인했습니다. 점수는 실제로 실행한 결과(실행 검증)만으로 매깁니다.
점수에는 넣지 않았습니다. 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, JSON, CSV 보고서를 만듭니다.
풀 리퀘스트의 리뷰와 자동 검사를 지속적으로 확인합니다. 지적 사항을 검증하고 수정, 테스트, 반영을 반복하여 미해결 사항 없이 병합 가능한 상태까지 확인합니다.
코딩 작업을 하위 에이전트에 맡겨 build 실행, 준비된 PR 병합, 갱신된 main에서의 release를 순서대로 자동화합니다.
로컬 claude-mem의 작동 상태와 중요 기록 캐시를 점검합니다. 기록을 제외하거나 복원하고 계층 간 규칙 충돌을 보고하는 정기 운영용 스킬입니다.
릴리스 후 공개 패키지, 운영 서비스와 설치된 플러그인을 확인합니다. 늦게 도착한 CI 결과와 버그 보고도 추적하며 허용된 범위에서 수정을 진행합니다.
Grok Bot에 claude-mem을 설치해 작업 기록을 수집할 환경을 구성합니다. 기본 CMEM Pro 구성과 선택 가능한 host-login 구성, 원격 연결을 안내합니다.