شعار Context Manager

Context Manager

المجتمع
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".

نظرة عامة

الناشرEAIconsulting
المستودعcowork-skills-library
اسم المهارةcontext-manager
النجوم
30
التفريعات
6
الملفات المرفقة
تعليمات فقط
الروابط
  • تعليمات بصيغة Markdown

    ملف SKILL.md يُحمّله النموذج عند الحاجة، فلا يستهلك توكنات إلا عندما يَرِد طلب ذو صلة فعلًا.

  • تعمل مع أي نموذج لغوي كبير

    مهارات الذكاء الاصطناعي مكتوبة بصيغة Markdown وليست شيفرة خاصة بمزوّد معيّن، لذا تعمل مع GPT أو Claude أو Gemini أو Grok أو نموذج محلي.

  • مكتفية بذاتها

    كل ما يحتاجه النموذج موجود في التعليمات — لا ملفات إضافية لمزامنتها.

  • مفتوحة المصدر

    نشرها EAIconsulting على GitHub. اطّلع على المصدر قبل تثبيتها.

التثبيت

ثبّت مهارة الذكاء الاصطناعي Context Manager في TypingMind لاستخدامها مع أي نموذج لغوي كبير، أو أضفها إلى وكيل ذكاء اصطناعي آخر يقرأ SKILL.md.

1

التثبيت في TypingMind

يُثبّت TypingMind المهارة مباشرةً من مجلدها على GitHub — فيقرأ SKILL.md، ويجمع ملفات الموارد في حزمة، ويحفظ النتيجة محليًا.

  1. افتح التطبيق وانتقل إلى الإضافات → المهارات.
  2. اختر «تثبيت من GitHub».
  3. الصق رابط مجلد المهارة الموضّح أدناه وأكّد التثبيت.
    https://github.com/EAIconsulting/cowork-skills-library/tree/main/skills/context-manager
  4. فعّل المهارة في كل محادثة تريد إتاحتها فيها.
الإضافات → المهارات → إضافة مهارة → من رابط GitHub، ثم الصق رابط المجلد واضغط على «متابعة».
2

التثبيت في وكيل ذكاء اصطناعي آخر

يمكن لأي وكيل ذكاء اصطناعي يقرأ تنسيق Agent Skills استخدام هذه المهارة — انسخ المجلد إلى مجلد المهارات الخاص بذلك الوكيل.

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
أعد تشغيل Claude Code بعد النسخ ليتعرّف على المهارة الجديدة.

استخدمها في TypingMind

فعّل Context Manager في أي محادثة على TypingMind وسيتولى النموذج الباقي. تتضمن مطالبة النظام اسمها ووصفها، وبمجرد ورود طلب ذي صلة، يُحمّل النموذج التعليمات الكاملة تلقائيًا — فلا تحتاج إلى استدعائها يدويًا، ولا تستهلك أي توكنات حتى تُستخدم فعليًا.

يُحمّل النموذج Context Manager تلقائيًا بمجرد ورود طلب ذي صلة بها.

تعمل مع أي نموذج ذكاء اصطناعي

مهارات الذكاء الاصطناعي هي تعليمات بصيغة Markdown وليست شيفرة خاصة بمزوّد معيّن، لذا لا ترتبط Context Manager بالنموذج الذي كُتبت له. ثبّتها مرة واحدة في TypingMind واستخدمها مع GPT-5 أو Claude أو Gemini أو Grok أو DeepSeek أو Mistral أو Llama أو نموذج محلي تشغّله بنفسك — كل ذلك باستخدام مفاتيح API الخاصة بك.

  • تُحمَّل عند الحاجة فقط

    تتضمن مطالبة النظام الاسم والوصف فقط. وتُجلب التعليمات عند أول طلب ذي صلة، لذا لا تترتب أي تكلفة على المهارة غير المستخدمة.

  • بدّل النماذج أثناء المحادثة

    لأن المهارة تعليمات وليست شيفرة، فإن تغيير النموذج لا يعطّلها — فالنموذج التالي يقرأ ملف SKILL.md نفسه.

تعليمات المهارة

