hazyio

Midway — AI skill for Claude Code

AI community

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