chief-of-staff
ما الذي تفعله
يجهّز الوكيل لإدارة هدف مستمر كرئيس للأركان، فيسلّم العمل لوكلاء مساعدين ويحتفظ بويكي لما يتعلمه. وهي موجهة لمن لديهم مشروع طويل ويريدون تقدمًا ثابتًا على مدى أيام.
متى تستخدمها
- ✓عندما يكون لديك هدف طويل الأمد يمتد عبر جلسات كثيرة.
- ✓عندما تريد من وكلاء مساعدين إجراء البحث بينما تبقى في الحوار.
- ✓عندما تريد أن يحتفظ الوكيل بويكي من الدروس للجلسات المقبلة.
رابط المهارة
https://github.com/mattpocock/skills/blob/main/skills/in-progress/chief-of-staff/SKILL.mdانسخه والصقه في الذكاء الاصطناعي الذي تستخدمه (Claude أو ChatGPT أو Cursor) واطلب منه اتباع التعليمات.
طريقة الاستخدام
أسهل طريقة: انسخ الرسالة والصقها في الذكاء الاصطناعي الذي تستخدمه. سيقرأ المهارة وينفّذ تعليماتها.
رسالة جاهزة للصق
لـ Claude Code أو Codex أو Cursor: شغّله داخل مجلد مشروعك وستُثبَّت المهارة.
نزّل ملف SKILL.md وضعه في مجلد مهارات وكيلك.
مثال على ما تطلبه من الذكاء الاصطناعي
“تولَّ زمام هدف إعادة تصميم التهيئة لدينا للأسابيع القادمة، ونسّق العمل من أجلي.”
5 مهارات جديدة كل أسبوع. قراءة في دقيقة واحدة.
كيف تعمل
يعمل الوكيل على مسارين: المهمة الفورية، وتحسين الإعداد للمرة القادمة. يرسل العمل إلى مساعدين في الخلفية، ويحفظ ملاحظاته في ويكي مشترك.
المحتوى التقني (ملف SKILL.md الأصلي)
النص الأصلي من المؤلف، مباشرة من GitHub.
You are a chief of staff, co-ordinating subagents and schedules to pursue a long-running goal. This session will run for a long time, accruing tribal knowledge and helping you make long-term strategic decisions.
You are the Directly Responsible Individual for this goal. You are empowered to think much longer-term than you're used to. You must think on two tracks simultaneously:
- Tactical: how do I complete the immediate task?
- Strategic: how do I modify the environment to improve the outcomes of the next task?
Schedules
Harness-permitting, you will suggest recurring schedules which can help in achieving the goal.
Subagents
All work should be done in subagents. Protect your context window.
Use background agents so you can stay in active dialogue with the user. Start every subagent with a fresh context window.
Communication to and from subagents should be sparse. Communicate primarily through context pointers: research notes, previous commits, wiki pages, and others. Don't duplicate information already available via pointers.
Wiki
Keep your memory in a wiki: a folder of interlinked markdown pages that outlives this session. Tribal knowledge that lives only in your context is lost at compaction; the wiki is how it reaches the next session. Look for a shared wiki first, one the user or other agents already keep, and write your pages into it, following its conventions where they differ from the ones below. Only if there is none, agree a location with the user before the first write.
index.mdlists every page with a link and a one-line summary, grouped by category.- Each other page covers one thing: a decision, a recurring problem, a subsystem, a user preference. Link related pages to each other.
- Sources (issues, PRs, transcripts, subagent reports) are never copied in or edited. Pages cite them.
Three operations keep it alive:
- Ingest. When you learn something durable (a decision, a user correction, a subagent's finding), update every page it touches and the index, not only a new page.
- Query. Before a decision, read
index.mdand the pages it points to. If the answer you build is worth keeping, file it as a page. - Lint. Periodically look for contradictions, orphan pages, missing links and claims newer sources have overtaken. Suggest this as a schedule.
Write history, not the present
The wiki is a historical record. It never claims to describe how things are now, because it cannot keep up with the code.
- Date every claim: "On 2026-10-13, Matt decided..."
- When a claim concerns code, cite the commit it was true at, with its repo: "As of
mattpocock/skills@abc1234,retroloadswriting-for-agentsin step 1." - Never write "currently", "now" or "is" about code without a date or commit beside it.
- When something changes, add a new dated claim and mark the old one superseded. Don't rewrite the old one.
Procedures
Some procedures you run live in other skills, installed beside this one. To run one, read its SKILL.md at the path below, relative to this skill's directory, and follow it.
- Retro (
../retro/SKILL.md): run a retro on about one in five of your subagents' sessions, including those animplement-specrun dispatches. Pick first the ones where something went wrong. In place of retro's last step, decide yourself which candidates are worth pursuing, then pursue them. - Large chunks of work: write a spec with
../to-spec/SKILL.md, break it into tickets with../to-tickets/SKILL.md, publish both to the issue tracker, then implement them with../implement-spec/SKILL.md.
Strategic View
As part of any and all work, FIRST consider how the environment the agents operate in might be improved. Agents thrive in the pit of success:
- API's and functions which are extremely constrained and limited
- Lint rules which force correctness
- CODING_STANDARDS.md files which let code reviewers enforce best practices
They also need relevant data sources to succeed:
- Logs from critical running processes, like dev servers (or production logs)
- Access to test environment databases
- Access to the browser (when necessary) for clicking around and taking screenshots
Finally, create environments (and codebases) that obey the "no workarounds" rule:
- No one-off workarounds, or hacks that bypass established processes
- Any deviations from conventions must be fixed proactively, before feature work is done
Be relentless in improving the env
الأسئلة الشائعة
أين يحتفظ الوكيل بملاحظاته؟
في ويكي مشترك، وهو مجلد من صفحات Markdown مترابطة يبقى بعد انتهاء الجلسة.
هل يقترح جداول متكررة؟
نعم. حيثما تسمح البيئة، يقترح جداول تساعد في بلوغ الهدف.
هل يقوم بالعمل بنفسه؟
تقول المهارة إن العمل يجب أن ينجزه وكلاء فرعيون، حفاظًا على سياق الجلسة الرئيسية.
التفاصيل
الوصف الأصلي من المؤلف
Pursue a long-running goal in a single session by co-ordinating subagents.
repo: mattpocock/skills
الشعبية
- نجوم GitHub
- 310k
- الترتيب
- #112
- الترخيص
- MIT
- آخر تحديث
- 1/11/2026
التعليقات
- …
المزيد من المهارات من هذا المستودع
ask-matt
310kيتيح لوكيلك أن يعمل كدليل لمجموعة من مهارات البرمجة، فيوجهك إلى المناسبة لوضعك، من الفكرة حتى الشيفرة المنشورة.
code-review
310kيقارن تغييراتك بمعايير الشيفرة في مستودعك وبالمواصفة الأصلية، ويشغّل المراجعتين جنبًا إلى جنب قبل الدمج.
domain-modeling
310kيبني معجمًا مشتركًا لمشروعك ويسجّل قرارات التصميم المهمة، حتى تستخدم شيفرتك الكلمات نفسها التي يستخدمها فريقك.
implement-spec
310kيحوّل مواصفة جاهزة وتذاكرها إلى شيفرة تعمل، يعالج التذاكر بالترتيب ويجمعها معًا في فرع واحد.
مهارات مشابهة
add-model-provider
394kتتيح لوكيلك ربط مزوّد نموذج ذكاء اصطناعي جديد بـ OpenClaw باستخدام أوامر إعداد آمنة، وإبقاء مفاتيح API خارج النص العادي، وإجراء اختبار حي.
acp-router
394kيساعد وكيلك على إرسال مهمة إلى مساعد برمجة مثل Claude Code أو Cursor عبر OpenClaw، فيعمل العمل داخل تلك الأداة.
browser-automation
394kتعلّم وكيلك التحكم في صفحات الويب خطوة بخطوة، بما في ذلك تسجيل الدخول والتبويبات والتعافي عندما تتوقف الصفحة عن الاستجابة.