कंटेंट पर जाएँ
TakoAPI
स्किल्स पर वापस

broken-link-checker

wanng-ide द्वारा

Calendar & Scheduling
650clawskills.sh द्वारा बताए गए डाउनलोड
0व्यूज़
0 लाइकइस स्किल को लाइक करने के लिए साइन इन करें
—अभी तक कोई रेटिंग नहीं
आपकी रेटिंग

संक्षिप्त

verify external URLs (http/https) for availability (200-399 status code).

विवरण

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

Checks a list of external URLs and reports whether each one returns a successful HTTP status code (200-399). Accepts multiple URLs as command-line arguments and outputs structured JSON with the result for each.

Accepts multiple URLs in one command and returns machine-readable JSON, making it straightforward to pipe results into scripts or CI pipelines.

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

  • Checking all links in a README before publishing
  • Auditing external references in project documentation
  • Finding dead links in a wiki or knowledge base
  • Validating API endpoint URLs listed in docs
  • Scanning a config file's external references before a release

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

इनपुट

User asks: check these URLs for broken links: https://example.com and https://example.com/broken

एजेंट
  1. 1

    Accept one or more URLs as command-line arguments

  2. 2

    Send an HTTP GET request to each URL

  3. 3

    Record the returned status code

  4. 4

    Determine validity based on whether status is 200-399

  5. 5

    Return a JSON array with url, valid, and status for each result

आउटपुट

[{"url":"https://example.com","valid":true,"status":200},{"url":"https://example.com/broken","valid":false,"status":404}]

इंस्टॉलेशन

clawhub install wanng-ide/broken-link-checker

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

लिंक