본문으로 건너뛰기
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 등 사용하는 코딩 에이전트에 붙여넣으세요.

링크