gudong-inbox-cli
v1.1.0
Published
CLI tool that lets AI agents read and write your inBox notes from S3/WebDAV. No MCP needed, just a command.
Maintainers
Readme
gudong-inbox-cli
CLI tool that lets AI agents read and write your inBox notes from S3/WebDAV. No MCP, no server, just a command.
Why
inBox is a local-first notes app that syncs via S3 or WebDAV. This CLI gives AI coding agents (Codex, Claude, Cursor etc.) direct access to your notes through simple shell commands — no MCP protocol, no config files to fight with, no app restarts.
Inspired by Agently Mail — the idea that a CLI + Skill is simpler and more reliable than MCP for AI agent integration.
Quick Start
# Install
npm install -g gudong-inbox-cli
# Configure (S3 example)
gudong-inbox config init \
--cloud-type s3 \
--endpoint https://s3.cn-south-1.qiniucs.com \
--bucket my-bucket \
--access-key AKID... \
--secret-key SECRET... \
--region cn-south-1 \
--work-dir inBox
# Verify
gudong-inbox config test
# Use
gudong-inbox list --limit 5
gudong-inbox search --query "Flutter"
gudong-inbox read --id b10a4576df11401c8673
gudong-inbox boxesCommands
| Command | Description |
|---------|-------------|
| list | List note summaries (with time range and date field filtering) |
| read | Read full content of a single note by ID |
| search | Search notes by keyword in title/body/tags |
| tags | List all tags with usage counts |
| boxes | List note boxes with note counts |
| box create | Create a new box by name |
| box update | Rename a box or change whether it appears on home |
| box delete | Delete a box and move its notes to no-box (requires --confirm) |
| create | Create a new note |
| update | Partially update an existing note |
| delete | Soft-delete a note (requires --confirm) |
| config init | Set up cloud storage credentials |
| config show | Show current config (secrets masked) |
| config test | Test connection to cloud storage |
Config
Config is stored at ~/.gudong-inbox/config.json (created by config init). Environment variables (CLOUD_TYPE, S3_ENDPOINT, etc.) work as fallback for compatibility with the MCP version.
Skill for AI Agents
A skills/gudong-inbox/SKILL.md is included. Install it to your AI agent's skill directory:
# For Codex
cp skills/gudong-inbox/SKILL.md ~/.codex/skills/gudong-inbox/SKILL.mdOnce installed, the AI agent will automatically discover the skill and know when to use gudong-inbox commands — no MCP, no restart needed.
How it works
AI agent (Codex / Claude / Cursor)
↓ exec_command
gudong-inbox (standalone CLI process)
↓ S3 ListObjects / WebDAV PROPFIND
your cloud storageEach command is a standalone process that connects directly to your S3/WebDAV storage, reads inBox note JSON files, and outputs structured JSON. No persistent server, no protocol handshake, no startup failures to debug.
License
MIT
