process-inbox

process-inbox is a command for coding agents from datacore-one/datacore. It costs 8 tokens per session (756 once invoked), scanned A, original, MIT.

Automated inbox processing — classify and route all entries from inbox.org.

Command

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add commands/datacore-one/datacore/process-inbox
Clone the repo
git clone --depth 1 https://github.com/datacore-one/datacore

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for process-inbox

README.md
[![agentmods](https://agentmods.dev/badge/commands/datacore-one/datacore/process-inbox.svg)](https://agentmods.dev/commands/datacore-one/datacore/process-inbox)
Your own site
<a href="https://agentmods.dev/commands/datacore-one/datacore/process-inbox"><img src="https://agentmods.dev/badge/commands/datacore-one/datacore/process-inbox.svg" alt="Measured on agentmods" height="20"></a>
Per session 8 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 756 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin unknown No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00008 $0.00756
Opus 5 $0.00004 $0.00378
Sonnet 5 $0.00002 $0.00151
Haiku 4.5 $0.00001 $0.00076

Measured today against content hash ff5b6b6b2496, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

process-inbox scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured today.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.datacore/commands/process-inbox.md · 104 lines

How it starts

The opening of the file, as written. The whole thing — 104 lines — stays where its author put it; the contents beside it link to each section on GitHub.

/process-inbox

Automated inbox processing — classify and route all entries from inbox.org.

When to Use

  • Nightshift scheduled execution (01:00 UTC nightly)
  • Manual batch processing when inbox is full
  • After email triage has added new items

Mode Detection

Nightshift mode (no user present): Process all items autonomously. Make classification decisions without asking. Use conservative defaults — when uncertain, route to next_actions.org rather than deleting.

Interactive mode (user present): Ask for confirmation on ambiguous items.

Workflow

Step 1: Read inbox.org

Read 0-personal/org/inbox.org and count entries under * Inbox.

If 0 entries: log "Inbox empty" and exit.

Step 2: Process Each Entry

For each entry under * Inbox, spawn gtd-inbox-processor subagent with:

  • The entry text
  • Target files: next_actions.org, research_learning.org, ideas.org
  • Mode: autonomous (no user confirmation needed)

Classification rules (from gtd-inbox-processor):

  • URL/link with "read/review/check out"research_learning.org under matching focus area
  • Actionable tasknext_actions.org under matching focus area
  • Idea/explorationideas.org with scoring
  • Reference → knowledge note or next_actions with :reference: tag
  • Bookmarks with notes/instructions → preserve the notes as CONTEXT property

Step 3: Route Research Items

For items routed to research_learning.org:

  • Place under the correct focus area heading (Verity, Trading, Health, Technology, etc.)
  • Format as:
    *** TODO [#B] Title or description
        :PROPERTIES:
        :CREATED: [YYYY-MM-DD Day]
        :SOURCE: URL or reference
        :EFFORT: 0:20
        :END:
        Link: https://...
        Why: [extracted relevance from bookmark notes]
    
  • Preserve any user notes or instructions from the original bookmark

Step 4: Commit Results

After all entries processed:

  1. Verify inbox.org entries have been removed (routed elsewhere)
  2. Count items routed to each destination
  3. Git commit and push

Read the full file on GitHub · 104 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. today First seen · 104 lines · 8 tokens per session scan A ff5b6b6b2496

Subscribe to this mod's changes

process-inbox is a command published in the GitHub repository datacore-one/datacore (4 stars, last pushed today), licensed MIT. It adds 8 tokens to every session and 756 once invoked, about $0.0000 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.