Skip to content
Back to skills

Inbox Processor

ASecurity

Organise inbox captures into NIPARAS structure

  • 5 stars
  • 0 votes
  • 1 copy
  • 7 views
  • Added October 4, 2026
ai-agentsgobashdocumentation

Works with

  • cli

Security analysis

A100/100

Pro scans all 2 files and shows the line behind each finding

Scanned October 4, 2026

npx -y skills add OpenCairn/OpenCairn --skill inbox-processor --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Inbox Processor?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Inbox Processor
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/opencairn-inbox-processor/badge)](https://www.skillsdirectory.com/skills/opencairn-inbox-processor)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: inbox-processor
description: Organise inbox captures into NIPARAS structure
---


# Inbox Processor - NIPARAS Categorisation

**Scoped rule loading:** `_shared-rules-planning.md` before action routing; `_shared-rules-content.md` before structural moves. Read the applicable numbered sections at that point, from the same directory as the core `_shared-rules.md`; do not preload unrelated supplements.

You are helping the user process their inbox. Your job is to categorise captured items and move them to the appropriate location in the NIPARAS structure.

## Philosophy

The inbox (`02 Inbox/`) is a frictionless capture point. Items land there without categorisation. Processing is a separate step - examining each item and routing it to the right permanent home.

This follows the GTD/PARA principle: **capture is fast and mindless, organisation is thoughtful and periodic**.

## Instructions

0. **Resolve Vault Path**

   ```bash
   "${VAULT_PATH:?VAULT_PATH not set}/.claude/scripts/resolve-vault.sh"
   "$VAULT_PATH/.claude/scripts/check-archive-layout.sh" --enforce "$VAULT_PATH"
   ```

   If error, abort. Read `~/.codex/skills/_shared-rules.md` and apply its rules throughout this skill. All code below uses `{VAULT}` as a placeholder — substitute the resolved vault path.

1. **Scan the inbox:**
   - List every entry in `{VAULT}/02 Inbox/` — files **and** subdirectories — with filename, size, date, and type
   - Read markdown/text notes in full. **Open images with the available image viewer rather than guessing from filename** — capture filenames are usually hashes or app-generated strings with zero routing signal. For other binaries (PDFs, audio, installers, archives), classify from filename + metadata; extract content only where cheap tooling exists (e.g. `pdftotext`). **Never execute a binary.**
   - Treat a subdirectory as a single bundle: list its top level, don't deep-recurse; it moves (or defers) as one unit
   - **Bucket before reasoning per-item.** Above ~15 entries, sort the listing into classes first (media, installers/binaries, receipts/documents, notes, bundles) and carry the classes into the Step 3 plan — a class with one shared outcome is presented as one row, and only items whose routing genuinely differs get their own. Per-item NIPARAS reasoning across a large inbox produces a plan too long to approve meaningfully.

2. **Categorise each item:**

For each item, determine the appropriate home using NIPARAS logic:

**Ask these questions:**
- **Is this actionable now?** → extract the action into `01 Now/Working memory.md` or a specific project (a non-text item still gets a file home below — the action and the artefact route separately)
- **Is this a project?** (Has a specific end goal) → `03 Projects/[Project Name]/`
- **Is this an ongoing area of responsibility?** → `04 Areas/[Area]/`
- **Is this reference material?** → `05 Resources/[Topic]/`
- **Is this an immutable record (dated, never to be edited)?** → `06 Archive/` (write-once records only: transcripts, logs, reports, scans, snapshots). Completed/inactive-but-useful material goes to the relevant `04 Areas/[Area]/Archive/` instead (or `04 Areas/Whimsy/` if aspirational)
- **Is this system documentation?** → `07 System/`

**Additional routing rules:**
- Session notes → `06 Archive/OpenCairn/Session Logs/`
- Daily reflections (user-authored) → `06 Archive/Daily Reviews/` (create if missing; deliberately distinct from `06 Archive/OpenCairn/Daily Reports/`, which is $goodnight's machine-generated day index — never file user prose there)
- Blog drafts → the blog's own project or area folder (its drafts/content directory if it's a static site)
- Screenshots/images → Keep with related topic (never separate by filetype!)
- Meeting notes → Usually `04 Areas/` or linked project
- Article clippings → active project if project-specific; the owning Area's nested reference material if domain-owned; `05 Resources/[Topic]/` only when generic with no Area home
- Not every item must move: **leave deferred**, **delete** (junk/duplicates), or **ask the user** are valid plan outcomes — propose them explicitly in Step 3

3. **Present categorisation plan:**

Show the user the proposed categorisation:

```markdown
## Inbox Processing Plan

1. **[filename or class, e.g. "9 × hash-named JPEGs"]**
   Outcome: MOVE | DEFER | ASK
   → `[destination path, MOVE only]`
   Rename: [proposed new filename, only if renaming — renames happen only when shown here and approved]
   Reason: [Why this outcome and destination are appropriate]

...

Proceed with this plan? (yes/no/modify)
```

DELETE proposals never ride on that answer. List them separately, below the plan, with size and the reason each is junk or a duplicate, and take a second explicit confirmation:

```markdown
## Proposed Deletions (irreversible)

- `[filename]` — [size] — [why: junk / duplicate of `[kept copy]`]

Confirm deletion of these N items? (yes/no)
```

If the second confirmation isn't given, the items stay deferred; execute the rest of the plan regardless.

4. **Execute moves** (after confirmation):
   - Move items to their new locations. For any item that may have inbound links or embeds (notes *and* attachments — `![[file.pdf]]` embeds break too), use a link-healing move (Obsidian's move) rather than raw `mv`. Verify "link-free" before a raw `mv`: a backlink/structural query, or grep the vault for the filename. Fresh captures usually have none. If link-healing moves may be needed, probe first with `obsidian version 2>/dev/null` **before any writes** — it requires the Obsidian app to be running, which a PATH check alone does not establish. If it's unavailable, raw-`mv` only verified link-free items and defer the rest.
   - **The Obsidian CLI handles an inbox-sized batch fine — but drive it per `_shared-rules-content.md` §24** (the single source of truth for this CLI: the `</dev/null`, the settle delay, verify-by-result, and why raw `mv` is never the batch shortcut). Each requirement fails *silently* if dropped, so a batch that reports success is not evidence it worked.
   - Create necessary folders if they don't exist
   - Update relevant index files (project pages, hub files) for durable notes that need discoverability — not for raw attachments/receipts. Hub/planning-file edits go through `locked-edit.sh` per `_shared-rules.md` §5, never a raw edit
   - Apply only the renames approved in the Step 3 plan
   - When adding an item to `01 Now/Working memory.md`, respect the file's existing structure — if it has a fresh-capture zone at the top, insert directly below that zone's heading, not at EOF (items appended below a backlog section are invisible to downstream Working Memory processing)

5. **Verify and confirm:**

Re-list `{VAULT}/02 Inbox/` before reporting — only claim "Inbox is now empty" if the listing confirms it; otherwise report the count of items deliberately left (deferred/uncertain).

```
✓ Processed 7 items from inbox
✓ Moved to Projects: 2
✓ Moved to Areas: 2
✓ Moved to Resources: 2
✓ Added to Working Memory: 1

Inbox is now empty.

Recommended: Review new items in their destinations to ensure they make sense in context.
```

## Categorisation Decision Tree

```
Item → Is it actionable RIGHT NOW?
       ├─ Yes → extract the action to 01 Now/Working memory.md,
       │        then continue for the artefact's own file home
       └─ No → Continue...

Item → Does it have a specific END GOAL?
       ├─ Yes → 03 Projects/[Project]/
       └─ No → Continue...

Item → Is it ongoing RESPONSIBILITY?
       ├─ Yes → 04 Areas/[Area]/
       └─ No → Continue...

Item → Is it REFERENCE for future use?
       ├─ Yes → 05 Resources/[Topic]/
       └─ No → Continue...

Item → Is it an IMMUTABLE RECORD (dated, never to be edited)?
       ├─ Yes → 06 Archive/
       ├─ Completed/inactive but useful → 04 Areas/[Area]/Archive/
       │        (aspirational → 04 Areas/Whimsy/)
       └─ No → Continue...

Item → Is it SYSTEM documentation (how the vault/Claude works)?
       ├─ Yes → 07 System/
       └─ No → Uncertain, ask the user (or leave deferred)
```

## Guidelines

- **Never separate by filetype:** Images, PDFs, markdown files on same topic stay together
- **Create folders as needed:** If a new topic emerges, create appropriate structure
- **Rename for clarity:** Add dates, context, or more descriptive names when moving — always proposed in the Step 3 plan, never ad hoc
- **Link, don't duplicate:** If item relates to multiple places, keep in one location and link from others
- **Ask when uncertain:** If categorisation isn't obvious, present options and ask the user
- **Batch similar items:** If multiple items go to same destination, move them together — drive the moves per Step 4
- **Update indexes:** If adding a durable note to a project or area, update the relevant hub file (skip for raw attachments/receipts — see Step 4)

## Special Cases

**Quick thoughts / stream of consciousness:**
- If actionable: Extract actions to Working Memory, archive the rest
- If insightful: Move to relevant context file or resource page
- If neither: add as a plain line (no checkbox) to `04 Areas/Whimsy/_notes.md`, or delete

**Article clippings:**
- Route per the Step 2 rule: project → Area's nested reference → `05 Resources/[Topic]/` as the generic fallback
- Consider: Does this relate to an active project? If yes, also link from project page

**Meeting notes:**
- If project-related: `03 Projects/[Project]/`
- If ongoing relationship/area: `04 Areas/[Area]/`
- If one-off: `06 Archive/Meetings/` — valid because meeting notes are dated, write-once records (the only thing `06 Archive/` holds), not because Archive is a catch-all for the homeless

**Screenshots:**
- Keep with the thing they document (never in a generic "Screenshots" folder)
- If documenting a bug/issue: Keep with project until resolved, then archive

## Frequency

Run inbox processing:
- Weekly (Sunday/Monday) as part of weekly review
- When inbox gets >10-15 items
- Before starting deep work on a project (clear the decks)
- Whenever the user explicitly requests it

## Integration with Other Commands

- **After capture sessions:** When you've clipped many articles/notes, process them
- **Before $weekly-review:** Clean inbox so weekly review has clear boundaries
- **Complements $research-assistant:** Organised resources are easier to search

This creates a **clear separation between capture (fast) and organisation (thoughtful)**.

Files in this skill

  • SKILL.md10.4 KB
  • agents/openai.yaml232 B

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.