jules
БесплатноБез исполняемых скриптовНе проверенIntegration with Google's Jules API for agentic coding sessions.
от diegosouzapw★ 68 звёзд на GitHubОб этом скилле
Jules API Skill
This skill provides instructions for interacting with the Google Jules API. Use this skill when you need to create coding sessions, manage tasks, or interact with the Jules agent.
Authentication
- Read the API key from
/home/cgasgarth/.config/opencode/jules-secret.json.{ "julesApiKey": "YOUR_KEY" } - Use the header
X-Goog-Api-Key: YOUR_KEYin all requests.
Base URL
https://jules.googleapis.com/v1alpha
Endpoints
1. List Sources
GET /sources
Returns available sources (e.g., GitHub repositories) connected to the user.
2. Create Session
POST /sessions
Creates a new coding session.
Body:
{
"prompt": "Task description",
"sourceContext": {
"source": "projects/PROJECT_ID/locations/global/connections/CONNECTION_ID/repositories/REPO_ID",
"githubRepoContext": {
"startingBranch": "main"
}
},
"automationMode": "AUTO_CREATE_PR", // Optional
"requirePlanApproval": true // Optional, defaults to false
}
3. List Sessions
GET /sessions
Lists active and past sessions.
4. Get Session Activities
GET /sessions/{sessionId}/activities
Returns the history of activities in a session.
Parameters:
pageSize(optional): Number of activities to return (e.g.,?pageSize=30).
Response Structure:
Returns an activities array. Activity types include:
planGenerated: Agent created a plan.planApproved: User approved a plan.progressUpdated: Agent progress message (containstitle,description).sessionCompleted: Session finished.
Artifacts:
Activities may contain an artifacts field with data like bash output, git patches, or images.
5. Send Message
POST /sessions/{sessionId}:sendMessage
Sends a user message to the session.
Body:
{
"prompt": "Your message here"
}
6. Approve Plan
POST /sessions/{sessionId}:approvePlan
Approves the plan proposed by Jules to proceed with implementation.
Example Usage (Bash)
To list sessions (replace KEY with actual key):
curl "https://jules.googleapis.com/v1alpha/sessions" \
-H "X-Goog-Api-Key: $KEY"
To get session activities:
curl "https://jules.googleapis.com/v1alpha/sessions/$SESSION_ID/activities?pageSize=30" \
-H "X-Goog-Api-Key: $KEY"
To create a session:
curl -X POST "https://jules.googleapis.com/v1alpha/sessions" \
-H "X-Goog-Api-Key: $KEY" \
-H "Content-Type: application/json" \
-d '{
"prompt": "Fix the bug in login",
"sourceContext": { ... }
}'
Agent Instructions
- When asked to use Jules, first read the secret file to get the key.
- Construct the appropriate curl command or HTTP request.
- Parse the JSON response.
- Present the result to the user clearly.
Установить jules в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл jules?
Integration with Google's Jules API for agentic coding sessions.
Как установить скилл jules?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл jules запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
mcp-builder
Guide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when…
от Anthropicclaude-api
Reference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER…
от Anthropicalgorithmic-art
Creating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code…
от Anthropicmcp-integration
This skill should be used when the user asks to "add MCP server", "integrate MCP", "configure MCP in plugin", "use .mcp.json", "set up Model Context…
от Anthropic