mnemos-capture 1.0.0 → 1.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +98 -41
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,10 +1,84 @@
|
|
|
1
|
-
|
|
1
|
+
<p align="center">
|
|
2
|
+
<img src="public/logo.png" alt="Mnemos" width="120" />
|
|
3
|
+
</p>
|
|
2
4
|
|
|
3
|
-
|
|
5
|
+
<h1 align="center">Mnemos</h1>
|
|
4
6
|
|
|
5
|
-
|
|
7
|
+
<p align="center"><strong>Capture knowledge. Apply it through your agents.</strong></p>
|
|
6
8
|
|
|
7
|
-
|
|
9
|
+
Mnemos is a knowledge pipeline for builders who work with AI agents. You learn something — an article, a thread, a transcript, your own notes, an idea on the go — and instead of bookmarking it or letting it rot in a tab, you paste it into Mnemos. An LLM extracts the core insight, tags it by topic, and commits it to a GitHub repo you own.
|
|
10
|
+
|
|
11
|
+
That repo becomes your personal knowledge base. Your AI agents — Claude Code, Codex, or any MCP-compatible tool — pull from it directly. The knowledge you captured on your phone during lunch is available to your coding agent by the time you sit down to work.
|
|
12
|
+
|
|
13
|
+
**This is not a note-taking app.** It's a bridge between what you learn and what your agents do.
|
|
14
|
+
|
|
15
|
+
## Why Mnemos exists
|
|
16
|
+
|
|
17
|
+
Most knowledge tools stop at "save it." Mnemos closes the loop:
|
|
18
|
+
|
|
19
|
+
1. **You capture** — paste anything: articles, threads, transcripts, meeting notes, ideas, voice memo transcripts, book highlights
|
|
20
|
+
2. **AI extracts** — an LLM pulls the actual insight (not a summary), tags it by topic, and connects it to what you're building right now
|
|
21
|
+
3. **Your agents apply it** — Claude Code, Codex, or any agentic tool reads your knowledge repo via MCP or Git and uses it in real workflows
|
|
22
|
+
|
|
23
|
+
Every capture includes an **"Applied to"** field — a concrete sentence linking what you learned to what you're building. This is the difference between a saved-for-later graveyard and a knowledge system that compounds.
|
|
24
|
+
|
|
25
|
+
## How it works
|
|
26
|
+
|
|
27
|
+
```mermaid
|
|
28
|
+
flowchart LR
|
|
29
|
+
A["Read an article,\nhear a podcast,\nhave an idea"] -->|paste| B["Mnemos\n(web / mobile)"]
|
|
30
|
+
B -->|extract| C["Core idea\nTakeaways\nApplied to"]
|
|
31
|
+
C -->|commit| D["Your GitHub repo\n(Markdown)"]
|
|
32
|
+
D -->|MCP| E["Claude Code"]
|
|
33
|
+
D -->|Git read| F["Codex"]
|
|
34
|
+
D -->|API / Git| G["Your agents"]
|
|
35
|
+
|
|
36
|
+
style A fill:#1a1a2e,stroke:#444,color:#fff
|
|
37
|
+
style B fill:#2A62C6,stroke:#1a4a9e,color:#fff
|
|
38
|
+
style C fill:#d4a843,stroke:#b8912e,color:#fff
|
|
39
|
+
style D fill:#2d8a4e,stroke:#1e6b3a,color:#fff
|
|
40
|
+
style E fill:#1a1a2e,stroke:#444,color:#fff
|
|
41
|
+
style F fill:#1a1a2e,stroke:#444,color:#fff
|
|
42
|
+
style G fill:#1a1a2e,stroke:#444,color:#fff
|
|
43
|
+
```
|
|
44
|
+
|
|
45
|
+
## What you can capture
|
|
46
|
+
|
|
47
|
+
Mnemos handles any text-based input. Paste it, and the LLM figures out the format and extracts accordingly.
|
|
48
|
+
|
|
49
|
+
- **Articles and blog posts** — the insight, not a summary
|
|
50
|
+
- **Twitter/X threads** — the argument stitched together
|
|
51
|
+
- **Podcast and meeting transcripts** — the signal, not the filler
|
|
52
|
+
- **Your own notes and ideas** — raw thoughts turned into structured knowledge
|
|
53
|
+
- **Book highlights and excerpts** — the quotes and frameworks worth keeping
|
|
54
|
+
- **Newsletter and Substack posts** — the actionable takeaways
|
|
55
|
+
|
|
56
|
+
Coming soon: voice memos, URL auto-fetch, and browser extension for one-click capture.
|
|
57
|
+
|
|
58
|
+
## What the LLM extracts
|
|
59
|
+
|
|
60
|
+
Every capture produces a structured Markdown file with:
|
|
61
|
+
|
|
62
|
+
- **Core idea** — the actual insight, not "this article discusses X"
|
|
63
|
+
- **Key takeaways** — 3-5 specific, opinionated assertions that pass the "so what?" test
|
|
64
|
+
- **Quotes** — only verbatim lines worth keeping. None if nothing is genuinely quotable
|
|
65
|
+
- **Tags** — 2-5 topic tags relevant to the content (e.g. `product-discovery`, `ai-agents`, `pricing`)
|
|
66
|
+
- **Applied to** — one sentence connecting this to something you're building right now
|
|
67
|
+
- **Low confidence flag** — alerts you when input is too short or ambiguous for reliable extraction
|
|
68
|
+
|
|
69
|
+
## Cost
|
|
70
|
+
|
|
71
|
+
Mnemos uses your own Anthropic API key (BYOK — you bring your own key, Mnemos never charges you).
|
|
72
|
+
|
|
73
|
+
Extraction runs on **Claude Haiku 4.5** with prompt caching and input truncation, optimized for minimal token usage:
|
|
74
|
+
|
|
75
|
+
| Usage | Estimated monthly cost |
|
|
76
|
+
|-------|----------------------|
|
|
77
|
+
| 50 captures/month (casual) | ~$0.15 |
|
|
78
|
+
| 100 captures/month (regular) | ~$0.30 |
|
|
79
|
+
| 200 captures/month (heavy) | ~$0.60 |
|
|
80
|
+
|
|
81
|
+
Less than $1/month for heavy use. For comparison, the same workload on a larger model without optimization would cost 5-6x more.
|
|
8
82
|
|
|
9
83
|
## Get started
|
|
10
84
|
|
|
@@ -12,64 +86,45 @@ Every capture has an **"Applied to"** field — a concrete connection between wh
|
|
|
12
86
|
|
|
13
87
|
Go to **[mnemos-capture.vercel.app](https://mnemos-capture.vercel.app)** → **Sign in with GitHub**.
|
|
14
88
|
|
|
15
|
-
During setup, Mnemos:
|
|
16
|
-
- Creates a knowledge repo in your GitHub account (you own it, it's just Markdown files)
|
|
17
|
-
- Asks for your Anthropic API key (your key, stored in the database — Mnemos never pays for your API calls)
|
|
18
|
-
- Sets a PIN for quick mobile access
|
|
89
|
+
During setup, Mnemos will:
|
|
19
90
|
|
|
20
|
-
|
|
91
|
+
- Create a knowledge repo in your GitHub account (you own it — just Markdown files in a repo under your name)
|
|
92
|
+
- Ask for your Anthropic API key (your key, stored per-user — Mnemos never pays for your API calls)
|
|
93
|
+
- Set a PIN so you can unlock the app quickly on mobile
|
|
21
94
|
|
|
22
|
-
|
|
95
|
+
No config files. No CLI setup. No repos to clone.
|
|
23
96
|
|
|
24
|
-
|
|
97
|
+
### 2. Capture something
|
|
25
98
|
|
|
26
|
-
|
|
27
|
-
- **Core idea** — the actual insight, not a summary
|
|
28
|
-
- **Key takeaways** — specific, opinionated, actionable
|
|
29
|
-
- **Quotes** — only genuinely quotable lines
|
|
30
|
-
- **Mode tags** — where this applies (career, work, founder, life)
|
|
31
|
-
- **Applied to** — one sentence connecting this to something you're building right now
|
|
99
|
+
Open the app on any device — phone, tablet, or desktop. Paste any content and hit **Capture**. That's it.
|
|
32
100
|
|
|
33
|
-
The result is auto-committed to your GitHub knowledge repo as a Markdown file.
|
|
101
|
+
The result is auto-committed to your GitHub knowledge repo as a structured Markdown file.
|
|
34
102
|
|
|
35
103
|
### 3. Connect to Claude Code (optional)
|
|
36
104
|
|
|
37
|
-
After signing up, you get an API key. This
|
|
105
|
+
After signing up, you get an API key. This connects Mnemos to Claude Code so your agent can capture and search your knowledge without leaving the terminal.
|
|
38
106
|
|
|
39
|
-
Run this once
|
|
107
|
+
Run this once:
|
|
40
108
|
|
|
41
109
|
```bash
|
|
42
110
|
claude mcp add mnemos -- npx mnemos-capture serve-mcp --key <your-api-key>
|
|
43
111
|
```
|
|
44
112
|
|
|
45
|
-
|
|
113
|
+
Now you can say things like:
|
|
114
|
+
|
|
46
115
|
- *"Capture this article about prompt caching"*
|
|
47
116
|
- *"What's in my inbox?"*
|
|
48
117
|
- *"Search my captures for evaluation frameworks"*
|
|
49
118
|
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
## How it works
|
|
53
|
-
|
|
54
|
-
```
|
|
55
|
-
You find something valuable
|
|
56
|
-
↓
|
|
57
|
-
Open Mnemos → paste it → hit Capture
|
|
58
|
-
↓
|
|
59
|
-
LLM extracts: core idea · takeaways · quotes · context tags · applied to
|
|
60
|
-
↓
|
|
61
|
-
Structured Markdown committed to your GitHub knowledge repo
|
|
62
|
-
↓
|
|
63
|
-
Your AI tools pull from it via MCP or by reading the repo directly
|
|
64
|
-
```
|
|
119
|
+
**Under the hood:** `npx mnemos-capture serve-mcp` runs a lightweight local process that bridges Claude Code's stdio protocol to the Mnemos HTTP API. Your API key authenticates the requests. No data is stored locally — everything goes to your GitHub repo via the hosted app.
|
|
65
120
|
|
|
66
121
|
## Mobile access
|
|
67
122
|
|
|
68
|
-
Mnemos is a PWA
|
|
123
|
+
Mnemos is a PWA. On your phone, open the app URL in your browser → Share → **Add to Home Screen**. Native-app feel, instant capture from anywhere.
|
|
69
124
|
|
|
70
125
|
## Why GitHub as storage?
|
|
71
126
|
|
|
72
|
-
Your knowledge lives in a repo you own. No proprietary database, no vendor lock-in. It's version-controlled, portable, and readable as plain Markdown. Clone it, search it
|
|
127
|
+
Your knowledge lives in a repo you own. No proprietary database, no vendor lock-in. It's version-controlled, portable, and readable as plain Markdown. Clone it, search it, back it up — it's just files. And because it's a standard Git repo, any MCP-compatible agent or tool can read from it directly.
|
|
73
128
|
|
|
74
129
|
## Tech stack
|
|
75
130
|
|
|
@@ -77,11 +132,13 @@ Next.js · TypeScript (strict) · Anthropic SDK · GitHub OAuth · Vercel Postgr
|
|
|
77
132
|
|
|
78
133
|
## Roadmap
|
|
79
134
|
|
|
80
|
-
- [ ] Multi-provider support (OpenAI, Google — schema is ready
|
|
81
|
-
- [ ]
|
|
135
|
+
- [ ] Multi-provider support (OpenAI, Google — schema is ready)
|
|
136
|
+
- [ ] Voice memo capture
|
|
82
137
|
- [ ] URL auto-fetch (paste a link, Mnemos fetches the content)
|
|
83
|
-
- [ ]
|
|
138
|
+
- [ ] Batch capture (multiple resources at once)
|
|
84
139
|
- [ ] Browser extension for one-click capture
|
|
140
|
+
- [ ] Full-text search across knowledge hub
|
|
141
|
+
- [ ] Custom user-defined categories
|
|
85
142
|
- [ ] Settings page (change API key, repo, regenerate MCP key)
|
|
86
143
|
- [ ] Team knowledge hubs (shared captures)
|
|
87
144
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "mnemos-capture",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.2",
|
|
4
4
|
"description": "Zero-friction knowledge capture for agentic workflows. Paste anything → Claude extracts insights → auto-commits to your knowledge repo → your Claude Code workflow picks it up.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|