afk
ما الذي تفعله
تضع هذه المهارة الوكيل في وضع الغياب لأداة Firstmate، فيستطيع أن يواصل الإشراف على العمل وأنت بعيد عن الحاسوب. وهي موجهة للأشخاص الذين يشغّلون Firstmate ويريدون الابتعاد عن مكتبهم.
متى تستخدمها
- ✓عندما تغادر مكتبك وتريد أن يواصل الوكيل تحريك العمل دونك.
- ✓عندما تعود بعد غياب وتريد موجزًا قصيرًا عما حدث.
- ✓عندما تريد أن يحجز الوكيل القرارات الكبيرة حتى تعود.
رابط المهارة
https://github.com/kunchenguid/firstmate/blob/main/.agents/skills/afk/SKILL.mdانسخه والصقه في الذكاء الاصطناعي الذي تستخدمه (Claude أو ChatGPT أو Cursor) واطلب منه اتباع التعليمات.
طريقة الاستخدام
أسهل طريقة: انسخ الرسالة والصقها في الذكاء الاصطناعي الذي تستخدمه. سيقرأ المهارة وينفّذ تعليماتها.
رسالة جاهزة للصق
لـ Claude Code أو Codex أو Cursor: شغّله داخل مجلد مشروعك وستُثبَّت المهارة.
نزّل ملف SKILL.md وضعه في مجلد مهارات وكيلك.
مثال على ما تطلبه من الذكاء الاصطناعي
“سأكون غير متصل لبضع ساعات. ضع الوكيل في وضع الغياب، واحجز لي أي قرارات كبيرة.”
5 مهارات جديدة كل أسبوع. قراءة في دقيقة واحدة.
كيف تعمل
تبدأ وضع الغياب بكتابة الأمر، ويكتب الوكيل سجلًا لهذا الاختيار أولًا. ثم يتبع قواعد وضع الغياب، فيحجز أي قرار يخصك حتى تعود.
المحتوى التقني (ملف SKILL.md الأصلي)
النص الأصلي من المؤلف، مباشرة من GitHub.
afk
Away mode is a POSTURE of the one supervision session, not a second architecture.
Being away changes exactly two things: how the captain is informed, and what happens at a captain-owned decision point (hold for return, or the answer the captain's away words already gave).
It never changes the authority set.
The posture is a file, state/.afk-contract, written only by bin/fm-afk-contract.sh in the same turn as /afk; nothing infers the posture from chat.
A record carrying quiet mode (bin/fm-afk-contract.sh mode) is not this posture: the captain is present, so none of this skill's holds for a return apply to it (the quiet skill owns it).
Typing /afk is itself the go: the captain may not look at the screen again, so entry never waits for a further human response, and no read-back gates it or asks for a go.
Hold-for-return is the default and the only reach profile this release records: there is no phone channel, and the entry announcement says so aloud every time.
Entering: /afk [words]
- Write the record first, in this same turn.
Before any other work, run
bin/fm-afk-launch.sh enter --words-file <path> [--expected-return <UTC ISO 8601>] [--spend <n>](or--words <text>). It writesstate/.afk-contractat once, with no separate confirmation step, then prints the entry announcement and the record's read-back. The words are the whole mandate:bin/fm-afk-contract.shrecords them exactly as given, with no clause fields, verbs, ids, or merge-grant list, and by the captain's mandate no parser, tokenizer, classifier, or grammar reads them anywhere. Readbin/fm-afk-contract.sh --helpfor the flags rather than memorizing them. Plain/afkwith no words is a valid entry with no mandate; the announcement says no instructions were recorded. Re-invoking/afkwhile already away with no new words is a refresh and leaves the standing record untouched; new words replace the mandate at once, preserve the original session entry, and archive the superseded words for the return brief. - Per harness, after the record exists:
- Pi and pi-signed: nothing to launch; go on to the announcement.
The away daemon is no longer launched on Pi; the ordinary supervision session (
docs/pi-supervision-branch.md) keeps running with the record present, andbin/fm-afk-launch.sh startrefuses on these harnesses. With the record present main is parked: the supervision branch takes every safe actionable wake, captain outcomes accumulate for the return brief, and main's standing authority relocates to the branch through the guarded scripts (docs/pi-supervision-branch.md"Postures"); only a wake the branch declines (including a broken branch or unsafe scan) or a watcher failure wakes main./quietneeds nothing extra on Pi: the attended branch already keeps routine wakes out of this conversation, so quiet-while-present is the attended posture's own shape there. - A home that runs the supervision host (a Claude home unless
config/supervision-host-offopts it out, or a Cursor, OpenCode, omp, Grok, or Codex home withconfig/supervision-hostand no opt-out;docs/configuration.md"Supervision host"): nothing to launch for/afk; go on to the announcement. The supervision host (docs/supervision-host.md) is the away session there: it runs the branch's contract on a headless engine under the record while main is parked, andbin/fm-afk-launch.sh startandstart-nativerefuse the away daemon on that home. Ifenterprinted aSupervision host: no engine ...line, every away wake reaches this conversation instead; say so in the announcement./quietenters nothing there where the attended host runs, and otherwise still launches the daemon below (the quiet skill'squiet-checkdecides). - Harness WITH a native in-pane tracked-background tool (claude's and grok's, on a home that does not run the supervision host): run
bin/fm-afk-launch.sh start-native, then runFM_AFK_STATE_PREPARED=1 bin/fm-afk-start.shthrough that native tool. This is a deliberate no-separate-terminal exception because the harness-hosted job creates no terminal or layout mutation, and a shell launcher cannot invoke a harness-native background tool. If the native launch fails, runbin/fm-afk-launch.sh stopto roll back the prepared lifecycle. Do not wrap it innohup ... &(Codex/herdr can reap fire-and-forget shell children after a tool call returns)
- Pi and pi-signed: nothing to launch; go on to the announcement.
The away daemon is no longer launched on Pi; the ordinary supervision session (
الأسئلة الشائعة
هل يسمح وضع الغياب للوكيل باتخاذ أي قرار؟
يتصرف فقط ضمن الصلاحية التي منحتها، ويحجز الأمور حتى عودتك إذا لم يكن متأكدًا.
كيف يبلغني الوكيل بما حدث؟
حين تعود يعطيك موجز عودة يلخص ما جرى أثناء غيابك.
هل يمكن الوصول إليّ على هاتفي؟
ليس في هذه النسخة، فلا توجد قناة هاتف، ولا يستطيع الوكيل الوصول إليك خارج الحاسوب.
التفاصيل
الوصف الأصلي من المؤلف
Enter the away posture when the captain invokes /afk, says they are going afk, `state/.afk-contract` or `state/.afk` exists, an incoming message starts with `FM_INJECT_MARK`, or any `state/.subsuper-*` marker is involved. Load it at once in the /afk turn, before any other work, and on the first unmarked message while away to render the return brief.
repo: kunchenguid/firstmate
الشعبية
- نجوم GitHub
- 8.5k
- الترتيب
- #12426
- الترخيص
- MIT
- آخر تحديث
- 2/11/2026
التعليقات
- …
المزيد من المهارات من هذا المستودع
ahoy
8.5kيتيح لوكيلك أن يعطيك ملخصًا قصيرًا لما جرى في الجلسة، ويشرح لك أي قرارات ما زالت تنتظرك.
ask-user-authority
8.5kيساعد وكيلك على البت بنفسه في أسئلة المراجعة حين تتوافق بوضوح مع الخطة المتفق عليها، ولا يسألك إلا عندما يكون السؤال غامضًا أو محفوفًا بالمخاطر.
away-quiet-supervision
8.5kيضع قواعد أمان للإشراف على العمل في وضع الغياب أو الهدوء، حتى يبقى الوكيل واضحًا في رسائله ويحجز القرارات التي تحتاج إليك.
bearings
8.5kيتيح لوكيلك كتابة لقطة واضحة لكل عملك الحالي، حتى تستطيع أن تكمل من حيث توقفت بعد استراحة أو ليلة بعيدًا.
مهارات مشابهة
knowledge-automation
394kيساعد وكيلك على إعداد مهمة متكررة تضيف المحتوى الجديد إلى خزنة Knowledge حسب جدول زمني، ثم يتحقق من أنها تعمل.
knowledge-source-ingest
394kيساعد وكيلك على إبقاء خزنة المعرفة محدّثة بالعناصر الجديدة من قنوات الدردشة أو الخلاصات أو صناديق البريد، دون إعادة إضافة ما لديه.
benchmark
280kيساعد وكيلك على قياس سرعة الشيفرة وأدائها، ويفيد في التأكد من أن الأشياء سريعة وفي إيجاد مشكلات البطء.