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

2a) 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).

2b) 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
  1. Open settings and connect — required before the skills can reach your workspace:

Once the plugin is installed, just ask your agent to open the settings dashboard — it runs the notionmemory:settings skill for you. Or open it directly from a terminal:

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. This same dashboard shows the Agent (Claude Code / Codex) and git (gh) connections so you can verify them in one place. Until Notion is connected, the skills load but can't read or write Notion.

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.2.tar.gz (180.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.2-py3-none-any.whl (190.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: notionmemory-0.1.2.tar.gz
  • Upload date:
  • Size: 180.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.2.tar.gz
Algorithm Hash digest
SHA256 847ea77fd2821dba0c6d7070926e40479d05f94fa0c283294804e6a16ae54e40
MD5 2118f52bcfaceba86274a7fc47375f37
BLAKE2b-256 3f2f35121adb686a79adb4aff975ad86f58ce17ab6974d9da3320701c584ac15

See more details on using hashes here.

File details

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

File metadata

  • Download URL: notionmemory-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 190.5 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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 d82d33ec2a8e2c593c7b5471443c6ec40c33619c7763a1fbf5047e9ffbffd692
MD5 804db0f24db1addf1fd58a345c67041d
BLAKE2b-256 761341fafa3cadd1498897f9d80c30bc52164b5d42c327e05a2c9a99f486cf3b

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