inbox

$npx mdskill add Soul-Brews-Studio/arra-oracle-skills-cli/inbox

Manage Oracle inbox notes, tasks, and messages for agents.

  • Handles reading and writing timestamped notes and tasks.
  • Integrates with Oracle inbox directory structure.
  • Uses filename patterns to organize items by date and topic.
  • Delivers results via list, read, write, and clean commands.

SKILL.md

.github/skills/inboxView on GitHub ↗
---
name: inbox
description: Read and write to Oracle inbox — notes, tasks, messages, handoffs. Use when user says "inbox", "leave a note", "write to inbox", "check inbox", "what's pending", or wants to read/write messages for self or other agents. Do NOT trigger for session handoffs (use /forward), schedule (use /schedule), or agent messaging (use /talk-to).
argument-hint: "[read | write <topic> | ls | clean]"
---

# /inbox - Oracle Inbox

Read and write timestamped notes to `ψ/inbox/`.

## Usage

```
/inbox                    # List recent inbox items
/inbox read               # List recent inbox items (alias)
/inbox read <topic>       # Read specific item by topic keyword
/inbox write <topic>      # Write new inbox item
/inbox ls                 # List all items (full)
/inbox clean              # Archive old items (move to ψ/archive/inbox/)
```

## Directory

```
ψ/inbox/
├── handoff/              # Session handoffs (managed by /forward)
├── schedule.md           # Schedule (managed by /schedule)
├── YYYY-MM-DD_HHMM_<topic>.md   # ← inbox items live here
└── ...
```

## Filename Format

Every inbox item follows this pattern:

```
YYYYMMDD_HHMM_<topic-slug>_from_<sender>.md
```

Example: `20260323_2112_fix-auth-bug_from_peter.md`

**Rules**:
- Date: compact `YYYYMMDD` (no dashes)
- Topic slug: lowercase, hyphens, no spaces
- Sender: who wrote it (oracle name or human name)
- Timestamp: local time (from `date`)
- Always at root of `ψ/inbox/` (not in subdirectories)

---

## Mode 1: Read (default)

### `/inbox` or `/inbox read`

```bash
ROOT="$(pwd)"
INBOX="$ROOT/ψ/inbox"
```

List all `.md` files in `ψ/inbox/` (excluding `schedule.md` and `handoff/`):

```bash
ls -1t "$INBOX"/*.md 2>/dev/null | grep -v schedule.md | head -10
```

For each file, show:
```
📥 20260323 21:12 — fix-auth-bug (from peter)
   First 2 lines of content...
```

If MCP available, also run:
```
oracle_inbox(limit=10)
```

### `/inbox read <topic>`

Find and display the most recent file matching the topic:

```bash
ls -1t "$INBOX"/*<topic>*.md 2>/dev/null | head -1
```

Read and display full content.

---

## Mode 2: Write

### `/inbox write <topic>`

```bash
TS=$(date +%Y%m%d_%H%M)
SLUG=$(echo "<topic>" | tr ' ' '-' | tr '[:upper:]' '[:lower:]' | sed 's/[^a-z0-9-]//g')
FROM=$(echo "<sender>" | tr ' ' '-' | tr '[:upper:]' '[:lower:]' | sed 's/[^a-z0-9-]//g')
FILE="$INBOX/${TS}_${SLUG}_from_${FROM}.md"
```

**Ask the user**: "What do you want to note?" (unless content is provided after topic)

Write the file:

```markdown
---
topic: <topic>
from: <current-oracle-name>
timestamp: YYYY-MM-DD HH:MM
---

<user's content>
```

If MCP available, also call:
```
oracle_handoff(content, slug)
```

This syncs to vault for cross-Oracle discovery.

**Confirm**: `📥 Written: ψ/inbox/${TS}_${SLUG}.md`

---

## Mode 3: List All

### `/inbox ls`

Same as read but show ALL items (no limit), with file sizes:

```bash
ls -lht "$INBOX"/*.md 2>/dev/null | grep -v schedule.md
```

