setup-afk-coding
Skill4 starsChanged 3 months agoMITView on GitHub
Install or update an hourly Codex automation that wakes PR workers and dispatches ready GitHub tickets into isolated AFK coding tasks.
In this repository59 other files it gives its agents.
- AGENTS.mdAGENTS.md
- codebase-designSkill
- code-reviewSkill
- convex-acquire-domainSkill
- convex-addSkill
- convex-advisorSkill
- convex-agentSkill
- convex-authSkill
- convex-authzSkill
- convex-backupSkill
- convex-billingSkill
- convex-check-updatesSkill
- convex-costSkill
- convex-create-componentSkill
- convex-cronsSkill
- convex-deploy-guardSkill
- convex-designSkill
- convex-docsSkill
- convex-domainsSkill
- convex-envSkill
- convex-expertSkill
- convex-explain-appSkill
- convex-improve-convex-pluginSkill
- convex-insightsSkill
- convex-launch-readinessSkill
- convex-migrate-rehearseSkill
- convex-migrateSkill
- convex-monitorSkill
- convex-optimizeSkill
- convex-quickstartSkill
- convex-reviewerSkill
- convex-seedSkill
- convex-self-healSkill
- convex-sentinelSkill
- convex-shipSkill
- convexSkill
- convex-suggestSkill
- convex-testSkill
- convex-verifySkill
- diagnosing-bugsSkill
- domain-modelingSkill
- grillingSkill
- grill-meSkill
- grill-with-docsSkill
- handoffSkill
- implementSkill
- improve-codebase-architectureSkill
- prototypeSkill
- releaseSkill
- researchSkill
- resolving-merge-conflictsSkill
- setup-matt-pocock-skillsSkill
- tddSkill
- teachSkill
- to-specSkill
- to-ticketsSkill
- triageSkill
- wayfinderSkill
- writing-for-agentsSkill
The file
We split this skill into the rules it gives an agent
3 rules. About 0 are common, 2 are distinctive, and 1 is very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈2
Distinctive · estimate
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
- Distinctive: line 14
Read orchestrator-contract.md, worker-contract.md, and testing-contract.md completely.
- Very specific: line 20
Use the tracker conventions in docs/agents/issue-tracker.md.
- Distinctive: line 61
Create or update exactly one standalone project automation with:
≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Setup AFK Coding
Install one hourly control tower for this repository. The control tower orchestrates; xhigh worker tasks implement.
1. Resolve the installation
Find the automation tool before taking action. Resolve the current repository's saved Codex project and confirm it is a Git repository. Inspect existing automations before creating one; match by project and the exact name <repository name> AFK Coding or by a prompt marker beginning afk-coding-contract:.
Read orchestrator-contract.md, worker-contract.md, and testing-contract.md completely. Compute one SHA-256 over their exact UTF-8 bytes in that order, with one newline between adjacent files.
Completion criterion: the saved project, zero or one matching automation, and the exact contract hash are known. Resolve duplicates explicitly before continuing.
2. Prepare the issue tracker
Use the tracker conventions in docs/agents/issue-tracker.md. Ensure these operational labels exist without changing ticket state:
| Label | Color | Meaning |
agent:claimed | 1D76DB | An AFK worker owns the issue |
agent:blocked | D93F0B | The worker needs external or human action |
agent:stale-claim | FBCA04 | A dispatcher lease may be abandoned |
review:ready | 0E8A16 | A verified PR awaits human review |
Inspect protection on the default branch. Record whether it requires pull requests, the repository CI check, human approval, and resolved conversations. This is a runtime dispatch gate, not an installation gate: install the automation even when protection is incomplete, and report that it will reconcile existing PRs but create no new workers until the gate passes.
Completion criterion: all four labels exist with the intended meanings, and branch protection has a named pass/fail result.
3. Compile the automation prompt
Build the prompt from this header followed by the three full contracts; preserve the source text instead of paraphrasing it:
afk-coding-contract: v3
contract-sha256: <computed hash>
orchestrator-reasoning: medium
worker-reasoning: xhigh
Execute one hourly AFK coding orchestration cycle for this project. The following contracts are authoritative for this run.
## Orchestrator Contract
<full orchestrator-contract.md>
## Embedded Worker Contract
<full worker-contract.md>
## Embedded Testing Contract
<full testing-contract.md>The hash makes drift observable while the embedded text lets a run operate without depending on the setup skill being loaded.
Completion criterion: the compiled prompt contains all three full contracts once, the correct hash, medium orchestrator reasoning, and xhigh worker reasoning.
4. Install idempotently
Create or update exactly one standalone project automation with:
- name
<repository name> AFK Coding; - active status and an hourly schedule;
- the resolved project;
- local execution and destination in the resolved project;
- the user's configured default model;
mediumreasoning effort;- the compiled prompt.
The control tower may inspect the repository and external control-plane state, but it must not edit, commit, push, or implement in the local project checkout. Worktree isolation belongs to the implementation and recovery workers created by the orchestrator contract.
Use the automation tool rather than writing automation files. Preserve the existing automation id, notification policy, and fields not owned above. Let the application choose its default notification policy for a new automation. Update a matching automation when its schedule, environment, reasoning, status, or contract hash drifts; create only when none exists.
Completion criterion: the automation tool reports one active matching automation and no duplicate was created.
5. Verify the installed control tower
Read the installed automation back through the automation tool. Confirm project, hourly cadence, active status, local controller execution, medium reasoning, prompt hash, all three embedded contracts, and fresh-worktree isolation for implementation and recovery workers. Report the automation id, first eligible run behavior, worker cap, xhigh worker setting, minimum-sufficient-proof policy, notification policy, and branch-protection gate.
The setup is complete only after read-back matches the compiled contract. Do not dispatch a worker directly from this setup run; the hourly automation owns dispatch.
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.

