From learning-loop
Delivers fast verified answers to questions using parallel web research and Obsidian vault context. Infers from conversation or takes direct query; auto-captures novel durable insights.
npx claudepluginhub robinslange/learning-loop --plugin learning-loopThis skill uses the workspace's default tool permissions.
Answer a question quickly with web research, vault awareness, and source verification. One shot, no interactive rounds. Auto-captures noteworthy answers to the vault.
Guides Next.js Cache Components and Partial Prerendering (PPR): 'use cache' directives, cacheLife(), cacheTag(), revalidateTag() for caching, invalidation, static/dynamic optimization. Auto-activates on cacheComponents: true.
Processes PDFs: extracts text/tables/images, merges/splits/rotates pages, adds watermarks, creates/fills forms, encrypts/decrypts, OCRs scans. Activates on PDF mentions or output requests.
Share bugs, ideas, or general feedback.
Answer a question quickly with web research, vault awareness, and source verification. One shot, no interactive rounds. Auto-captures noteworthy answers to the vault.
/learning-loop:quick "how much have jaguar prices dropped recently?": direct question/learning-loop:quick: infer question from conversation contextIf args provided: Use as the question.
If no args: Read recent conversation. Identify the question being discussed. If no clear question, ask the user with AskUserQuestion.
Spawn both subagents in the same turn (a single message with two Agent tool calls):
Vault Scout (discovery-vault-scout):
Search the vault for what the user already knows about this topic.
Topic: <question keywords>
Vault path: {{VAULT}}/
Angle: <the specific question being asked>
Return relevant notes with content, and identify gaps.
Researcher (discovery-researcher):
Answer this specific question with web research.
Topic: <the question>
Depth: shallow
Existing knowledge: (empty: vault results not available yet)
Focus on answering the question directly, not mapping the landscape.
Find 2-3 sources. Source-resolve any academic claims.
Return: direct answer, supporting evidence, sources with metadata, confidence level.
Merge vault-scout and researcher results into a direct answer.
Structure:
Tone: Conversational. Plain language. No hedging paragraphs: if uncertain, one line says so.
Evaluate silently in the main thread. Do not ask the user.
Novelty check: Compare researcher findings against vault-scout results. If the vault already covers >80% of the answer's substance, skip capture.
Substance check: Is the core insight a durable pattern, mechanism, or decision-relevant fact? If it's transient (today's weather, a live score, a price that will change next week), skip capture.
If both pass: Spawn a note-writer subagent (subagent_type: learning-loop:note-writer):
Write an inbox note for the Obsidian vault.
Insight: <the core durable insight from the answer>
Research: <researcher's findings with sources>
Related notes: <vault-scout's relevant note paths>
Source project: "conversation"
Date: <today YYYY-MM-DD>
Destination: 0-inbox/
Write the note directly to {{VAULT}}/0-inbox/<filename>.md using the Write tool.
Return the filename and title when done.
If either fails: No capture. Move to report.
If Step 4 dispatched the note-writer subagent, replay the post-write hook chain on the new note. Subagent Write/Edit calls bypass PostToolUse, so without this the note misses post-write-autolink.js and post-write-edge-infer.js.
Construct $NOTE_PATH from the agent's response (e.g. {{VAULT}}/0-inbox/<filename>, where <filename> is the kebab-case filename note-writer returned), then pipe it directly:
printf '%s\n' "$NOTE_PATH" \
| node "${CLAUDE_PLUGIN_ROOT}/scripts/sweep-hook-replay.mjs" --stdin
Skip this step if Step 4 didn't capture (novelty/substance gate failed). See skills/_shared/hook-replay.md for the full pattern.
One line:
Quick: "question" | Captured: "Note Title" → 0-inbox/filename.md
or
Quick: "question" | No capture (already known)
or
Quick: "question" | No capture (transient)
Then done. No follow-up suggestions. No source handoff. Back to what we were doing.
| Agent | Model | Role |
|---|---|---|
| discovery-vault-scout | Haiku | Keyword search + similar-note fan-out |
| discovery-researcher | Sonnet | 2-3 web searches + source verification |
| note-writer (conditional) | Sonnet | Atomic note in persona voice |
All agents exist. No new agents needed.