Google Jules Tools CLI
/install google-jules-cli
Jules Tools Skill
This skill allows the AI agent to interface with the Jules Tools CLI to manage Google's Jules AI coding sessions. With this skill, the agent can start new coding sessions, list active sessions, and retrieve results directly from the terminal.
Prerequisites
Before using any Jules commands, ensure the jules CLI is installed and authenticated.
1. Installation
Check if jules is installed by running:
jules --version
If the command is not found, install it using npm:
npm install -g @google/jules
Note: Installation might require
sudopermissions depending on the system configuration. Ifnpm install -gfails due to permissions, trysudo npm install -g @google/julesor ask the user for assistance.
2. Authentication
The agent must be authenticated to interact with Jules. To authenticate, run:
jules login
This command will open a browser window for the user to sign in with their Google account. If the agent is running in a headless environment, guide the user to perform this step on their local machine or provide alternative authentication methods if available (refer to jules login --help).
To verify authentication or log out, use:
jules logout
Usage
The primary command for interacting with Jules is jules remote.
List Sessions
To see all active or past coding sessions:
jules remote list --session
To list connected repositories:
jules remote list --repo
Start a New Session
To start a new coding session (task) for Jules:
jules remote new --repo \x3Crepo_name> --session "\x3Ctask_description>"
\x3Crepo_name>: The repository name (e.g.,torvalds/linux) or.for the current directory's repo.\x3Ctask_description>: A clear description of what Jules should do (e.g., "Fix the bug in the login handler").
Example:
jules remote new --repo . --session "Add a new test case for the user profile component"
You can also start multiple parallel sessions:
jules remote new --repo . --session "Refactor the database schema" --parallel 2
Retrieve Session Results
Once a session is complete, you can pull the results (code changes):
jules remote pull --session \x3Csession_id>
\x3Csession_id>: The ID of the session you want to pull (obtained fromjules remote list).
General Help
For more information on any command:
jules --help
jules remote --help
Troubleshooting
- Command not found: Ensure
julesis in the system PATH after installation. You may need to restart the shell or source the profile. - Authentication errors: Try running
jules logoutand thenjules loginagain. - Network issues: Ensure the agent has internet access to reach Google's servers.
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install google-jules-cli - 安装完成后,直接呼叫该 Skill 的名称或使用
/google-jules-cli触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
Google Jules Tools CLI 是什么?
Interface with Google's Jules Tools CLI to manage AI coding sessions. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 429 次。
如何安装 Google Jules Tools CLI?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install google-jules-cli」即可一键安装,无需额外配置。
Google Jules Tools CLI 是免费的吗?
是的,Google Jules Tools CLI 完全免费(开源免费),可自由下载、安装和使用。
Google Jules Tools CLI 支持哪些平台?
Google Jules Tools CLI 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 Google Jules Tools CLI?
由 alexdavidswift(@alexdavidswift)开发并维护,当前版本 v1.0.0。