Logo Context Manager

Context Manager

Cộng đồng
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".

Tổng quan

Nhà phát hànhEAIconsulting
Kho mãcowork-skills-library
Tên kỹ năngcontext-manager
Sao
30
Bản fork
6
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 là Markdown thuần túy, không phải 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ộ.

  • Đầy đủ trong hướng dẫn

    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 EAIconsulting công bố trên GitHub. Hãy đọc nội dung nguồn trước khi cài đặt.

Cài đặt

Cài đặt kỹ năng AI Context Manager 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 thư mục kỹ năng bên dưới và xác nhận.
    https://github.com/EAIconsulting/cowork-skills-library/tree/main/skills/context-manager
  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/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
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 Context Manager 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ự tải Context Manager 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 Context Manager không bị giới hạn ở mô hình mà kỹ năng này được viết cho. 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 kỹ năng chưa dùng không tốn chi phí.

  • Đổ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.

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

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

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

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

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

Mở Plugin → Kỹ năng → Cài đặt từ GitHub trong TypingMind rồi dán https://github.com/EAIconsulting/cowork-skills-library/tree/main/skills/context-manager. TypingMind đọc tệp SKILL.md và cài đặt thành 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 Context Manager?

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.

Bạn có thể dùng Context Manager 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 Context Manager 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 Context Manager có miễn phí không?

Kỹ năng này được EAIconsulting 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 cho mô hình các công cụ mới để gọi — mã đượ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à tiêu chí của đầu ra tốt. 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 👇