一键导入
archive-telemetry
Archive Claude Code telemetry logs to dated files (YYYY-MM-DD~YYYY-MM-DD.json). Use when user wants to archive, rotate, or save telemetry logs.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Archive Claude Code telemetry logs to dated files (YYYY-MM-DD~YYYY-MM-DD.json). Use when user wants to archive, rotate, or save telemetry logs.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
在 4 個 Rails 專案(sf_project / jv_project / core_web / e_trading)跑 local dev 指令——console、server、rspec、migrate、rake、bundle。這些指令一律「進 Tilt 起的 web container」跑,不在 host 直接跑。Use when 要對這些 rails 專案開 console、跑 rspec、跑 migration / rake / bundle,或 local server(sf.local / jv.local / core.local / et.local)連不上要排查時。
資料遷移工具,從 Production 安全地遷移資料到 Local/Staging 環境。自動清理敏感資料,硬編碼禁止反向遷移。
Generates optimized prompts for any AI tool. Use when writing, fixing, improving, or adapting a prompt for LLM, Cursor, Midjourney, image AI, video AI, coding agents, or any other AI tool.
BA 報告撰寫指引。在撰寫、審查或修改 BA 報告(-ba.md)時使用。確保 BA 報告使用純業務語言,不包含任何技術術語。
AWS EC2 operations including checking service status, viewing logs, server health monitoring, and production/staging environment management. Use when user asks to check/view/查看 production/staging servers, service status/狀態/狀況, logs/日誌, or perform remote operations like deployment and database backup.
本地效能測試工具,用於測量程式碼執行時間、記憶體使用、N+1 查詢偵測等。支援 Ruby、JavaScript、Python。
| name | archive-telemetry |
| description | Archive Claude Code telemetry logs to dated files (YYYY-MM-DD~YYYY-MM-DD.json). Use when user wants to archive, rotate, or save telemetry logs. |
| version | 1.0.0 |
將 ~/claude-telemetry/logs.json 歸檔到指定目錄,檔名以資料的日期範圍命名。
歸檔目錄解析順序:
CLAUDE_TELEMETRY_ARCHIVE_DIR 有設定(例如指向 Google Drive 雲端同步資料夾),優先使用~/claude-telemetry/archive/使用本 skill 的 base directory 執行 scripts/archive.sh(路徑由 Claude 根據 skill 載入位置解析,勿寫死絕對路徑):
bash "${CLAUDE_PROJECT_DIR:-.}/.claude/skills/archive-telemetry/scripts/archive.sh"
若 skill 安裝在 user-level(~/.claude/skills/archive-telemetry),改用:
bash "$HOME/.claude/skills/archive-telemetry/scripts/archive.sh"
腳本輸出格式為 OK|檔案路徑|行數|檔案大小。
成功時回報:
失敗時顯示 ERROR 訊息並說明原因。
歸檔後列出目前所有歸檔檔案:
ls -lh ~/claude-telemetry/archive/
~/claude-telemetry/logs.json${CLAUDE_TELEMETRY_ARCHIVE_DIR:-~/claude-telemetry/archive}/YYYY-MM-DD~YYYY-MM-DD.jsonCLAUDE_TELEMETRY_ARCHIVE_DIR 環境變數將歸檔導向團隊雲端資料夾(例如 Google Drive 共用雲端硬碟)_1, _2...