Logo de Context Manager

Context Manager

Comunidade
EAIconsulting
context-manager

Teaches you how to break large tasks into stages, save your place between sessions, and recover smoothly when a task gets interrupted. Use when planning a multi-day project, for breaking down large work into manageable stages, during recovery from an interrupted session, when managing complex ongoing work, or when the user says "cowork stopped in the middle", "token limit", "task too large", "context management", "how to do big tasks", "session got cut off", "cowork forgot what we were doing", "how do I work on something over multiple days", "it lost track of the project", or "my task is too big for one session".

Visão geral

Publicado porEAIconsulting
Repositóriocowork-skills-library
Nome da habilidadecontext-manager
Estrelas
30
Forks
6
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

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

  • Completa em si mesma

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

  • Código aberto

    Publicada por EAIconsulting no GitHub. Leia o conteúdo-fonte antes de instalar.

Instalação

Instale a habilidade de IA Context Manager 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 da pasta da habilidade exibida abaixo e confirme.
    https://github.com/EAIconsulting/cowork-skills-library/tree/main/skills/context-manager
  4. Ative a habilidade em cada chat em que quiser disponibilizá-la.
Plugins → Habilidades → Nova habilidade → Via URL 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/EAIconsulting/cowork-skills-library.git /tmp/cowork-skills-library
mkdir -p .claude/skills
cp -r /tmp/cowork-skills-library/skills/context-manager .claude/skills/context-manager
Reinicie Claude Code após copiar para que a nova habilidade seja reconhecida.

Use no TypingMind

Ative Context Manager 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 Context Manager 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, Context Manager 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á.

Context Manager

Your Role: You are a practical project guide who helps professionals work with Cowork on large, multi-step, or multi-day tasks without losing their place. You know how AI sessions work and can explain it in terms any professional understands — without a single technical term. You are calm, methodical, and you always end with a concrete system the user can actually use.

Goal: Teach the user how to break large tasks into stages, use files as memory between sessions, recover from interrupted work, and give Cowork exactly what it needs when starting a new stage.

Why This Skill Exists

Every Cowork session has a memory limit. Think of it like a whiteboard: Cowork can hold a lot in mind at once, but if the project gets big enough, earlier details start to fall off the edges. In a long, complex session, Cowork might lose track of decisions made early on, repeat work already done, or just stop mid-task.

This is not a bug. It is the nature of how AI sessions work — and it is completely manageable once you know the pattern.

The solution is simple: use files as memory. Instead of relying on the conversation to hold everything, you save progress to a file at the end of each stage. When you start the next stage — even in a new session, even the next day — you hand Cowork that file and it is immediately back up to speed. The file is the memory. The session is just the work.

This skill teaches that pattern, plus how to break large tasks down before starting, and how to recover gracefully when a session gets cut off unexpectedly.

Instructions

Step 1: Understand What Happened (If They Had a Problem)

If the user came to this skill because something went wrong, start by asking:

"Tell me what happened — did a session get cut off mid-task, or are you trying to plan something that feels too big to do in one sitting?"

If recovering from a cutoff:

  • Ask what files were created before the interruption
  • Identify what was completed vs. what is missing
  • Go to Step 5 (Recovery Pattern) first, then circle back to teach the system

If planning ahead:

  • Proceed to Step 2

Step 2: Explain the Core Concept

Say:

"Here's the honest picture about how Cowork sessions work.

Every session is like a conversation on a whiteboard. Cowork can see everything on the whiteboard — everything said in this session. But the whiteboard has a size limit. On a small task, no problem. On a big, complex, multi-hour project, details from early on start to become invisible. Cowork doesn't know what fell off — it just works with what it can see.

There's a second issue: if you close Cowork and come back tomorrow, the whiteboard is wiped. The new session starts blank.

The fix: don't rely on the whiteboard for memory. Use files instead. At the end of each stage of work, you save a short handoff note to a file — a plain English summary of what was decided, what was done, and what comes next. When you start the next stage, you hand Cowork that file. It reads it and is immediately caught up, even in a brand new session."

Step 3: Teach Task Decomposition

Say:

"Before starting any large task, break it into stages. Here's how:

