Logo de Ccgs Resume Session

Ccgs Resume Session

Comunidade
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'.

Visão geral

Publicado porMinhLN1234
RepositórioClaude-Cowork-Game-Studio
Nome da habilidadeccgs-resume-session
Estrelas
79
Forks
31
Arquivos incluídos
Somente instruções
Links
  • Instruções em Markdown

    Um arquivo SKILL.md que o modelo carrega sob demanda, consumindo tokens apenas quando uma solicitação é realmente relevante para a habilidade.

  • Funciona com qualquer LLM

    As habilidades de IA são escritas em Markdown simples, não em código específico de um provedor. Por isso, funcionam com GPT, Claude, Gemini, Grok ou um modelo local.

  • Sem arquivos extras

    Tudo de que o modelo precisa está nas instruções — sem arquivos extras para sincronizar.

  • Código aberto

    Publicada por MinhLN1234 no GitHub. Leia os arquivos da habilidade antes de instalá-la.

Instalação

Instale a habilidade de IA Ccgs Resume Session no TypingMind para usá-la com qualquer LLM ou adicione-a a outro agente que leia SKILL.md.

1

Instalar no TypingMind

O TypingMind instala uma habilidade diretamente da pasta dela no GitHub — lê o arquivo SKILL.md, reúne os arquivos de recursos em um pacote e armazena o resultado localmente.

  1. Abra o app e vá para Plugins → Habilidades.
  2. Escolha "Instalar do GitHub".
  3. Cole a URL abaixo, que aponta para a pasta da habilidade, e confirme.
    https://github.com/MinhLN1234/Claude-Cowork-Game-Studio/tree/master/ccgs-resume-session
  4. Ative a habilidade em cada chat em que quiser disponibilizá-la.
Plugins → Habilidades → Adicionar habilidade → Via URL do GitHub. Depois, cole a URL da pasta e pressione Continuar.
2

Instalar em outro agente

Qualquer agente que leia o formato Agent Skills pode usar esta habilidade — copie a pasta para o diretório de habilidades desse agente.

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
Reinicie Claude Code após copiar para que a nova habilidade seja reconhecida.

Use no TypingMind

Ative Ccgs Resume Session em qualquer chat do TypingMind e o modelo cuida do resto. O nome e a descrição da habilidade ficam no prompt do sistema e, assim que uma solicitação relevante aparece, o modelo carrega as instruções completas automaticamente — sem precisar de acionamento manual e sem consumir tokens até que ela seja realmente usada.

O modelo carrega Ccgs Resume Session automaticamente assim que uma solicitação é relevante para essa habilidade.

Funciona com qualquer modelo de IA

Habilidades de IA são instruções em Markdown simples, não código específico de um provedor. Por isso, Ccgs Resume Session não fica vinculada ao modelo para o qual foi criada. Instale-a uma vez no TypingMind e use-a com GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama ou um modelo local executado por conta própria — tudo com suas próprias chaves de API.

  • Carregada apenas quando necessário

    O prompt do sistema contém apenas o nome e a descrição. As instruções são buscadas na primeira solicitação relevante, então uma habilidade sem uso não gera custo.

  • Troque de modelo durante a conversa

    Como a habilidade é composta de instruções, não de código, trocar de modelo não afeta seu funcionamento — o próximo modelo lê o mesmo arquivo SKILL.md.

Instruções da habilidade

Este é o conteúdo de SKILL.md que o modelo carrega. Leia antes de instalar — uma habilidade é um conjunto de instruções que seu modelo seguirá.

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.

Perguntas frequentes

O que a habilidade de IA Ccgs Resume Session faz?

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'.

Por que usar Ccgs Resume Session no TypingMind?

Porque basta instalar uma vez para usar com qualquer modelo. A habilidade Ccgs Resume Session é escrita em Markdown simples, e não em código específico de um provedor, então a mesma habilidade funciona com GPT-5, Claude, Gemini, Grok ou um modelo local — e é possível trocar de modelo no meio do chat sem que ela deixe de funcionar. No TypingMind, você usa suas próprias chaves de API e paga diretamente aos provedores, em vez de pagar uma assinatura por licença de usuário. Suas habilidades e chats permanecem no seu próprio armazenamento.

Como instalar Ccgs Resume Session no TypingMind?

Abra Plugins → Habilidades → Instalar do GitHub no TypingMind e cole https://github.com/MinhLN1234/Claude-Cowork-Game-Studio/tree/master/ccgs-resume-session. O TypingMind lê o arquivo SKILL.md e instala a habilidade para que possa ser ativada em cada chat.

Quais modelos de IA podem usar Ccgs Resume Session?

Qualquer modelo conectado no TypingMind. As habilidades de IA são instruções em Markdown simples, e não código específico de um provedor. Assim, GPT, Claude, Gemini, Grok e modelos locais podem carregar esta habilidade quando uma solicitação corresponder a ela.

Quantos modelos de IA posso usar com Ccgs Resume Session?

Quantos quiser. Desde que o modelo ofereça suporte a habilidades, é possível usar Ccgs Resume Session com ele — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama e outros — tudo no TypingMind com suas próprias chaves de API.

A habilidade de IA Ccgs Resume Session é gratuita?

A habilidade é publicada no GitHub por MinhLN1234. Consulte os termos de licenciamento no repositório. O pagamento é feito apenas ao seu provedor de IA pelos tokens usados.

O que são habilidades de IA?

Uma habilidade de IA é um conjunto reutilizável de instruções que ensina um modelo de IA a realizar uma tarefa específica. Ela segue o formato aberto Agent Skills: um arquivo SKILL.md com nome e descrição, além de scripts, templates ou arquivos de referência de que o modelo possa precisar. O modelo lê as instruções apenas quando sua solicitação corresponde à habilidade, então uma habilidade instalada não gera custos até ser usada.

Qual é a diferença entre habilidades de IA e plugins ou servidores MCP?

Um plugin ou servidor MCP oferece ao modelo novas ferramentas que ele pode acionar — código que é executado em algum lugar e retorna um resultado. Já uma habilidade de IA dá ao modelo o conhecimento e as orientações de que ele precisa: como abordar uma tarefa, quais etapas seguir e como deve ser um bom resultado. As habilidades são escritas em Markdown simples, por isso não precisam de servidor, chave de API nem ambiente de execução, e funcionam com qualquer modelo.

Ver lista completa

Crie seu próprio espaço de trabalho com IA agora

Inscreva-se na nossa newsletter para receber avisos sobre novos recursos e futuros sorteios 👇