Logo Checkpoint

Checkpoint

Cộng đồng
dtiger1889-ops
checkpoint

Updates the current project's CHECKPOINT.md in place so another session can resume from verified state. Use for /checkpoint, "save progress", "update checkpoint", a completed unit of work, or impending compaction. Preserves history, records unfinished work, and runs bundled validation and size checks. Project-specific conventions override the default schema.

Tổng quan

Nhà phát hànhdtiger1889-ops
Kho mãclaude-harness-toolbox
Tên kỹ năngcheckpoint
Sao
33
Bản fork
1
Tệp đi kèm
4
Giấy phépMIT
Liên kết
  • Hướng dẫn bằng Markdown

    Tệp SKILL.md được mô hình tải khi cần, nên chỉ tốn token khi có yêu cầu thực sự phù hợp.

  • Dùng được với mọi LLM

    Kỹ năng AI dùng hướng dẫn viết bằng Markdown thay vì mã dành riêng cho một nhà cung cấp, nên dùng được với GPT, Claude, Gemini, Grok hoặc mô hình cục bộ.

  • 4 tệp đi kèm

    Các tập lệnh, mẫu và tài liệu tham khảo mà mô hình có thể đọc khi làm việc. Các tệp chỉ cho phép đọc và không bao giờ được thực thi.

  • Mã nguồn mở

    Được dtiger1889-ops công bố trên GitHub. Hãy đọc các tệp nguồn trước khi cài đặt.

Cài đặt

Cài đặt kỹ năng AI Checkpoint trong TypingMind để dùng với bất kỳ LLM nào, hoặc thêm vào một tác nhân AI khác có thể đọc SKILL.md.

1

Cài đặt trong TypingMind

TypingMind cài đặt kỹ năng trực tiếp từ thư mục GitHub — đọc SKILL.md, đóng gói các tệp tài nguyên và lưu kết quả trên máy.

  1. Mở ứng dụng và vào Plugin → Kỹ năng.
  2. Chọn "Cài đặt từ GitHub".
  3. Dán URL của thư mục kỹ năng được hiển thị bên dưới rồi xác nhận.
    https://github.com/dtiger1889-ops/claude-harness-toolbox/tree/main/skills/checkpoint
  4. Bật kỹ năng trong từng cuộc trò chuyện mà bạn muốn sử dụng kỹ năng đó.
Plugin → Kỹ năng → Thêm kỹ năng → Từ URL GitHub, sau đó dán URL thư mục và nhấn Tiếp tục.
2

Cài đặt trong tác nhân AI khác

Bất kỳ tác nhân AI nào đọc được định dạng Agent Skills đều có thể dùng kỹ năng này — hãy sao chép thư mục vào thư mục kỹ năng của tác nhân AI đó.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/dtiger1889-ops/claude-harness-toolbox.git /tmp/claude-harness-toolbox
mkdir -p .claude/skills
cp -r /tmp/claude-harness-toolbox/skills/checkpoint .claude/skills/checkpoint
Khởi động lại Claude Code sau khi sao chép để ứng dụng nhận kỹ năng mới.

Sử dụng trong TypingMind

Bật Checkpoint trong bất kỳ cuộc trò chuyện nào trên TypingMind, mô hình sẽ tự xử lý phần còn lại. Tên và mô tả của kỹ năng nằm trong prompt hệ thống. Ngay khi có yêu cầu phù hợp, mô hình tự tải toàn bộ hướng dẫn — bạn không cần gọi thủ công và kỹ năng không tốn token cho đến khi thực sự được dùng.

Mô hình tự nạp Checkpoint ngay khi có yêu cầu phù hợp.

Dùng được với mọi mô hình AI

Kỹ năng AI là các hướng dẫn Markdown thuần túy, không phải mã dành riêng cho một nhà cung cấp, nên bạn có thể dùng Checkpoint với cả những mô hình khác ngoài mô hình ban đầu. Chỉ cần cài đặt một lần trong TypingMind rồi dùng với GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama hoặc mô hình cục bộ do bạn tự chạy — tất cả đều dùng khóa API của riêng bạn.

  • Chỉ tải khi cần

    Prompt hệ thống chỉ chứa tên và mô tả. Hướng dẫn được tải khi có yêu cầu phù hợp đầu tiên, nên khi kỹ năng chưa được dùng, bạn không tốn token cho phần hướng dẫn.

  • Đổi mô hình ngay trong cuộc trò chuyện

    Vì kỹ năng là hướng dẫn chứ không phải mã, việc đổi mô hình không làm kỹ năng ngừng hoạt động — mô hình tiếp theo vẫn đọc cùng tệp SKILL.md.

Hướng dẫn của kỹ năng

Đây là nội dung SKILL.md mà mô hình tải. Hãy đọc trước khi cài đặt — kỹ năng là những hướng dẫn mà mô hình của bạn sẽ làm theo.

Checkpoint

Update existing state in place; do not create timestamped handoffs or replace a project's established schema. Honor an explicit stop after saving the requested partial state.

