From learning-loop
Explores topics interactively via web research and vault notes context. Supports guided/branch/checkpoint styles and academic/conversational/persona tones. Invoke: /discovery "topic" [--style ...] [--tone ...] [--surf]. (137 characters)
npx claudepluginhub robinslange/learning-loop --plugin learning-loopThis skill uses the workspace's default tool permissions.
Guided exploration of a topic through iterative research and conversation. You steer, subagents dig. Each round presents findings and offers directions. The journey produces vault artifacts (or not: your choice).
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.
Guided exploration of a topic through iterative research and conversation. You steer, subagents dig. Each round presents findings and offers directions. The journey produces vault artifacts (or not: your choice).
/discovery "topic": cold start, curious about something new/discovery "topic" with existing vault notes: warm start, build on what you know/discovery: no argument; ask what the user is curious aboutParse from the invocation or ask the user. All have defaults.
| Parameter | Options | Default |
|---|---|---|
| style | guided / branch / checkpoint | guided |
| tone | academic / conversational / persona | conversational |
| capture | full / surf | full |
Examples:
/discovery "spaced repetition": all defaults/discovery "spaced repetition" --style branch/discovery "spaced repetition" --surf: lightweight, no artifacts until asked/discovery --academic "CRISPR gene drives"Socratic. Present findings, ask "what angle interests you?", dig deeper in that direction. One question at a time. Follow the user's curiosity.
Choose-your-own-adventure. At each stage present 2-3 named branches with one-line descriptions. User picks. Follow that thread. Offer new branches at the next stop.
Research burst → synthesis → react. Less conversational, more "here's what I found, where next?" Good for deeper dives where the user wants substance before steering.
This skill emits provenance events for pipeline observability. Run each Bash command silently.
At session start (after scope identified):
node "${CLAUDE_PLUGIN_ROOT}/scripts/provenance-emit.js" '{"agent":"discovery","skill":"discovery","action":"session-start","intent":"TOPIC","config":{"style":"STYLE","capture":"MODE"}}'
At session end (after all rounds complete):
node "${CLAUDE_PLUGIN_ROOT}/scripts/provenance-emit.js" '{"agent":"discovery","skill":"discovery","action":"session-end","notes_created":N,"rounds":R}'
Per-note tracking is handled automatically by the PostToolUse hook.
Use AskUserQuestion to help users discover and configure parameters. The goal is teaching the tool, not gatekeeping it.
No topic provided (/discovery):
Ask what the user is curious about. Include a brief mention of available options:
What topic would you like to explore?
Optional settings (all have sensible defaults):
- Style:
guided(Socratic, default) ·branch(choose-your-own-adventure) ·checkpoint(research burst then react)- Tone:
conversational(default) ·academic·persona(vault voice)- Mode:
full(captures notes, default) ·surf(explore only, no artifacts)
Topic provided, no other params (/discovery "topic"):
Proceed with defaults. Do NOT prompt: the user chose speed. Defaults are good.
Topic + partial params (/discovery "topic" --surf):
Proceed with provided params + defaults for the rest. Do NOT prompt for missing params: if they wanted to set them, they would have.
Full params provided: Just run.
Spawn both subagents in the same turn (a single message with two Agent tool calls, not sequential):
Vault Scout (discovery-vault-scout): Search existing vault notes and episodic memory for what the user already knows about this topic.
{{VAULT}}/), angle (if any)Researcher (discovery-researcher): Search the web for landscape overview.
While agents work, confirm parameters with the user if any were ambiguous.
Combine agent results. Present in the chosen tone:
Conversational: "Here's what you already know about X... and here's the landscape..." Academic: Structured overview with terminology and source attribution. Persona: Hemingway/Musashi/Lao Tzu voice throughout.
Include:
Then, based on style:
Repeat until the user says "done", "wrap up", or similar:
discovery-researcher subagent with:
prior_rounds: summary of what's been covered (prevent repetition)existing_knowledge: vault scout findings + prior round findingsfull mode): after each round, write an inbox note for the key insight discovered. Keep it atomic, persona voice, properly linked. Include source URLs from the researcher's findings as clickable markdown links in the note body: don't defer URL capture to the wrap-up or /literature step. If the researcher returned a diagram, write it to {{VAULT}}/Excalidraw/ and embed it in the trail note with ![[diagram-name]].Steering keywords the skill should recognize:
Full capture mode:
0-inbox/ that:
Surf mode:
Both modes (source handoff): If noteworthy sources were found but not captured as literature notes:
Sources worth capturing (run /literature):
- "Source Title": why it matters
- "Source Title": why it matters
Discovery: "[topic]"
Style: guided | Rounds: N
Captured: N notes → 0-inbox/
Synthesis: "Synthesis Note Title" → 0-inbox/
Sources found: N (run /literature to capture)
note-verifier on its own findings before returning. Revises and re-verifies up to 3 times. All findings presented to the user are pre-verified.Always spawn agents in the same turn when they have no dependencies. Vault scout and researcher have no dependencies on each other at orientation time. Use a single message with multiple Agent tool calls.
Plain language. Analogies welcome. "Here's the intuition behind this..." Accessible, not dumbed down. Use this for the journey itself.
Precise terminology. Source attribution inline. Caveats acknowledged. "The evidence suggests..." Rigorous, not dry.
Hemingway/Musashi/Lao Tzu vault voice. Short sentences. No filler. Active voice. Present tense. Use sparingly for the journey: it's intense over long sessions.
Regardless of journey tone, all vault artifacts are written in persona voice. The journey is exploration; what sticks gets the Hemingway treatment.
/literature. Don't create literature notes during discovery.