https://github.com/n24q02m/jules-task-archiver
Chrome Extension for bulk operations on Jules tasks via batchexecute API -- archive tasks and start code suggestions at scale
https://github.com/n24q02m/jules-task-archiver
automation browser-extension chrome-extension github-api google-jules jules manifest-v3 task-archiver
Last synced: 9 days ago
JSON representation
Chrome Extension for bulk operations on Jules tasks via batchexecute API -- archive tasks and start code suggestions at scale
- Host: GitHub
- URL: https://github.com/n24q02m/jules-task-archiver
- Owner: n24q02m
- License: mit
- Created: 2026-03-23T14:11:43.000Z (about 2 months ago)
- Default Branch: main
- Last Pushed: 2026-05-03T11:44:34.000Z (15 days ago)
- Last Synced: 2026-05-03T13:25:34.569Z (15 days ago)
- Topics: automation, browser-extension, chrome-extension, github-api, google-jules, jules, manifest-v3, task-archiver
- Language: JavaScript
- Homepage: https://github.com/n24q02m/jules-task-archiver/releases
- Size: 453 KB
- Stars: 1
- Watchers: 0
- Forks: 0
- Open Issues: 108
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
- Codeowners: .github/CODEOWNERS
- Security: SECURITY.md
- Agents: AGENTS.md
Awesome Lists containing this project
README
# Jules Task Archiver
**Chrome Extension for bulk operations on Jules tasks via batchexecute API -- archive tasks and start code suggestions at scale.**
[](https://github.com/n24q02m/jules-task-archiver/actions/workflows/ci.yml)
[](LICENSE)
[](https://renovatebot.com)
[](https://github.com/semantic-release/semantic-release)
Sister projects from n24q02m (click to expand)
| Project | Tagline | Tag |
|---|---|---|
| [better-code-review-graph](https://github.com/n24q02m/better-code-review-graph) | Knowledge graph for token-efficient code reviews -- fixed search, configurabl... | MCP |
| [better-email-mcp](https://github.com/n24q02m/better-email-mcp) | IMAP/SMTP email server for AI agents -- 6 composite tools with multi-account ... | MCP |
| [better-godot-mcp](https://github.com/n24q02m/better-godot-mcp) | Composite MCP server for Godot Engine -- 17 mega-tools for AI-assisted game d... | MCP |
| [better-notion-mcp](https://github.com/n24q02m/better-notion-mcp) | Markdown-first Notion API server for AI agents -- 10 composite tools replacin... | MCP |
| [better-telegram-mcp](https://github.com/n24q02m/better-telegram-mcp) | MCP server for Telegram with dual-mode support: Bot API (httpx) for quick bot... | MCP |
| [claude-plugins](https://github.com/n24q02m/claude-plugins) | Full documentation: mcp.n24q02m.com — unified docs for all 8 servers + the mc... | Marketplace |
| [imagine-mcp](https://github.com/n24q02m/imagine-mcp) | Production-grade MCP server for image and video understanding + generation ac... | MCP |
| [jules-task-archiver](https://github.com/n24q02m/jules-task-archiver) | Chrome Extension for bulk operations on Jules tasks via batchexecute API -- a... | Tooling |
| [mcp-core](https://github.com/n24q02m/mcp-core) | Unified MCP Streamable HTTP 2025-11-25 transport, OAuth 2.1 Authorization Ser... | MCP |
| [mnemo-mcp](https://github.com/n24q02m/mnemo-mcp) | Persistent AI memory with hybrid search and embedded sync. Open, free, unlimi... | MCP |
| [qwen3-embed](https://github.com/n24q02m/qwen3-embed) | Lightweight Qwen3 text embedding and reranking via ONNX Runtime and GGUF | Library |
| [skret](https://github.com/n24q02m/skret) | Secrets without the server. | CLI |
| [web-core](https://github.com/n24q02m/web-core) | Shared web infrastructure package for search, scraping, HTTP security, and st... | Library |
| [wet-mcp](https://github.com/n24q02m/wet-mcp) | Open-source MCP Server for web search, content extraction, library docs & mul... | MCP |
## Table of contents
- [Features](#features)
- [Installation](#installation)
- [Usage](#usage)
- [How It Works](#how-it-works)
- [Permissions](#permissions)
- [Development](#development)
- [Related Projects](#related-projects)
- [Contributing](#contributing)
- [License](#license)
## Features
### Archive Tasks
- **Bulk archive** -- archive all completed tasks for repos with zero open PRs in one click
- **GitHub PR check** -- skips repos with open PRs to avoid archiving active work
- **Force mode** -- skip PR check and archive everything
### Start Suggestions
- **Bulk start** -- start all recommended code suggestions (security, performance, testing, cleanup) across repos
- **Category-aware prompts** -- generates tailored prompts per suggestion category (security fix, performance optimization, test coverage, code cleanup)
- **Config capture** -- observes Jules UI to capture model config and experiment IDs for accurate reproduction
### General
- **Multi-account** -- processes all Jules tabs (`/u/0`, `/u/1`, etc.) automatically
- **Dry run mode** -- preview what would happen without making changes
- **batchexecute API** -- direct HTTP calls, no DOM automation, 10x faster than UI clicks
- **Live progress** -- real-time log and progress bar in popup UI
- **State persistence** -- operation continues even if popup is closed; progress restored on reopen
## Installation
1. Download the latest `jules-task-archiver.zip` from [Releases](../../releases)
2. Extract the zip
3. Open `chrome://extensions` in Chrome
4. Enable **Developer mode** (top right toggle)
5. Click **Load unpacked** and select the extracted folder
## Usage
1. Open one or more `jules.google.com` tabs (supports multiple accounts)
2. Click the extension icon in the toolbar
3. Configure:
- **Operation** -- Archive Tasks or Start Suggestions
- **GitHub Owner** -- your GitHub username (for PR checks in archive mode)
- **GitHub Token** -- optional, for private repos
- **Mode** -- Dry Run (preview) or Run (execute)
- **Force** -- skip PR check (archive mode only)
- **Scope** -- current tab only or all Jules tabs
4. Click **Start**
### Start Suggestions tips
- For best results, manually click "Start" on any suggestion in the Jules UI first -- the extension captures the model config and experiment IDs from that request
- Without this capture, the extension uses sensible defaults that may differ from Jules' current configuration
## How It Works
### v2 Architecture
```
popup.js (UI) <-> background.js (batchexecute client) <-> content.js (message relay)
| |
fetch() to jules.google.com main-world.js (MAIN world)
/_/Swebot/data/batchexecute reads WIZ_global_data tokens
```
1. `main-world.js` runs in the page's MAIN world, reads auth tokens from `WIZ_global_data`, and observes fetch calls for StartSuggestion config
2. `content.js` relays tokens and config to the background service worker
3. `background.js` makes direct HTTP calls to Jules' batchexecute API endpoint
4. `popup.js` displays real-time progress and manages settings
### RPC IDs
| RPC | ID | Purpose |
|-----|-----|---------|
| ListTasks | `p1Takd` | Fetch all active tasks |
| ArchiveTask | `Tjmm5c` | Archive a single task |
| ListSuggestions | `hQP40d` | Fetch code suggestions for a repo |
| StartSuggestion | `Rja83d` | Start a suggestion as a new task |
## Permissions
| Permission | Why |
|-----------|-----|
| `storage` | Save settings and operation state |
| `tabs` | Query all Jules tabs for multi-account support |
| `scripting` | Inject content script into pre-existing tabs |
| `jules.google.com` | Content script for token extraction |
| `api.github.com` | Check open PRs via GitHub REST API |
## Development
```bash
# Lint and format
npx @biomejs/biome check .
npx @biomejs/biome check --write .
# Run tests
node --test
# Load unpacked in chrome://extensions for testing
```
No build step, no dependencies. Pure vanilla JavaScript with `node:test` for unit tests.
## Related Projects
Check out these MCP servers for AI-powered development:
- [wet-mcp](https://github.com/n24q02m/wet-mcp) -- Web search, extract, and media MCP server
- [better-notion-mcp](https://github.com/n24q02m/better-notion-mcp) -- Notion API MCP server
- [mnemo-mcp](https://github.com/n24q02m/mnemo-mcp) -- Persistent AI memory MCP server
## Contributing
See [CONTRIBUTING.md](CONTRIBUTING.md) for guidelines.
## License
[MIT](LICENSE)