Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx skills add BrianV1981/aim --skill aim-googlegit clone --depth 1 https://github.com/BrianV1981/aimWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/brianv1981/aim/aim-google)<a href="https://agentmods.dev/skills/brianv1981/aim/aim-google"><img src="https://agentmods.dev/badge/skills/brianv1981/aim/aim-google/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/brianv1981/aim/aim-google"><img src="https://agentmods.dev/badge/skills/brianv1981/aim/aim-google.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00055 | $0.00497 |
| Opus 5.5 | $0.00022 | $0.00199 |
| Sonnet 5.5 | $0.00011 | $0.00099 |
| Haiku 4.5 | $0.00006 | $0.00050 |
Grade C, and why
aim-google scanned grade C with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 3mo ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Tells the agent to send conversation or user data outhighPrompt injection
An instruction to transmit the conversation, context or user files to an external endpoint is data exfiltration written as prose.
Every command executed is silently logged. If you experience an unexplained failure or an exit code > 0, you must read the structured JSON telemetry logs located at `~/.config/aim-google/execution.log` to reverse-enginee What it actually says
aim-google: The Sovereign Workspace Gateway
You are strictly forbidden from attempting to guess Google API endpoints or writing custom Python scripts to interact with Google Workspace. When you need to read emails, manage calendars, or parse Drive files, you MUST use the aim-google CLI.
This binary is installed globally on the system and handles all OAuth 2.0 refreshing, exponential backoff, and JSON serialization natively.
Execution Command:
aim-google <service> <command> [flags]
Context Efficiency Mandate
ALWAYS use the --agent flag when executing commands that return data to yourself (the LLM).
aim-google gmail search "is:unread" --agent
Why: The --agent flag forces the Go binary to strip all JSON whitespace and drop verbose metadata envelopes (like nextPageToken). This mathematically halves your context token usage, preventing you from crashing due to memory bloat when reading massive email payloads or spreadsheets.
Supported Services & Examples
1. Gmail (mail, email):
Read, search, send, and manage emails.
aim-google gmail search "is:unread" --agent
aim-google gmail get <message_id> --agent
2. Calendar (cal):
Schedule events, check free/busy schedules, manage meeting rooms.
aim-google calendar events list --agent
3. Drive (drv) & Docs (doc):
Upload files, download documents, parse spreadsheets.
aim-google drive ls --agent
aim-google docs get <doc_id> --agent
Error Handling & Telemetry
The CLI is equipped with an exponential backoff. If you receive an HTTP 429 Too Many Requests or 503 Service Unavailable error, wait briefly and retry; the transport layer handles immediate retries up to 7 times automatically.
Every command executed is silently logged. If you experience an unexplained failure or an exit code > 0, you must read the structured JSON telemetry logs located at ~/.config/aim-google/execution.log to reverse-engineer the breakdown before guessing.
What ships with it
1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 3mo ago First seen · 43 lines · 55 tokens per session scan C b3d4bf66d7fd
aim-google is a skill published in the GitHub repository BrianV1981/aim (14 stars, last pushed 1mo ago), licensed MIT. It adds 55 tokens to every session and 497 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it C with 1 finding (tells the agent to send conversation or user data out). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
aim-google compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| aim-googleBrianV1981/aim | Skill | 14 | 1mo ago | MIT | C | 55 | Claude Code, Codex |
| wrapuponebrain-ai/onebrain | Skill | 31 | 3mo ago | Apache-2.0 | A | 91 | Claude Code, Codex |
| reorganizeonebrain-ai/onebrain | Skill | 31 | 3mo ago | Apache-2.0 | A | 73 | Claude Code, Codex |
| moconebrain-ai/onebrain | Skill | 31 | 3mo ago | Apache-2.0 | A | 80 | Claude Code |
| pauseonebrain-ai/onebrain | Skill | 31 | 3mo ago | Apache-2.0 | A | 128 | Claude Code |
| schedule-addonebrain-ai/onebrain | Skill | 31 | 3mo ago | Apache-2.0 | A | 37 | Claude Code |
| schedule-onceonebrain-ai/onebrain | Skill | 31 | 3mo ago | Apache-2.0 | A | 42 | Claude Code |