用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/tomevault-io/skills-registry --skill claude-code-history命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
| Use when this capability is needed.
> Use when this capability is needed.
Review architecture and API design for the vfs-s3 project. Use when the user mentions @architect, asks to review an issue's design, discuss module boundaries, API shape, or architectural decisions for vfs-s3. Also trigger when the user wants to create an ADR (Architecture Decision Record) or evaluate a technical approach for the project. Intended for dispatch from Codex automation or Claude routines; GitHub trigger phrase: @vfs-s3-bot please prepare design doc Use when this capability is needed.
基于 SOC 职业分类
正在显示 SKILL.md
| name | claude-code-history |
| description | name: claude-code-history Use when this capability is needed. |
name: claude-code-history description: Query and summarize Claude Code terminal session history triggers:
Query the user's Claude Code terminal session history to:
Note: This is read-only and on-demand. We don't auto-sync or store this data.
Claude Code stores data at /hosthome/.claude/:
| Path | Contains |
|---|---|
history.jsonl | User messages with timestamps, projects, session IDs |
projects/<project-path>/ | Full conversation logs per session |
todos/ | Task lists from sessions |
# Get recent messages with projects and timestamps
tail -50 /hosthome/.claude/history.jsonl | \
jq -r '[.timestamp, .project, .display[:80]] | @tsv' | \
column -t -s $'\t'
# List sessions for a specific project (e.g., myproject)
ls -lt /hosthome/.claude/projects/-home-user-Workspace-myproject/ 2>/dev/null | head -10
# Or search history for project mentions
grep -i "myproject" /hosthome/.claude/history.jsonl | \
jq -r '[(.timestamp/1000 | strftime("%Y-%m-%d %H:%M")), .display[:60]] | @tsv' | \
tail -20
# Session files are JSONL with message objects
# Find the most recent session file for a project
LATEST=$(ls -t /hosthome/.claude/projects/-home-user-Workspace-myproject/*.jsonl 2>/dev/null | head -1)
# Extract user messages from that session
cat "$LATEST" | jq -r 'select(.type == "human") | .message.content' | head -50
# Search for a topic across all session history
grep -r "API design" /hosthome/.claude/projects/ 2>/dev/null | head -20
tail -30 /hosthome/.claude/history.jsonlls /hosthome/.claude/projects/ | grep -i <project>ls -t <project-dir>/*.jsonl | head -1User: "What was I working on in Claude Code recently?"
PCP:
# Get last 20 distinct project/message pairs
tail -100 /hosthome/.claude/history.jsonl | \
jq -r '[(.timestamp/1000 | strftime("%m-%d %H:%M")), .project, .display[:50]] | @tsv' | \
sort -u | tail -20
Then summarize: "In the last few hours, you worked on:
Converted and distributed by TomeVault — claim your Tome and manage your conversions.