jules-wrangler

Triages Google Jules coding sessions and promotes approved work to GitHub PRs.

Updated May 10, 2026
One-click install
npx skills add https://github.com/darksheer/agentic-skills --skill jules-wrangler-darksheer
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: jules-wrangler
Source: https://github.com/darksheer/agentic-skills/tree/main/plugins/agentic-skills/skills/jules-wrangler
Command: npx skills add https://github.com/darksheer/agentic-skills --skill jules-wrangler-darksheer

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve? Google Jules runs coding sessions asynchronously, leaving completed work, unanswered questions, and unmerged patches scattered outside your GitHub workflow. This Skill closes the loop by polling the Jules API, scoring each session, promoting approved work to pull requests, and handing PRs off for merge management. ## Core Features & Use Cases - Session Triage & Scoring: Polls the Jules API for COMPLETED and AWAITING sessions, analyzes activities and changeSets, and assigns a weighted confidence score to decide promotion. - Configurable Autonomy Modes: Supports full, approve-high-risk, and approve-all modes with per-agent rules for recurring agents like Bolt and Palette. - Interactive Feedback Handling: Detects AWAITING_USER_FEEDBACK sessions, auto-answers simple confirmations, and drafts codebase-grounded answers to substantive questions via the sendMessage API. - PR Promotion & Handoff: Creates PRs from gitPatch changeSets when Jules did not auto-create one, then hands off to github-babysitter pr-care with a structured payload. - Use Case: Schedule a daily 9am run that scans all Jules sessions across multiple GitHub orgs, promotes high-scoring Bolt performance fixes to PRs, answers a blocking question on a Palette session, and posts a digest digest summarizing promoted, pending, and rejected sessions. ## Quick Start Ask the agent to triage your Jules sessions now, or request to schedule Jules triage daily at 9am for a specific repository.

Frequently Asked Questions about jules-wrangler

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I triage Google Jules sessions automatically?

Configure a .jules-wrangler.yml file with your autonomy mode and target repositories, then invoke the skill manually or on a cron schedule. It polls the Jules API for COMPLETED sessions, scores them, and promotes qualifying work to GitHub PRs.

How do I promote a Jules session to a GitHub PR?

If Jules used AUTO_CREATE_PR, the skill locates the existing PR and annotates it. Otherwise it parses the session's gitPatch unidiffPatch, creates a branch from baseCommitId, applies the patch, and opens a PR with the suggested commit message.

What autonomy modes does Jules triage support?

Three modes are supported: full auto-promotes all sessions above the confidence threshold, approve-high-risk auto-promotes low-risk work but asks for security or architectural changes, and approve-all never auto-promotes and only generates a digest.

Can the skill answer Jules sessions waiting for user feedback?

Yes. It detects AWAITING_USER_FEEDBACK sessions, classifies the last agent message as a simple confirmation or substantive question, and can auto-respond via the sendMessage API. Substantive questions are answered using codebase analysis in full mode or deferred to the digest.

What authentication does the Jules API require?

The Jules API requires an API key sent via the X-Goog-Api-Key header. The skill reads it from the JULES_API_KEY environment variable, a .env file, or the jules_api_key field in the config file, with keys managed at jules.google.com/settings.

When should a Jules session not be promoted to a PR?

Sessions are rejected when they failed during execution, touch files outside their stated scope, conflict with open PRs on the same files, were previously rejected by a human, or score below 0.3 confidence. Repoless sessions also cannot be promoted directly.