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

jules-api

bởi arthbhalodiya

Coding Agents & IDEs
512Lượ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

Create and manage Google Jules AI coding sessions via the Jules REST API.

Mô tả

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

Provides REST API access to Google Jules, an AI coding agent that executes tasks on GitHub repositories. Create sessions with a task prompt, monitor state transitions, approve generated plans, and retrieve completed pull requests. Connected repos are managed via the Jules web UI; the API handles the session lifecycle.

API access lets you integrate Jules tasks into CI/CD pipelines and automation scripts instead of triggering each task manually through the web UI.

Khi nào nên dùng

  • Trigger a bug fix on a GitHub repo and retrieve the resulting PR
  • Add unit tests to a module by submitting a prompt and approving Jules' plan
  • Poll session state to detect when an autonomous coding task completes
  • Send follow-up instructions when Jules requests user feedback mid-task
  • List all active sessions to audit ongoing coding jobs across repos

Quy trình ví dụ

ĐẦU VÀO

User asks: add comprehensive unit tests for the auth module in myorg/myrepo

AGENT
  1. 1

    Call GET /sources to find the resource name for myorg/myrepo

  2. 2

    POST /sessions with the task prompt and AUTO_CREATE_PR automation mode

  3. 3

    Poll GET /sessions/{id} until state is AWAITING_PLAN_APPROVAL, then POST :approvePlan

  4. 4

    Poll GET /sessions/{id}/activities until a sessionCompleted event appears

  5. 5

    Return the PR URL from the completed session response

ĐẦU RA

A pull request on myorg/myrepo adding unit tests to the auth module

Yêu cầu

  • Jules API key from jules.google.com/settings (set as JULES_API_KEY env var)
  • Jules account with at least one GitHub repository connected via the Jules web UI

Cài đặt

clawhub install arthbhalodiya/jules-api

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