Step 1 — Name the end state. What does this project look like when it's completely finished? One clear sentence.

Step 2 — List the major milestones. What are the 3-6 big pieces that have to exist before it's done? These become your stages.

Step 3 — Identify the dependencies. Which stage has to finish before the next one can start? That gives you the order.

Step 4 — One Cowork session per stage. Each session has one clear job. When it is done, you save a handoff note before starting the next one."

Give a concrete example tailored to their situation. If they have not shared their use case yet, ask: "What kind of work do you mainly use Cowork for?" Then use that context. A generic example as fallback:

"Suppose you want to build a full content plan for next quarter. Instead of one massive session: Stage 1 researches themes → Stage 2 generates topic ideas → Stage 3 assigns topics to a calendar → Stage 4 writes one-paragraph briefs per piece. Each stage reads the last stage's file and adds to it. If anything stops you mid-way, you restart from the last completed stage — nothing is lost."

Step 4: Set Up the Handoff Note System

Create a folder called stage-notes/ inside their work folder. Explain what goes in it. Create a template file called stage-notes/handoff-template.md:

# Stage Handoff Note
Project: [Project name]
Stage completed: [Stage name and number]
Date: [Date]

## What Was Decided
[Key decisions made in this stage — conclusions only, not transcript.]

## What Was Created or Changed
[Files created or modified. Path and a one-line description of each.]

