afk

afk is a skill for Claude Code, Codex from toverux/cantrips. It costs 15 tokens per session (226 once invoked), scanned A, original, MIT.

A session-keeping routine for Claude Code that schedules periodic wake-ups while you are away. It sends a numbered ping, schedules the next one, and stops after you return or after ten pings.

In plain words
What is it for?
Use it when stepping away from a Claude Code session and you want scheduled wake-ups to maintain the session state.
Why use it?
It keeps the current session's prompt cache warm during a short break. It does not perform work on the project.

Skill for Claude CodeCodex

Written for Claude Code and Codex: disable-model-invocation in frontmatter, but also agents/openai.yaml present. Also seen: mentions Claude Code.

Part of the cantrips plugin — 25 skills, 1 agent shipped together

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add skills/toverux/cantrips/afk
Any agent
npx skills add toverux/cantrips --skill afk
Clone the repo
git clone --depth 1 https://github.com/toverux/cantrips

Made for: Claude Code, Codex.

Or install cantrips, the plugin that ships this one along with the rest of its 25 skills, 1 agent.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for afk

README.md
[![agentmods](https://agentmods.dev/badge/skills/toverux/cantrips/afk.svg)](https://agentmods.dev/skills/toverux/cantrips/afk)
Your own site
<a href="https://agentmods.dev/skills/toverux/cantrips/afk"><img src="https://agentmods.dev/badge/skills/toverux/cantrips/afk.svg" alt="Measured on agentmods" height="20"></a>
Per session 15 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 226 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00015 $0.00226
Opus 5 $0.00008 $0.00113
Sonnet 5 $0.00003 $0.00045
Haiku 4.5 $0.00002 $0.00023

Measured 6d ago against content hash 60e7bdb5b65b, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade A, and why

afk scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 6d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/afk/SKILL.md · 21 lines

What it actually says

Claude Code only. If you do not have a ScheduleWakeup tool, say so and stop — a shell sleep or an external scheduler runs outside this session and warms nothing.

Keep this session warm across a break. Schedule the next wakeup with ScheduleWakeup:

  • prompt/afk verbatim, so the wakeup re-enters this skill and chains the next one.
  • delaySeconds — 3000.
  • reason — name cache warming, so the user reads why the session woke.

On each wake, reply with just "ping X" (number them), schedule the next wakeup, and leave the user's work untouched.

Stop the loop when the user returns, or when you reach ten pings (failure mode). Call ScheduleWakeup with stop: true so a pending wakeup cannot fire once the loop has ended.

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 6d ago First seen · 21 lines · 15 tokens per session scan A 60e7bdb5b65b

Subscribe to this mod's changes

afk is a skill published in the GitHub repository toverux/cantrips (2 stars, last pushed 2d ago), licensed MIT. It adds 15 tokens to every session and 226 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

obsidian-cli

Interact with Obsidian vaults using the Obsidian CLI to read, create, search, and manage notes, tasks, properties, and more. Also supports plugin and theme development with commands to reload plugins, run JavaScript, capture errors, take screenshots, and inspect the DOM. Use when the user asks to interact with their…

breferrari/obsidian-mind · 102 tokens

planning-with-files

Use this by default for non-trivial multi-step work that needs persistent planning, progress tracking, or durable notes on disk. Trigger when a task will likely span multiple tool calls, research steps, verification loops, or enough context that the plan should not live only in transient chat memory.

Galaxy-Dawn/claude-scholar · 61 tokens

obsidian-kb-artifacts

Use this skill for Obsidian-native formatting and derived artifacts such as Markdown formatting, wikilinks, registry tables, canvas files, optional Bases, CLI operations, and link repair. This skill does not decide knowledge routing.

Galaxy-Dawn/claude-scholar · 52 tokens

career-portfolio

한국 신입 취준생·재직자를 위한 분야별 포트폴리오 구성과 프로젝트 기술서 작성 스킬입니다. "포트폴리오 만들어줘", "프로젝트 정리해줘", "노션 포트폴리오 1시간 만에"처럼 말하면 됩니다. 개발(GitHub·기술 블로그)/디자인(Figma·Behance)/마케팅/기획 분야별 + 검색되는 노션 포트폴리오 + 채용공고 맞춤형 1page 셀링 + 877건 노하우 기반 비중 배분을 지원합니다.

modu-ai/moai-cowork · 133 tokens

marketing-meta-ads-manager

페이스북·인스타그램 광고를 자연어로 직접 만들고 켜고 끄고 예산까지 조정해 드립니다. Meta 공식 광고 AI 커넥터에 브라우저 로그인 한 번으로 연결되며, 신규 광고는 항상 꺼진(PAUSED) 상태로 만들고 켜기 전에 꼭 확인을 받습니다. 다음과 같은 요청 시 사용하세요: "메타 광고 만들어줘", "인스타 광고 캠페인 생성해줘" "광고세트 추가해줘", "새 광고 소재 등록해줘" "일예산 5만원으로 올려줘", "광고 예산 변경해줘" "광고 켜줘", "광고 꺼줘", "캠페인 일시정지해줘" "Meta 광고 운영해줘", "AI 커넥터로 광고 관리해줘" "전환 픽셀…

modu-ai/moai-cowork · 326 tokens

hr-operations

원격 근무와 팀 운영 정책을 설계해주는 스킬입니다. "재택근무 정책 만들어줘", "협업 도구 추천해줘", "비동기 커뮤니케이션 가이드 만들어줘"처럼 말하면 됩니다. 원격·하이브리드 근무 정책, 협업 도구 선정 기준, 생산성 관리 프레임워크, 직원 경험 설계를 지원합니다.

modu-ai/moai-cowork · 91 tokens