An agent pointed at the repo may load only SKILL.md and then guess a wrong path for the installer (it fetched /scripts/install.sh at repo root → 404; the file is under skills/emcli/). Fix: - Add a "First: get this skill's files" section: the supporting scripts/ and references/ files, the absolute raw base URL to fetch them, and the Gitea contents API to enumerate the directory. - Install step now gives an absolute-URL fetch-then-run for the only-SKILL.md case, keeping `bash scripts/install.sh` for the bundled case. - State that every scripts/… and references/… path is relative to the skill dir and resolvable against the raw base URL. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
emcli
A single command-line program that mediates all email access for an AI agent. The agent never
holds your email password and never talks to the mail server directly — every read and send goes
through emcli, which enforces the limits you configure (read-only/read-write, sender and
recipient whitelists, subject filters). Even with faulty instructions, the agent can't read mail
it isn't permitted to see or send mail to people it isn't permitted to contact.
Getting started
export EMCLI_KEY="$(head -c 32 /dev/urandom | base64)" # one-time: generate & save a key
emcli init # create the DB, add your first account
emcli doctor # confirm it connects and authenticates
Documentation
See the User Manual for full setup, account configuration (including Gmail app passwords), the agent and admin command reference, the JSON output format, and troubleshooting.
For AI agents, skills/emcli is an
Agent Skill that teaches an agent to read and send mail through emcli,
including a binary installer.