Skip to content
Back to skills

Process

ASecurity

Processes the files in Duccio's (the second brain's) vault/raw/ inbox into structured Obsidian notes (decisions, meetings, notes, people, technologies) and archives the originals in vault/raw/archive/. Use when the user asks to process the raw folder or the inbox, or when the capture skill requires it.

  • 3 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added December 1, 2026
ai-agentsgoshellbashgit

Works with

  • cli

Security analysis

A100/100

Scanned December 1, 2026

npx -y skills add gabrycaos/duccio --skill process --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Process?

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

Security grade badge for Process
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/gabrycaos-process/badge)](https://www.skillsdirectory.com/skills/gabrycaos-process)

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: process
description: Processes the files in Duccio's (the second brain's) vault/raw/ inbox into structured Obsidian notes (decisions, meetings, notes, people, technologies) and archives the originals in vault/raw/archive/. Use when the user asks to process the raw folder or the inbox, or when the capture skill requires it.
---

# process

Turns the files in `vault/raw/` into vault notes. This skill applies the "Note conventions", "Writing rules" and "Git protocol" sections of `AGENTS.md`: reread them before starting. Folder names and headings below are the English ones; in a vault of another language use the matching names from the table in "Vault language". Work from the repo root.

## Input

- No argument: process all pending files.
- One file: process only that one (e.g. when `capture` invokes you).

## 0. Preparation

1. Pull according to the Git protocol.
2. List the pending files, in chronological order by name:
   ```bash
   /usr/bin/find vault/raw -path vault/raw/archive -prune -o -type f ! -name '.*' -print | sort
   ```
3. If there are none, say so and stop.
4. Process one file at a time, completing all the steps through the commit before moving on to the next.

## 1. Read the content

- `.md`, `.txt`: read the file.
- `.docx`, `.pptx`, `.pdf`, `.xlsx`, `.html`: convert it into a temporary folder outside the vault (never inside `vault/raw/`, otherwise it would become a new file to process) and read the result (note the printed path: shell variables do not survive between commands):
  ```bash
  tmp="$(mktemp -d)"; echo "$tmp"
  .venv/bin/markitdown "vault/raw/<file>" -o "$tmp/<file>.md"
  ```
  If the conversion fails or produces empty text: leave the file in `raw/`, note it for the summary and move on to the next.
- Images: read them if you are able to see images, otherwise leave them in `raw/` and note them.
- Other formats: leave them in `raw/` and note them.

## 2. Enrich with external sources

For every Confluence, Jira, Google Drive or Gmail link in the content, read the resource with the tool you have for that service (read-only). If the tool is missing or fails, keep the link as it is and note it for the summary.

## 3. Route

Determine client and project, in this order:
1. explicit hints from the user (even written inside a capture, e.g. `Project: <Project>`);
2. keys in the hubs: compare the content with `jira`, `confluence_spaces`, `drive_folders`, `repos` in the frontmatter of the `vault/Clients/*/Projects/*/*.md` files;
3. client, project, people and repo names mentioned.

- If you are not sure, ask the user, proposing the most likely options. Write nothing until they answer.
- If a new client or project is needed, propose name, path and external keys; create it only after confirmation, starting from `vault/Templates/client.md` / `vault/Templates/project.md`, and link the project under `## Projects` of the client note.
- One file can feed several projects.
- Client material not tied to a project goes in `Clients/<C>/Decisions|Meetings|Notes/`, without `project`.

## 4. Compute the archive path

- Today's year and month: `date +%Y/%m`; today's date: `date +%F`.
- Archive name: `YYYY-MM-DD <original name>` with today's date; if the original name already starts with `YYYY-MM-DD `, it stays unchanged.
- In the archive name replace the characters `# ^ [ ] | : * " \ < > ?` with `-` (the first five break wikilinks, Obsidian rejects the others).
- Path: `vault/raw/archive/YYYY/MM/<archive name>`. If it already exists, add ` (2)`, ` (3)`… before the extension.
- In `sources:` of every note produced put this path without the `vault/` prefix, as a wikilink: `"[[raw/archive/2026/11/2026-11-06 call.md]]"`.

