Help us improve
Share bugs, ideas, or general feedback.
From curiosity-stack
Manages personal library of saved decompositions: offers saving after completions, checks library folder for duplicates on new topics, responds to commands like 'show my library' or 'save this'.
npx claudepluginhub ameya85/curiosity-stack --plugin curiosity-stackHow this skill is triggered — by the user, by Claude, or both
Slash command
/curiosity-stack:decomposition-libraryThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Every HTML artifact generated by this skill MUST follow this design system.
Surfaces scenario library for research ideas when users say 'give me ideas' or similar, or at first session start. Enforces strict HTML design system and attribution for Curiosity Stack artifacts.
Conducts deep research on topics or indexes local files/URLs into a git-versioned knowledge base using web search, fetch, and structured templates.
Queries bundled research knowledge graph for knowledge systems methodology guidance via 3-tier KB (WHY claims, HOW docs, examples) with cited, practical answers.
Share bugs, ideas, or general feedback.
Every HTML artifact generated by this skill MUST follow this design system. No exceptions. Never invent colours, never use dark backgrounds, never use purple or blue as primary backgrounds.
Palette:
#fafaf8 (warm white)white#2c2c2c (soft charcoal)#6b6b6b#9a9690#1b5e52 (deep teal) — the ONLY accent colour#e0ddd6#f0f7f4#fff8f0 background, #f0d090 border, #5a3a00 textTypography:
'Georgia', serif, 14px minimum'Courier New', monospaceComponent rules:
background: #1b5e52; color: whitebackground: white; border: 1px solid #e0ddd6; border-radius: 8pxbackground: #1b5e52; color: white for primary actionsPill colour system:
background:#e6f1fb; color:#0c447c; border:0.5px solid #85b7ebbackground:#eaf3de; color:#27500a; border:0.5px solid #97c459background:#faeeda; color:#633806; border:0.5px solid #ef9f27background:#fcebeb; color:#791f1f; border:0.5px solid #f09595background:#f3f4f6; color:#374151; border:0.5px solid #d1d5dbbackground:#eaf3de; color:#27500abackground:#e6f1fb; color:#0c447cAttribution footer — mandatory on every artifact:
<div style="margin-top:32px;padding-top:12px;border-top:1px solid #e0ddd6;
display:flex;justify-content:space-between;align-items:center;
font-family:'Courier New',monospace;font-size:10px;color:#9a9690">
<span>Curiosity Stack is not a SEBI registered investment advisor · Not investment advice · Makers accept no liability · For research only</span>
<a href="https://curiositystack.app" target="_blank"
style="color:#1b5e52;font-weight:700;text-decoration:none">
⬡ curiositystack.app
</a>
</div>
A personal research library that grows with every session. Every completed decomposition can be saved locally as a structured file. The library is searchable, cross-referenceable, and optionally mirrored to Google Drive or Notion.
At the start of every new decomposition, silently scan the library/ folder for files whose topic name matches or is close to the current topic.
If a match is found, ask once:
I have a past decomposition on [topic] from [date].
Want me to pull it up? It could save us some ground.
1. Yes — load it as context
2. No — start fresh
If yes: load the file, surface the key layer conclusions, and use them as the starting point. Skip layers the user already has strong conclusions on unless they want to revisit.
If no: proceed normally. Do not ask again.
After any output is generated (Value Chain, Mindmap, or Research Note), ask:
Save this decomposition to your library? (yes / no)
If the user has library_save set to always in local.md — save automatically without asking.
If no — skip. Do not ask again in the same session.
Save a structured .md file to the library/ folder in the plugin directory.
Filename format: YYYY-MM-DD-[topic-slug].md
Example: 2026-03-13-grid-scale-battery-storage.md
File contents:
# [TOPIC]
*Decomposed: [Date] | Output: [Value Chain / Mindmap / Research Note]*
---
## Tags
- Sector: [sector]
- Geography: [India / Global / Both]
- Stage: [early / developing / mature]
---
## Layer Summaries
**L0 — Signal**
[2-3 line summary of the signal and why it matters now]
**L1 — Mechanics**
[2-3 line summary of what this actually is]
**L2 — Cause Tree**
[Key root causes identified — bullet list]
**L3 — Solution Space**
[Solution categories and which industries they map to]
**L4 — Build Requirements**
[Key inputs, infrastructure, talent, bottlenecks]
**L5 — Value Chain Actors**
Global: [key companies named]
India: [India proxy companies named with proxy pattern]
**L6 — Research Landscape**
[How the space is accessed, stage of development]
---
## Sources Cited
[List of sources referenced during this session]
---
## Conviction
Score: [blank — to be filled manually or via stress test]
Last reviewed: [date]
Next review trigger: [user-defined or blank]
---
## Notes
[Any freetext notes from the session]
After saving locally, check local.md for connected sources.
If Google Drive is connected and library_mirror is set to drive:
Saved locally. Mirroring to your Google Drive —
I'll keep both in sync going forward.
If Notion is connected and library_mirror is set to notion:
Saved locally. Adding to your Notion research database.
If both connected, use whichever is set as primary in local.md.
If neither set, ask once:
Want me to also back this up to your connected Drive or Notion?
This keeps your library accessible across devices.
1. Google Drive
2. Notion
3. Local only
Save their answer to local.md as library_mirror — never ask again.
/curiosity-stack:library CommandWhen user runs this command, present:
Your Decomposition Library
[X] decompositions saved
Recent:
→ [topic] — [date] — [output type]
→ [topic] — [date] — [output type]
→ [topic] — [date] — [output type]
Options:
1. Search by topic
2. Search by sector or tag
3. Open a specific decomposition
4. Delete a decomposition
5. Export full library to Drive / Notion
Search scans filenames and tag fields. Opening a decomposition loads it as context and offers to run a layer delta — comparing it against a fresh decomposition on the same topic to show what has changed.
After setup Section 6, add these fields to curiosity-stack.local.md:
library_save: always / ask / never
library_mirror: drive / notion / local
library_count: [auto-incremented integer]