Guide for using Google Jules, the asynchronous AI coding agent. Use when delegating tasks to Jules, writing Jules prompts, using the `jules` CLI, or when the user mentions "jules", "send to jules", or wants to offload coding work to run in the background. Ideal for well-defined tasks that can run independently (bug fixes, tests, refactoring, docs) or parallelizing work.
Delegates coding tasks to Google Jules for asynchronous execution in background VMs.
npx claudepluginhub maxnoller/claude-code-pluginsThis skill inherits all available tools. When active, it can use any tool Claude has access to.
Jules is Google's asynchronous coding agent that clones your repo into a secure VM, executes tasks, and returns diffs or PRs. It works in the background while you continue other work.
# Launch TUI
jules
# Create session for current repo
jules new "write unit tests for auth module"
# Create session for specific repo
jules new --repo owner/repo "add input validation"
# Parallel sessions (1-5) for same task
jules new --parallel 3 "fix linting errors"
# List sessions and repos
jules remote list --session
jules remote list --repo
# Pull session results
jules remote pull --session 123456
jules remote pull --session 123456 --apply # Apply patch locally
# Teleport: clone + checkout + apply patch
jules teleport 123456
# Auth
jules login
jules logout
Be specific, not vague. Treat it like delegating to a developer.
| Bad | Good |
|---|---|
| "Add authentication" | "Add JWT auth to Express app with login/logout endpoints and middleware for protected routes" |
| "Fix the bug" | "Fix TypeError in components/LoginForm.js when submitting empty email field - add validation" |
| "Write tests" | "Write pytest tests for the parse_config function covering edge cases: empty input, malformed JSON, missing required fields" |
Include context:
For complex tasks: Break into smaller, sequential sessions rather than one large request.
Debugging: "Help me fix {specific error}", "Trace why this value is undefined", "Add logging to debug {issue}"
Refactoring: "Refactor {file} from {pattern X} to {pattern Y}", "Convert callbacks to async/await", "Extract {logic} into a utility function"
Testing: "Add integration tests for {endpoint}", "Write pytest fixtures mocking {external API}", "Generate property-based tests for {function}"
Documentation: "Add docstrings to {module}", "Write API docs for {endpoint}"
Maintenance: "Upgrade {dependency} and fix breaking changes", "Remove unused imports across the codebase"
Batch processing from file:
cat TODO.md | while IFS= read -r line; do
jules new "$line"
done
From GitHub issues:
gh issue list --assignee @me --limit 1 --json title | jq -r '.[0].title' | jules new
With Gemini for triage:
gemini -p "find the most tedious issue:\n$(gh issue list --assignee @me)" | jules new
Jules reads AGENTS.md from the repo root for context. Use /add-agents-md to generate one.
Keep it updated with:
jules remote pull --apply or jules teleportActivates when the user asks about AI prompts, needs prompt templates, wants to search for prompts, or mentions prompts.chat. Use for discovering, retrieving, and improving prompts.
Search, retrieve, and install Agent Skills from the prompts.chat registry using MCP tools. Use when the user asks to find skills, browse skill catalogs, install a skill for Claude, or extend Claude's capabilities with reusable AI agent components.
This skill should be used when the user asks to "create a hook", "add a PreToolUse/PostToolUse/Stop hook", "validate tool use", "implement prompt-based hooks", "use ${CLAUDE_PLUGIN_ROOT}", "set up event-driven automation", "block dangerous commands", or mentions hook events (PreToolUse, PostToolUse, Stop, SubagentStop, SessionStart, SessionEnd, UserPromptSubmit, PreCompact, Notification). Provides comprehensive guidance for creating and implementing Claude Code plugin hooks with focus on advanced prompt-based hooks API.