timeline-report
Skill này làm gì
Công cụ này tạo một báo cáo chi tiết về lịch sử phát triển của dự án. Nó phân tích mọi ghi chú và cột mốc được ghi lại theo thời gian để kể lại 'hành trình' của dự án.
Khi nào nên dùng
- ✓Khi bạn muốn hiểu một dự án đã bắt đầu và phát triển như thế nào.
- ✓Khi bạn muốn xem các thời điểm thành công quan trọng và thử thách đã vượt qua.
- ✓Khi bạn yêu cầu một bản tóm tắt đầy đủ về lịch sử phát triển.
Liên kết skill
https://github.com/thedotmack/claude-mem/blob/main/plugin/skills/timeline-report/SKILL.mdSao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.
Cách dùng
Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.
Tin nhắn có sẵn để dán
Dành cho Claude Code, Codex hoặc Cursor: chạy lệnh trong thư mục dự án của bạn và skill sẽ được cài đặt.
Tải tệp SKILL.md về và thả vào thư mục skill của agent.
Ví dụ cách nhờ AI
“Tạo báo cáo hành trình cho dự án 'project-name'.”
5 skill mới mỗi tuần. Đọc chỉ 1 phút.
Cách hoạt động
Đầu tiên, công cụ xác định tên dự án và kiểm tra xem nó có nằm trong 'git worktree' hay không. Sau đó, nó thu thập toàn bộ lịch sử ghi chú của dự án từ dịch vụ 'claude-mem'. Cuối cùng, nó dùng thông tin này để viết một báo cáo tường thuật.
Nội dung kỹ thuật (SKILL.md gốc)
Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.
Timeline Report
Generate a comprehensive narrative analysis of a project's entire development history using claude-mem's persistent memory timeline.
When to Use
Use when users ask for:
- "Write a timeline report"
- "Journey into [project]"
- "Analyze my project history"
- "Full project report"
- "Summarize the entire development history"
- "What's the story of this project?"
Prerequisites
The claude-mem worker must be running. The project must have claude-mem observations recorded.
Resolve the worker port (do this once at the start and reuse $WORKER_PORT in every curl call below):
WORKER_PORT="${CLAUDE_MEM_WORKER_PORT:-$(node -e "const fs=require('fs'),p=require('path'),os=require('os');const uid=(typeof process.getuid==='function'?process.getuid():77);const fallback=String(37700+(uid%100));try{const s=JSON.parse(fs.readFileSync(p.join(os.homedir(),'.claude-mem','settings.json'),'utf-8'));process.stdout.write(String(s.CLAUDE_MEM_WORKER_PORT||fallback));}catch{process.stdout.write(fallback);}" 2>/dev/null)}"
This honors CLAUDE_MEM_WORKER_PORT env, then ~/.claude-mem/settings.json, then falls back to the per-UID default 37700 + (uid % 100) — matching how the worker itself picks its port. Required for multi-account setups (#2101) and any user who has overridden the default port (#2103).
Workflow
Step 1: Determine the Project Name
Ask the user which project to analyze if not obvious from context. The project name is typically the directory name of the project (e.g., "tokyo", "my-app"). If the user says "this project", use the current working directory's basename.
Worktree Detection: Before using the directory basename, check if the current directory is a git worktree. In a worktree, the data source is the parent project, not the worktree directory itself. Run:
git_dir=$(git rev-parse --git-dir 2>/dev/null)
git_common_dir=$(git rev-parse --git-common-dir 2>/dev/null)
if [ "$git_dir" != "$git_common_dir" ]; then
# We're in a worktree — resolve the parent project name
parent_project=$(basename "$(dirname "$git_common_dir")")
echo "Worktree detected. Parent project: $parent_project"
else
parent_project=$(basename "$PWD")
fi
echo "$parent_project"
If a worktree is detected, use $parent_project (the basename of the parent repo) as the project name for all API calls. Inform the user: "Detected git worktree. Using parent project '[name]' as the data source."
Step 2: Fetch the Full Timeline
Use Bash to fetch the complete timeline from the claude-mem worker API:
curl -s "http://localhost:${WORKER_PORT}/api/context/inject?project=PROJECT_NAME&full=true"
This returns the entire compressed timeline -- every observation, session boundary, and summary across the project's full history. The response is pre-formatted markdown optimized for LLM consumption.
Token estimates: The full timeline size depends on the project's history:
- Small project (< 1,000 observations): ~20-50K tokens
- Medium project (1,000-10,000 observations): ~50-300K tokens
- Large project (10,000-35,000 observations): ~300-750K tokens
If the response is empty or returns an error, the worker may not be running or the project name may be wrong. Try curl -s "http://localhost:${WORKER_PORT}/api/search?query=*&limit=1" to verify the worker is healthy.
Step 3: Estimate Token Count
Before proceeding, estimate the token count of the fetched timeline (roughly 1 token per 4 characters). Report this to the user:
Timeline fetched: ~X observations, estimated ~Yk tokens.
This analysis will consume approximately Yk input tokens + ~5-10k output tokens.
Proceed? (y/n)
Wait for user confirmation before continuing if the timeline exceeds 100K tokens.
Step 4: Analyze with a Subagent
Deploy an Agent (using the Task tool) with the full timeline and the following analysis prompt. Pass the ENTIRE timeline as context to the agent. The agent should also be instructed to query the SQLite database at ~/.claude-mem/claude-mem.db for the Token Economics section.
Agent prompt:
You are a technical historian analyzing a software project's complete development timeline from claude-mem's persistent memory system. The timeline below contains every observation, session boundary, and summary recorded across the project's entire history.
…
Câu hỏi thường gặp
“claude-mem” là gì?
'claude-mem' là dịch vụ lưu trữ lịch sử phát triển và ghi chú của một dự án.
“Git worktree” là gì?
'Git worktree' là cách làm việc trên các phần khác nhau của dự án cùng lúc. Công cụ cần biết dự án chính trong những trường hợp này.
Điều gì xảy ra nếu dự án không có ghi chú?
Nếu không có ghi chú nào được ghi trong 'claude-mem' cho dự án, công cụ sẽ không thể tạo báo cáo chi tiết.
Chi tiết
Mô tả gốc của tác giả
Generate a "Journey Into [Project]" narrative report analyzing a project's entire development history from claude-mem's timeline. Use when asked for a timeline report, project history analysis, development journey, or full project report.
repo: thedotmack/claude-mem
Độ phổ biến
- Sao GitHub
- 101k
- Vị trí xếp hạng
- #1281
- Giấy phép
- Apache-2.0
- Cập nhật
- 15/10/2026
Bình luận
- …
Thêm skill từ kho mã này
Agent Cost Report
101kGiúp agent của bạn tạo báo cáo chi phí chi tiết cho các hoạt động. Cho biết đã chi bao nhiêu cho token và dịch vụ.
claude-mem-install
101kGiúp agent của bạn thiết lập Claude-Mem trong các môi trường khác nhau. Cho phép chọn worker cục bộ hoặc từ xa và cấu hình quan sát.
mem-search
101kGiúp agent của bạn tìm kiếm các ký ức trong quá khứ. Hữu ích để nhớ lại các giải pháp trước đây hoặc công việc từ những phiên cũ.
host-observer
101kGiúp agent của bạn phản hồi các tác vụ quan sát của Claude-Mem. Chỉ được trả lời bằng 'skip_summary' hoặc một quan sát XML đầy đủ.
Skill tương tự
obsidian-vault-maintainer
394kGiúp agent của bạn giữ gọn kho ghi nhớ kiểu Obsidian, với liên kết wiki hoạt động tốt, thuộc tính nhất quán và các phần tự tạo an toàn.
wiki-maintainer
394kGiúp agent của bạn duy trì wiki bộ nhớ OpenClaw với các trang có thể lặp lại, khối được quản lý an toàn và kiểm tra mâu thuẫn hoặc thiếu sót.
obsidian
394kCho phép agent của bạn đọc, tìm, tạo và sửa ghi chú, công việc, liên kết và thuộc tính trong Obsidian bằng dòng lệnh Obsidian chính thức.