Midway — AI skill for Claude Code
Run commands and get notified while they run and when they finish.
How to install Midway
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open hazyio/midway and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Midway does
Run commands and get notified while they run and when they finish. Desktop and chat notifications, plus hooks for AI coding agents like Claude Code, Codex, Gemini CLI and Cursor.
Alternatives in AI
- Skills Manage — Desktop app to manage AI coding agent skills across Claude Code, Cursor, Gemini CLI, Codex, and 20+ platforms 2.2k ★
- LongHorizon Harness — The long-horizon computer-use harness 1.3k ★
- Skilldock — SkillDock is an AI skill manager and skill management desktop app for Claude Code, Cursor, Codex, Windsurf, Ge 490 ★
README
Midway
Midway runs shell commands and can send periodic notifications while they run, followed by a completion notification. Running notifications are enabled by default and repeat every 15 seconds; completion notifications are sent for commands that run at least 10 seconds. Configure `command_notifications` in `midway.yaml` to change this behavior. Notifications can be sent to local desktop notifications and configured messaging services.
Quick start
Install Midway with Cargo:
cargo install midway-cli
Prebuilt releases are available for Linux x86_64, Windows x86_64, and Apple Silicon macOS (aarch64). On ARM64 Windows, ARM64 Linux, or Intel macOS (x86_64), install Rust and Cargo and use the command above to build Midway for your machine.
Create a configuration, then run a command through Midway:
midway init
midway run cargo build
To send a notification directly:
midway send-text --message "Build finished"
Documentation
See the [Midway documentation](https://midway.hazyio.com/) for [installation options](https://midway.hazyio.com/installation), [configuration](https://midway.hazyio.com/config), [commands](https://midway.hazyio.com/commands/init), and [notification setup](https://midway.hazyio.com/notifications/local).
AI agent notifications
Use your coding agent's lifecycle hooks to call `midway send-text` when an agent finishes or needs approval. Guides for Claude Code, Codex CLI, GitHub Copilot, Gemini CLI, Antigravity CLI, OpenCode, and Cursor are in the [docs](https://midway.hazyio.com/agents/index).
Use `--background` in hooks so the notification still sends if the agent or hook process is interrupted.
Development
Install the stable Rust toolchain with the `rustfmt` and `clippy` components. On Linux, also install `pkg-config` and the OpenSSL development headers (on Ubuntu: `sudo apt-get install pkg-config libssl-dev`). Run this from the repository root to check formatting and Clippy rules before o
Related Skills
Agent Arcade
A retro platformer that runs as a transparent overlay on your desktop. Play while waiting for your AI agents t
Echook
🔊 echook — AI-operated audio notifications for Claude Code, Cursor IDE & Codex CLI — 26 hooks, voice + chime
Belay
💻 Keeps your Mac awake while your AI agents work. Built-in detection for Claude Code, Codex, Cline, Copilot p
Grove
A Kanban-style TUI for parallel AI coding. Manage Git worktrees as tasks, run multiple agents in isolated tmux
PowerLockGuard
Smart auto-sleep & power management for developers, laptops & AI agents (Claude Code, Cursor, Aider, VS Code).
Devie AI Quota Tracker
Dashboard + macOS menu bar for tracking AI subscription quotas in one place (Claude Code, Codex, Gemini CLI, G
Related Agents
Monk Installer
Install, upgrade, and troubleshoot monk-agent plus Monk CLI/daemon for Claude, Codex, and Cursor users.
Router Tooling Engineer
Writes and tests tooling code plus its unittest suites and README/docs under ~/.claude/router/ (state.sh, swit
Paf Reviewer
Runs one phone-a-friend relay or review command in the background and reports back a receipt plus the findings