ClawInboxRAG
Community skill for parsing and executing local mailbox retrieval commands (`mail ...`) against a local backend with safe defaults, bounded output, and read-only constraints.
- License 许可
- MIT
- 最近更新
- 2026-06-10
- Stars
- ★ 3
- Forks
- 0
01 前言 Front Matter
- name
- ClawInboxRAG
- description
- Community skill for parsing and executing local mailbox retrieval commands (`mail ...`) against a local backend with safe defaults, bounded output, and read-only constraints.
03 SKILL.md 正文
ClawInboxRAG (Community Skill)
Parse and execute mail ... commands for a local mailbox retrieval backend.
What this skill does
- Parses chat commands with
scripts/parse_mail.py. - Routes allowed actions to
scripts/run_cli.sh. - Keeps output concise and citation-friendly.
- Enforces safety constraints (read-only posture, limited command surface, bounded result counts).
Prerequisites
- Local backend checkout.
- Working Python environment and
uvrunner. - Gmail OAuth read-only scope.
- Environment variables:
GMAIL_RAG_REPO(required)GMAIL_RAG_UV_BIN(optional, defaultuv)MAIL_DEFAULT_MODE(hybriddefault)MAIL_DEFAULT_LIMIT(5default)MAIL_MAX_LIMIT(25default)
Supported input
Trigger: input starts with mail (case-insensitive).
Actions recognized by parser:
mail help->helpmail status/mail stat->statusmail labels/mail label->labelsmail sync->syncmail recents [max|top|limit N]->recents- everything else ->
search(if non-empty query remains)
Search options recognized by parser:
- Mode:
keyword,semantic,hybrid(plus localized aliases in parser) - Limit:
max N,top N,limit N,limite N - Label prefix:
label <prefix>ortag <prefix> - Date filters:
after <date>,before <date>,between <date> and <date> - Summary flag:
resume(alsorésume,résumé,summary)
Command mapping
Use scripts/run_cli.sh for execution.
help-> return usage guidance (no CLI call required).search->search <query> [--keyword|--semantic|--hybrid] --limit N [--label-prefix X] [--after ISO] [--before ISO]recents->recents --limit Nstatus->statuslabels->labelssync-> run in order:ingest-primary --limit 50embed --limit 200refresh-labels
Safety constraints
- Read-only Gmail posture.
- No credential/token disclosure.
- No full raw body dumping by default.
- Clamp numeric limits to configured max.
- Validate date parsing before CLI options.
- Use safe argument passing; do not interpolate untrusted shell strings.
04 同仓库更多 Skills
youtube-content
YouTube transcripts to summaries, threads, blogs.
xurl
X/Twitter via xurl CLI: post, search, DM, media, v2 API.
touchdesigner-mcp
Control a running TouchDesigner instance via twozero MCP — create operators, set parameters, wire connections, execute Python, build real-time visuals. 36 native tools.
test-driven-development
TDD: enforce RED-GREEN-REFACTOR, tests before code.
teams-meeting-pipeline
Operate the Teams meeting summary pipeline via Hermes CLI — summarize meetings, inspect pipeline status, replay jobs, manage Microsoft Graph subscriptions.
systematic-debugging
4-phase root cause debugging: understand bugs before fixing.