跳到正文
TakoAPI
返回技能列表

jules-api

由 arthbhalodiya 提供

Coding Agents & IDEs
512下载量由 clawskills.sh 提供
0浏览量
0 个赞登录后即可为这个技能点赞
—暂无评分
你的评分

简介

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

描述

该技能的功能

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.

何时使用

  • 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

示例工作流

输入

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

智能体
  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

输出

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

前置要求

  • 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

安装

clawhub install arthbhalodiya/jules-api

运行 CLI 命令,或把这段提示词粘贴到 Claude Code、Cursor、Codex 或你在用的任意编程智能体里。

链接