Ship log
A running record of every released version of claude-second-brain on npm. Newest releases first. For auto-generated notes and tags, see the GitHub releases page.
v1.4.0 — 2026-11-30
Save what you work out in a conversation, not only what you read. Plus idempotent ingest, a lint script, and commands to create, upgrade, lint and reindex brains.
New skill:
/brain-remembersaves the decisions, learnings, facts and open questions from the current agent conversation. Say "remember this" (or run/brain-remember [what]) in any project. The agent shows you what it found, and after you confirm, writes awiki/sources/conversation-YYYY-MM-DD-[slug].mdpage, folds each item into related topic and entity pages, flags contradictions, logs arememberentry and commits the change on its own if the brain is a git repo. It never writes secrets. It is a global skill like/brain-ingest, and the vault'sCLAUDE.mdhas a matching Remember Workflow.
Ingest:
/brain-ingestskips sources it has already ingested. Each log entry now ends with asource:line holding the file's path and a short SHA-256. The same hash is skipped, a changed file is ingested as an update to its existing source page (logged asreingest), and "force" or "reingest" overrides the skip.- "Ingest everything new" checks every file in
raw-sources/, lists the new and changed ones, and ingests each in turn. - A URL is saved to
raw-sources/articles/before it is ingested, so the original survives if the page changes. Existing raw sources are never overwritten. - In a git vault each ingest is committed on its own (
ingest: Title), so it is easy to review orgit revert. Nothing is pushed.
Lint:
/lintnow starts from a dependency-free script,scripts/lint/wiki-lint.js(pnpm lint:wiki), that finds broken links, orphans, bad frontmatter, short links and open contradictions in one pass. The agent reads its JSON instead of every page.- New
csb lintruns it on one brain, several,--all, or any folder with--path, and exits 1 on errors.
CLI:
- New
csb create <name>is the main way to make a brain.csb <name>still works. Brain names that match a csb command (ls,lint,doctor, …) are rejected, socsb create oneno longer makes a brain calledcreate. - New
csb upgradebrings existing brains up to date: it refreshesCLAUDE.md, the vault skills, scripts andpackage.json, adds missing.gitignorelines, untracks a committed search index, and updates the global skills. It shows the plan first and keeps files you edited unless you choose otherwise. Existing users: runcsb upgrade --allto pick up everything in this release, including/brain-remember. - New
csb reindexrebuilds the search index for one or more brains from any directory. The next-steps box after creating a brain now points to it. csb doctorwarns when a brain hasn't been upgraded to this release, and suggestscsb reindexwhen an index is missing.
Template:
- pnpm's native build allowlist moved to
pnpm-workspace.yaml, so pnpm 11 and later buildbetter-sqlite3andnode-llama-cppwithout warnings.
v1.3.0 — 2026-11-27
A rebuilt docs site that agents and search engines can read, and a template fix so the search index is never committed.
Fixes:
- New vaults'
.gitignorenow ignores.qmd/, where the qmd search index lives. Before, onlyqmd.sqlite*was ignored, so obsidian-git could commit and push the index. It also ignores.obsidian/workspace.jsonandworkspace-mobile.json, which differ on every device and caused sync conflicts. Existing vaults: add those lines to your.gitignoreand rungit rm -r --cached .qmdif the index was already committed.
Docs site:
- Upgraded to Vocs 2.12 and made agent-ready:
llms.txtandllms-full.txtfollow the llms.txt format with absolute links, every page has a.mdversion linked from its<head>, plus canonical URLs, keywords, SoftwareApplication JSON-LD on the homepage, a sitemap without the 404, and a 404 page that points tollms.txt.pnpm docs:verifychecks all of it in CI. - New landing page hero with a copyable
npx claude-second-braincommand, and an animated diagram of sources, your brain and your agents. - The CLI reference is now one page per command, each with usage, arguments, options and examples.
- New Integrations section: Obsidian, obsidian-git (its sync settings and mobile limits), and iCloud sync for iPhone and iPad using a second clone that keeps
.gitout of iCloud. - New manual setup steps for Cloudflare Artifacts.
README:
- The GitHub and npm README is now a short landing page (pitch, one install command, quickstart, skills table), with details linked to the docs site. The Mermaid chart, which npm can't render, is replaced by an image of the docs diagram.
v1.2.3 — 2026-11-27
Bug fixes for CLI argument handling, plus a test suite.
Fixes:
- Brain names are validated before scaffolding. Names that are empty,
./.., or contain path separators, quotes or control characters are rejected, so a name can no longer escape~/.claude-second-brain/or corruptconfig.toml. --brainnow requires a value inpath,qmd,exec,skillsandgit-token. Previously a bare--brainsilently fell back to the default brain (socsb git-token --brainrenewed the wrong brain's token).csb exec … -- <cmd> --helpandcsb qmd … -- … --helpnow pass--helpthrough to the command after--instead of printing csb's own help.
Tests and CI:
- New
pnpm test(node --test tests/*.test.js) covering brain-name validation,--brainparsing and help pass-through; a Test workflow runs it on pull requests andmain.
Docs:
- README and docs home link
/brain-ingest,/brain-search,/brain-refresh,/brain-rebuildand/lintto their docs pages.
v1.2.2 — 2026-11-27
npm package metadata only. No CLI or template changes.
- Added npm
keywordsmatching the GitHub repo topics (ai,amp,claude-code,codex,cursor,github,knowledge-base,knowledge-graph,knowledge-management,llm,obsidian,obsidian-vault,qmd,second-brain) so the package is searchable on npmjs.com. - npm
homepagenow points to the docs site instead of the GitHub README, andbugslinks to GitHub issues.
v1.2.1 — 2026-11-27
Maintenance release: security updates and a tokenless release pipeline. No CLI or template changes.
Security:
- Refreshed dependencies to clear all Dependabot alerts (
pnpm audit: 106 → 0).@clack/promptsis now^1.9.0; transitive docs-site deps (hono, vite, mermaid, dompurify, …) resolve to patched versions, with pnpm overrides fortoml,katexand@hono/node-server. - Removed the stale
package-lock.json; the repo uses pnpm only.
Release pipeline:
- npm releases use trusted publishing (OIDC) from
release-publish.ymlwith--provenance, so noNPM_TOKENis stored in the repo. npm comes frommise.toml(11.21.2; trusted publishing needs 11.5.1+). v1.2.0 was the first release published this way.
CI:
- Docs workflows install Playwright browsers from the locked version (1.65.1).
v1.2.0 — 2026-11-27
Works with any agent, not just Claude Code, plus a faster, unattended setup and first-class Cloudflare Artifacts git tokens. Existing installs: run csb skills once to move global skills from ~/.claude/skills to ~/.agents/skills (the old copies become symlinks).
Agents:
- Skills install for any Agent Skills agent, with the same layout as
npx skills: global skills are written once to~/.agents/skills/<name>and symlinked into agent-specific dirs (~/.claude/skills,~/.codeium/windsurf/skills,~/.config/goose/skills, …). Supported: Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, OpenCode, Amp, Cline, Windsurf, Goose, Kiro CLI, Roo Code, Continue, Junie, Augment. - Vault-local skills (
brain-rebuild,lint) are copied into each selected agent's project skills dir (.agents/skills/,.windsurf/skills/, …). - New
--agent, -a <ids>(comma-separated orall) andCSB_AGENTSto pick agents;--copyto copy instead of symlink. Interactive setup preselects Claude Code plus every detected agent. - New
csb skills [--agent <ids>] [--copy] [--brain <name>]to add agents or update skills later, andcsb skills --listto show supported agents and their skills dirs. - New vaults ship an
AGENTS.mdthat points Codex, Cursor, Copilot and other agents atCLAUDE.md. - The Next steps box shows how to open each agent you picked (
claude,codex,cursor ., …).
Setup:
- All prompts, including the qmd-registration question, are asked up front; the rest runs unattended.
- Long steps show a live spinner with elapsed time and the latest output line.
- If
pnpm10+ is on yourPATH, it's used directly; otherwise the CLI installs mise and fetches node + pnpm.CSB_USE_MISE=1forces mise. - The git-remote picker shows GitHub / Cloudflare logos as Nerd Font glyphs in Ghostty, WezTerm and kitty, emoji elsewhere. Override with
CSB_ICONS=nerd|emoji|none. - If the remote can't be created or pushed, the brain is still created locally, the problem and fix are listed in Next steps, and the CLI exits 1.
Cloudflare Artifacts:
- Switched to the account-scoped REST API (
api.cloudflare.com/client/v4/accounts/<ACCOUNT_ID>/artifacts/…); the oldartifacts.cloudflare.net/v1/apihost is no longer used. SetCLOUDFLARE_ACCOUNT_IDwhen your login can see more than one account. - A deleted or inactive namespace is recreated automatically before the repo is created.
- Setup now saves a 90-day git token in the vault's
.git/config(http.<remote>.extraHeader), sogit push/git pulland obsidian-git just work. No more 24-hour token to copy. - New
csb git-token [<name>] [--ttl <duration>] [--read] [--print]renews it (default 90 days, max 1 year), replacing the manualcurlrenewal.
Other:
csb doctoraccepts system pnpm 10+ in place of mise and checks that the global skills in~/.agents/skillsmatch the installed release.- README, docs and package description say "any agent" and "git" (GitHub, Cloudflare Artifacts, or any remote) instead of Claude Code and GitHub only.
- "Claude reads it" and similar wording is now agent-neutral, and "Access from anywhere" covers any local or cloud agent and any git host.
v1.1.0 — 2026-04-19
CLI UX pass. Every addition is non-breaking — the -- in csb qmd -- … and the path --qmd / --config / --root flag form continue to work, with a stderr deprecation notice on the flag form.
CLI:
- Added
csb use <name>(aliasesdefault,switch) to set the default brain without editing~/.claude-second-brain/config.toml. Runs the same header-rewrite path ascsb rm. - Added
csb exec [--brain <name>] -- <cmd…>— runs any command inside the resolved brain's directory withINDEX_PATHpre-set.csb qmdnow delegates to the same helper. - Added
csb doctor— checks forgh(+ auth),mise,wrangler, the central config, each brain'spathandqmd_index, and whether the default brain resolves. Prints aFix:hint under each failed check. csb pathnow accepts positional subcommands:csb path [qmd|config|root]. The--qmd/--config/--rootflag form still works with a stderr deprecation warning.- Every subcommand routes
--help/-hto its own topic help.csb help <command>also prints per-command help. Top-level help shows the config path and current default brain. csb rmgained--delete-remoteand--keep-remotefor scripting. Under-ywith neither flag, remotes are preserved (safe default).resolveBrain()error now points tocsb use <name>as the fix.
v1.0.0 — 2026-04-19
First major release. Brains now live at ~/.claude-second-brain/<name>/ (not the repo root), and global skills resolve paths at call time via new CLI subcommands instead of baked-in paths. Existing single-brain installs: re-run npx claude-second-brain <name> to migrate. Legacy active = … in config.toml is auto-rewritten to default = ….
CLI:
- Added
claude-second-brain path [--brain N] [--root|--qmd|--config]andclaude-second-brain qmd [--brain N] -- …subcommands. The global skills now resolve paths at call time via these commands instead of having absolute paths baked in at scaffold time. - Added
claude-second-brain rm [<name>…]with multi-select (space to toggle) and a follow-up prompt to delete the git remote. config.toml'sactivefield renamed todefault. Existing configs withactive = …are still read transparently and rewritten todefault = …on the next write.- Global skills (
brain-ingest,brain-search,brain-refresh) now ship with a.csb-versionsidecar file. Re-runningnpx claude-second-brain <name>detects version mismatches and prompts before overwriting;CSB_SKIP_SKILL_UPDATES=1disables the prompt. npx claude-second-brainnow auto-registers qmd collections during scaffold — no manual/setupstep needed afterwards.- Added
csbas a bin alias. Afternpm i -g claude-second-brain, bothclaude-second-brainandcsbare available globally.
Skills:
- Removed
/setupand/qmd-cli— their responsibilities are absorbed bycreate.js(auto-registration) and/brain-refresh/ thecsb qmdproxy respectively. - Added
/update-workflowsto auditpack-test.ymldrift against current repo state. - Split
/releaseinto/package-release(version bump + PR) and an orchestrator/releasethat additionally runs/update-workflowsand/update-docs.
Refactors:
- Removed the
__QMD_PATH__and__CSB_CONFIG__placeholder substitutions.scripts/qmd/{setup,reindex}.tsnow compute the index path fromimport.meta.url; CLAUDE.md and vault-local skills use a relative.qmd/index.sqlitepath. patchVault()now only substitutes__BRAIN_NAME__intemplate/README.md. Global skills ship unmodified from the template.
Fixes:
writeConfig()now writesdefault = …when upserting into a pre-existing empty or default-lessconfig.toml. Previously a zero-byteconfig.tomlblocked the field from being written and left CLI subcommands unable to resolve a default brain.pnpm qmd:setupfailures during scaffolding now surface captured stderr (last ~10 lines) instead of a generic "failed" message.template/scripts/qmd/{setup,reindex}.tswrap their bodies intry/catchthat prints a tagged error with vault + db paths and exits 1, replacing silent unhandled rejections.resolveBrain()errors now list available brain names and include a fix hint.
Docs:
- Getting-started, per-skill docs, and vocs sidebar updated to reflect the 5-skill surface (
brain-ingest,brain-search,brain-refresh,brain-rebuild,lint). - Documented
rmmulti-select and remote-deletion prompts. /setupskill reference removed from quick-start in favor ofpnpm qmd:reindex.
v0.6.0 — 2026-04-17
Features:
- Added Cloudflare Artifacts as an alternate Git remote option during
npx claude-second-brainsetup. The CLI authenticates via wrangler, creates a repo via the Artifacts API, and pushes the initial commit automatically.
CLI UX:
- qmd index path prompt now appears before the Git remote selection.
- Global Claude skills are installed right after
pnpm install, before git init. Install path is shown with~/...notation. - qmd index prompt placeholder and default value display
~/...instead of the full home directory path.
Docs:
- Added a Git backends section to the docs site covering GitHub and Cloudflare Artifacts setup.
- Added
llms.txtfor LLM/AI crawler discoverability. - Docs site now generates
.mdfiles alongside HTML pages.
v0.5.1 — 2026-04-14
- Maintenance release (version bump only).
v0.5.0 — 2026-04-14
Docs:
- Added a vocs-powered documentation site, deployed to GitHub Pages.
- Aligned the
package.jsondescription with the README tagline.
v0.4.2 — 2026-04-14
Features:
- Added the
/brain-refreshand/brain-rebuildskills for re-embedding and redesigning the qmd index.
Refactors:
- Unified every qmd path reference behind the
__QMD_PATH__placeholder and parallelized file patching during scaffold. - CLI version is now read from
package.jsoninstead of being hardcoded.
Fixes:
- Resolved a batch of code smells and factual inconsistencies across the codebase.
patchVaultnow surfaces non-ENOENTerrors instead of swallowing them.- Fixed a failing CI job.
Docs:
- Added a unified mermaid architecture diagram to both READMEs.
- Removed generic skills-marketplace boilerplate.
v0.4.1 — 2026-04-14
Refactor:
- Renamed the
sources/directory toraw-sources/to eliminate the naming collision withwiki/sources/.
v0.4.0 — 2026-04-14
Features:
- Renamed the core skills to
brain-ingestandbrain-search, and wired qmd path setup into scaffolding. - Added a GitHub repo creation prompt during
npx claude-second-brain(with a private-repo notice and a fallback that removes the repo on failure). - The generated README title now matches the brain folder name.
- Polished the CLI UX with
@clack/promptsand now runsmise trustbefore installing dependencies.
Docs:
- Updated READMEs to reflect the new CLI prompts and skill renames.
Chore:
- Removed template skills from
.claude/skills. - Changed the license badge color.
v0.3.0 — 2026-04-12
- Squashed release PR (#7) bundling CLI refinements and template adjustments that followed the
feat/npxseries.
v0.2.3 — 2026-04-11
Features:
- Shipped the missing
.obsidian/folder inside the template so scaffolded vaults open directly in Obsidian.
Docs:
- Added the MIT License file.
v0.2.2 — 2026-04-11
Docs:
- Added a GitHub URL to the package metadata.
- Added the project image to the package so the npm card renders correctly.
v0.2.1 — 2026-04-11
Chore:
- Merged the release and publish steps into a single
release-publish.ymlworkflow. - Hardened the CI pipeline.
v0.2.0 — 2026-04-11
- First public release to npm.
- Introduced the template scaffold and the
npx claude-second-brainflow. - Added the initial README, the release workflow, and the
/pack-testskill.