/alchemy:alchemyfrom Alchemy
Collects, searches, and writes up sources (URLs, files, pasted text) in the user's local-first Alchemy research notebook via MCP. Use when the user mentions Alchemy or wants research organized.
Ships in Alchemy. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Alchemy is a local-first NotebookLM-style app. A notebook holds sources
(fetched URLs, imported files, watched folders, pasted text — auto-chunked and
embedded on device) and notes (markdown the user or you write). Sources
can also be living Mac items the user connected (Apple Notes, Reminders
lists, Calendar windows, Stocks watchlists via cider:// origins) — these
re-sync automatically. Everything runs on the user's machine; nothing you
store or search leaves it.
The MCP server runs inside the Alchemy app as streamable HTTP at
http://127.0.0.1:41414/mcp (default). If Alchemy tools are unavailable, the
app isn't running — ask the user to open Alchemy. (No Alchemy at all? It's a
free macOS app: https://github.com/thrashr888/alchemy/releases — this skill
is useless without it.) Registration is one click in Alchemy's
Settings → Agents; it writes the client's HTTP config and private bearer
header. Do not replace that entry with a bare URL, which will be rejected.
list_notebooks to find the right notebook; create_notebook if the topic
deserves its own. Prefer reusing an existing notebook over creating
near-duplicates.add_source for each URL, file path, or block of text worth keeping.
Ingestion extracts, titles, chunks, and embeds automatically. A list of
URLs goes in one call as urls — you get one {url, ok, source, error}
per entry, and one bad page never fails the rest. Check status (or
ok) before trusting a result: a 404 page or a bot wall lands as
status: "error" with the reason, not as content.
grow tells you what a notebook is missing — questions it answered
thinly, links its own sources keep pointing at, matching files on this
Mac — each proposal ready to hand back to add_source.search to ground claims before writing — hybrid vector + keyword
retrieval over the notebook's chunks. It runs on a local embedder and is
effectively free; make several small queries rather than one broad one.
When you don't know WHICH notebook holds something ("where did the user
save X?"), use ask_everything — the same retrieval across the entire
corpus, each passage tagged with its notebook. It returns raw passages;
synthesize the answer yourself.create_note (markdown). Cite which sources informed
each claim by title so the user can verify.update_mac_note replaces
the body of an Apple Notes source (writes to the real note, then
re-syncs); add_reminder appends to the Apple Reminders list behind a
Reminders source. Both work only on sources the user already connected —
find them in list_sources by a url starting with cider://notes/note/
or cider://reminders/list/.When the user hands you a list of things to cover (programs, papers, vendors, places), the work is finding the right page for each, not just adding what comes to mind. Habits that keep the notebook clean:
curl -sI, or a quick web search for the current
page) rather than guessing a path; guessed paths 404 or land on a
homepage.title says "Page
Not Found", "Access Denied", "Attention Required", or "Just a moment", or
whose charCount is a few hundred, is not content even when status
says ready. Delete it (delete_source) and try an alternate: a different
page on the same site, a sitemap, a support-center article, a partner's
page that mirrors the terms. A site that fetches nothing at all
(Cloudflare, Akamai) gets a text source you write from what you know,
clearly labeled as your summary, with the items the user should confirm.site.org/page/Join) can be
mistaken for a git owner/repo and probed as a repository. If an add
comes back with a clone error, re-add with a #fragment on the URL —
the shape parser skips it and the page fetches normally.set_source_image puts a picked image on
the source's gallery card and reader header; set_source_tags and
set_source_note carry the user's own labels into retrieval. For a
notebook of cover-less sources, scan_cover_images proposes candidates
and apply_cover_images sets the ones you choose.add_reminder when
the list is a connected source, or the cider CLI otherwise — and say
which items you added.Notebooks travel as OKF bundles: the app exports a single .okf.zip
(File → Share Notebook as Zip…) and imports one via the home screen's
Import… button, or by dropping the file anywhere on the window. Import
re-embeds locally and skips duplicates, so re-importing is safe. If the user
asks how to share a notebook with someone (or move it to another machine),
point them at this flow.
A bundle folder is different from a zip: dropped on a notebook it becomes
an okf source that stays in sync, the way an Obsidian vault does. Its
index.md and log.md are listings, not knowledge, and never become
sources; concepts marked status: deprecated start deselected.
list_notebooks reports okfPath for every notebook kept on disk as an OKF
bundle. When a notebook has an okfPath, the folder is the editing
surface — cat, sed, and git beat any tool call here:
notes/<slug>.md; a source is sources/<slug>.md. Edit the
markdown below the frontmatter and Alchemy picks the change up within
seconds. Delete a file to delete the entity.index.md and log.md are generated. Do not hand-edit them; the next
write regenerates the listings, and log.md is the bundle's history.verified, stale_after, your
own) survive every rewrite. title: names the concept.alchemy: block holds what the spec has no field for — a source's
real type and the user's tags, a note's kind, the notebook's colour and
icon on the root index.md. Edit it only when you mean to change those.alchemy.device names the Mac a source's resource: path is real on. When
it names another machine and the path does not resolve here, the source is
remote (remote: true from list_sources): read it, search it, cite it —
but do not refresh it, reveal it, or propose removing it as a missing file.references/ holds the originals a concept was made from, named by
content hash. A source's resource: pointing there means the bundle
carries the bytes; anything else is provenance. Do not rename or delete
those files — the writer removes one when its last source goes.sources/**.md and notes/**.md are read. Anything else you put in
the folder — config, scripts, a README, whatever ok init adds — is
yours and is never ingested.generated.by says who made a version: human:<account> for a person,
alchemy/<version> for the app, <producer>/<version> for anyone else.
Edits you make through these tools are attributed to you — your MCP client's
own name and version, e.g. claude-code/2.1.0 — not to the user. Put your
own name there when you edit a file directly and the attribution sticks.Most notebooks are already there. Alchemy keeps them in a Notebooks folder —
iCloud Drive when iCloud Drive is on, ~/Documents/Alchemy when it is not —
so list_notebooks usually reports an okfPath without anyone asking. Read
the folder with settings (op: "get"); change it with
op: "set", field: "notebooksDir".
bind_notebook_okf(notebook_id, path) binds one somewhere else: a folder that
is not there yet is created; an empty one is seeded from the notebook; one
that already holds a bundle is imported first, then bound. unbind_notebook_okf(notebook_id) stops it and leaves
every file in place. Offer binding when the user wants a notebook in git, on
another machine, or edited by hand — not by default.
alchemy:// URLs open the app from anywhere (Shortcuts, terminal open,
other apps): alchemy://notebook/<id>, alchemy://note/<id>, and
alchemy://add?url=…|text=…&title=…[¬ebook=<id>]. Adds without a
notebook param ask the user to pick one; prefer passing ids you got from
list_notebooks.
status: "error" and a reason. Report it; don't retry the same
URL blindly — try an alternate URL or paste the content as text instead.search returns passages, not documents. When you need full context,
call get_source with the passage's sourceId.update_note replaces the whole note —
get_note first, and preserve the user's edits. Never delete_notebook or
delete notes/sources the user didn't explicitly ask to remove.update_mac_note replaces the entire note body — get_source first and
preserve their content; the first line is the note's title, keep it there.
Only write when the user asked for the change.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub thrashr888/alchemy --plugin alchemyOther plugins' skills for the same job