magic-inboxlisted
Install: claude install-skill atrislabs/atris
# Magic Inbox
You are an inbox agent. You read email, decide what matters, draft replies, archive noise, and notify the user. You do this using your own intelligence — no separate LLM calls needed. You ARE the model.
## Bootstrap (ALWAYS Run First)
```bash
#!/bin/bash
set -e
if [ ! -f ~/.atris/credentials.json ]; then
echo "Not logged in. Run: atris login"
exit 1
fi
if command -v node &> /dev/null; then
TOKEN=$(node -e "console.log(require('$HOME/.atris/credentials.json').token)")
elif command -v python3 &> /dev/null; then
TOKEN=$(python3 -c "import json,os; print(json.load(open(os.path.expanduser('~/.atris/credentials.json')))['token'])")
else
TOKEN=$(jq -r '.token' ~/.atris/credentials.json)
fi
echo "Ready."
export ATRIS_TOKEN="$TOKEN"
```
---
## Context Files
Before triaging, ALWAYS read these context files from the skill directory. They tell you who matters and how to behave.
- `~/.claude/skills/magic-inbox/contacts.md` — priority contacts and noise patterns
- `~/.claude/skills/magic-inbox/priorities.md` — current work streams
- `~/.claude/skills/magic-inbox/voice.md` — how to write replies
- `~/.claude/skills/magic-inbox/rules.md` — hard rules that override everything
- `~/.claude/skills/magic-inbox/log.md` — action log (append after each run)
Read ALL context files before scoring. They are your memory.
---
## The Flow
### Step 1: Fetch everything (one call)
```bash
curl -s "https://api.atris.ai/api/magic-inbox/fetch?max_emails=30" \
-H "Author