Personal AI project management hub — North Star milestone tracking, live Claude sessions, CTX context alignment.
Project description
claude-ns-hub
You lose ideas every day.
Note apps, memo pads, anything that requires you to sit at a computer — none of them keep up with your brain.
"Why even geniuses lose their ideas" — the answer is here.
NS Hub is your Second Brain × AI execution layer
Idea surfaces → captured as a Stone → Claude runs it autonomously → check results from your phone.
No laptop required. No memo needed. No context lost.
| Without NS Hub | With NS Hub |
|---|---|
| Idea appears → forgotten before you act | Instant Stone creation → Claude picks it up from the queue |
| Claude runs blind — you have no visibility | Live session monitoring from your phone |
| Must open laptop to check context | Resume any session with ↻ from anywhere |
| Notes pile up, context evaporates | Stone persistence — ideas never disappear |
Why this exists
When Claude Code runs autonomously, you are blind — you cannot tell which sessions are alive, stalled, or finished.
The deeper problem is idea loss. Thoughts on the go, insights during commute, 3am realizations — most of them scatter without context.
NS Hub solves both at once:
- Second Brain: Capture ideas instantly as Stones → preserved with full context in local SQLite
- Agent execution hub: Stone → Claude runs autonomously → completion notification — entire loop closes on your phone
Core loop
Idea surfaces
↓
Create a Stone (5 seconds from your phone)
↓
Claude Code picks it up from the queue
↓
Running — live session monitoring from phone
↓
Completion notification → review results
↓
Next Stone dispatched automatically
The entire loop runs without touching a computer.
Screenshots
North Star swimlane — all projects, all lanes, live execution indicators:
Corpus browser — 58 skills · 54 agents · 75 docs, all searchable inline:
Mobile dark mode
| North Star swimlane | Detail card | CG panel |
|---|---|---|
| Corpus browser | Live terminal overlay | Hub index |
|---|---|---|
Install (60 seconds)
pip install claude-ns-hub
hub # starts at http://localhost:9001
No config files. No environment variables. No separate daemon. Open the printed URL in your phone browser and you're done.
Prerequisites
- Python 3.10+
- Claude Code CLI (
claude --version) tmux(brew install tmux/apt install tmux)- Tailscale (optional — for remote mobile access)
Quick start
# 1. Start the hub
hub
# 2. Inject the NS Hub protocol into Claude Code (run once)
hub install-global
# Writes stone lifecycle protocol to ~/.claude/CLAUDE.md
# 3. Add your first project
# North Star tab → "+ node" → set repo_path
# 4. Drop a Stone and let Claude run it
# Click project card → "+ milestone" → type your task → "live"
What you get
| Feature | What it does |
|---|---|
| Stone capture | Drop any idea as a Stone — Claude picks it up on next idle |
| Live exec sessions | Real-time visibility: busy/idle state, session ID, last tool used |
| Mobile terminal | Type directly into the running Claude session from your phone |
| Session resume | ↻ resumes exact prior context — no re-explaining, no lost work |
| Context persistence | Stone history, evidence URLs, conversation summaries — all local SQLite, fully portable |
| North Star swimlane | All projects + milestones on one screen, any device |
| Corpus browser | Browse all local skills/agents/docs; inline search across 180+ entries |
| Zero-config install | pip install claude-ns-hub && hub — that's the entire setup |
Directory structure
~/.hub/
├── server.py — main FastAPI server
├── hub.db — SQLite: projects, settings
├── northstar.db — SQLite: stones (milestones), exec sessions
├── config.yaml — optional overrides (port, tailscale IP, etc.)
├── hooks/ — PostToolUse / Stop hooks for Claude Code
├── static/ — web UI (northstar.html, index.html)
├── corpora/ — local corpus collections (skills, agents, docs)
├── ee/ — enterprise extensions (source-available)
└── relay/ — optional Cloudflare Workers relay for remote access
Telemetry & privacy
On startup, one anonymized hub_start event is sent:
ts, event, install_id=sha256(hostname)[:16], version, os — no PII, no code, no Stone text.
Opt out anytime:
curl -X POST http://localhost:9001/api/hub/consent \
-H 'Content-Type: application/json' \
-d '{"data_collection": false}'
Troubleshooting
tmux not found
sudo apt install tmux # Ubuntu/WSL
brew install tmux # macOS
tmux -V # verify
Claude Code not authenticated
claude --version
npm install -g @anthropic-ai/claude-code # if missing
claude login
Hub can't find my project
hub init <PROJECT_ID> --dir /path/to/your/project
# or: North Star → "+ node" → set repo_path manually
Hooks not firing
hub install-global
cat ~/.claude/settings.json | grep hub
Data schema & portability
All data lives in local SQLite (~/.hub/northstar.db). No vendor lock-in.
-- milestones (Stones)
CREATE TABLE milestones (
id TEXT PRIMARY KEY, -- e.g. "M1301"
project TEXT,
text TEXT, -- your original idea / task
status TEXT, -- queued | in_progress | pending_confirmation | done
done INTEGER DEFAULT 0,
exec_start TEXT,
exec_end TEXT,
model_used TEXT,
evidence_url TEXT,
append_message TEXT, -- Claude's completion summary
created_at TEXT DEFAULT (datetime('now'))
);
Export/import:
sqlite3 ~/.hub/northstar.db .dump > backup.sql
Metrics endpoint
curl http://localhost:9001/api/metrics?proj_id=MOAT
# → stones_completed, stones_queued, total_tokens per day
pip install claude-ns-hub — stop losing your ideas.
License
This project is licensed under the GNU Affero General Public License v3.0 (AGPL-3.0-or-later).
If you run a modified version of this software as a network service, you must make the complete corresponding source code available to users of that service. See LICENSE for full terms.
Personal use, self-hosting, and community contributions are always free. © 2026 pluto2060 — be2jay67@gmail.com
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file claude_ns_hub-0.3.4.tar.gz.
File metadata
- Download URL: claude_ns_hub-0.3.4.tar.gz
- Upload date:
- Size: 536.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.10.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d2c4e8c77d85d8ad9704e86f40b68b79f1afbbf778fdf92cadbddf6cdd9dd37f
|
|
| MD5 |
817729e92ab00fa3acef065bbf225752
|
|
| BLAKE2b-256 |
7d748ee13000a3a3ef7f6b5b81d0f4e53ed9f2d0bcf359a28d3a106fa35340ad
|
File details
Details for the file claude_ns_hub-0.3.4-py3-none-any.whl.
File metadata
- Download URL: claude_ns_hub-0.3.4-py3-none-any.whl
- Upload date:
- Size: 527.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.10.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
18939a463dc0fd7aff6913120ac8e694d01eb1547d7337d65c7675ec673350ae
|
|
| MD5 |
a148eed18d2ec01901f0d0c836c5cf97
|
|
| BLAKE2b-256 |
bbffbbd9c3cda3dbabe8740a5fe512b220d124693521c76d2a1eeb3aee615535
|