Jules CLI
Interact with the Jules CLI to manage asynchronous coding sessions. Use this skill sparingly for complex, isolated tasks that benefit from a remote VM.
Interact with the Jules CLI to manage asynchronous coding sessions. Use this skill sparingly for complex, isolated tasks that benefit from a remote VM.
Real data. Real impact.
Growing
Developers
Per week
Open source
Skills give you superpowers. Install in 30 seconds.
This skill enables the agent to interact with the
jules CLI. It supports task assignment, session monitoring, and result integration.
To prevent excessive and inappropriate session creation, you must follow these rules:
To ensure safe execution of CLI commands, you must adhere to the following security practices:
owner/repo format (alphanumeric, dots, hyphens, and underscores)."<repo>").python3 -c). Use environment variables to pass such data safely.jules remote new: Since this creates a remote session/VM.jules remote pull --apply: Since this modifies the local codebase.jules teleport: Since this clones and modifies the environment.jules remote list --session before creating a new one to ensure you don't already have a pending session for the same repository.jules login is required, explain why to the user and wait for their confirmation before proceeding.Prefer using the CLI directly to maintain situational awareness.
Verify repository access and format.
jules remote list --repo
Note: Ensure the repo format is
.GITHUB_USERNAME/REPO
Create a session and capture the Session ID.
# Capture the output to get the ID # Replace <repo> and task description with validated inputs jules remote new --repo "<repo>" --session "Detailed task description" < /dev/null
List sessions and look for your ID. Use this robust one-liner to check the status (it handles statuses with spaces like "In Progress"):
Check Status (Safe Method):
# Use an environment variable to pass the Session ID safely to Python export JULES_SESSION_ID="<SESSION_ID>" jules remote list --session | python3 -c " import sys, re, os session_id = os.environ.get('JULES_SESSION_ID', '') if not session_id: sys.exit(0) for line in sys.stdin: line = line.strip() if line.startswith(session_id): # Extract status (the last column after multiple spaces) print(re.split(r'\s{2,}', line)[-1]) " unset JULES_SESSION_ID
Once the status is Completed, pull and apply the changes.
# Replace <SESSION_ID> with the validated Session ID jules remote pull --session "<SESSION_ID>" --apply < /dev/null
jules remote list --repo. It must match the GitHub path.< /dev/null for non-interactive automation with the raw jules command.HOME is set correctly or run jules login.| Command | Purpose |
|---|---|
| Verify available repositories and their exact names. |
| List active and past sessions to check status. |
| Create a new coding task. |
| Apply changes from a completed session. |
| Clone and apply changes (useful for fresh environments). |
No automatic installation available. Please visit the source repository for installation instructions.
View Installation Instructions1,500+ AI skills, agents & workflows. Install in 30 seconds. Part of the Torly.ai family.
© 2026 Torly.ai. All rights reserved.