From schrute
Explains Schrute's self-learning browser agent workflow for recording interactions into tiered API skills, including explore-record commands, tier promotion, confirmation, and security model.
npx claudepluginhub sheeki03/schruteThis skill is limited to using the following tools:
Schrute learns API behaviors by observing browser interactions and generates replayable "skills."
Guides developers in choosing between Schrute skill recording and direct browser automation based on repeatability, latency needs, and API extraction goals.
Builds reliable browser automation skills for specific websites by iteratively running tasks, analyzing traces, and refining strategy.md. Supports parallel sub-agent execution.
Executes AI browser agents for web interactions, data extraction, research, and workflow automation. Learns and reuses skills; supports background tasks and multi-source synthesis.
Share bugs, ideas, or general feedback.
Schrute learns API behaviors by observing browser interactions and generates replayable "skills."
Start a browser session on a target site:
/schrute:explore https://api.example.com
This opens a Playwright browser context and begins monitoring network traffic.
Name the action and perform it in the browser:
/schrute:record search-products --input query=laptop
All network requests during recording are captured in a HAR file.
Stop recording to process the capture:
/schrute:record (then say "stop" when done)
The capture pipeline: HAR parsing → noise filtering → auth detection → parameter discovery → chain detection → endpoint clustering → skill generation.
Generated skills appear as MCP tools. They execute through the tier system:
| Tier | Name | Latency | Method |
|---|---|---|---|
| 1 | Direct | 1-50ms | HTTP fetch with strict headers |
| 2 | Cookie Refresh | 5-100ms | Fetch + auto cookie refresh |
| 3 | Browser Proxied | 100-500ms | Browser context fetch (default start) |
| 4 | Full Browser | 1-10s | Full Playwright page automation |
Skills start at Tier 3 and promote to Tier 1 after 5 consecutive successful validations with low volatility.
ALL newly-activated skills require one-time confirmation before first execution, regardless of their side-effect class. Use schrute_confirm with the provided token to approve or deny.
| Command | Purpose |
|---|---|
/schrute:explore <url> | Start browser session |
/schrute:record <name> | Record an action |
/schrute:skills | List all skills |
/schrute:doctor | Health diagnostics |
/schrute:status | Engine/daemon status |
19 browser automation tools are available during exploration:
browser_navigate, browser_click, browser_type, browser_snapshot, browser_fill_form, browser_press_key, browser_hover, browser_drag, browser_select_option, browser_file_upload, browser_handle_dialog, browser_tabs, browser_take_screenshot, browser_wait_for, browser_close, browser_resize, browser_console_messages, browser_network_requests, browser_navigate_back.
Blocked for security: browser_evaluate, browser_run_code, browser_install.
9 security gates protect every skill execution:
Config file: ~/.schrute/config.json
Key settings:
toolShortlistK: Max tools exposed at once (default: 10)payloadLimits.maxResponseBodyBytes: Response size cap (default: 10MB)audit.strictMode: Require HMAC-signed audit log (default: true)confirmationTimeoutMs: Approval window (default: 30s)For detailed information on specific topics, see:
reference/tier-system.md — promotion/demotion algorithm, tier lock, latency characteristicsreference/security-model.md — 9 gates explained, confirmation flow, credential handlingexamples/workflow-github.md — full end-to-end recording walkthrough with GitHub