setup-inboxapi

A setup procedure for adding InboxAPI email tools to an AI coding agent. InboxAPI provides command-line email access, while MCP is a standard way for an agent to call external tools.

In plain words
What is it for?
Use it when configuring InboxAPI for Claude Code, Codex CLI, Gemini CLI, or OpenCode.
Why use it?
It reduces manual configuration by checking existing files, adding the email server, installing skills, and verifying credentials.

Skill for Claude CodeCodex

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.

agentmods
npx agentmods add skills/inboxapi/cli/setup-inboxapi
Any agent
npx skills add inboxapi/cli --skill setup-inboxapi
Clone the repo
git clone --depth 1 https://github.com/inboxapi/cli

Made for: Claude Code, Codex.

Per session 44 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,033 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00044 $0.01033
Opus 5 $0.00022 $0.00517
Sonnet 5 $0.00009 $0.00207
Haiku 4.5 $0.00004 $0.00103

Measured 2d ago against content hash 9ceb024add30, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

setup-inboxapi 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 2d 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.

skills/claude/setup-inboxapi/SKILL.md · 92 lines

How it starts

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

Setup InboxAPI

Configure InboxAPI email tools for this project. Supports Claude Code, Codex CLI, Gemini CLI, and OpenCode.

Steps

  1. Check current setup: Look for existing .mcp.json and .claude/settings.json files

  2. Add MCP server (if not already configured):

    • Check if .mcp.json exists and contains an inboxapi entry
    • If not, run: claude mcp add inboxapi -- npx -y @inboxapi/cli
    • Or create/update .mcp.json with:
      {
        "mcpServers": {
          "inboxapi": {
            "command": "npx",
            "args": ["-y", "@inboxapi/cli"]
          }
        }
      }
      

    For other agents:

    • Codex CLI: codex mcp add inboxapi -- npx -y @inboxapi/cli
    • Gemini CLI: Add to settings.json under mcpServers:
      { "mcpServers": { "inboxapi": { "command": "npx", "args": ["-y", "@inboxapi/cli"] } } }
      
    • OpenCode: Add to opencode.json under mcp:
      { "mcp": { "inboxapi": { "command": "npx", "args": ["-y", "@inboxapi/cli"] } } }
      
  3. Install skills: Run npx -y @inboxapi/cli setup-skills to install skills for detected agents

    • Use --all to install for all agents, or --claude, --codex, --gemini, --opencode for specific ones
  4. Verify credentials:

    • Run: npx -y @inboxapi/cli whoami to check if credentials are set up
    • If not authenticated, instruct the user: "Run npx -y @inboxapi/cli login in a terminal to authenticate"
  5. Show summary:

    InboxAPI Setup Complete!
    
    MCP Server: configured in .mcp.json
    Email: <email> (or "not authenticated yet")
    
    Installed Skills:
      /check-inbox          — View inbox summary
      /check-sent           — View sent email history
      /compose              — Write and send emails
      /download-attachment  — Download email attachments
      /email-search         — Search emails
      /email-reply          — Reply with thread context
      /email-digest         — Email activity digest
      /email-forward        — Forward emails
    
    Installed Hooks (Claude Code only):
      PreToolUse  — Email send guard (reviews before sending)
      PostToolUse — Activity logger (audit trail)
      SessionStart — Credential check (verifies auth on startup)
    
    Next steps:
      - Run /check-inbox to see your emails
      - Run /compose to send your first email
    

Read the full file on GitHub · 92 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. 2d ago First seen · 92 lines · 44 tokens per session scan A 9ceb024add30

Subscribe to this mod's changes

setup-inboxapi is a skill published in the GitHub repository inboxapi/cli (12 stars, last pushed 2mo ago), licensed MIT. It adds 44 tokens to every session and 1,033 once invoked, about $0.0002 per session on Opus 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-08-30.

Related

Other skills, from other repositories

anonsec-mcp-server

Firefox Relay MCP Server (anonsec-mcp-server) is a production-grade Model Context Protocol server that provides comprehensive anonymous email management capabilities through Firefox Relay addresses. Built with privacy, security, and operational excellence as core principles, this server enables AI agents and…

VRIL-LABS/anonsec-mcp-server · 0 tokens

code-review-skill

Provides comprehensive code review guidance for React 19, Vue 3, Angular 17+, Svelte 5, Rust, TypeScript, Java, Java 8, PHP, Ruby, Rails, Python, Django, FastAPI, Go, C#/.NET, Kotlin, Swift, NestJS, C/C++, Zig, CSS/Less/Sass, Qt, and more. Covers architecture review, performance review, security audit, code quality…

VRIL-LABS/anonsec-mcp-server · 154 tokens

string-reviewer

Use this skill when asked to review text and user-facing strings within the codebase. It ensures that these strings follow rules on clarity, usefulness, brevity and style.

google-gemini/gemini-cli · 38 tokens

code_explorer

Explores the repository to locate primary source files, coupled UI components, and test files for bug reports or feature requests.

google-gemini/gemini-cli · 28 tokens

ci

A specialized skill for Gemini CLI that provides high-performance, fail-fast monitoring of GitHub Actions workflows and automated local verification of CI failures. It handles run discovery automatically—simply provide the branch name.

google-gemini/gemini-cli · 42 tokens

behavioral-evals

Guidance for creating, running, fixing, and promoting behavioral evaluations. Use when verifying agent decision logic, debugging failures, debugging prompt steering, or adding workspace regression tests.

google-gemini/gemini-cli · 39 tokens