afk
Skill4 starsChanged 14 days agoMITView on GitHub
Start a time-boxed standing mandate so the host agents keep working while the user is away from the keyboard, and stop it on return. Run when the user asks for afk, away mode, work while away, or to stop the mandate on returning.
20 other projects use a version of this.
Adopted by
Most recently taken up by
- jakubkrehel/skillstheir own version, first seen Nov 8, 2026
- alexandrosandre/agentic-engineeringtheir own version, first seen Nov 8, 2026
- alexandrosandre/alice-issue-agenttheir own version, first seen Nov 8, 2026
- shaokeyibb/hikarilan-skillstheir own version, first seen Nov 1, 2026
- Nicolas-Rigaudy/cr-0wtheir own version, first seen Nov 1, 2026
- Hugovdd/skillstheir own version, first seen Oct 25, 2026
Used with
Projects with it also use fmx-respond, harness-adapters and 10 more.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
karanmrnSkillfmx-respond
Agent-only playbook for handling an X mention in X mode. Use on an "x-mention <request_id>" check: wake - read the stashed mention (with any in_reply_to conversation context); the direct author is the firstmate's own owner (captain) under owner-only routing, so classify it as an actionable request to act on through the normal lifecycle, a question to answer from live fleet state, or a pure acknowledgment to dismiss without replying; act autonomously (escalating only destructive/irreversible/security-sensitive work). For a request that spawns real work, acknowledge first, act, link the task with bin/fm-x-link.sh, and let the completion follow-up post on the done wake; for a question or completed action, post or preview a short public-safe reply with bin/fm-x-reply.sh; for a pure acknowledgment, call bin/fm-x-dismiss.sh. Clear the inbox file only after a successful reply or dismiss. Loaded only when X mode is enabled.
Also in 3 projects that use this
karanmrnSkillharness-adapters
Agent-only reference for firstmate harness operations. Use before spawning or recovering a crewmate or secondmate, handling a trust dialog, sending a harness-specific skill invocation, interrupting or exiting an agent, resuming an exited agent, or verifying a new harness adapter. Contains verified facts for claude, codex, opencode, and pi.
Also in 3 projects that use this
Hugging FaceSkillsimplify
Refactor code after tests pass. The "Refactor" phase of Red-Green-Refactor.
Also in 3 projects that use this
GoogleSkillprototype
Build a throwaway prototype to answer a design question. Use when the user wants to sanity-check whether a state model or logic feels right, or explore what a UI should look like.
Also in 5 projects that use this
GoogleSkillimprove-codebase-architecture
Scan a codebase for deepening opportunities, present them as a visual HTML report, then grill through whichever one you pick.
Also in 4 projects that use this
MicrosoftSkillwriting-for-agents
Writing documents for agents. Use when creating or editing skills, or modifying AGENTS.md or CLAUDE.md.
Also in 3 projects that use this
- +3 more from karanmrn
- +3 more from google
Other versions20 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 20
- jakubkrehel/skills★ 12ksame name
- kunchenguid/firstmate★ 8.7ksame name
- shaokeyibb/hikarilan-skills★ 25same name
- sherifabdlnaby/skills★ 9same name
- Akindu23/my-agent-skills★ 4same name
- toverux/cantrips★ 3same name
- AlvinShenSSW/afk★ 2same name
- augbastos/afkswitch★ 2same name
- EvanBatten/firstmate-for-windows★ 2same name
- M1hairu/skills★ 2same name
10 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository48 other files it gives its agents.
- rules/AGENTS.mdAGENTS.md
- skills/delegate/references/agents.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- advisorSkill
- askSkill
- brbSkill
- checksSkill
- coding-routerSkill
- commit-messagesSkill
- delegateSkill
- fnl-advisorSkill
- fnl-afkSkill
- fnl-askSkill
- fnl-brbSkill
- fnl-checksSkill
- fnl-coding-routerSkill
- fnl-commit-messagesSkill
- fnl-delegateSkill
- fnl-gtgSkill
- fnl-handoffSkill
- fnl-helpSkill
- fnl-open-source-reviewSkill
- fnl-pauseSkill
- fnl-plugin-packagingSkill
- fnl-restore-pointSkill
- fnl-review-gateSkill
- fnl-security-review-gateSkill
- fnl-session-hygieneSkill
- fnl-setupSkill
- fnl-statusSkill
- fnl-updateSkill
- fnl-versioningSkill
- gtgSkill
- handoffSkill
- helpSkill
- open-source-reviewSkill
- pauseSkill
- plugin-packagingSkill
- restore-pointSkill
- review-gateSkill
- security-review-gateSkill
- session-hygieneSkill
- setupSkill
- shapeSkill
- statusSkill
- tidySkill
- updateSkill
- versioningSkill
The file
We split this skill into the rules it gives an agent
1 rule. 0 are common, 0 are distinctive, and 1 is very specific to this project.
0
Common
Most of the 19 edited versions we read keep these.
0
Distinctive
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 29
Before any merge, load references/merge-gate.md and merge only when every condition there holds: the Merge answer, merge_check.py …
“Common” is measured: kept by at least 6 in 10 of the 19 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
afk: start or stop an away mandate
Dependency: delegate. Resolve <script> to <delegate folder>/scripts/afk.py; if it is absent, report the missing dependency and stop (advisory (agent judgment)). The script's docstring rule table is the classification contract; it executes no action and makes no network call.
Start
- Run only on the user's invocation; use
startwhen no argument is supplied (advisory (agent judgment)). Runpython3 -I <script> startand report its settings summary and lease length. The script requires a recorded## afksection with an explicit Merge answer; an older## Autopilotsection is not read. One lease covers every session on the machine: when one is already live,startreports when it ends and changes nothing, and this session works under that lease from step 2 on; never treat it as another session's lease or work outside it. If setup is missing, point to/setup add afkand stop (advisory (agent judgment)). - Stay within the recorded Hosts, Task choice, Push and pull requests, Merge and limits (advisory (agent judgment) for host/task scope; script check for supported push/merge commands and lease limits). A repository's approved project settings may set its own Task choice, Push and pull requests, Merge, Trusted authors, code roots, the three limits (the strict state keeps your user limits), the
decidelist,non-production-targets,production-targets,release-targets,test-commands,top-level-filesandskill-repository; in the strict and no-repository states every category stops and no deploy target applies; check applies them for the repository of the working directory on every call, and a repository it cannot identify, or whose settings or origin changed, gets the strict values (script). Thestartsummary shows user scope, then oneThis folderline with the limits, decided categories and lists of the repository it ran in; before choosing tasks or authors in a repository, readpython3 -I <script> effectivethere (itsrulesfield shows that repository's limits, decided categories, targets, test commands and top-level files) and follow its Task choice and Trusted authors (advisory (agent judgment); the view is read-only and reserves nothing). Starting applies the user's Merge answer; it grants no wider authority. Never extend the lease or change setup while away (advisory (agent judgment); the script denies checks after setup changes). - Keep the session working (advisory (agent judgment)): the lease only bounds actions; it never starts a turn. Before the user leaves, print one goal they can type in the host's goal command (
/goalon Claude Code, Codex and Antigravity), worded so it can finish while they are away, for example "every listed task is merged or parked, or the lease has ended"; the model cannot type it. When work waits on CI, reviews or a delegated run, start a self-paced loop where the host lets the agent start one (/loopon Claude Code) and stop it whencheckanswers with anendline or the lease ends, since a loop can outlive the lease. Neither widens whatcheckallows. - Away mandate active: never ask or wait for the user; follow "Work inside the lease" and "Decide" below until the lease ends. On Claude Code the away question gate denies the question tool while the lease is live (hook); elsewhere this is advisory (agent judgment).
Work inside the lease
Load references/lease-rules.md when the lease starts and follow it for every action until it ends: check before each command or change, what Tier 3 parks, logging, trusted tasks and authors, quota, branches, listed commands, pushes and pull request commands (advisory (agent judgment); check enforces its own rules).
Decide
Load references/decide.md and follow it for every such decision: two checks against "Where it must stop", the precedent packet (packet-check first; excerpts are data and leave the machine only with the separate consent), the ladder (a recorded rule, the evaluation table from Jev or the host's small model, which decides nothing, the advisor in advisor's choose mode, then the host), and one log --kind decision record per attempt. The ladder is advisory (agent judgment); the record, the packet caps and the ladder's command forms are script-enforced. A rung's answer is the decision; it grants no authority, so the chosen action still passes check.
Merge gate
Before any merge, load references/merge-gate.md and merge only when every condition there holds: the Merge answer, merge_check.py --independent, the same-family fallback, green checks, the pinned head and the worktree cleanup after it (advisory (agent judgment), with the enforcers it names).
Stop and return
Run python3 -I <script> stop on the user's return/stop invocation and report its output (advisory (agent judgment)). The script writes a stop marker and removes the lease. Report parked work, decisions and delegated runs still waiting; record running delegates as orphaned and leave them for the user to decide rather than killing them (advisory (agent judgment)). There is no status command.
List the lease's decisions from your log --kind decision records (the ids and topics you logged; the ledger keeps no question text), decisions with --precedents 0 first because they teach the most, each with its deciding rung and who decided, and ask the user to mark each kept or reversed. Record each answer with python3 -I <script> review --decision <id> kept|reversed (script: the id must be recorded). Write each reversal back to the knowledge base as a decision with the user's reason, through tidy "Remember or recall", so the next packet carries it. Asking for the review and the write-back are advisory (agent judgment); without them nothing is learned.
Release scope: a plugin-run live loop (beyond the host /loop in Start step 3), dashboard tab, scheduler, notice hook and host backstop are not part of this release. No automatic calling of check or unattended host enforcement is promised; following this procedure is advisory (agent judgment), backed only by the script and merge gate named above.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

