/schrute:schrute-usage [topic]from schrute
Explains Schrute's self-learning browser agent workflow: explore, record, replay skills with tiered execution and confirmation system.
Ships in schrute. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
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 GitHubWhat SKILL.md sets; muted values are Claude Code's defaults
Claude Code installs this plugin but refuses to load it
hooks/hooks.json: hooks.json declares PreToolUse/PermissionRequest at its top level, outside the "hooks" object — a PreToolUse/PermissionRequest hook that cannot be loaded may be what guards the permissions declared beside it, so nothing it sits in is applied until the entry is fixed or removed
hooks/hooks.json: hooks.json declares PreToolUse/PermissionRequest at its top level, outside the "hooks" object — a PreToolUse/PermissionRequest hook that cannot be loaded may be what guards the permissions declared beside it, so nothing it sits in is applied until the entry is fixed or removed
Checked against Claude Code 2.1.332. The listing below is what the repository ships; Claude Code doesn't load it as published.
2 skills in this plugin
Other plugins' skills for the same job