mailbox-consolidation

mailbox-consolidation is a skill for Claude Code from terrylica/cc-skills. It costs 153 tokens per session (2,636 once invoked), scanned A, original, MIT.

A workflow for bringing mail from several Gmail or Google Workspace accounts into one shared Google Workspace inbox while keeping the original accounts. It also covers replying from the hub as each original address and checking that messages are not lost or hidden as spam.

In plain words
What is it for?
Use it to survey live mailbox settings, choose forwarding methods for different source accounts, migrate message history, verify delivery, and configure replies from the original addresses.
Why use it?
It removes the need to monitor many inboxes separately. It addresses the silent forwarding, spam, history-migration, and sender-identity problems that can occur during consolidation.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: names the AskUserQuestion tool.

Part of the gmail-commander plugin — 5 skills shipped together , and of cc-skills

Good fit Use it to survey live mailbox settings, choose forwarding methods for different source accounts, migrate message history, verify delivery, and configure replies from the original addresses.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/terrylica/cc-skills/mailbox-consolidation
Install

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.

Any agent
npx skills add terrylica/cc-skills --skill mailbox-consolidation
Clone the repo
git clone --depth 1 https://github.com/terrylica/cc-skills

Made for: Claude Code.

Or install gmail-commander, the plugin that ships this one along with the rest of its 5 skills.

Wrote 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.

agentmods badge for mailbox-consolidation

README.md
[![agentmods](https://agentmods.dev/badge/skills/terrylica/cc-skills/mailbox-consolidation/github.svg)](https://agentmods.dev/skills/terrylica/cc-skills/mailbox-consolidation)
Your own site
<a href="https://agentmods.dev/skills/terrylica/cc-skills/mailbox-consolidation"><img src="https://agentmods.dev/badge/skills/terrylica/cc-skills/mailbox-consolidation/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.

agentmods 80×15 button for mailbox-consolidation

Your own site · 80×15
<a href="https://agentmods.dev/skills/terrylica/cc-skills/mailbox-consolidation"><img src="https://agentmods.dev/badge/skills/terrylica/cc-skills/mailbox-consolidation.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 153 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,636 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.00153 $0.02636
Opus 5.5 $0.00061 $0.01054
Sonnet 5.5 $0.00031 $0.00527
Haiku 4.5 $0.00015 $0.00264

Measured 12d ago against content hash 0ec916f04820, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

mailbox-consolidation scanned grade A with 0 findings 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 12d 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.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

plugins/gmail-commander/skills/mailbox-consolidation/SKILL.md · 109 lines

How it starts

The opening of the file, as written. The whole thing — 109 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Mailbox consolidation into one Workspace hub

Self-Evolving Skill: This skill improves through use. If a step is wrong, Google changed behaviour, or a workaround was needed, fix this file immediately. Only record real, reproducible findings, and never add a real address, domain, tenant, rule ID or customer detail: this plugin is public.

The setup: one hub mailbox in a Google Workspace tenant (a shared front-desk inbox) receives everything that used to go to several sources. Each source keeps its own copy. Staff reply from the hub using "send mail as" for each source, so correspondents see no change.

Each source type gets a different mechanism, and each mechanism fails silently in its own way. The rules below were all measured, not taken from documentation.

1. Survey first: read the live state, never the plan

Before changing anything, read each mailbox's actual settings through the Gmail API. Reading needs only gmail.settings.basic or gmail.readonly, and it can be done for consumer accounts too.

GET users/me/settings/autoForwarding        → {"enabled": false} means nothing is forwarded, whatever the docs say
GET users/me/settings/forwardingAddresses   → is the hub even listed, and is it "accepted" or "pending"?
GET users/me/settings/filters               → filters that archive, delete or forward

Then prove where the hub's mail actually came from, using metadata only (no bodies). The Delivered-To chain tells the three routes apart:

Route Delivered-To on the hub's copy To: header
History import (Data migration) hub and source source
Consumer-Gmail auto-forwarding hub and source source
Admin routing rule "Also deliver to" hub only source

Imported and forwarded copies look alike, so use dates. If the newest source-addressed message in the hub is older than mail the source received since, forwarding is off and only the import ever ran.

Read the full file on GitHub · 109 lines

Changes

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.

  1. 12d ago First seen · 109 lines · 153 tokens per session scan A 0ec916f04820

Subscribe to this mod's changes

mailbox-consolidation is a skill published in the GitHub repository terrylica/cc-skills (0 stars, last pushed today), licensed MIT. It adds 153 tokens to every session and 2,636 once invoked, about $0.0006 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-10-08.

Related

Other skills, from other repositories

low-code-platforms

Low-code and internal tool platforms including Retool, Supabase, Appsmith, Tooljet, n8n, and Zapier. Use when building admin panels, internal tools, workflow automations, or integrating low-code platforms with custom code.

travisjneuman/.claude · 54 tokens

nav-compact

Clear conversation context while preserving knowledge via context marker. Use when user says "clear context", "start fresh", "done with this task", or when approaching token limits.

qf-studio/navigator · 38 tokens

host-ssh

Run PowerShell on Windows hosts or a POSIX shell on macOS/Linux hosts over SSH, via the machine registry in the guide Environment (GASSHMACHINES). Use when the user needs host OS tasks — drives, dotnet, Playwright, processes, SSH into their laptop or desktop — not file I/O on paths already visible in the workspace…

Elumenotion/GuideAnts · 115 tokens

social-media-strategy

Platform-specific tactics, content optimization, audience growth, and analytics-driven social media strategy. Use when planning a social strategy, optimizing posts for a specific platform, or growing and measuring an audience.

frankxai/claude-skills-library · 43 tokens

book-publishing

Multi-book content, voice, and production workflows for nonfiction authoring. Use when planning a book, maintaining consistent voice across chapters, structuring a manuscript, or running an end-to-end publishing pipeline.

frankxai/claude-skills-library · 44 tokens

frankx-daily-execution

Executes Frank's daily workflow using the FrankX agent system, Starlight Intelligence, and productivity methods. Use when planning Frank's day, running a focused work sprint, or turning intentions into a concrete execution plan.

frankxai/claude-skills-library · 52 tokens