## 5. Sensitive data

If the content contains credentials, tokens or passwords:
- in the notes always replace them with the redaction marker, `[REDACTED]` (in a vault of another language, the `redacted` value from the table in "Vault language");
- before archiving ask the user (the archive is pushed to the remote) whether to archive:
  - (a) the original as it is; or
  - (b) only a redacted copy: a `.md` with the text (for binaries, the converted markdown) with the secrets replaced by the redaction marker, archived as `<archive name>.md` (e.g. `2026-11-06 spec.docx.md`). An original `.md` keeps its archive name without adding another `.md` (e.g. `2026-11-03 kickoff.md`). In this case `sources:` points to the redacted copy, and the unredacted original is deleted from `vault/raw/` only after explicit confirmation. If the user does not confirm the deletion, ask whether to move it out of the vault (to a path of their choice) or to fall back to option (a). The original must never stay in `vault/raw/`, otherwise it would be processed again.

## 6. Extract the notes

For each relevant piece of information choose the type:
- `decision`: a choice made or proposed, with its rationale → `Decisions/`;
- `meeting`: account of a meeting (date, participants, outcomes, actions) → `Meetings/`;
- `note`: everything else (technical knowledge, requirements, summaries of external documents) → `Notes/`.

Rules:
- Before creating a note, check whether one on the same topic already exists (file names, `aliases`, text search of the key terms in `vault/`). If there is one, update it instead of creating a new one.
- Before modifying an existing note apply the "Notes with uncommitted changes" rule of `AGENTS.md`.
- Start from the type's template in `vault/Templates/`.
- Name `YYYY-MM-DD Title.md` with the event date, equal to the `date` field.
- A decision that supersedes another: on the old one set `status: superseded` and `superseded_by: "[[<new>]]"`.
- Link people and technologies in `people:`/`tech:` and in the text with wikilinks. Create or update `People/<First Last>.md` and `Technologies/<Name>.md` according to "Shared entities" in `AGENTS.md`. Link only entities that have (or for which you create) a note: passing mentions stay plain text, otherwise lint rejects the broken link.
- Write in the vault language (see "Vault language" in `AGENTS.md`), concisely; keep numbers, dates, names and decisions exact.

## 7. Update hubs and client note

In every project hub touched (always with the uncommitted-changes rule):
- `## Status`: rewrite it if something substantial changed;
- `## Key notes`: add the link if the note is important;
- `## Log`: add at the top `- <today> — <what> [[<note>]] (from [[raw/archive/…]])`, where `(from [[…]])` uses the same path as `sources:` (in case (b), the redacted copy). The Log line format is the same in every vault language, but the line text is written in the vault language;
- frontmatter: add the new external keys that emerged from the content (e.g. a Jira key) and note them for the summary; update `people` and `tech`.

For client-level material update the client note in the same way (`## Status`, `## Log`).

## 8. Archive

```bash
mkdir -p "vault/raw/archive/YYYY/MM"
mv "vault/raw/<file>" "vault/raw/archive/YYYY/MM/<archive name>"
```

If the file was a binary converted at step 1, produce the markdown from the archived file (not from `$tmp`):

```bash
.venv/bin/markitdown "vault/raw/archive/YYYY/MM/<archive name>" -o "vault/raw/archive/YYYY/MM/<archive name>.md"
```

In case (b) of step 5 archive only the redacted copy.

## 9. Commit and push

1. Stage only the paths touched (notes created or modified, archived files):
   ```bash
   git add -A -- "<path 1>" "<path 2>" …
   ```
   Never stage paths in `vault/raw/` outside `archive/`: they are ignored by git and would make `git add` fail.
2. `git commit -m "process: <file name>"` (or `capture: <summary>` if `capture` invoked you).
3. If the pre-commit hook reports errors: fix your notes, stage again and retry.
4. Push according to the Git protocol.

## 10. Summary

For each file processed: notes created and updated (as wikilinks), questions asked and answers received, warnings (links not read because of a missing tool, files left in `raw/`, external keys added to hubs, notes skipped because of uncommitted changes, pending push).

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.