Skip to main content

Notion as a second-brain hub for coding agents: memory, calendar, templates, and library skills.

Project description

notionmemory

Turn Notion into a second-brain hub for coding agents (Claude Code, Codex). notionmemory ships a set of installable skills — long-term memory, calendar, templates, and library recall — plus session hooks that surface the right context automatically.

Skills and CLI onboarding output are available in English (default) and Korean (config language: en|ko). A longer Korean guide is at docs/README.ko.md.

Install

  1. Backend (required, both harnesses):
pipx install notionmemory      # or: uv tool install notionmemory / pip install --user notionmemory
  1. Connect Notion — do this first, before using any skill:
notionmemory serve      # opens the settings dashboard at http://localhost:8765

In the dashboard, click the Notion connection and paste your Notion integration token (ntn_...). Create one at https://www.notion.so/my-integrations, and share the Notion pages/DBs you want notionmemory to use with that integration. The token is stored in your OS keyring, never in config. Without this, the skills can't reach Notion.

3a) Claude Code (plugin):

/plugin marketplace add legojeon/notionmemory
/plugin install notionmemory@notionmemory
# skills appear as notionmemory:calendar, notionmemory:memory, …
# Do NOT also run `notionmemory install --claude` (the plugin already installs skills + hooks).

3b) Codex (plugin + hooks):

codex plugin marketplace add legojeon/notionmemory
codex plugin add notionmemory@notionmemory
notionmemory install --codex --skip-skills --trust-codex-hooks   # hooks + trust (plugin owns the skills)
# --skip-skills: don't mirror skills, the plugin already provides them
# --trust-codex-hooks: required or Codex will silently not fire the installed hooks

Prefer no plugin? One uniform command sets up both harnesses (skills unnamespaced):

pipx install notionmemory && notionmemory install

Codex users: notionmemory install will tell you to also run notionmemory install --codex --trust-codex-hooks before Codex hooks fire.

The marketplace source is this repository. If you're working from a local clone before it's reachable as legojeon/notionmemory, add it by path instead: codex plugin marketplace add "$(pwd)" / claude plugin marketplace add "$(pwd)".

Skills

  • memory — save/recall long-term decisions & patterns in a Notion Second Brain
  • calendar — read/create/move events in a Notion calendar DB
  • templates — CRUD over your registered Notion templates & databases
  • library — content search across your Notion pages
  • settings — local web dashboard for connections & configuration

Upgrade

notionmemory installs files on your system (skill mirrors, session/git hooks, state). To upgrade cleanly — including removing skills that a new version has retired — run notionmemory teardown then reinstall. teardown removes only what it installed; your Notion pages, config, and keyring token are preserved by default (see notionmemory teardown --dry-run).

Uninstall

notionmemory teardown              # removes skills, hooks, local state
notionmemory teardown --purge-config --purge-secrets   # also config + token

Notion databases and pages are never deleted.

License

MIT — see LICENSE.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

notionmemory-0.1.1.tar.gz (176.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

notionmemory-0.1.1-py3-none-any.whl (186.3 kB view details)

Uploaded Python 3

File details

Details for the file notionmemory-0.1.1.tar.gz.

File metadata

  • Download URL: notionmemory-0.1.1.tar.gz
  • Upload date:
  • Size: 176.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/7.0.0 CPython/3.14.6

File hashes

Hashes for notionmemory-0.1.1.tar.gz
Algorithm Hash digest
SHA256 f7337a2d0eb4598a989ae6ea6e5d66d65d68ca7e0f52c8e002efc47ce2f2a62e
MD5 e5b9a75229651a4901fc2fb0c389c9df
BLAKE2b-256 64e70170f750f7707468097f464278c0a6dd463e7b1134764a09fc6e95e844f6

See more details on using hashes here.

File details

Details for the file notionmemory-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: notionmemory-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 186.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/7.0.0 CPython/3.14.6

File hashes

Hashes for notionmemory-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 193bf092a21ee958763f211b3fb79b450d6b6d7fb47f99e30942d7ed2f9ad496
MD5 ae2b3825a226c4c2f98a0d29d526ac84
BLAKE2b-256 d5b8aa3a88c661769be4f1ad876aa84f7318985b9aabc5dfd42e8801bb3ecccb

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page