본문으로 건너뛰기
TakoAPI
스킬로 돌아가기

permissions-broker

stephancill 제작

Coding Agents & IDEs
1.0kclawskills.sh가 보고한 다운로드 수
0조회수
좋아요 0개로그인하면 이 스킬에 좋아요를 누를 수 있습니다
—아직 평가 없음
내 평가

요약

Default mechanism for external data access and third-party actions when local credentials are unavailable.

설명

이 스킬이 하는 일

A proxy layer that routes AI agent requests to external APIs (Google, GitHub, iCloud CalDAV, Spotify) through a broker that requires explicit user approval in Telegram before execution. The agent proposes the exact upstream URL and method; the user approves or denies it in Telegram. OAuth tokens are injected by the broker, so credentials never pass through the agent.

Agents can interact with personal accounts without ever holding credentials, since the broker injects OAuth tokens only after the user explicitly approves each request.

사용 시점

  • Listing or searching Google Drive files from an agent session
  • Opening GitHub pull requests or issues on your behalf
  • Reading iCloud calendar events or reminders through an agent
  • Controlling Spotify playback with agent commands
  • Cloning or pushing to a GitHub repo with per-session approval gating

예시 워크플로

입력

User asks: Show me my last 5 Google Drive files

에이전트
  1. 1

    Creates a broker request targeting the Drive files API with pageSize=5 and a consent hint explaining the reason

  2. 2

    Tells the user to approve the request in Telegram

  3. 3

    Polls broker status for up to 30 seconds

  4. 4

    Executes the approved request and retrieves the upstream response bytes

  5. 5

    Parses and returns the file names and IDs to the user

출력

A list of 5 recent Drive file names and IDs

요구 사항

  • Telegram account used to create API keys and approve requests
  • Permissions Broker API key (PB_API_KEY), generated by messaging /key <name> to the Telegram bot
  • Provider accounts connected via /connect in the Telegram bot (Google, GitHub, iCloud, or Spotify)

설치

clawhub install stephancill/permissions-broker

CLI 명령을 실행하거나, 프롬프트를 Claude Code, Cursor, Codex 등 사용하는 코딩 에이전트에 붙여넣으세요.

링크