pkronstrom

Owl Afk — Development skill for Claude Code

Development community

Remote approval system for Claude Code via Telegram.

How to install Owl Afk

This entry records only its repository, not the path inside it, so there is no exact command to give. Open pkronstrom/owl-afk and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

What Owl Afk does

Remote approval system for Claude Code via Telegram. Approve or deny tool calls from your phone while AFK. Features smart pattern rules, chain command support, and captain-hook integration.

Alternatives in Development

  • Ccmanager — 940+ Session manager supporting 8 coding agents with smart auto-approval 946 ★
  • Maestro Ralph — Closed-loop policy over the canonical Session/Run chain 530 ★
  • Claude Telegram Relay — Minimal pattern for running Claude Code as an always-on Telegram bot 326 ★

README

owl

![owl banner](docs/owl_banner.png)

Remote approval system for Claude Code via Telegram. Approve or deny tool calls from your phone while away from your computer.

Part of [**Nest-Driven Development**](https://github.com/pkronstrom/nest-driven-development) — the minimum vibable workflow.

![Telegram demo](docs/tg_cap.gif)

Features

  • Telegram Integration: Receive approval requests on Telegram with inline buttons
  • Smart Pattern Rules: Create rules to auto-approve commands matching patterns (e.g., Bash(git *), Edit(*.py))
  • Chain Command Support: Handle complex bash chains like git add . && git commit -m "msg" with per-command approval
  • Wrapper Chain Expansion: Inner chains in SSH/Docker commands are expanded into individually-approvable steps (e.g., ssh host 'cd /tmp && rm foo')
  • Wrapper Detection: Recognizes SSH, Docker, sudo, and other wrapper commands with progressive pattern matching
  • Project-Scoped Rules: Auto-approve edits within specific projects
  • Subagent Notifications: Get notified when Claude's subagents complete
  • Session Notifications: Get notified on session start/end and context compaction
  • Notification Forwarding: Forward Claude's notifications to Telegram
  • Syntax Highlighting: Telegram messages use
     blocks with language-detected highlighting for commands and tool results
  • Tool Results: Optionally show tool output (stdout, exit codes) in Telegram messages after approval
  • Project Filters: Enable owl only for specific projects

Installation

# With uv (recommended)
uv tool install git+https://github.com/pkronstrom/owl-afk

# With pipx
pipx install git+https://github.com/pkronstrom/owl-afk

# Development (editable install)
git clone https://github.com/pkronstrom/owl-afk
cd owl-afk
uv sync

Setup

1. Create a Telegram Bot

  1. Message @BotFather on Telegram
  2. Send /newbot and follow the prompts
  3. Save the bot token