Bỏ qua tới nội dung
TakoAPI
Quay lại kỹ năng

perpetua

bởi danielkillenberger

Browser & Automation
226Lượt tải do clawskills.sh công bố
0Lượt xem
0 lượt thíchĐăng nhập để thích kỹ năng này
—Chưa có đánh giá
Đánh giá của bạn

Tóm tắt

OAuth proxy for calling external APIs (Oura, Google Calendar, etc.) via Perpetua.sh hosted API using a single API.

Mô tả

Kỹ năng này làm gì

OAuth proxy that lets agents call external APIs like Oura and Google Calendar using a single API key. Perpetua.sh handles OAuth token storage and refresh, so agents never touch OAuth credentials directly. Supports multiple provider connections managed through a hosted API.

Instead of managing per-service OAuth flows and token refresh logic, one API key gives agents access to all connected providers through a uniform proxy interface.

Khi nào nên dùng

  • Check last night's sleep score before morning planning
  • Pull today's calendar events to prep for meetings
  • Fetch weekly readiness and HRV trends
  • List upcoming workouts logged via Oura Ring
  • Add a new OAuth provider connection to the workspace

Quy trình ví dụ

ĐẦU VÀO

User asks: How did I sleep this week?

AGENT
  1. 1

    Load PERPETUA_API_KEY from environment

  2. 2

    Call GET /api/proxy/oura/v2/usercollection/daily_sleep with start_date and end_date set to the past 7 days

  3. 3

    Parse response JSON for sleep score and contributors fields

  4. 4

    Summarize scores by day

ĐẦU RA

A day-by-day breakdown of sleep scores and key contributors for the past week

Yêu cầu

  • PERPETUA_API_KEY environment variable
  • Perpetua.sh account with connected OAuth providers (e.g., Oura, Google Calendar)

Cài đặt

clawhub install danielkillenberger/perpetua

Chạy lệnh CLI, hoặc dán prompt vào Claude Code, Cursor, Codex hay coding agent bạn đang dùng.

Liên kết