कंटेंट पर जाएँ
TakoAPI
स्किल्स पर वापस
—अभी तक कोई रेटिंग नहीं
आपकी रेटिंग

संक्षिप्त

Search exact code matches across public GitHub repos using grep.app via the grepwrapper CLI.

विवरण

यह स्किल क्या करती है

grepwrapper is a CLI that queries grep.app to search exact code matches across public GitHub repositories. It supports case-sensitive, whole-word, and regex modes with paginated results.

Brings grep.app's indexed GitHub search into the terminal, removing the need to switch to a browser for code lookups.

इसे कब इस्तेमाल करें

  • Finding all public repos that implement a specific function signature
  • Locating which files reference an obscure library method
  • Checking open-source adoption of a deprecated API pattern
  • Discovering real-world usage examples of a code construct
  • Verifying a code snippet's uniqueness across GitHub

उदाहरण वर्कफ़्लो

इनपुट

User asks: Find public repos that implement PendingBalanceAt(ctx context.Context, account common.Address) (*big.Int, error)

एजेंट
  1. 1

    Run grepwrapper search with the exact function signature as the query

  2. 2

    Parse the summary line for total match count

  3. 3

    List each repo:path hit with its match count

  4. 4

    Construct direct GitHub links for the top results

  5. 5

    Ask the user if they want the next page or a narrower filter

आउटपुट

A list of GitHub repos and file paths containing the exact signature, with per-file match counts and direct links

आवश्यकताएँ

  • grepwrapper CLI (npm install from github.com/riprsa/grepwrapper)

इंस्टॉलेशन

clawhub install riprsa/grepwrapper

CLI कमांड चलाएँ, या प्रॉम्प्ट को Claude Code, Cursor, Codex या जो भी कोडिंग एजेंट आप इस्तेमाल करते हैं उसमें पेस्ट करें।

लिंक