Learn capture

From evolution-foundation/evo-nexus · View interactive version

Learn capture is an AI agent skill from the GitHub repository evolution-foundation/evo-nexus. Extract 1–5 atomic facts from pasted text and save them as spaced-repetition cards in workspace/learning/facts/ with SM-2 frontmatter. Use when the user says "capture this", "save fact", "learn this", "memorize this", or pastes content they want to retain.

How to use this skill

Skill file

Learn Capture

Extracts atomic facts from user-provided text and saves them as SM-2 flashcard files in workspace/learning/facts/.

Trigger

User pastes text (article, note, transcript excerpt) and wants to retain key facts for later review.

Does NOT fetch URLs automatically. If the user provides a URL, ask them to paste the text content instead (v0 policy — no network dependency).

Workflow

Step 1 — Receive input

Ask the user (if not already provided):

If the user provides a URL only, respond:

"Por favor, cole o texto do artigo diretamente aqui. A skill não faz fetch automático de URLs para evitar problemas de paywall e dependência de rede."

Step 2 — Extract facts

Read the pasted text carefully. Extract 1 to 5 atomic facts — each fact must be:

Do NOT extract:

Step 3 — Generate file content for each fact

For each fact, produce content in this exact format:

---
id: {YYYY-MM-DD}-{slug}
source: {source_url_or_"manual"}
deck: {deck_name}
created: {YYYY-MM-DD}
next_review: {YYYY-MM-DD+1 day}
interval: 1
ease: 2.5
reps: 0
lapses: 0
---

**Fact:** {The atomic fact stated directly, in pt-BR.}

**Why it matters:** {One sentence on why Davidson should remember this, in pt-BR.}

**Retrieval Q:** {A question whose answer is the fact above, in pt-BR.}

Slug rules:

If slug collision (same date + same slug): append -2, -3, etc.

Dates (use today's actual date):

Language: fact content (Fact, Why it matters, Retrieval Q) must be in pt-BR by default (workspace.language = pt-BR), regardless of the source language.

Step 4 — Save files

For each fact:

  1. Create workspace/learning/facts/ directory if it does not exist
  2. Write the file to workspace/learning/facts/{YYYY-MM-DD}-{slug}.md
  3. Confirm success with the file path

Step 5 — Report

After saving all files, output a summary:

✅ {N} fato(s) capturado(s) no deck "{deck}":
- workspace/learning/facts/{filename1}.md → {first 5 words of Retrieval Q}...
- workspace/learning/facts/{filename2}.md → ...

Constraints

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.