jules-delegator

jules-delegator is a skill for Claude Code, Codex from d-o-hub/github-template-ai-agents. It costs 98 tokens per session (1,457 once invoked), scanned A, original, MIT.

A skill that delegates coding work to Jules, an autonomous AI coding agent, through the Jules command-line tool.

In plain words
What is it for?
Use it for multi-file features, broad refactors, complex bug fixes, or other coding work you want Jules to handle.
Why use it?
It moves larger implementation tasks to a separate coding session while providing steps to monitor, retrieve, and review the result.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: installed under .agents/ (shared by several agents); mentions AGENTS.md.

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is ./scripts/validate-commit-message.sh <(git log -1 --pretty=%B).

Good fit Use it for multi-file features, broad refactors, complex bug fixes, or other coding work you want Jules to handle.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.

Clone the repo
git clone --depth 1 https://github.com/d-o-hub/github-template-ai-agents
agentmods
npx agentmods add skills/d-o-hub/github-template-ai-agents/jules-delegator

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for jules-delegator

README.md
[![agentmods](https://agentmods.dev/badge/skills/d-o-hub/github-template-ai-agents/jules-delegator/github.svg)](https://agentmods.dev/skills/d-o-hub/github-template-ai-agents/jules-delegator)
Your own site
<a href="https://agentmods.dev/skills/d-o-hub/github-template-ai-agents/jules-delegator"><img src="https://agentmods.dev/badge/skills/d-o-hub/github-template-ai-agents/jules-delegator/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for jules-delegator

Your own site · 80×15
<a href="https://agentmods.dev/skills/d-o-hub/github-template-ai-agents/jules-delegator"><img src="https://agentmods.dev/badge/skills/d-o-hub/github-template-ai-agents/jules-delegator.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 98 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,457 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00098 $0.01457
Opus 5 $0.00049 $0.00728
Sonnet 5 $0.00020 $0.00291
Haiku 4.5 $0.00010 $0.00146

Measured 9d ago against content hash daa16b7d2a06, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade A, and why

jules-delegator scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 9d ago.

The scan reads SKILL.md. This mod also ships 2 executable files (scripts/delegate.sh, scripts/normalize-commits.sh), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.agents/skills/jules-delegator/SKILL.md · 174 lines

How it starts

The opening of the file, as written. The whole thing — 174 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Jules Delegator (CLI-Based)

Delegate complex tasks to Jules using the official CLI.

When to Use

  • Complex feature implementations that span multiple files.
  • Refactoring large modules.
  • Implementing complex bug fixes.
  • Delegating work to run autonomously while you focus on other tasks.

Prerequisites

  • Jules CLI installed (npm install -g @google/jules)
  • Authenticated with Google (jules login)

Core Loop

  1. Prepare Context: Detect repository and branch.
  2. Delegate: Create a new session with a clear prompt.
  3. Monitor: Check session status.
  4. Pull: Retrieve results when complete.
  5. Review: Launch TUI for visual diff and confirmation.

Workflow

1. Authenticate

Ensure you are logged in:

jules login

2. Detect Context

Auto-detect repository using git remote get-url origin.

3. Create Session

Start a new autonomous session:

# In repo directory (auto-detects repo)
jules remote new --session "Add OAuth2 authentication to the API"

# For specific repo
jules remote new --repo owner/repo --session "Implement dark mode"

4. Monitor Sessions

Check the status of your active sessions:

jules remote list --session

5. Retrieve Results

Pull changes once the session is completed:

jules remote pull --session <session_id>

6. Interactive Mode

Launch the TUI for a visual experience:

jules

7. Post-Pull Normalization (REQUIRED)

google-labs-jules[bot] does not produce conventional commit messages. It writes prose ("I've hardened the check-adr-compliance.sh …") that fails commitlint (header-max-length, type-empty, subject-empty). See ADR-008 and PR #505 run 27086771117. Never push a Jules session's branch without normalization.

After jules remote pull --session <id>, before pushing or letting any PR open:

# 1. Verify the branch is clean
git status --porcelain

# 2. For each non-conventional commit in the Jules branch, rewrite it.
#    Find the merge-base and the head:
BASE="$(git merge-base HEAD origin/main)"
HEAD="$(git rev-parse HEAD)"

# 3. Auto-rewriter (see .agents/skills/jules-delegator/scripts/normalize-commits.sh):
./.agents/skills/jules-delegator/scripts/normalize-commits.sh \
    --from "$BASE" \
    --to   "$HEAD" \
    --type fix \
    --scope security

# 4. Force-push the rewritten branch (Jules session branches are disposable).
git push --force-with-lease origin <branch>

# 5. Validate locally before requesting review.
./scripts/validate-commit-message.sh <(git log -1 --pretty=%B)

Read the full file on GitHub · 174 lines

Files

What ships with it

4 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 9d ago First seen · 174 lines · 98 tokens per session scan A daa16b7d2a06

Subscribe to this mod's changes

jules-delegator is a skill published in the GitHub repository d-o-hub/github-template-ai-agents (2 stars, last pushed yesterday), licensed MIT. It adds 98 tokens to every session and 1,457 once invoked, about $0.0005 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.