WeZZard

Toll Free Harness — Development skill for Claude Code

Development community

Interactive PTY harness for local coding agents.

How to install Toll Free Harness

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

What Toll Free Harness does

Interactive PTY harness for local coding agents.

Alternatives in Development

  • Hive — Browser-native hive-mind for CLI coding agents — Claude Code, Codex, Gemini, and OpenCode collaborate as real 473 ★
  • Ship Studio — The professional studio for modern development — build it, ship it, host it without leaving the app 249 ★
  • Batch Benchmark — Launch the 4-variant batch on the currently-free local GPUs (parallel when N>=4, otherwise sequential waves of 68 ★

README

toll-free-harness

Full-featured user interaction simulator for terminal-based coding agents.

`toll-free-harness` models the complete user interaction surface of a coding agent CLI — prompting, answering questions, reviewing plans — as typed APIs. It spawns the agent in a local PTY, observes events through read-only hooks, and responds through the same keystroke channel a real user would.

Currently supports **Claude Code**. The framework is designed to add support for other coding agents whose headless modes do not fully expose the interactive user experience.

The name is a joke about toll booths around developer workflows.

What this project is not

Not an API proxy, credential-sharing service, or billing workaround. Users run their own local tools with their own accounts and must comply with those tools' terms.

Migrating from claude -p

Copy the migration guide and paste it to your coding agent:

# macOS
curl -s https://raw.githubusercontent.com/WeZZard/toll-free-harness/main/MIGRATION.md | pbcopy

# Linux
curl -s https://raw.githubusercontent.com/WeZZard/toll-free-harness/main/MIGRATION.md | xclip -selection clipboard

Ask your agent to convert your `claude -p` scripts to use toll-free-harness.

Quick start — CLI

No install needed. Replace `claude -p` with:

npx toll-free-harness claude -- -p "fix the failing tests"
npx toll-free-harness claude -- -p "explain this error" --allowedTools "Read"
cat build.log | npx toll-free-harness claude -- -p "what went wrong?"

When `-p` is detected, the tool routes the session through an interactive PTY harness. Without `-p`, it passes through to `claude` directly.

Quick start — Library API

pnpm add toll-free-harness
import { ClaudeCodeSession } from "toll-free-harness";

const session = new ClaudeCodeSession({
  args: ["--model", "opus"],
  cwd: "/path/to/project",
  prompt: "Fix the failing tests",
});

// Handle the agent's questions — return which optio