Resolve <skill-dir> to the directory containing this loaded SKILL.md, including plugin installations. Bundled helpers require PowerShell 5.1+ or pwsh 7+. Run them through native PowerShell.

1. Read and choose depth

Locate the nearest project CHECKPOINT.md and read it to EOF, continuing targeted reads if output is truncated. Read applicable project instructions.

Use a light close when this session already read and kept the file current: reconcile the live sections, add the completed unit's changelog record where the project keeps one, then validate and finish. Use a full review on a cold start, when the stamp is older than 30 days, or when requested. A light close still runs validation.

Verify claims you carry forward against the relevant artifacts. Recheck stale claims, resolve relative dates to absolute dates, and label uncertainty. A current stamp is not proof that every claim has been tested.

2. Reconcile live state

Preserve the existing sections. Default project schema:

  • Last updated: UTC timestamp and existing version tag only.
  • Status: present state, normally one line; for live data, point to the live source.
  • Goal: concrete completion condition, normally one to three lines.
  • Research: only during active milestone research.
  • Key decisions: choices still relevant to current work, attributed to their actual author. Point to durable decision records for settled detail.
  • Open threads: actual unfinished actions, dependencies, or user-requested watches.
  • Files that matter: paths with a short explanation.
  • Harness changelog: immutable completed-work history when the project keeps one.
  • Next step: one action, an explicit hold, or a pointer to choose from open work. The live user request outranks this suggestion.

Sweep the session for decisions, constraints, corrections, rejected approaches, and unfinished work. Record rejected approaches with their evidence and any condition for revisiting them. Keep session-specific feedback scoped to this work; only explicit or established standing preferences belong in permanent instructions.

Remove completed open items after ensuring they have a durable record. Relocate content to its real owner before removing it; never silently discard useful state.

An unresolved known defect remains open even when it cannot be checked now. Run checks within the current authorized scope when feasible. Do not invent future reassurance checks or watches with no evidence of a problem; retain watches the user explicitly requested.

3. Tag actionable threads

For the default tagged schema, end each top-level open bullet with:

  • [owner] [low] or [owner] [high] when the next step needs the user's hands or an explicit decision.
  • [agent] [low] or [agent] [high] for agent work.

Use low when an executor can act from the bullet alone, high when substantial analysis or judgment remains. Spell out the action in plain words. Optional [gates: go] or [blocked-by: dependency] tags precede the final pair. Sub-bullets need no tags.

The finisher sorts owner-low, owner-high, agent-low, agent-high. Model selection still follows the host's policy; these tags are planning hints.

4. Preserve history

Every completed unit gets an entry in the project's existing changelog, including research-only work. Default inline entries are newest-first ### YYYY-MM-DD -- summary (vN) blocks under Harness changelog. If the project uses a different history store or append helper, follow it.

Existing entries are immutable, including entries added earlier this session. Use surgical edits; carry old history byte-identically. Only correct a factual error when needed and record that correction in the new entry. Do not summarize or merge history to fit a cap.

Archive old entries only for overflow, using the bundled byte-preserving mover. Keep live sections concise and history in its proper section.

5. Validate before finishing

powershell
& "<skill-dir>/verify_checkpoint_claims.ps1" -Checkpoint "<checkpoint path>"

Exit 2 blocks completion for dead paths or undispositioned stale dated threads. Fix errors and rerun. Reconcile advisory prompts about state, attribution, tags, jargon, and verification claims; do not relay internal diagnostics as the user-facing report.

For a dated thread older than 30 days, verify and prune if resolved, or add [kept YYYY-MM-DD: specific reason]. A kept date must be within 30 days; its reason must be at least 12 characters and not reused for another bullet. An undated owner thread is advisory.

Configuration:

  • HARNESS_WORKSPACE_ROOT overrides the default parent directory used for cross-project paths.
  • HARNESS_NOTES_ROOT supplies the notes root when required.
  • HARNESS_OWNER_TAG names your own owner tag (for example Sam makes [Sam] count like [owner]).
  • staleness: advisory in the project's .checkpoint-verify-ignore changes stale-date errors to prompts; dead paths still fail.

These checks detect structural claims and date patterns, not semantic correctness. Read and assess the evidence yourself.

6. Finish and enforce limits

powershell
& "<skill-dir>/finish-checkpoint.ps1" -Checkpoint "<checkpoint path>"

Run once when each touched checkpoint is final. The helper stamps actual UTC, preserves the existing bare version tag, sorts threads, and measures limits. Update a changed version tag before running.

Default limits are 120 lines and 30 KB. Section guidance: Status one line/about 300 characters, Goal three lines, Next step two lines/about 350 characters. Open bullets over 700 characters get warnings. Section budgets are advisory unless <!-- checkpoint-budgets: strict --> appears in the first five lines.

On overflow, the finisher archives oldest changelog entries byte-verbatim to archive/harness_changelog.md, keeps the newest two inline, and maintains an Older entries pointer. If it still exits 2, re-read the modified file, relocate live detail to its owner, tighten live sections, and rerun. Report a remaining blocker; do not claim successful completion.

