# /afk: Let the agent improve your project while you are away

Source: https://trendhub.net/skills/jakubkrehel-skills/afk
Skill folder: https://github.com/jakubkrehel/skills/tree/main/skills/afk
Pack: Jakub Krehel's Interface Skills (https://trendhub.net/skills/jakubkrehel-skills)
Works with: Agents supported by the skills CLI

afk is meant for long unattended runs. The agent checks its tools, studies the project and any earlier runs, gathers evidence from analytics, errors, CI and the code itself, writes at least fifteen ideas and builds the best-supported ones as small local commits. Each commit is challenged before it stays, and you return to a short report rather than a pile of changes.

## When to use it

- You are stepping away for several hours and want useful, reviewable work done.
- A project has accumulated small user-facing problems nobody has had time to chase.
- You want fresh feature ideas backed by real traffic, errors or copy promises.

## How it works

1. **Check tools up front**: The agent starts the dev server, runs the checks, opens a page and calls each connected service, then states what is missing and continues without it.
2. **Learn and gather evidence**: It reads agent docs, the README, git history, CI configuration, earlier afk branches and every connected source such as analytics and error trackers.
3. **Generate widely**: At least fifteen ideas go into a notes file, each naming the person it helps, its evidence, size and risk, including some that change behaviour.
4. **Build, verify, try to reject**: Chosen ideas become single local commits in the repository's style, are exercised where a user would meet them, and are kept, shrunk or reverted.
5. **Leave the report**: The final message covers the branch, what users now see, what was backed out, what was verified, what was skipped, decisions made and unbuilt ideas.

## What it steers the agent away from

- Pushing, opening pull requests, deploying or messaging anyone without being asked.
- Touching your uncommitted work, which is left alone by building in a separate worktree.
- Adding new libraries, colours or components the repository does not already use.

## What it can touch

It creates an afk branch, commits locally, runs dev servers, tests and CI checks, keeps notes in an .afk folder excluded from git and reads connected services without changing them.

## Pairs well with

- `/better-accessibility`
- `/better-interface`

## Questions

### Will it push or deploy anything?

No. Pushing, pull requests, merges, deploys and messages happen only if your request explicitly asks for them.

### How long does a run last?

The skill expects hours and keeps working until your stated return time or until no evidenced small idea remains.
