Setup & Installation
Or with the ClawHub CLI, for registry-managed skill folders outside a full OpenClaw workspace:
What This Skill Does
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.
When to use it
- 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
Example Workflow
Here's how your AI assistant might use this skill in practice.
User asks: add comprehensive unit tests for the auth module in myorg/myrepo
- 1Call GET /sources to find the resource name for myorg/myrepo
- 2POST /sessions with the task prompt and AUTO_CREATE_PR automation mode
- 3Poll GET /sessions/{id} until state is AWAITING_PLAN_APPROVAL, then POST :approvePlan
- 4Poll GET /sessions/{id}/activities until a sessionCompleted event appears
- 5Return the PR URL from the completed session response
A pull request on myorg/myrepo adding unit tests to the auth module
Requirements
Accounts, API keys, or tools you or your AI assistant may need to set up while using this skill.