Find real-world code examples across millions of GitHub repositories. Use when the user wants to see how others implement something, find usage patterns, or discover code examples in the wild.
Finds real-world code examples across millions of GitHub repositories using grep.app. Activates when users ask how others implement something, want to see usage patterns for libraries/APIs, or need production code examples instead of documentation.
/plugin marketplace add krmcbride/claude-plugins/plugin install essentials@krmcbride-pluginsThis skill inherits all available tools. When active, it can use any tool Claude has access to.
Find real-world code examples across millions of public GitHub repositories using grep.app.
When to activate:
API endpoint:
curl -s "https://grep.app/api/search?q={query}&page=1" | jq '.hits.hits[:5]'
Parameters:
| Parameter | Description |
|---|---|
q | Search query (required) |
page | Page number for pagination |
regexp | true for regex search |
case | true for case-sensitive |
f.lang | Language filter (capitalized, e.g., TypeScript, Go, Python) |
f.repo.pattern | Filter by repository pattern |
f.path.pattern | Filter by file path pattern |
Examples:
Search for useEffect usage in TypeScript:
curl -s "https://grep.app/api/search?q=useEffect&f.lang=TypeScript&page=1" | jq '.hits.hits[:3]'
Search for Go error handling patterns:
curl -s "https://grep.app/api/search?q=if%20err%20!=%20nil&f.lang=Go&page=1" | jq '.hits.hits[:3]'
Search within a specific repo:
curl -s "https://grep.app/api/search?q=createContext&f.repo.pattern=facebook/react&page=1" | jq '.hits.hits[:3]'
Response format:
hits.hits[] - Array of search resultsrepo.raw (repo name), path.raw (file path), content.snippet (code snippet)Note: Returns max 1000 results. For documentation, use the documentation-lookup skill instead.
Create employment contracts, offer letters, and HR policy documents following legal best practices. Use when drafting employment agreements, creating HR policies, or standardizing employment documentation.
Implement GDPR-compliant data handling with consent management, data subject rights, and privacy by design. Use when building systems that process EU personal data, implementing privacy controls, or conducting GDPR compliance reviews.