# Send Jules CLI to your agent
Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.
## Fast path
- Download the package from Yavira.
- Extract it into a folder your agent can access.
- Paste one of the prompts below and point your agent at the extracted folder.
## Suggested prompts
### New install

```text
I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Tell me what you changed and call out any manual steps you could not complete.
```
### Upgrade existing

```text
I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Summarize what changed and any follow-up checks I should run.
```
## Machine-readable fields
```json
{
  "schemaVersion": "1.0",
  "item": {
    "slug": "jules-cli",
    "name": "Jules CLI",
    "source": "tencent",
    "type": "skill",
    "category": "开发工具",
    "sourceUrl": "https://clawhub.ai/ajstafford/jules-cli",
    "canonicalUrl": "https://clawhub.ai/ajstafford/jules-cli",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadUrl": "/downloads/jules-cli",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=jules-cli",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "packageFormat": "ZIP package",
    "primaryDoc": "SKILL.md",
    "includedAssets": [
      "references/usage.md",
      "SKILL.md"
    ],
    "downloadMode": "redirect",
    "sourceHealth": {
      "source": "tencent",
      "slug": "jules-cli",
      "status": "healthy",
      "reason": "direct_download_ok",
      "recommendedAction": "download",
      "checkedAt": "2026-05-04T14:54:03.037Z",
      "expiresAt": "2026-05-11T14:54:03.037Z",
      "httpStatus": 200,
      "finalUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=jules-cli",
      "contentType": "application/zip",
      "probeMethod": "head",
      "details": {
        "probeUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=jules-cli",
        "contentDisposition": "attachment; filename=\"jules-cli-1.0.2.zip\"",
        "redirectLocation": null,
        "bodySnippet": null,
        "slug": "jules-cli"
      },
      "scope": "item",
      "summary": "Item download looks usable.",
      "detail": "Yavira can redirect you to the upstream package for this item.",
      "primaryActionLabel": "Download for OpenClaw",
      "primaryActionHref": "/downloads/jules-cli"
    },
    "validation": {
      "installChecklist": [
        "Use the Yavira download entry.",
        "Review SKILL.md after the package is downloaded.",
        "Confirm the extracted package contains the expected setup assets."
      ],
      "postInstallChecks": [
        "Confirm the extracted package includes the expected docs or setup files.",
        "Validate the skill or prompts are available in your target agent workspace.",
        "Capture any manual follow-up steps the agent could not complete."
      ]
    }
  },
  "links": {
    "detailUrl": "https://openagent3.xyz/skills/jules-cli",
    "downloadUrl": "https://openagent3.xyz/downloads/jules-cli",
    "agentUrl": "https://openagent3.xyz/skills/jules-cli/agent",
    "manifestUrl": "https://openagent3.xyz/skills/jules-cli/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/jules-cli/agent.md"
  }
}
```
## Documentation

### Overview

This skill enables the agent to interact with the jules CLI. It supports task assignment, session monitoring, and result integration.

### Usage Guidelines (CRITICAL)

To prevent excessive and inappropriate session creation, you must follow these rules:

Local First: If you can solve the task locally within your current environment (e.g., editing files, running tests, small refactors), do not use Jules.
Complexity Threshold: Only use Jules for tasks that are:

Large-scale: Touching many files or requiring significant architectural changes.
Isolated: Benefiting from a clean, remote environment to avoid local dependency issues.
Exploratory: Tasks where the solution isn't immediately obvious and requires iteration in a VM.


No Proliferation (One at a Time):

Never create multiple sessions for the same task.
Never use a loop or parallel execution to spin up several sessions at once.
Wait for a session to complete and inspect the results before deciding if another session is needed.


No "Small" Tasks: Do not submit tasks like "Add a comment", "Change a variable name", or "Fix a typo".

### Security Guidelines

To ensure safe execution of CLI commands, you must adhere to the following security practices:

Input Validation: Before running any command, validate that:

Repository names follow the owner/repo format (alphanumeric, dots, hyphens, and underscores).
Session IDs are alphanumeric (typically hyphens and underscores are also allowed).


Quoting: Always wrap shell placeholders in double quotes (e.g., "<repo>").
No Inline Injection: Never embed user-provided data directly into script strings (like python3 -c). Use environment variables to pass such data safely.
Sanitization: Ensure task descriptions do not contain malicious shell characters if passed directly to the shell.

### Safety Controls

Approval Required (MANDATORY): You must ask for explicit user approval before running any of the following commands:

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.


Verification: Always run jules remote list --session before creating a new one to ensure you don't already have a pending session for the same repository.
Credentials: If jules login is required, explain why to the user and wait for their confirmation before proceeding.

### Core Workflow (Manual Control)

Prefer using the CLI directly to maintain situational awareness.

### 1. Pre-flight Check

Verify repository access and format.

jules remote list --repo

Note: Ensure the repo format is GITHUB_USERNAME/REPO.

### 2. Submit Task

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

### 3. Monitor Progress

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

### 4. Integrate Results

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

### Error Handling & Troubleshooting

Repository Not Found: Verify format with jules remote list --repo. It must match the GitHub path.
TTY Errors: Always use < /dev/null for non-interactive automation with the raw jules command.
Credentials: If you see login errors, ensure HOME is set correctly or run jules login.

### Command Reference

CommandPurposejules remote list --repoVerify available repositories and their exact names.jules remote list --sessionList active and past sessions to check status.jules remote newCreate a new coding task.jules remote pullApply changes from a completed session.jules teleport "<id>"Clone and apply changes (useful for fresh environments).
## Trust
- Source: tencent
- Verification: Indexed source record
- Publisher: ajstafford
- Version: 1.0.2
## Source health
- Status: healthy
- Item download looks usable.
- Yavira can redirect you to the upstream package for this item.
- Health scope: item
- Reason: direct_download_ok
- Checked at: 2026-05-04T14:54:03.037Z
- Expires at: 2026-05-11T14:54:03.037Z
- Recommended action: Download for OpenClaw
## Links
- [Detail page](https://openagent3.xyz/skills/jules-cli)
- [Send to Agent page](https://openagent3.xyz/skills/jules-cli/agent)
- [JSON manifest](https://openagent3.xyz/skills/jules-cli/agent.json)
- [Markdown brief](https://openagent3.xyz/skills/jules-cli/agent.md)
- [Download page](https://openagent3.xyz/downloads/jules-cli)