Aller au contenu
Skillpedia
Recherche20k · #10431

Harvest

Ce qu’il fait

Ce skill lit un contenu, évalue ses forces et ses faiblesses, puis le classe dans votre archive de connaissances. Il s'adresse aux personnes qui veulent que les sources utiles soient enregistrées et correctement reliées, et non laissées dans une pile de favoris.

Quand l’utiliser

  • ✓Quand vous trouvez un article ou une vidéo que vous voulez faire analyser et enregistrer pour plus tard.
  • ✓Quand vous voulez savoir quelles idées d'une source peuvent aider votre propre travail.
  • ✓Quand vous voulez ajouter une source à votre archive de connaissances avec son lien et ses renvois.

Lien du skill

https://github.com/danielmiessler/LifeOS/blob/main/LifeOS/install/skills/Harvest/SKILL.md

Copiez-le et collez-le dans votre IA (Claude, ChatGPT ou Cursor) en lui demandant de suivre les instructions.

Comment l’utiliser

Le plus simple : copiez le message et collez-le dans votre IA. Elle lit le skill et suit les instructions.

Message prêt à coller

Utilise ce skill pour m’aider : https://github.com/danielmiessler/LifeOS/blob/main/LifeOS/install/skills/Harvest/SKILL.md Lis le fichier SKILL.md de ce lien et suis ses instructions pour ma tâche.
Envie que votre IA trouve seule des skills comme celui-ci ?Installez le MCP gratuit de Skillpedia : une ligne, et elle cherche parmi 15 000+ skills avant chaque tâche.Installer en 1 minute →

Exemple de demande à votre IA

“Peux-tu extraire cet article, me dire ce que nous pourrions en retenir, puis l'enregistrer dans mon archive de connaissances ?”

5 nouveaux skills par semaine. 1 minute de lecture.

Comment ça marche

Le skill récupère le texte ou la transcription de la source, la classe par type et rédige une note avec son lien et ses renvois. L'analyse porte d'abord sur les forces et les faiblesses, puis sur les idées à considérer, qui sont recommandées et non appliquées.

Contenu technique (SKILL.md original)

Texte original de l’auteur, en anglais, directement depuis GitHub.

Harvest

Contents: Ideal State · Intent Routing · Tool contract · Data & Config · Gotchas · Examples

Two halves of one motion. Mine: read one piece of content and analyze it properly — what it is, where it is strong and weak — and, as one section of that report, what LifeOS should adopt from it (adoption report-only), with any further sections (such as the DA's own commentary) set by the install's preferences. Ingest: land the source in Cortex as a proper note — one CLI detects the source type, fetches the body or transcript, sends it through the Workflows classifier for TELOS-graded routing, then writes a schema-correct note with typed cross-links and a sidecar audit trail.

Saving signal by hand skips the cross-links, guesses the wrong folder and forgets the source URL, so capture is one command that routes through the same classifier and writer every time.

Ideal State

  • Every harvested source lands in Cortex as one schema-correct note with its source URL, typed cross-links and an audit trail, written only by the canonical pipeline.
  • A mined source's output carries analysis of the source ahead of its LifeOS adoption candidates, plus the sections the install's PREFERENCES.md asks for, and those candidates are recommended, never applied.
  • Failures, duplicates and thin fetches are reported as what they are; nothing is filed as a stub or garbage body that only looks like a capture.

Intent Routing

Intent Trigger File
Mine (general analysis + LifeOS-upgrade pass, then ingest) harvest <input>, /ha, "mine this for the system", "anything useful in this for us" Intents/Mine.md
HarvestUrl (ingest an article, blog, LessWrong, Substack, news) "ingest <URL>", "save this <URL> to knowledge" Intents/HarvestUrl.md
HarvestYoutube (ingest any youtu.be / youtube.com link) "ingest <youtube URL>", "save this video to knowledge" Intents/HarvestYoutube.md
HarvestText (ingest raw paste, no URL) "ingest the following:", "save this text to knowledge" Intents/HarvestText.md

The bare word "harvest" routes to Mine (mine → then ingest). "Ingest"/"save to knowledge" routes straight to the matching ingestion intent. If the input is ambiguous (URL is a YouTube link), Tools/harvest.ts auto-detects host and routes itself.

References

File Read when
Setup.md first-time setup: build the harvest service, set the address and token, install the format tools

Tool contract

  • One CLI does the work: bun ~/.claude/skills/Harvest/Tools/harvest.ts <input> [--type auto|article|youtube|x|text|pdf|image|audio] [--url <url>] [--dry-run] [--body-out <file>] (the type list is harvest.ts --help's; --url names the canonical source for a text signal; --body-out writes the fetched title and full body to a file before any POST, so a caller analyzes the same text the note is built from)
  • The harvest classifier worker (cloud; built per Setup.md § 3. Build the service; URL in Config.md / HARVEST_API_BASE env) — accepts a normalized signal at /ingest-and-classify, persists it idempotently in its D1 database, and returns {id, classification, confidence, reasoning, routed_actions}.
  • LIFEOS/TOOLS/HarvestExecutor.ts (local) — polls Workflows' /items, dispatches routed_actions through typed handlers (create_knowledge_idea_entry, create_knowledge_source_entry, create_learning_queue_entry), and writes the actual KNOWLEDGE note with harvest_item_id linkage.
  • The skill never writes to MEMORY/KNOWLEDGE/ directly. It always routes through Workflows then the executor.
  • Idempotency: Workflows enforces UNIQUE(source, external_id) — re-harvesting the same URL returns output.status: "duplicate". The executor sidecar at MEMORY/STATE/harvest-executor-state.json makes the local write idempotent too. On a duplicate, look up the existing item with the source and external_id the summary block printed: curl -H "Authorization: Bearer $TOKEN" "$HARVEST_API/items?source=<source>&external_id=<id>". YouTube captures use source=web (the video id is the external id); articles, X posts, files and pasted text use source=manual.
  • Output: MEMORY/KNOWLEDGE/{Ideas,People,Companies,Research}/<slug>.md with source_url:, source_harvest_id:, ≥2 typed related: entries, and 1-3 body [[wikilinks]].

The summary block harvest.ts prints to stdout contains:

Questions fréquentes

Modifie-t-il mes fichiers sans demander ?

Les idées d'adoption ne sont que des recommandations, donc rien de votre configuration n'est modifié automatiquement.

Que se passe-t-il si une page ne peut pas être récupérée ?

Les échecs et les récupérations incomplètes sont signalés tels quels, et ne sont pas enregistrés comme des notes vides.

Évite-t-il les doublons ?

Oui. Les doublons sont signalés au lieu d'être classés deux fois.

Détails

Description originale de l’auteur

Mines one piece of content for LifeOS and/or ingests it into Cortex. USE WHEN harvest, harvest this, /harvest, /ha, mine this for the system, anything useful in this for us, what can LifeOS take from this, should we adopt anything from this, ingest to knowledge, save to knowledge, drop into knowledge, route to knowledge, add to the knowledge archive, archive this signal, capture this to knowledge, classify and route to knowledge. NOT FOR Cortex note ops, Upgrade / lu scans, Cortex recall, X PullBookmarks sweeps.

repo: danielmiessler/LifeOS

Popularité

Étoiles GitHub
20k
Position au classement
#10431
Licence
MIT
Mis à jour
28/10/2026

Ce skill vous est-il utile ?

0

Connectez-vous pour voter.

Commentaires

  • …

Autres skills de ce dépôt

Skills similaires