Re-read before any edit after a helper run because it changed the file on disk. For rare manual archive ranges, use the bundled archive-changelog.ps1 with -Checkpoint, -Archive, -FromLine, -ToLine, and -AtTop; read its parameter help before choosing a range. Verify the pointer afterward. Never use model regeneration for the move.

7. Report

Confirm the state saved and its path briefly. Include material open work or validation limitations; omit housekeeping output.

Restricted runtimes

Use a connected filesystem, checking reachable roots when necessary. Do not assume a container shell reaches the user's disk.

Without PowerShell, reconcile state manually, use a real UTC clock, measure line and byte counts with available tools, and preserve history exactly. Record "helpers not run" and the missing validation in the new entry. If a byte-preserving archive move is unavailable, leave history intact and record the overflow blocker rather than approximate the move or claim success.

Tệp đi kèm

Khi kỹ năng đã được tải, mô hình có thể đọc các tệp này nếu cần. Các tệp này chỉ dùng để đọc và không bao giờ được thực thi.

Câu hỏi thường gặp

Kỹ năng AI Checkpoint làm được gì?

Updates the current project's CHECKPOINT.md in place so another session can resume from verified state. Use for /checkpoint, "save progress", "update checkpoint", a completed unit of work, or impending compaction. Preserves history, records unfinished work, and runs bundled validation and size checks. Project-specific conventions override the default schema.

Vì sao nên dùng Checkpoint trên TypingMind?

Vì bạn chỉ cần cài một lần rồi dùng với bất kỳ mô hình nào. Checkpoint là nội dung Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên cùng một kỹ năng có thể chạy trên GPT-5, Claude, Gemini, Grok hoặc mô hình trên thiết bị — và bạn có thể đổi mô hình ngay trong cuộc trò chuyện mà kỹ năng vẫn hoạt động. TypingMind dùng khóa API riêng của bạn, nên bạn thanh toán trực tiếp cho nhà cung cấp thay vì trả phí thuê bao theo suất người dùng, đồng thời kỹ năng và các cuộc trò chuyện vẫn nằm trong bộ lưu trữ của bạn.

Làm thế nào để cài Checkpoint trong TypingMind?

Mở Plugin → Kỹ năng → Cài đặt từ GitHub trong TypingMind rồi dán https://github.com/dtiger1889-ops/claude-harness-toolbox/tree/main/skills/checkpoint. TypingMind đọc tệp SKILL.md, đóng gói các tệp đi kèm rồi cài đặt cả gói dưới dạng một kỹ năng mà bạn có thể bật cho từng cuộc trò chuyện.

Những mô hình AI nào có thể dùng Checkpoint?

Bất kỳ mô hình nào bạn kết nối trong TypingMind. Kỹ năng AI là các hướng dẫn bằng Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên GPT, Claude, Gemini, Grok và các mô hình chạy trên thiết bị đều có thể tải kỹ năng này khi có yêu cầu phù hợp.

Có thể dùng Checkpoint với bao nhiêu mô hình AI?

Bao nhiêu cũng được. Miễn là mô hình hỗ trợ kỹ năng, bạn có thể dùng Checkpoint với mô hình đó — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama và nhiều mô hình khác — tất cả đều trên TypingMind với khóa API riêng của bạn.

Kỹ năng AI Checkpoint có miễn phí không?

Có. Kỹ năng này được dtiger1889-ops phát hành trên GitHub theo giấy phép MIT. Bạn chỉ trả tiền cho nhà cung cấp AI của mình theo số token đã dùng.

Kỹ năng AI là gì?

Kỹ năng AI là một gói hướng dẫn có thể tái sử dụng, chỉ cho mô hình AI cách thực hiện một tác vụ cụ thể. Kỹ năng tuân theo định dạng mở Agent Skills: một tệp SKILL.md chứa tên và mô tả, cùng các tập lệnh, mẫu hoặc tệp tham khảo mà mô hình có thể cần. Mô hình chỉ đọc hướng dẫn khi yêu cầu của bạn phù hợp với kỹ năng, nên kỹ năng đã cài đặt không phát sinh chi phí cho đến khi được sử dụng.

Kỹ năng AI khác gì với plugin hoặc máy chủ MCP?

Plugin hoặc máy chủ MCP cung cấp các công cụ mới mà mô hình có thể gọi. Khi mô hình gọi một công cụ, mã của công cụ đó chạy ở đâu đó và trả về kết quả. Còn kỹ năng AI cung cấp kiến thức và quy trình: cách tiếp cận tác vụ, các bước cần thực hiện và những tiêu chí mà kết quả cần đáp ứng. Kỹ năng chỉ là nội dung Markdown, nên không cần máy chủ, khóa API hay môi trường thực thi và hoạt động với mọi mô hình.

Xem tất cả

Tạo ngay không gian làm việc AI riêng

Đăng ký bản tin của chúng tôi để nhận thông báo về tính năng mới và các đợt tặng quà sắp tới 👇