# Stop pasting context every AI session: one command restores everything

> Source: <https://dev.to/massiron/stop-pasting-context-every-ai-session-one-command-restores-everything-28ej>
> Published: 2026-06-13 07:53:49+00:00

Every AI coding session starts the same: paste the README, paste the architecture doc, paste the last error message, re-explain where you left off. If you switch between Claude Code, Cursor, and Gemini in the same project, every tool starts from zero.

**nodestone** fixes that. It's a project-level memory engine for AI-assisted development, and it's free.

nodestone tracks four things across sessions:

```
pip install nodestone
```

That's it. Python 3.10+.

```
nodestone init
```

Creates a `.nodestone/`

directory in your project root.

```
nodestone decision add "Use SQLite instead of Postgres" --context "Only 3 users, no need for a server" --impact "Simpler deployment, no Docker needed"
nodestone task add "Add user authentication" --depends "Set up database schema" --effort 4h
nodestone pack
```

Prints a ~500 token context block. Copy it, paste it at the start of your next AI session. Done.

```
nodestone restore <fingerprint>
```

The other agent picks up exactly where you left off — decisions, tasks, file state, everything.

``` bash
# Session 1 — Claude Code
$ nodestone decision add "Use FastAPI over Flask" --context "Need async support for WebSockets"
$ nodestone task add "Build WebSocket handler" --effort 3h
$ nodestone pack
> Context fingerprint: ns_X7k2m9 (copied to clipboard)

# Session 2 — Cursor (next day)
$ nodestone restore ns_X7k2m9
> Restored: 3 decisions, 4 tasks, 2 file changes
```

No pastebin, no markdown file, no "as I mentioned yesterday...".

`pack`

+ `restore`

flow. Real-time sync across agents is on the roadmap but not here yet.`pip install nodestone`

If you're switching between AI tools on the same project, give it a try. Feedback and PRs welcome.
