agentleFS
finolabsfinolabs/vibecode/skills/afk/SKILL.md

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

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.
  • karanmrnSkill

    fmx-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

  • karanmrnSkill

    harness-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 FaceSkill

    simplify

    Refactor code after tests pass. The "Refactor" phase of Red-Green-Refactor.

    Also in 3 projects that use this

  • GoogleSkill

    prototype

    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

  • GoogleSkill

    improve-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

  • MicrosoftSkill

    writing-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

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
  1. Very specific:

    Before any merge, load references/merge-gate.md and merge only when every condition there holds: the Merge answer, merge_check.py …

    line 29

“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.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

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

  1. Run only on the user's invocation; use start when no argument is supplied (advisory (agent judgment)). Run python3 -I <script> start and report its settings summary and lease length. The script requires a recorded ## afk section with an explicit Merge answer; an older ## Autopilot section is not read. One lease covers every session on the machine: when one is already live, start reports 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 afk and stop (advisory (agent judgment)).
  2. 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 decide list, non-production-targets, production-targets, release-targets, test-commands, top-level-files and skill-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). The start summary shows user scope, then one This folder line with the limits, decided categories and lists of the repository it ran in; before choosing tasks or authors in a repository, read python3 -I <script> effective there (its rules field 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).
  3. 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 (/goal on 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 (/loop on Claude Code) and stop it when check answers with an end line or the lease ends, since a loop can outlive the lease. Neither widens what check allows.
  4. 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.

Download now (ZIP)

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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.