# Process Inbox

> Process accumulated inbox notes through the full pipeline (ingest, enrich, route, connect, link). User-facing orchestrator.

- **Type:** Skill
- **Install:** `agentstack add skill-technicalpickles-pickled-claude-plugins-process-inbox`
- **Verified:** Yes — security-reviewed for prompt injection and unsafe behavior
- **Seller:** [technicalpickles](https://agentstack.voostack.com/s/technicalpickles)
- **Installs:** 0
- **Category:** [Agent Skills](https://agentstack.voostack.com/c/agent-skills)
- **Latest version:** 0.1.0
- **License:** MIT
- **Upstream author:** [technicalpickles](https://github.com/technicalpickles)
- **Source:** https://github.com/technicalpickles/pickled-claude-plugins/tree/main/plugins/second-brain/skills/process-inbox

## Install

```sh
agentstack add skill-technicalpickles-pickled-claude-plugins-process-inbox
```

Requires the [AgentStack CLI](https://agentstack.voostack.com/docs/cli). Works with Claude Code, Cursor, and any MCP-compatible agent.

## About

# Process Inbox

Process accumulated inbox notes through the full pipeline: ingest, enrich, route, connect, link to daily note.

See `references/pipeline.md` for stage definitions and status flow.

## Step 1: Load Configuration

```bash
npx @techpickles/sb config default
npx @techpickles/sb config vaults
```

If no vault configured:
```
Second brain not configured. Run /second-brain:setup first.
```

Load skill references:
- `second-brain:obsidian` for tool mechanics
- `references/pipeline.md` for stage definitions
- `references/routing-memory.md` for learning loop
- `references/routing.md` for scoring algorithm
- `references/connecting.md` for connection discovery
- `references/daily-linking.md` for daily note linking
- `references/sb-cli.md` for sb command reference

## Step 2: Survey Inbox

```bash
npx @techpickles/sb inbox list --detail
```

Parse the JSON response. Group notes by `status` field (notes without status are `raw`).

Check for stale notes (captured more than 14 days ago based on `captured` frontmatter field).

Present summary:

```
Inbox: {total} notes
  {n} raw (session notes awaiting ingestion)
  {n} ingested (insights awaiting enrichment)
  {n} enriched (notes awaiting routing)
  {n} pending-review (need your input)
  {n} routed (awaiting connection)
  {n} connected (awaiting daily linking)

{If stale notes exist:}
  Heads up: {n} notes have been in the inbox for over 2 weeks.
```

If inbox is empty:
```
Inbox is empty. Nothing to process.
```

## Step 3: Process by Stage

Work through notes in pipeline order. Each stage picks up notes at its expected input status.

### 3a: Ingest raw session notes

For each note with `status: raw` and `type: session-notes`:
- Follow the `ingest` skill to split into individual insight notes
- Report: `Ingested: {session filename} -> {n} insights`

### 3b: Enrich ingested insights

For each note with `status: ingested` and `type: insight`:
- Follow the `enrich` skill to create proper zettelkasten notes
- Report: `Enriched: {filename}`

### 3c: Route enriched notes

For each note with `status: enriched`:
- Follow the `route` skill
- If auto-routed: `Routed: {filename} -> {destination}`
- If pending-review: pause and present suggestions to user
  - Show the note title, top destinations with scores, and reasoning
  - Let user pick destination or leave in inbox
  - If user overrides, capture correction per `references/routing-memory.md`
  - After user decides, continue to next note

Also process any pre-existing `pending-review` notes from previous runs.

### 3d: Connect routed notes

For each note with `status: routed`:
- Follow the `connect` skill
- If qmd unavailable: `Skipped connections: qmd not available` (once, not per note)
- If connections found: present batch summary, let user multi-select
- If no connections: skip silently

### 3e: Link to daily note

For each note with `status: connected`:
- Follow the `link-daily` skill
- Batch all links into a single `sb daily append` call when possible
- Report: `Linked {n} notes to daily note`

## Step 4: Summary

```
Pipeline complete:
  {n} session notes ingested -> {m} insights extracted
  {n} insights enriched
  {n} notes routed ({auto} auto, {manual} manual)
  {n} notes connected ({links} links added)
  {n} notes linked to daily note
  {n} notes still pending review
```

## Constraints

- Process stages in order (ingest before enrich, enrich before route, etc.)
- Pause for human input only on low-confidence routing and connection selection
- Don't fail the pipeline if one stage errors on a note. Log the error and continue.
- Batch operations where possible (daily linking)
- One vault at a time (uses default vault)

## Source & license

This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.

- **Author:** [technicalpickles](https://github.com/technicalpickles)
- **Source:** [technicalpickles/pickled-claude-plugins](https://github.com/technicalpickles/pickled-claude-plugins)
- **License:** MIT

Install and usage instructions live in the source repository linked above.

## Pricing

- **Free** — Free

## Security capabilities

Automated source analysis of v0.1.0 — what this tool can access:

- **Network access:** no
- **Filesystem access:** no
- **Shell / process execution:** no
- **Environment & secrets:** no
- **Dynamic code execution:** no

*"Yes" means the capability is present in the source — more access means more to trust, not that it is unsafe.*


## Versions

- **0.1.0** — security scan: passed — Imported from the upstream source.

## Links

- Listing page: https://agentstack.voostack.com/l/skill-technicalpickles-pickled-claude-plugins-process-inbox
- Seller: https://agentstack.voostack.com/s/technicalpickles
- Browse the marketplace: https://agentstack.voostack.com/browse

---
Listed on AgentStack — the marketplace for AI agent skills and MCP servers. Every listing is security-reviewed. Creators keep 70%.