Also count handoffs:
```bash
echo "📁 Handoffs: $(ls "$INBOX/handoff/" 2>/dev/null | wc -l) files"
```

---

## Mode 4: Clean

### `/inbox clean`

Move items older than 7 days to archive:

```bash
ARCHIVE="$ROOT/ψ/archive/inbox"
mkdir -p "$ARCHIVE"
find "$INBOX" -maxdepth 1 -name "*.md" -not -name "schedule.md" -mtime +7 -exec mv {} "$ARCHIVE/" \;
```

Report what was moved. Never delete — move to archive (Nothing is Deleted).

---

## Who Can Write?

Any Oracle, any skill, any agent. The only rule: **timestamp before topic** in filename.

| Writer | How | Example |
|--------|-----|---------|
| `/inbox write` | This skill | `20260323_2112_idea_from_neo.md` |
| `/forward` | Handoff | `ψ/inbox/handoff/20260323_2112_session-forward.md` |
| Another Oracle | `/talk-to` + write | `20260323_2112_status-update_from_odin.md` |
| Agent directly | `oracle_handoff()` MCP | Same format |

---

ARGUMENTS: $ARGUMENTS

More from Soul-Brews-Studio/arra-oracle-skills-cli

SkillDescription
about-oracleWhat is Oracle — told by the AI itself. Origin story, stats, family count, ecosystem overview. Use when someone asks "what is oracle", "about oracle", "tell me about this project", or wants the origin story. Do NOT trigger for "who are you" (use /who-are-you), "philosophy" (use /philosophy), or session status questions.
alpha-featureFull skill development pipeline — create, compile, test, commit, install. Use when user says "new skill", "create skill", "alpha-feature", or wants to build a skill end-to-end.
auto-retrospectiveConfigure auto-rrr and auto-forward triggers based on context window usage. Use when user says "auto rrr", "auto-scale", "configure auto triggers", "change rrr interval", "toggle auto", or wants to adjust when /rrr and /forward auto-trigger. Do NOT trigger for running /rrr manually (use /rrr) or creating handoffs (use /forward).
awakenGuided Oracle birth and awakening ritual. Default is Soul Sync (~20min), or --fast (~5min). Use when creating a new Oracle in a fresh repo, when user says 'awaken', 'birth oracle', 'create oracle', 'new oracle', or wants to set up Oracle identity in an empty repository. Do NOT trigger for general repo setup, git init, or project scaffolding without Oracle context.
bampenpienบำเพ็ญเพียร — diligent practice. A guided conversation between human and Oracle about doing hard things without knowing why. Like /awaken but repeatable — a practice, not a birth. Use when user says 'bampenpien', 'บำเพ็ญเพียร', 'why am I doing this', 'hard work', 'keep going', 'what am I building', or needs to reconnect with purpose through difficulty.
birthPrepare Oracle birth props for a new repo — Issue #1, MCP thread, identity data. Use when user says "birth", "new oracle", "prepare repo", or wants to bootstrap a new Oracle before /awaken.
budCreate a new oracle via maw bud — yeast-colony reproduction. Use when user says "bud", "new oracle", "create oracle", "spawn oracle", or wants to create a new permanent oracle from the current one.
create-shortcutCreate local skills as shortcuts — makes real /commands in .claude/skills/. Use when user says "create shortcut", "create skill", "make a command for", "add shortcut", or wants a quick custom /slash-command. Also lists and deletes local skills. ALSO triggers on "Unknown skill", "skill not found", or any unrecognized /slash-command — auto-creates it on the fly.
digMine Claude Code sessions — timeline, gaps, repo attribution, session history. Use when user says "dig", "sessions", "past sessions", "timeline", "what did I work on", or wants to see session history. Do NOT trigger for finding code/projects (use /trace), exploring repos (use /learn), or current session status (use /recap).
feelCapture how the system feels — energy, momentum, burnout, breakthrough. Emotional intelligence for Oracle-human collaboration. Use when user says 'feel', 'how are we', 'energy check', 'burnout', 'momentum', or wants emotional awareness of the work.