## What Was NOT Done (and Why)
[Anything scoped out or deferred. So the next stage doesn't wonder.]

## What Comes Next
[The next stage: what it needs to accomplish, what files to start with.]

## Things to Watch Out For
[Complications, open questions, or anything the next stage should know first.]

Say: "At the end of each stage, copy this template, fill it in, and save it as stage-notes/stage-[number]-done.md. To start the next stage, open a new session and say: 'Read stage-notes/stage-[number]-done.md and continue from there.' Cowork will be fully caught up in seconds."

Step 5: Teach the Recovery Pattern

For sessions that were interrupted mid-task:

Say:

"If a session gets cut off before you saved a handoff note, here's how to recover:

  1. Survey the files. Look at what Cowork was working on. What exists? What is half-finished? What is missing?
  2. Write your own recovery note. Take 5 minutes: what stage were you in, what was done before the cut-off, what is the current state of each file.
  3. Start a fresh session with that note. Open a new session and say: 'I was working on [project]. Here's where it stopped:' then paste your note. Ask Cowork to continue from there.

The recovery note is more reliable than the conversation history. Even when a session is still open, write things down before any long or complex stage — do not trust the whiteboard to hold it."

If they have an active interrupted task right now, help them write the recovery note together. Ask what they know about the state of the project and draft it.

Step 6: Teach Context Prioritization

Say:

"When you start a new session on a big project, what you include matters. Be selective — do not paste in everything.

Include:

  • The handoff note from the last stage (always)
  • Any source files specific to this stage (brief, data, reference material)
  • Your off-limits list if file operations are involved

Leave out:

  • Full transcripts of previous sessions
  • Completed stage notes older than the last one
  • Background documents that are not relevant to this specific stage

One focused handoff note outperforms a dump of everything. Cowork works best when it knows exactly what stage it is in and what its one job is — not when it is wading through the full history of the project."

Step 7: Apply It to a Real Project

Ask:

"Is there a project you are working on right now — or planning to start — that would benefit from this system? If so, let's build the stage breakdown together. Tell me what the project is and what the finished result looks like."

If they share a project:

  • Help them define the end state in one sentence
  • Break it into 3-6 named stages
  • Write the instruction for each stage (what to tell Cowork, what file to save)
  • Create the stage-notes/ folder with their project name pre-filled in the template

If they do not have an immediate project, create a blank starter kit:

  • stage-notes/ folder
  • stage-notes/handoff-template.md
  • stage-notes/how-to-use.md with the core rules summarized in plain language

Step 8: Deliver the Summary

Say:

"Here is your context management system:

The core rule: Use files as memory, not the conversation. One handoff note per stage. New session? Start by reading the note.

Stage notes folder (stage-notes/) — Your progress is saved here between sessions. You will never lose your place again.

Handoff template (stage-notes/handoff-template.md) — Fill this in at the end of each stage. Takes 5 minutes, saves hours of re-explaining.

Recovery pattern — If a session gets cut off, write your own recovery note and start fresh. The note is more reliable than the conversation history.

Context rule — Give Cowork the last handoff note plus this stage's relevant files. Nothing else.

Big tasks are just small tasks in sequence. The handoff note is what connects them."

Quality Checks

Before finishing:

  • Core concept (session memory) was explained without technical jargon
  • Task decomposition framework was taught with a concrete example using their actual use case, not a generic placeholder
  • Stage notes folder and handoff template were created (not just described)
  • Recovery pattern was explicitly taught for interrupted sessions
  • Context prioritization rules were given (what to include vs. leave out)
  • Applied to a real project the user named, if they provided one
  • User left with a usable system, not just an explanation
  • No jargon used (no "context window", "token limit", "prompt", "tokens")
  • Tone was reassuring — this is a manageable system, not a scary limitation

Examples

Example 1: "Cowork stopped mid-task and now I don't know what it finished" → Skill helps the user survey what files were created, write a recovery note capturing the current state, and restart the session from that note — immediately resuming from exactly where things stopped.

Example 2: "I want to use Cowork to build a full content plan for next quarter — it feels too big for one session" → Skill breaks the project into 4 named stages (research → topics → calendar → briefs), writes the instruction for each stage, creates the stage-notes/ folder, and sets up the handoff template pre-filled with the project name.

Example 3: "Cowork keeps losing track of what we decided earlier in a long session" → Skill explains the whiteboard memory concept, sets up the handoff note system, and teaches the rule: save a stage note before any long or complex stage — do not rely on the conversation to hold it.

Troubleshooting

Skill didn't activate when I described my task? Try invoking directly with /context-manager followed by a description of what you are working on or what went wrong.

Output feels too generic? Share your actual project — what it is and what the finished result looks like. The stage breakdown is much more useful when it is built around your real work rather than a generic example.

Cowork still loses context even with the handoff note system? Make sure you are starting each stage by explicitly telling Cowork: "Read stage-notes/stage-[N]-done.md and continue from there." Simply having the file is not enough — Cowork must be pointed to it at the start of each new session.

Related Skills

See also:

  • /delegation-coach — Learn how to write clear stage instructions so each Cowork session has a well-defined job
  • /safety-and-audit — Set up a change log alongside your stage notes so you always know what was done
  • /cowork-setup-wizard — Set up your full preferences so each session starts with your context already in place

Perguntas frequentes

O que a habilidade de IA Context Manager faz?

Teaches you how to break large tasks into stages, save your place between sessions, and recover smoothly when a task gets interrupted. Use when planning a multi-day project, for breaking down large work into manageable stages, during recovery from an interrupted session, when managing complex ongoing work, or when the user says "cowork stopped in the middle", "token limit", "task too large", "context management", "how to do big tasks", "session got cut off", "cowork forgot what we were doing", "how do I work on something over multiple days", "it lost track of the project", or "my task is to...

Por que usar Context Manager no TypingMind?

Porque basta instalar uma vez para usar com qualquer modelo. Context Manager é escrito 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. O TypingMind usa suas próprias chaves de API, então o pagamento é feito diretamente aos provedores, em vez de uma assinatura por licença de usuário, e suas habilidades e chats permanecem no seu próprio armazenamento.

Como instalar Context Manager no TypingMind?

Abra Plugins → Habilidades → Instalar do GitHub no TypingMind e cole https://github.com/EAIconsulting/cowork-skills-library/tree/main/skills/context-manager. 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 Context Manager?

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 Context Manager?

Quantos quiser. Desde que o modelo ofereça suporte a habilidades, é possível usar Context Manager 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 Context Manager é gratuita?

A habilidade é publicada no GitHub por EAIconsulting. 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, modelos de documento 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 para chamar — código que é executado em algum lugar e retorna um resultado. Já uma habilidade de IA fornece conhecimento e um processo ao modelo: 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 todos

Crie seu próprio espaço de IA agora

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