Skip to content

Instantly share code, notes, and snippets.

@mikehadlow
Created February 17, 2026 12:08
Show Gist options
  • Select an option

  • Save mikehadlow/298cc82f04d59ec912884843ca7c90ad to your computer and use it in GitHub Desktop.

Select an option

Save mikehadlow/298cc82f04d59ec912884843ca7c90ad to your computer and use it in GitHub Desktop.
Rodney Claude Code Skill
name description
rodney
This skill uses the rodney CLI tool for browser automation. Use this for all browser based testing and automation.

Rodney

Instructions

Rodney provides Chrome automation from the command line.

It is a Go CLI tool that drives a persistent headless Chrome instance using the rod browser automation library. Each command connects to the same long-running Chrome process, making it easy to script multi-step browser interactions from shell scripts or interactive use.

It is already installed on this machine.

Run rodney --help, for command line options.

See the README for instruction on use.

Examples

Here is a shell script example of a single rodney session.

# Wait for page to load and extract data
rodney start
rodney open https://example.com
rodney waitstable
title=$(rodney title)
echo "Page: $title"

# Conditional logic based on element presence
if rodney exists ".error-message"; then
    rodney text ".error-message"
fi

# Loop through pages
for url in page1 page2 page3; do
    rodney open "https://example.com/$url"
    rodney waitstable
    rodney screenshot "${url}.png"
done

rodney stop
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment