Pilot: A Browser Automation Tool Built Entirely with Claude Code

Pilot is a browser automation tool built entirely by Claude Code, directed and tested by a non-developer. It enables Claude to control Chrome by reading the accessibility tree—the same structure screen readers use—and assigning numbers to clickable elements for precise navigation.
How It Works
The tool converts page elements into compact text data instead of screenshots. Each clickable element gets a number, allowing Claude to issue commands like click 5 rather than guessing screen positions. This approach handles popups and works across multiple tabs.
Setup and Usage
- Install the Chrome extension and start the server
- Type
/pilotin Claude Code - Ask Claude to perform tasks like "go to YouTube and search for cooking tutorials"
Multiple actions can be batched in a single call, and the tool processes page data as compact text rather than screenshots.
Development Insights
The creator learned several key lessons while building with AI:
- Clearly describing what you want is the hardest part
- Testing remains the human's responsibility—Claude writes code but you must verify it works
- Development required many iterations, not a one-shot process
The tool is free, MIT licensed, and works on macOS, Linux, and Windows. The GitHub repository is available for those interested in the implementation or wanting to contribute.
📖 Read the full source: r/ClaudeAI
👀 See Also

Recall: A Persistent Memory MCP Server for Claude Code
Recall is an open-source MCP server that gives Claude Code persistent memory across sessions via semantic search with embeddings. It includes four lifecycle hooks: session-start, observe, pre-compact, and session-end.

/goal for Claude Code: persistent tasks with adversarial review
A /goal command for Claude Code that keeps it working on a long task across many turns, with an optional separate Claude session reviewing the final result to prevent false completion.

Agent-Desktop: Structured Desktop Automation via OS Accessibility Trees
Agent-desktop is a cross-platform CLI (Rust binary, ~15 MB) that exposes 53 commands with JSON output for inspecting and operating native apps through OS accessibility APIs — no screenshots or vision models needed. It uses progressive skeleton traversal to reduce token usage by 78-96% on dense apps like Slack or VS Code.

Claude Code user creates /discuss command for read-only conversations
A Claude Code user created a 25-line custom skill called /discuss that enables read-only conversations without file modifications. The command allows code exploration, research, and discussion while preventing edits, using the --dangerously-skip-permissions flag with built-in safety.