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

telegrambot

manlight87 द्वारा

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

संक्षिप्त

Manage and secure local high-privilege storage serving workflows.

विवरण

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

Runs a local HTTP file server that exposes a configurable root directory over loopback. Token authentication and path traversal protection are enforced by default. Intended for automation workflows that need structured local filesystem access.

Provides token-gated local file access without requiring a cloud service, external storage account, or network exposure.

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

  • Serving local files to an AI agent over HTTP during a workflow
  • Exposing a project directory for script-driven file operations
  • Getting structured JSON directory listings for automation pipelines
  • Testing file-serving logic without an external storage dependency
  • Running a token-protected local endpoint for privileged file access

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

इनपुट

User asks: Start a local file server exposing D:\projects on port 9000 with a custom token

एजेंट
  1. 1

    Set GOD_MODE_ROOT to D:\projects, GOD_MODE_PORT to 9000, and GOD_MODE_TOKEN to the chosen token

  2. 2

    Run node scripts/server.cjs

  3. 3

    Confirm the server binds only to 127.0.0.1:9000

  4. 4

    Send a test request with the token to validate auth and reachability

  5. 5

    Verify directory listing returns structured JSON

आउटपुट

Local file server is running on 127.0.0.1:9000, token auth active, root restricted to D:\projects

आवश्यकताएँ

  • GOD_MODE_TOKEN environment variable (user-defined access token)

इंस्टॉलेशन

clawhub install manlight87/telegrambot

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

लिंक