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

local-first-llm

joelnishanth द्वारा

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

संक्षिप्त

Routes LLM requests to a local model (Ollama, LM Studio, llamafile) before falling back to cloud APIs.

विवरण

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

Routes LLM requests to a local model (Ollama, LM Studio, or llamafile) before falling back to cloud APIs. Routing decisions factor in data sensitivity, prompt complexity, and local provider availability. Token usage and cost savings are logged to a persistent dashboard.

Combines automatic routing logic with cost tracking, so users get privacy and savings benefits without manually deciding which model to use each time.

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

  • Keeping sensitive prompts off cloud APIs
  • Reducing OpenAI API costs on repetitive tasks
  • Summarizing meeting transcripts with a local model
  • Checking how much money local routing has saved this month
  • Automatically routing complex queries to cloud while simple ones stay local

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

इनपुट

User asks: summarize this meeting transcript and keep it private

एजेंट
  1. 1

    Run check_local.py to detect available local providers

  2. 2

    Run route_request.py with the prompt and token estimate; sensitivity check routes to local

  3. 3

    Send the prompt to Ollama via its local API endpoint

  4. 4

    Run track_savings.py log to record the token count and routing decision

  5. 5

    Run dashboard.py to display updated cumulative savings

आउटपुट

Meeting transcript summarized locally; dashboard shows 800 tokens saved and cost avoidance logged

आवश्यकताएँ

  • Ollama, LM Studio, or llamafile installed and running locally

इंस्टॉलेशन

clawhub install joelnishanth/local-first-llm

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

लिंक