Borrowing it
Nothing to install: this file belongs to chiptoe-svg/nanoclaw_flexagents. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/chiptoe-svg/nanoclaw_flexagents/main/.claude/skills/add-email-account/SKILL.mdgit clone --depth 1 https://github.com/chiptoe-svg/nanoclaw_flexagentsWrote 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/chiptoe-svg/nanoclaw_flexagents/add-email-account)<a href="https://agentmods.dev/skills/chiptoe-svg/nanoclaw_flexagents/add-email-account"><img src="https://agentmods.dev/badge/skills/chiptoe-svg/nanoclaw_flexagents/add-email-account/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/chiptoe-svg/nanoclaw_flexagents/add-email-account"><img src="https://agentmods.dev/badge/skills/chiptoe-svg/nanoclaw_flexagents/add-email-account.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.00069 | $0.03168 |
| Opus 5 | $0.00034 | $0.01584 |
| Sonnet 5 | $0.00014 | $0.00634 |
| Haiku 4.5 | $0.00007 | $0.00317 |
Grade B, and why
add-email-account scanned grade B 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 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.
Asks for rootmediumPrivilege escalation
A mod that escalates privileges can change anything on the machine, not only the project.
chmod 600 ~/.nanoclaw/.imap-tokens/${ACCOUNT_ID}.json How it starts
The opening of the file, as written. The whole thing — 311 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Add Email Account
Register email accounts that other skills (/email-archive, /email-triage, etc.) can operate on. Each account has a provider type, credentials, and a verified connection.
This is for reading / triage / drafting — not a channel.
/add-email-accountregisters a mailbox that skills act on: batch-classifying old mail, summarizing the inbox, drafting replies you still send by hand. Incoming emails do not trigger the agent here.If you want emails to wake the agent — route inbound mail into a chat thread, reply via the agent, etc. — that's a channel. Use
/add-gmailinstead. You can have both: a mailbox registered for triage here AND the same address wired as a channel via/add-gmail.
Detect Group
MAIN_FOLDER=$(sqlite3 store/nanoclaw.db "SELECT folder FROM registered_groups WHERE is_main = 1 LIMIT 1;" 2>/dev/null)
echo "MAIN_FOLDER=${MAIN_FOLDER:-unknown}"
If empty, ask:
Which group folder should I configure email accounts for?
Check Existing Accounts
test -f "groups/${MAIN_FOLDER}/email-accounts.yaml" && cat "groups/${MAIN_FOLDER}/email-accounts.yaml" || echo "NO_ACCOUNTS"
If accounts exist, show them:
Registered email accounts:
- gmail — Google Workspace (@.com) ✓
- outlook — Microsoft 365 (@.edu) ✓
What would you like to do?
- Add another account
- Remove an existing account
- Test an existing account
- Done
If no accounts exist, proceed to add one.
Add Account
Step 1: Choose provider
What type of email account?
- Google Workspace / Gmail (MCP) — uses
workspace-mcp, BYO OAuth client, structured MCP tools (recommended)- Microsoft 365 / Outlook / Exchange — uses MS365 MCP, OAuth authentication
- IMAP — any standard mail server (iCloud, university, self-hosted)
- Google Workspace / Gmail (CLI, deprecated) — legacy
gwsbinary. Kept for backward compatibility with existingtype: gwsaccounts. Don't pick this for new setups.
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.
- 12d ago First seen · 311 lines · 69 tokens per session scan B f0665e359a8f
add-email-account is a skill published in the GitHub repository chiptoe-svg/nanoclaw_flexagents (5 stars, last pushed 4mo ago), licensed MIT. It adds 69 tokens to every session and 3,168 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it B with 1 finding (asks for root). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.
Other skills, from other repositories
orbit-notion
Open Orbit briefing skill — selected by the Orbit pipeline when Notion is the user's only connected connector, or when the user explicitly scopes their daily digest to Notion. Pulls the past 24 hours of document edits, comments, mentions, and database row changes from the user's authenticated Notion connection and…
agentmail
Use your assigned AgentMail inbox to read email tasks, explicitly send or reply, and check delivery. Provided automatically by your inbox assignment.
Cortex
Operate Cortex, the LifeOS memory system — the typed Knowledge Archive (People, Companies, Ideas, Research with typed related: links) plus recall of prior work sessions, ISAs, and conversations. Search, add, harvest, develop, ingest, distill, graph-navigate, recall. USE WHEN cortex, knowledge, knowledge base, search…
pinchtab-mcp
Use this skill when a task requires browser automation through PinchTab's MCP server connected to a remote browser instance. Covers navigation, element interaction, data extraction, form filling, multi-step flows, and session management via MCP tools.
feishu
Work with Feishu or Lark bots, docs, sheets, bitables, approval flows, and OpenAPI/MCP setup without hardcoding credentials.
peekaboo
Capture and automate macOS UI with the Peekaboo CLI.