هذا هو محتوى SKILL.md الذي يُحمّله النموذج. اقرأه قبل التثبيت — فالمهارة عبارة عن تعليمات سيتبعها نموذجك.

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

الأسئلة الشائعة

ماذا تفعل مهارة الذكاء الاصطناعي 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 to...

لماذا تستخدم Context Manager على TypingMind؟

لأنك تثبّتها مرة واحدة وتستخدمها مع أي نموذج. مهارة Context Manager عبارة عن نص Markdown وليست شيفرة خاصة بمزود بعينه، لذا تعمل المهارة نفسها مع GPT-5 أو Claude أو Gemini أو Grok أو نموذج محلي، ويمكنك تبديل النموذج أثناء المحادثة دون تعطّل المهارة. يعمل TypingMind بمفاتيح API الخاصة بك، فتدفع للمزودين مباشرةً بدلًا من اشتراك لكل مقعد، وتبقى مهاراتك ومحادثاتك في مساحة التخزين الخاصة بك.

كيف أثبّت Context Manager في TypingMind؟

افتح الإضافات → المهارات → التثبيت من GitHub في TypingMind والصق https://github.com/EAIconsulting/cowork-skills-library/tree/main/skills/context-manager. يقرأ TypingMind ملف SKILL.md الخاص بها ويثبّتها كمهارة يمكنك تفعيلها لكل محادثة على حدة.

ما نماذج الذكاء الاصطناعي التي يمكنها استخدام Context Manager؟

أي نموذج تربطه في TypingMind. مهارات الذكاء الاصطناعي عبارة عن تعليمات Markdown وليست شيفرة خاصة بمزود بعينه، لذا يمكن لكل من GPT وClaude وGemini وGrok والنماذج المحلية تحميل هذه المهارة عندما يتوافق الطلب معها.

كم نموذج ذكاء اصطناعي يمكنني استخدامه مع Context Manager؟

أي عدد تريده. ما دام النموذج يدعم المهارات، يمكنك استخدام Context Manager معه، سواء كان GPT أو Claude أو Gemini أو Grok أو DeepSeek أو Mistral أو Llama أو غيرها، وكل ذلك على TypingMind باستخدام مفاتيح API الخاصة بك.

هل مهارة الذكاء الاصطناعي Context Manager مجانية؟

نشرها EAIconsulting على GitHub. راجع المستودع للاطلاع على شروط الترخيص. لا تدفع إلا لمزود الذكاء الاصطناعي الخاص بك مقابل التوكنات التي تستخدمها.

ما هي مهارات الذكاء الاصطناعي؟

مهارة الذكاء الاصطناعي حزمة تعليمات قابلة لإعادة الاستخدام تعلّم نموذج الذكاء الاصطناعي كيفية تنفيذ مهمة محددة. وتتبع تنسيق Agent Skills المفتوح: ملف SKILL.md يتضمن اسمًا ووصفًا، إلى جانب أي نصوص برمجية أو قوالب أو ملفات مرجعية قد يحتاج إليها النموذج. لا يقرأ النموذج التعليمات إلا عندما يتوافق طلبك مع المهارة، لذا لا تترتب على المهارة المثبتة أي تكلفة حتى تُستخدم.

كيف تختلف مهارات الذكاء الاصطناعي عن الإضافات أو موصلات MCP؟

تمنح الإضافة أو موصل MCP النموذج أدوات جديدة يمكنه استدعاؤها، وهي شيفرة تُنفَّذ في مكان ما وتُرجع نتيجة. أما مهارة الذكاء الاصطناعي فتزوّد النموذج بالمعرفة ومنهجية العمل: كيفية التعامل مع مهمة، والخطوات التي ينبغي اتباعها، وما ينبغي أن تكون عليه المخرجات الجيدة. المهارات عبارة عن نصوص Markdown، لذا لا تحتاج إلى خادم أو مفتاح API أو بيئة تشغيل، وتعمل مع أي نموذج.

عرض الكل

أنشئ مساحة عملك للذكاء الاصطناعي الآن

اشترك في نشرتنا البريدية لتصلك أخبار الميزات الجديدة والهدايا القادمة 👇