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

ruby-on-rails-gateway

jessewaites द्वारा

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

संक्षिप्त

Configure and operate a Ruby On Rails Agent Gateway integration.

विवरण

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

Configures and operates the OpenClaw side of a Rails Agent Gateway integration. Pulls briefing data from a Rails app's `/agent-gateway/:secret/briefing` endpoint using two-layer authentication. Handles env var validation, connectivity testing, and scheduled data pulls.

Pairing this with the agent_gateway gem gives a read-only, token-secured data pull path without exposing a full API or admin credentials.

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

  • Pull a 7-day user and order summary from a Rails app
  • Validate gateway token setup before running automated reports
  • Schedule recurring briefing fetches via cron
  • Diagnose 401/404 auth failures on the gateway endpoint
  • Generate aggregated resource counts for a reporting workflow

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

इनपुट

User asks: Pull a 30-day briefing for users and orders from my Rails app

एजेंट
  1. 1

    Check that AGENT_GATEWAY_TOKEN, AGENT_GATEWAY_SECRET, and RAILS_GATEWAY_URL are set

  2. 2

    Validate connectivity with a minimal fetch (--resources users --period 1d --latest 1)

  3. 3

    Run full pull: --period 30d --resources users,orders

  4. 4

    Parse response for counts, aggregations, and latest records

  5. 5

    Return summarized results with secrets redacted from output

आउटपुट

Summary of user and order counts, aggregations, and latest rows for the past 30 days

आवश्यकताएँ

  • AGENT_GATEWAY_TOKEN environment variable (bearer token set in the Rails app initializer)
  • AGENT_GATEWAY_SECRET environment variable (path secret set in the Rails app initializer)
  • RAILS_GATEWAY_URL environment variable (full briefing endpoint URL)
  • agent_gateway Ruby gem installed and configured in the target Rails application

इंस्टॉलेशन

clawhub install jessewaites/ruby-on-rails-gateway

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

लिंक