Skip to content
Back to skills

Harvest

ASecurity

Scan the daily notes to extract ideas to capitalize on and links to process. Use when the user says "harvest", "do the harvest", "scan my notes", or when /harvest is overdue in the command-tracker, or at the end of a session if daily notes were mentioned.

  • 3 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added November 7, 2026
content-marketinggoshellbashdockerapi

Works with

  • claude code
  • api
  • mcp

Security analysis

A100/100

Scanned November 7, 2026

npx -y skills add Zoomma1/get-your-life-together --skill harvest --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Harvest?

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

Security grade badge for Harvest
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/zoomma1-harvest/badge)](https://www.skillsdirectory.com/skills/zoomma1-harvest)

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: harvest
description: Scan the daily notes to extract ideas to capitalize on and links to process. Use when the user says "harvest", "do the harvest", "scan my notes", or when /harvest is overdue in the command-tracker, or at the end of a session if daily notes were mentioned.
narrative_critical: true
---

> **⚠️ narrative-critical — Skill protected against aggressive optimization**
>
> This skill produces **qualitative narrative output**. Its effectiveness is measured by the **richness of the output produced**, not by structural compactness.
>
> **For `/evaluateskills`**: on any mutation, **a Sonnet dry-run is mandatory even if delta < 2**. Do NOT apply `[LEAN]` / `[STRUCTURE]` in a way that strips the narrative instructions (grouping, context, highlights, open questions, tone, narration). Preservation of qualitative content takes precedence over line reduction.

# Skill: Vault Harvest

This skill turns daily notes into structured capital. After validation by {USER_NAME}, Claude Code creates the notes and tickets directly in the vault via MCP.

## Triggers

- the user says "harvest", "do the harvest", "scan my notes"
- {USER_NAME} specifies a period: "this week's harvest" (last completed Monday–Sunday), "harvest since last Monday", "harvest of the last 3 days"
- Without specification → **read the last `/harvest` date in `99 - Claude Code/command-tracker.md` and propose the window "since the last harvest" (from that date to today) as the default**. If the command-tracker is unreadable or the date is missing → fall back to "last 7 days". In all cases, wait for validation (do not apply by default)

**Mandatory period confirmation before reading**: whether the period is specified by {USER_NAME} OR inferred by default, **always display the resolved window** (`from YYYY-MM-DD to YYYY-MM-DD — N daily notes`) and **wait for explicit OK** before starting the reads. Pattern to avoid: starting the reading immediately on an ambiguous date (e.g. "since Monday" → which week?). If the last daily note is earlier than the assumed start date, flag the gap and propose the actual window.

## Vault structure — valid destinations

| Content type | Destination |
|----------------|-------------|
| Personal reflection, life idea | `01 - Me/` |
| Warhammer, painting, technique | `02 - Hobbies/Warhammer/` |
| Guitar, music | `02 - Hobbies/Guitare/` |
| 3D printing | `02 - Hobbies/3D Printing/` |
| Dev concept, pattern, tool | `03 - Knowledge/Dev/` |
| Tool, plugin, Claude Code / AI ecosystem practice | `03 - Knowledge/Claude code/` |
| Travel notes, places | `03 - Knowledge/Travel/` |
| Other general knowledge | `03 - Knowledge/` |
| Future project idea (tech to learn, personal need, SaaS idea) | `04 - Projects/Project ideas/` |
| Unclassifiable idea, awaiting filing | `09 - Inbox/` |
| Claude Code skill to create or update | `99 - Claude Code/Skills/` — **only for active skill files, not for knowledge notes** |
| Reflection on Claude/vault architecture | `99 - Claude Code/` or `09 - Inbox/` |
| Finished note to archive (Done ticket, completed spec) | `Archive/` — see ADR-003 |

**Never suggest a folder that is not in this list.**

## Active projects — source of truth

Read `04 - Projects/INDEX.md` at the start of each harvest to know the active projects and their Kanbans. If an identified task concerns a listed project → create the ticket in the **Idea** column of the corresponding Kanban. If the project is not in the INDEX → flag the unknown project for Step 4 (do not create the ticket before {USER_NAME}'s validation).

Universal Kanban structure: `Idea → Ready → WIP → Done` (`Blocked` column available for tickets blocked by an external dependency)

**Special Kanbans:**
- `Claude Code Kanban` — single Kanban for all tasks without a specific project: daily life, vault/Claude Code, skills, ADR, workflows. Ticket notes go in `09 - Inbox/tickets/`.

**Hobby WIP limit**: In Step 1 Group A, count WIP tickets by type (`#warhammer`, `#guitare`, `#3d`, `#jdr`) in `02 - Hobbies/Hobby Kanban.md`. If a type reaches 2 WIP, flag it to {USER_NAME} in Step 4. Never create a hobby ticket directly in WIP if the limit is reached — create it in Backlog or Ready instead.

## Links — permanent rule

Read `99 - Claude Code/treated-links.md` at the start of each harvest. Never re-propose a URL listed in that file. Only ignore the exact URLs listed — not entire domains.

**If a URL is in treated-links but mentioned again in recent daily notes**: ignore it (do not re-fetch). If the context suggests changed content (e.g. updated version, link shared for a different reason), ask {USER_NAME} whether it is a deliberate re-proposal before processing it.

---

## Step 1 — Read the context

**Group A — References (parallel reads, independent of the period)**

Launch these four reads in parallel — they do not depend on the daily notes:
1. Read `99 - Claude Code/treated-links.md` → retrieve the list of already-processed URLs
2. List existing titles in `01 - Me/`, `09 - Inbox/`, `99 - Claude Code/Skills/` **and all project ticket folders** → to deduplicate future ideas
   ```bash
   find "{VAULT_PATH}" -path '*/Tickets/*.md' -o -path '*/tickets/*.md' -o -path '*/Features/*.md'
   ```
   ⚠️ **Do not stop at `09 - Inbox/tickets/`.** A subject already ticketed in `04 - Projects/<Project>/Tickets/` or `06 - Work/.../Tickets/` otherwise stays invisible, and the harvest proposes it again as new. *(Cause: 2026-08-10, T1 "weekly heartbeat of the SSD probe" proposed while [project-B]-60 had existed since 06/08. Caught at validation, not by the scan.)*
3. Read `04 - Projects/INDEX.md` → identify active projects and their Kanbans
4. Read `02 - Hobbies/Hobby Kanban.md` (if it exists) → count WIP tickets by type: `#warhammer`, `#guitare`, `#3d`, `#jdr` → store counters (used in Step 4)

**Group A fallback**: If `Hobby Kanban.md` does not exist → store empty counters (skip the WIP alert in Step 4).

**Group B — Period confirmation + daily note content (sequential after Group A)**

1. **Confirm the period with {USER_NAME}** (unless already specified at trigger):
   - Propose: "week" (Monday–Sunday of the last completed calendar week) / "X last days" / "since date Y (exact)"
   - If {USER_NAME} accepts "last 7 days" by default → apply immediately
   - If {USER_NAME} specifies a period → apply it
2. **Once the period is confirmed, read in parallel**:
   - All daily notes from the period in `00 - Daily notes/` → extract ideas, tasks, URLs, images, signals
   - Corresponding sessions in `99 - Claude Code/Sessions/` → capture undocumented decisions and tasks

**Group B fallback**: If no daily note is found → report and stop. If a daily note has no explicit date → treat it as dated the day in its filename (e.g. `2026-04-06.md` → date = 2026-04-06).

**Deduplication rule**: Never propose an idea or note whose subject already exists in the vault (check via Group A results).


---

## Step 2 — Detect ideas, tasks and signals

Scan the content to identify:
- A subject mentioned 2+ distinct times in the period **that does not yet exist in the vault** (e.g. same idea in 2 different daily notes)
- A technique, tool, or concept noted in passing
- A recurring personal reflection
- An intention stated but not followed by action
- A task linked to an active project (whose name appears in `04 - Projects/INDEX.md`)
- **Unknown project identified**: If a task targets a project NOT listed in INDEX.md, flag it for Step 4 (do not create the ticket before {USER_NAME}'s validation)
- **Genuine negative signals only**: explicit stress, exhaustion, rough patch, isolation, shortened nights, general loss of desire — never flag positive or ambiguous mentions (e.g. "I'm sleeping less but feel good" is NOT an alert signal)
- **Work patterns**: if a trend emerges over the period (systematically low energy on certain days, more productive sessions at certain times, recurring disruptors, new ritual) → propose an enrichment of the "Work mode and energy" section in `01 - Me/{USER_NAME}.md` — never write to it directly, always propose it to {USER_NAME}

Categorize each signal:
- **Ideas to capitalize** → create a note in the vault
- **Project tasks** → create a ticket in the relevant project's Kanban (Idea column)
- **Vault/Claude Code tasks** → ticket in `Claude Code Kanban` (Idea column)
- **Essay idea** (tension/opinion to write, not a task) → ticket `type=📝 Essay` in `Claude Code Kanban` → automatically routed to the Essays column (no refine)
- **Negative alert signals** → propose an update to `01 - Me/Signaux d'alerte.md` — never write to it directly
- **Unknown projects** → list them in the Step 4 presentation (do not create without {USER_NAME}'s validation)

## Step 3 — Process links and images

> ### 🕳️ If Step 3 yields zero links — query the Telegram channel, do not conclude
>
> **External capture goes through Telegram, and through it alone.** The "🔗 Discoveries & Links" section of the daily note template was **removed on 2026-09-09**, by decision of {USER_NAME}: *"everything goes through Telegram now"*. URLs and attachments therefore arrive in the `### 📱 Telegram` section of the daily note, or are capitalized in session the same day.
>
> **What does not change**: detection. Step 3 greps **the entire** daily note, not a single section — this is how the 2 links from the 09/09 harvest were found even though the 11 "Discoveries" sections were empty. No link is lost because of the removal.
>
> **What does change**: the breaking point. Before, a dead channel produced empty sections, visible in series. Now, a dead channel produces **zero links**, indistinguishable from a period without discoveries. So, when Step 3 yields **zero links and zero images**, look back at the **last 5 `/harvest` runs** (via `treated-links.md` and the recaps in `99 - Claude Code/Sessions/`) and count how many yielded zero.
>
> - **1 or 2 out of 5** → normal, continue without saying anything.
> - **3 or more** → write it in the Step 6 summary, with the count, and **ask {USER_NAME}**: *"[N] harvests in a row without links or images — is the Telegram channel still delivering, or is this really a period without discoveries?"* Do not decide on their behalf.
>   - The control that separates the two is **positive, not negative**: look in the period's daily notes for a **non-empty** `### 📱 Telegram` section. If messages arrive but no links, it is indeed a period without discoveries. If the Telegram sections are empty too, it is the channel — precedent dated **08/09**: bot alive, messages unprocessed, CT-101 DNS broken, found by chance.
>
> **The failure mode avoided is specific to this skill**: a step that always returns empty reads as *"there was nothing to process"* when it actually means *"nothing reaches here anymore"*. Both produce exactly the same output, and only the **series** tells them apart — hence the count, which is the only thing a single run cannot see. Direct cousin of [[03 - Knowledge/Claude code/un-inventaire-ne-vaut-que-son-instrument]], angle 7 (delivery): the population no longer reaches the instrument, and the instrument has no way to report it.
>
> *(Causes: 2026-08-26, harvest over 9 daily notes 18→26/08 — 4th consecutive harvest without links or images, observation made at end of session without the skill detecting it. Then **2026-09-09** — 5th harvest with empty sections, but **2 real links arrived via Telegram**: the section was no longer measuring the absence of discoveries, it was measuring its own disuse. Template removal decided the same day, guard repurposed onto the real channel.)*

### Embedded images

Detect all `![[filename.ext]]` in the period's daily notes (extensions: png, jpg, jpeg, gif, webp).

For each detected image:
1. Find the file in the vault — search `Ressources/Attachements/` first, then recursive glob if not found
2. Check whether the n8n container is running:
   ```bash
   docker ps --filter name=n8n --filter status=running --format "{{.Names}}"
   ```
3. If empty → start it:
   ```bash
   docker start n8n
   ```
   Wait 3-5 seconds.
4. Read the image in base64 and call the webhook:
   - **Windows (PowerShell)**:
     ```powershell
     $bytes = [System.IO.File]::ReadAllBytes("{VAULT_PATH}\Ressources\Attachements\[filename]")
     $b64 = [Convert]::ToBase64String($bytes)
     $body = @{ type = "image"; filename = "[filename]"; mediaType = "image/[ext]"; data = $b64 } | ConvertTo-Json -Depth 3
     Invoke-WebRequest -Uri "http://docker-host:5678/webhook/fallback-link" -Method POST -ContentType "application/json" -Body $body
     ```
   - **macOS/Linux (bash)**:
     ```bash
     B64=$(base64 -w0 "{VAULT_PATH}/Ressources/Attachements/[filename]")
     curl -s -X POST http://docker-host:5678/webhook/fallback-link \
       -H "Content-Type: application/json" \
       -d "{\"type\": \"image\", \"filename\": \"[filename]\", \"mediaType\": \"image/[ext]\", \"data\": \"$B64\"}"
     ```

5. n8n returns `{ title, content }` → create a note in the appropriate destination based on the daily note's context
6. Stop the container after processing all images:
   ```bash
   docker stop n8n
   ```

**mediaType**: `image/png` for `.png`, `image/jpeg` for `.jpg`/`.jpeg`, `image/gif` for `.gif`, `image/webp` for `.webp`

If the file is not found in the vault → report to {USER_NAME}, do not block the rest of the harvest.

### URLs

Detect all URLs in the period's daily notes, except exact URLs already processed in memory.

**Delegate the fetch of each URL to a dedicated agent** — 1 agent per URL, all launched in parallel. Always include the following instructions in each agent prompt:
1. **defuddle first**: fetch `https://defuddle.md/<url>` via WebFetch → if the response is valid (clean markdown, > 100 chars) → use this content and the defuddle frontmatter (`title`, `author`, `site`) for the metadata
2. **WebFetch fallback**: if defuddle fails (error, auth page, SPA, < 100 chars) → fetch the original URL via WebFetch
3. **n8n fallback**: if WebFetch fails → check that n8n is reachable: `curl -s --max-time 3 -o /dev/null -w "%{http_code}" http://docker-host:5678/` — if non-200 → ⚠️ n8n unreachable (docker-host), skip fallback. Otherwise call `http://docker-host:5678/webhook/fallback-link` with `{ url, type: "youtube" | "article" }` → return the `{ title, content }` received
4. An agent failing does not block the others — report the URL in error in the final summary

### Nominal case — successful fetch
```
🔗 [url]
→ Contenu récupéré ✓
→ Destination suggérée : [chemin]
→ Résumé généré (voir ci-dessous)
```

### Fallback case — failed fetch
For short-format YouTube URLs (`youtu.be/ID`): automatically retry with `https://www.youtube.com/watch?v=ID` before declaring a fallback.

If still inaccessible, try the automatic n8n fallback:

1. Check that n8n is reachable:
   ```bash
   curl -s --max-time 3 -o /dev/null -w "%{http_code}" http://docker-host:5678/
   ```
   If non-200 → ⚠️ n8n unreachable (docker-host) — report to {USER_NAME} and move to the NotebookLM fallback.
2. Determine the type: `youtube` if the URL contains `youtube.com` or `youtu.be`, otherwise `article`
3. Call the webhook:
   ```bash
   curl -s -X POST http://docker-host:5678/webhook/fallback-link \
     -H "Content-Type: application/json" \
     -d "{\"url\": \"[URL]\", \"type\": \"[type]\"}"
   ```
4. If n8n returns `{ title, content }` → create the note directly, no NotebookLM prompt needed
5. If n8n fails or times out (connection refused, 500, etc.) → propose the NotebookLM fallback below

If n8n fails or times out, propose a NotebookLM fallback:

**NotebookLM fallback — Warhammer / painting video:**
```
Résume cette vidéo en listant : les techniques de peinture mentionnées, 
les peintures et couleurs utilisées avec leur rôle (base, wash, layer, etc.), 
les étapes dans l'ordre, et les conseils pratiques. Sois factuel et concis.
```

**NotebookLM fallback — tech / dev / tool video:**
```
Résume cette vidéo en listant : le problème résolu, les outils ou concepts 
présentés, les étapes clés, et les points importants à retenir pour 
un développeur. Sois factuel et concis.
```

**NotebookLM fallback — general video / podcast:**
```
Résume cette vidéo/podcast en couvrant : le sujet principal, les idées clés 
dans l'ordre, les exemples ou démonstrations notables, et les conclusions 
ou recommandations. Sois factuel et concis.
```

Present the link pending fallback:
```
🔗 [url]
→ Accès bloqué / pas de transcript disponible / n8n en erreur
→ Fallback proposé : [prompt NotebookLM adapté]
→ {USER_NAME} peut : fournir un export HTML, un copier-coller, ou ignorer le lien
→ En attente de validation pour créer la note
```

If {USER_NAME} does not provide content, ignore the link and list it as unprocessed in the final summary.

## Step 4 — Grouped validation

Present a complete summary. **Priority presentation order: tickets and evolution leads first, Knowledge notes after.** The primary goal of the harvest is to detect opportunities for action, not to produce encyclopedic notes.

```
## Harvest [période]

### Tickets à créer
- [ ] [Tâche 1] → Kanban [Projet] — colonne Idea
- [ ] [Tâche 2] → Claude Code Kanban — colonne Idea

### Idées à capitaliser
- [ ] [Idée 1] → [destination]
- [ ] [Idée 2] → [destination]

### ⚠️ Projets inconnus identifiés
> Omettre si aucun projet inconnu trouvé.
- [Tâche X] mentionne "[Nom du projet]" — absent d'INDEX.md. Validez que tu veux que j'ajoute ce ticket ou créez le projet d'abord ?

### Signaux d'alerte détectés
- [ ] "[extrait exact de la daily note]" → proposer ajout dans [[Signaux d'alerte]]

### ⚠️ Limites WIP Hobby
> Omettre cette section si aucun type n'atteint 2 WIP.
- ⚠️ Tu as déjà 2 [#type] en WIP — pense à prioriser ou passer un projet en Backlog avant d'en démarrer un nouveau.

### Images à traiter
- [ ] ![[image1.png]] → vision OK → [destination]
- [ ] ![[image2.jpg]] → fichier introuvable

### Liens à traiter
- [ ] [url 1] → fetch OK → [destination]
- [ ] [url 2] → fallback needed
- [ ] [url 3] → non traité (ignoré)

Valide tout / indique ce que tu veux ignorer / fournis les fallbacks manquants.
```

**Wait for {USER_NAME}'s validation on Step 4 (summary) before creating anything.**

## Step 5 — Creation via MCP and linking

Only for items validated by {USER_NAME}.

**Prerequisite**: Check vault access before creating — attempt a test read on `04 - Projects/INDEX.md` (already read in Step 1). If the read fails, tell {USER_NAME} that MCP is unavailable and list the exact content to create manually.

**Directly create the files and tickets validated by {USER_NAME}** — launch the creations without requesting confirmation again. MCP calls are atomic per file. Report creation errors explicitly.

For each ticket to create, apply the `create-ticket` skill — it handles the note file AND the insertion into the kanban. For each Knowledge note, create the file via Write or MCP depending on context (no intermediate request to {USER_NAME}).

**After creation**, update existing linked notes via parallel agents:

For each newly created note (Knowledge notes only, not tickets), launch 1 background agent in parallel:
- Input: slug of the new note + tags + keywords from the title (2-4 terms)
- The agent applies the recall logic: scan `03 - Knowledge/` recursively — scoring title=3, content=2, backlink=2, threshold ≥ 2, max 3 candidate notes
- For each candidate note, the agent prepares:
  - **A)** `[[slug-nouvelle-note]] — [raison]` to add under `## Voir aussi`
  - **B)** 1 bullet to add in the most relevant section of the body
- The agent returns its proposals (or nothing if score < 2)

Wait for all agents to finish. Aggregate and deduplicate (an existing note may be a candidate for several new notes). Present to {USER_NAME} for validation:
```
📎 Mises à jour proposées pour les notes existantes :
- [[note-existante-1]] ← [[nouvelle-note-A]] :
  → Voir aussi : [[nouvelle-note-A]] — [raison]
  → Corps (section "## Points clés") : "- [bullet]"
```

**These proposals are only suggestions** — apply only after {USER_NAME}'s validation. If no candidate is found for a note → pass silently.

Also propose links between the new notes themselves if they are related — after {USER_NAME}'s validation.

### Structure of a technique note (Warhammer)
```markdown
---
date: YYYY-MM-DD
source: [url ou "daily note YYYY-MM-DD"]
tags: [warhammer, peinture, technique]
---

# [Nom de la technique]

## Points clés
- ...

## Peintures mentionnées
- ...

## Notes personnelles
> [ce que {USER_NAME} a ajouté dans sa daily note]
```

### Structure of a concept note (Knowledge)
```markdown
---
date: YYYY-MM-DD
source: [url ou "daily note YYYY-MM-DD"]
tags: [dev, concept]
---

# [Nom du concept]

## En une phrase
...

## Points clés
- ...

## Lien avec mes projets
- ...
```

### Structure of an Inbox note (unclassifiable idea)
```markdown
---
date: YYYY-MM-DD
source: daily note YYYY-MM-DD
tags: [inbox]
---

# [Titre de l'idée]

## Contexte
> [extrait exact de la daily note]

## À explorer
...
```

### Structure of a Kanban ticket
```markdown
---
title: [Titre du ticket]
date: YYYY-MM-DD
type: 💡
status: Idea
project: [Nom du projet]
source: harvest YYYY-MM-DD
---

## Description
[Ce qui a été identifié dans la daily note]
```

## Step 6 — Finalization and tracker

After creating all files and tickets (with {USER_NAME}'s validation included):

1. **Update `treated-links.md`**: Add the processed or ignored URLs to the existing list:
   ```markdown
   - [url] — source: daily YYYY-MM-DD, statut: créé / ignoré / fallback-needed
   ```

2. **Update the command-tracker**:
   - Open `99 - Claude Code/command-tracker.md`
   - `/harvest` line → replace the date with today's date in `YYYY-MM-DD` format

3. **Final summary**: Display the number of notes created, tickets created, links processed, and flag pending items (NotebookLM fallbacks, missing images, etc.)

4. **Scope signal** (conditional): if the Step 3 count yielded **≥ 3 consecutive harvests without links or images**, write it here with the number and ask {USER_NAME}. Never let this observation die within the session — it is the only place where the series becomes visible.

## Absolute rules

- **Never create without validation** — wait for {USER_NAME}'s response on Step 4 (summary)
- **Never modify daily notes** — they stay as they are
- **Never write to `Signaux d'alerte.md` directly** — always propose to {USER_NAME}
- **Create via MCP without additional request** — creations follow the Step 4 validation
- **Valid destinations only** — use the vault structure table above
- **Explicit fallback** — if a link is inaccessible, say so clearly and wait
- **One note = one idea** — do not merge two subjects into the same note
- **treated-links.md** — updated in Step 6 with processed or ignored links
- **Never re-propose what exists** — check CLAUDE.md and the vault before proposing
- **Claude Code Kanban** — create a ticket here for all personal/vault tasks without an associated project. Notes go in `09 - Inbox/tickets/`, never in `09 - Inbox/` directly
- **Hobby Kanban WIP** — never create in WIP if the limit is reached. Create in Backlog or Ready instead and report to {USER_NAME}
- **Unknown projects** — flag in Step 4 (do not create the ticket before {USER_NAME}'s validation)
- **Graceful fallback** — if `Hobby Kanban.md` does not exist, continue without this data (section omitted)

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 content-marketing →

Comments

Loading comments…

Newsletter

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