Skip to main content
Prompts Thread Personal Knowledge Narrative Tool Builder

developer coding user risk: low

Thread Personal Knowledge Narrative Tool Builder

Build a personal knowledge and narrative tool called 'Thread', a second brain that connects notes into a living story, with core features including note capture, LLM-powered connec…

  • External action: medium

PROMPT

Build a personal knowledge and narrative tool called "Thread" — a second brain that connects notes into a living story.

Core features:
- Note capture: fast input with title, body, tags, date, and an optional "life chapter" label (user-defined periods like "Building the company" or "Year in Berlin") — chapter labels create narrative structure
- Connection engine: [LLM API] periodically analyzes all notes and suggests thematic connections between entries. User sees a "Suggested connections" panel — accepts or rejects each. Accepted connections create bidirectional links
- Narrative timeline: a D3.js timeline showing notes grouped by chapter. Zoom out to decade view, zoom in to week view. Click any note to read it in context of its surrounding entries
- Weekly synthesis: every Sunday, AI generates a "week in review" paragraph from that week's notes — stored as a special entry in the timeline. Accumulates into a readable life chronicle
- Pattern report: monthly — AI identifies recurring themes (concepts mentioned 5+ times), most-linked ideas (high connection density), and "dormant" ideas (not referenced in 60+ days, surfaced as "worth revisiting")
- Chapter export: select any chapter by date range and export as a formatted PDF narrative document

Stack: React, [LLM API] for connection suggestions, synthesis, and pattern reports, D3.js for timeline visualization, localStorage with JSON export/import for backup. Literary design — serif fonts, generous whitespace.

EXPECTED OUTPUT

Format
code
Constraints
  • React frontend
  • D3.js for timeline
  • localStorage for data
  • LLM API integration
  • serif fonts and literary design

SUCCESS CRITERIA

  • Implement note capture with title, body, tags, date, and life chapter label.
  • Implement connection engine using LLM API to suggest thematic connections.
  • Implement narrative timeline using D3.js grouped by chapter with zoom functionality.
  • Implement weekly synthesis generating 'week in review' paragraphs.
  • Implement monthly pattern report identifying recurring themes, most-linked ideas, and dormant ideas.
  • Implement chapter export as formatted PDF narrative.
  • Use React, LLM API, D3.js, and localStorage with JSON export/import.
  • Apply literary design with serif fonts and generous whitespace.

FAILURE MODES

  • May omit periodic AI tasks like weekly synthesis or monthly reports.
  • Could fail to integrate LLM API for connections, synthesis, and reports.
  • Might not implement bidirectional links or user acceptance of suggestions.
  • D3.js timeline may lack chapter grouping or zoom features.
  • PDF export might not be feasible without additional libraries.
  • LocalStorage persistence could be incomplete for all notes and connections.

CAVEATS

Missing context
  • Specific LLM provider (e.g., OpenAI) and prompt templates for AI features.
  • Note and connection data schema.
  • PDF export library (e.g., jsPDF or Puppeteer).
  • Scalability limits for localStorage and handling large datasets.
  • Authentication or multi-device sync.
Ambiguities
  • [LLM API] is a placeholder without specific service or integration details.
  • Frequency and trigger for 'periodically analyzes all notes' not specified.
  • Details on how connections are stored and queried (e.g., graph structure) unclear.
  • D3.js timeline zoom levels and interactions lack precise specs.

QUALITY

OVERALL
0.70
CLARITY
0.85
SPECIFICITY
0.75
REUSABILITY
0.20
COMPLETENESS
0.75

IMPROVEMENT SUGGESTIONS

  • Replace [LLM API] with 'OpenAI GPT-4o API' and provide example prompts for connection suggestions.
  • Define note schema: {'id': string, 'title': string, 'body': string, 'tags': string[], 'date': ISODate, 'chapter': string} and connections as {'from': id, 'to': id, 'theme': string}.
  • Specify timeline: 'Use D3.js zoom behavior with decade/week granularity; clicking note expands to adjacent 5 notes'.
  • Add 'Fully responsive design for mobile/desktop; include unit tests for core features'.
  • Include backup/export format as JSON with encryption option.

USAGE

Copy the prompt above and paste it into your AI of choice — Claude, ChatGPT, Gemini, or anywhere else you're working. Replace any placeholder sections with your own context, then ask for the output.

MORE FOR DEVELOPER