Logo Ccgs Resume Session

Ccgs Resume Session

Cộng đồng
MinhLN1234
ccgs-resume-session

Load production/session-state/active.md at the start of a work session, check it against the current sprint, stories and files on disk, and give a fixed-format briefing (state, what not to retry, blockers, exact next step) before doing any work. Use when starting a new Cowork session on an existing project, or when the user says 'resume', 'tiếp tục', 'làm tiếp hôm qua', 'where were we', 'continue from last session'.

Tổng quan

Nhà phát hànhMinhLN1234
Kho mãClaude-Cowork-Game-Studio
Tên kỹ năngccgs-resume-session
Sao
79
Bản fork
31
Tệp đi kèm
Chỉ có hướng dẫn
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ộ.

  • Hướng dẫn có đủ mọi thứ cần thiết

    Mọi thứ mô hình cần đều nằm trong hướng dẫn — không có tệp bổ sung cần đồng bộ.

  • Mã nguồn mở

    Được MinhLN1234 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 Ccgs Resume Session 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/MinhLN1234/Claude-Cowork-Game-Studio/tree/master/ccgs-resume-session
  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/MinhLN1234/Claude-Cowork-Game-Studio.git /tmp/Claude-Cowork-Game-Studio
mkdir -p .claude/skills
cp -r /tmp/Claude-Cowork-Game-Studio/ccgs-resume-session .claude/skills/ccgs-resume-session
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 Ccgs Resume Session 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 Ccgs Resume Session 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 Ccgs Resume Session 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.

Cowork Notes (read first)

Adapted from ECC's /resume-session command (github.com/affaan-m/ECC, MIT) for the CCGS pipeline on Claude Cowork. Written natively for Cowork, so there is nothing to substitute:

  1. Storage: reads production/session-state/active.md in the user's connected project folder. Older snapshots are in production/session-state/archive/. Never reads ~/.claude/.
  2. Pairs with: ccgs-save-session, which writes the snapshot this skill reads.
  3. Read-only: this skill never edits active.md or any archived snapshot. The snapshot is a historical record; the next ccgs-save-session replaces it.
  4. Hooks: none. This skill is invoked by hand.

Resume Session

Load the last saved state, verify it against the project as it is now, and brief the user before touching anything. The point is to start from facts on disk, not from what the last session believed.

Phase 1: Find the Snapshot

If a path is given, read exactly that file, even if a newer one exists.

If a date is given (YYYY-MM-DD), look in production/session-state/archive/ for files starting with that date and pick the latest one. If none, say so and stop.

If nothing is given:

  1. Read production/session-state/active.md.
  2. If it does not exist, or it contains only ## Session Extract blocks with no # Session State snapshot at the top (the project used other CCGS skills but never ran ccgs-save-session), say so plainly, show the most recent extract block if there is one, and offer to run ccgs-start or work from the latest sprint plan instead. Stop there.
  3. If it is empty or only headings and placeholders, check archive/ for the newest substantive file and tell the user which one you are loading instead.

Phase 2: Read Everything, Then Verify Against Disk

Read the whole snapshot before summarizing. Then check it against the project as it is now:

  1. Files. For every row in "Current State of Files", confirm the file exists. Missing file: WARNING: [path] is in the snapshot but not on disk.
  2. Story status. If an active story is named, read the story file and production/sprint-status.yaml. If the status there differs from the snapshot (for example the snapshot says In progress but the story is now Complete), report the mismatch. The files on disk win.
  3. Sprint. If a newer sprint file exists in production/sprints/ than the one named in the snapshot, report it.
  4. Age. If "Last saved" is more than 7 days ago: WARNING: snapshot is [N] days old. Things may have changed.
  5. Decisions not yet recorded. For each item in "Decisions Made (not yet in a GDD or ADR)", grep the named GDD or ADR. If it has since been recorded, mark it resolved in the briefing. If not, keep it in the briefing as still pending.
  6. Carried extracts. Any ## Session Extract block appended below the snapshot after it was saved belongs to work done after the save. Include it in the briefing as newer than the snapshot.
  7. Lessons. If production/lessons/INDEX.md exists, pick the lessons whose applies-to matches the system of the active story (or all). List at most 5 by slug and their "When to apply" line. Do not load their full text unless the next step needs it.

Phase 3: Brief the User

Respond in exactly this format. Do not skip a section, even if it is empty.

SESSION LOADED: [path]
Saved: [date] ([N] days ago)

PROJECT: [project]  |  TOPIC: [topic]
ACTIVE STORY: [path and title, or None]

WHAT WE'RE BUILDING:
[2 to 3 sentences in your own words]

CURRENT STATE:
Working (with evidence): [count] items
In progress: [files]
Not started: [files]

WHAT NOT TO RETRY:
- [every failed approach and its reason, or "None recorded"]

DECISIONS STILL NOT IN A GDD/ADR:
- [decision → target doc, or "None"]

BLOCKERS / OPEN QUESTIONS:
- [items, or "None"]

DRIFT SINCE SAVE:
- [missing files, status mismatches, newer sprint, newer extracts, or "None"]

RELEVANT LESSONS:
- [slug: When to apply, or "None"]

NEXT STEP:
[exact next step from the snapshot, or "Not defined: pick from Not Tried Yet or Blockers"]

End with one line: "Ready to continue. Proceed with the next step?"

Phase 4: Wait

Do not start work automatically. Do not edit any file.

  • If the user says yes or continue and the next step is defined, do exactly that step, using the skill it names if any.
  • If DRIFT SINCE SAVE listed anything that changes the next step (the story is already complete, the file is gone), say so and propose the corrected next step instead of following the stale one.
  • If no next step is defined, ask where to start and suggest one item from "Not Tried Yet" or the next READY story from the current sprint.

Rules

  • "What Not To Retry" is always shown. It is the main reason this skill exists.
  • Files on disk beat the snapshot. The snapshot beats memory.
  • Balance values quoted in the snapshot are not authoritative. If the next step touches a numeric rule, read the value from the GDD, not from the snapshot.
  • At the end of the resumed session, suggest running ccgs-save-session again.

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

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

Load production/session-state/active.md at the start of a work session, check it against the current sprint, stories and files on disk, and give a fixed-format briefing (state, what not to retry, blockers, exact next step) before doing any work. Use when starting a new Cowork session on an existing project, or when the user says 'resume', 'tiếp tục', 'làm tiếp hôm qua', 'where were we', 'continue from last session'.

Vì sao nên dùng Ccgs Resume Session 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. Ccgs Resume Session 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 Ccgs Resume Session trong TypingMind?

Mở Plugin → Kỹ năng → Cài đặt từ GitHub trong TypingMind rồi dán https://github.com/MinhLN1234/Claude-Cowork-Game-Studio/tree/master/ccgs-resume-session. TypingMind đọc tệp SKILL.md rồi cài đặt kỹ năng để 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 Ccgs Resume Session?

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 Ccgs Resume Session 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 Ccgs Resume Session 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 Ccgs Resume Session có miễn phí không?

Kỹ năng này được MinhLN1234 phát hành trên GitHub. Hãy xem điều khoản giấy phép trong kho mã. 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 👇