ZJU-OmniAI

Agent Assistant — Development skill for Claude Code

Development community

macOS menu-bar assistant: select text in any app, web page or PDF, then translate it or ask about it with the Claude Code or Codex CLI signed in on your Mac.

How to install Agent Assistant

This entry records only its repository, not the path inside it, so there is no exact command to give. Open ZJU-OmniAI/Agent_Assistant and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

What Agent Assistant does

macOS menu-bar assistant: select text in any app, web page or PDF, then translate it or ask about it with the Claude Code or Codex CLI signed in on your Mac. No server, no API key.

Alternatives in Development

  • Translate Book — Claude Code skill that translates entire books (PDF/DOCX/EPUB) into any language using parallel subagents 542 ★
  • Quosparr — 🐦 Native menu bar & tray app for macOS, Windows and Linux: track Codex, Claude Code and Grok quotas, resets 288 ★
  • Cc Bar — Native macOS menu bar app: track quota, usage and cost for Codex (multi-account) and Claude Code, from your me 119 ★

README

Agent Assistant icon

Agent Assistant

Select text anywhere on your Mac, then translate it or ask about it.

A lightweight macOS menu-bar assistant. Answers come from the Claude Code or Codex CLI already signed in on your Mac, with no server and no API key.

[![Version](https://img.shields.io/badge/version-1.0-1f7ae0.svg)](Info.plist) [![macOS](https://img.shields.io/badge/macOS-13%2B-555555.svg)](#install) [![Swift](https://img.shields.io/badge/Swift-AppKit_%C2%B7_SwiftUI-F05138.svg)](Sources) [![License: MIT](https://img.shields.io/badge/license-MIT-2ea44f)](LICENSE)

**English** · [简体中文](README.zh-CN.md)

[Screenshots](#screenshots) · [Install](#install) · [Usage](#usage) · [Settings](#settings-window) · [Response times](#response-times) · [How it works](#how-it-works) · [Development](#development)

Select a passage in a web page, a PDF or any other app. **翻译 (Translate)** and **提问 (Ask)** buttons appear next to the pointer. Click one and the **Claude Code** or **Codex** CLI signed in on this Mac answers. You can keep asking follow-up questions in the same panel.

  • Native AppKit + SwiftUI. The app is about 3 MB and includes builds for both Apple silicon and Intel. While idle it only listens for mouse events, so it uses almost no resources. Helper processes run only around actual use: with Codex, one background process (about 60–100 MB) that exits after 15 idle minutes; with Claude Code, one process (about 230 MB) started when you select text or type a question, which ends after answering or after 30 unused seconds. All of them end within a second when Agent Assistant quits, even if it crashes.
  • It calls the command-line tools directly and uses their sign-in and usage limits. No extra service, no API key.
  • Your text goes to the selected model only when you click Translate or send a question. Selecting text alone sends nothing.
  • The inter