شعار Context Economy

Context Economy

المجتمع
UnpaidAttention
context-economy

Protect the context window as a scarce resource — read at the right altitude, delegate bulk reconnaissance to subagents so only conclusions enter the main thread, externalize durable facts to disk, and respond to your own degradation signals. Trigger this when about to read a large file or many files, when a search/log-dig would flood the conversation with content you won't reference again, when deciding whether to delegate to a subagent, and whenever you notice re-running searches or re-deriving established facts. Do NOT confuse with session-state-management (which owns the WORKING_NOTES.md file and resume protocol — this skill decides what enters context at all) or incremental-delivery (which chunks the deliverable — this skill budgets the reading around it).

Add to TypingMind

نظرة عامة

الناشرUnpaidAttention
المستودعfable5-methodology
اسم المهارةcontext-economy
النجوم
94
التفريعات
21
الملفات المرفقة
تعليمات فقط
الروابط
  • تعليمات بصيغة Markdown

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

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

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

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

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

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

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

التثبيت

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

1

التثبيت في TypingMind

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

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

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

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

Claude Code — .claude/skills
git clone --depth 1 https://github.com/UnpaidAttention/fable5-methodology.git /tmp/fable5-methodology
mkdir -p .claude/skills
cp -r /tmp/fable5-methodology/skills/context-economy .claude/skills/context-economy
أعد تشغيل Claude Code بعد النسخ ليتعرّف على المهارة الجديدة.

استخدمها في TypingMind

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

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

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

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

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

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

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

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

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

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

Context Economy

Everything you read enters the same window your reasoning runs in. Fill it with noise and the noise wins: instructions decay, early decisions blur, retrieval degrades — and output quality collapses without any error message announcing it. An advanced model husbands its context implicitly; you do it as explicit procedure.

Rule 1: Read at the right altitude

Match reading depth to need, before opening anything:

NeedAction
One fact ("does X call Y?", "what's the version?")grep / targeted search — never open the file
Call something correctlyRead the signature + one existing call site, not the whole module
Edit a fileRead it fully (non-negotiable — Prime Directive 2)
Understand a subsystem's shapeSymbol map / headings / one representative flow — not every file
Judge a large artifact (logs, datasets)Head/tail/sample + targeted filters, never the whole thing

The violation to catch: opening a 2,000-line file to answer a one-line question. Ask "what is the smallest read that answers this?" before every Read.

Rule 2: Delegate bulk work to protect the main thread

When a task requires sweeping many files, digging long logs, or broad reconnaissance whose raw content you will NOT reference again: hand it to a subagent. The subagent burns its own context on the haystack and returns only the needle. The main conversation stays at decision altitude.

Delegation test — delegate when ALL of: the raw material is large, only the conclusion matters downstream, and the sub-task is separable with a crisp question. Don't delegate when you'll need the raw content in-thread anyway, or the task is a two-minute look.

This is the primary reason to delegate, beyond parallelism: context preservation.

Rule 3: Don't re-read what hasn't changed

If you read a file this session and it's unchanged, trust your knowledge and your notes. Re-read only when: someone else (user, formatter, another agent) may have modified it, an edit of yours failed unexpectedly, or you've had a context loss. Redundant re-reads are pure context burn.

Rule 4: Externalize durable facts the moment they matter

Decisions, discovered constraints, findings, and todo state go to disk (WORKING_NOTES.md, a scratchpad file) when they're established — not "later", and not only when compaction looms. The context window is working memory; disk is long-term memory. Facts that live only in context die with it. (The file format and resume protocol belong to session-state-management; this rule is about WHEN to move facts out of context.)

Rule 5: React to your own degradation signals

The signals that your context is failing you: re-running a search you already ran; re-deriving a fact you established an hour ago; surprise at your own earlier decision; instructions from the original request feeling new on re-read. On any of them: STOP consuming new content, re-read the notes file, and only then continue. Pushing on from fog produces confident work built on a forgotten foundation.

Worked example

Task: "Find why checkout intermittently 500s — logs are in /var/log/app/ (14 files, ~2 GB)."

  • Weak: Read the newest log → floods context with 50k lines → asks for the next file → by file three, the original error pattern from file one has blurred; analysis restarts.
  • Context-economy:
    1. Rule 1: never open a log raw. grep -c 'HTTP 500' per file → the needle is in 3 files.
    2. Rule 2: delegate — subagent per file with a crisp question ("extract each 500 with the 20 lines before it; return timestamps + the exception class only"). Three subagents burn their own contexts; the main thread receives ~40 lines of conclusions.
    3. Rule 4: findings ("all 500s follow a connection-pool-exhausted warning within 2s; only during the 02:00 batch job") go into WORKING_NOTES.md immediately.
    4. Main thread proceeds to the fix with a nearly-empty window and complete knowledge.

Done when

Ongoing — an ambient discipline. You are following it when: nothing large was read where a grep or a sample would answer; bulk reconnaissance ran in subagent contexts, not the main thread; no unchanged file was re-read; every durable fact is on disk within minutes of being established; and no degradation signal was pushed through instead of triggering a notes re-read.

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

ماذا تفعل مهارة الذكاء الاصطناعي Context Economy؟

Protect the context window as a scarce resource — read at the right altitude, delegate bulk reconnaissance to subagents so only conclusions enter the main thread, externalize durable facts to disk, and respond to your own degradation signals. Trigger this when about to read a large file or many files, when a search/log-dig would flood the conversation with content you won't reference again, when deciding whether to delegate to a subagent, and whenever you notice re-running searches or re-deriving established facts. Do NOT confuse with session-state-management (which owns the WORKING_NOTES.m...

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

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

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

في TypingMind، افتح «الإضافات»، ثم «المهارات»، ثم اختر «التثبيت من GitHub» والصق https://github.com/UnpaidAttention/fable5-methodology/tree/main/skills/context-economy. يقرأ TypingMind ملف SKILL.md الخاص بالمهارة ويثبّتها كمهارة يمكنك تفعيلها لكل محادثة على حدة.

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

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

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

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

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

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

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

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

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

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

عرض الكل

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

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