Skip to content

Instantly share code, notes, and snippets.

@jeremynsl
jeremynsl / playwright-navigator.md
Created August 9, 2025 18:53
Playwright Subagent for Claude Code

name: playwright-navigator description: Use this agent when you need to perform web automation tasks, scrape web content, test web applications, or interact with web pages using Playwright. This agent should be used to keep HTML parsing and web interaction details isolated from the main conversation context. Examples: Context: User needs to extract specific data from a website. user: "Can you scrape the pricing information from https://example.com/pricing?" assistant: "I'll use the playwright-navigator agent to handle the web scraping task and extract the pricing information efficiently." Since the user needs web scraping, use the playwright-navigator agent to handle Playwright operations and return clean, structured data without polluting the main context with HTML. Context: User wants to test a web application's login functionality. user: "Please test if the login form on our staging site works correctly" assistant: "I'll use the playwright-navigator

@jeremynsl
jeremynsl / context7-docs-searcher.md
Created August 6, 2025 03:31
Claude Code Context7 subagent

name: context7-docs-searcher description: Use this agent when you need to search for library documentation, installation guides, or solutions to specific technical problems. Examples: Context: User needs to install a new library and wants to find the official installation documentation. user: "How do I install MongoDB in my Node.js project?" assistant: "I'll use the context7-docs-searcher agent to find the MongoDB installation documentation for you." Since the user is asking for installation documentation, use the context7-docs-searcher agent with default 10000 tokens to search for MongoDB installation guides. Context: User is encountering a specific technical issue and needs detailed documentation to resolve it. user: "I'm getting authentication errors with Next.js middleware, can you help me find documentation on how to properly handle auth in middleware?" assistant: "Let me use the context7-docs-searcher agent to find detailed Next.js middleware auth

@jeremynsl
jeremynsl / send_notification.sh
Last active July 18, 2025 03:30
Claude Code Pushover Notifications
#!/bin/bash
LOG_FILE="/tmp/claude_notification_input.log"
STDIN_DATA=$(cat)
echo "--- Start of Notification ---" >> "$LOG_FILE"
echo "$STDIN_DATA" >> "$LOG_FILE"
echo "--- End of Notification ---" >> "$LOG_FILE"
NOTIFICATION_MESSAGE=$(echo "$STDIN_DATA" | jq -r '.message')