@thinkand/claude
v0.5.2
Published
think& — Team Knowledge Layer for Claude Code
Maintainers
Readme
think&
Team Knowledge Layer for Claude Code.
think& captures what your team builds, surfaces it when relevant, and quizzes you on what shipped — automatically, across Claude Code sessions.
npm: npmjs.com/package/@thinkand/claude
Install
npx @thinkand/claude@latest installYou'll be asked to create a team or join an existing one:
think& — Team Knowledge Layer for Claude Code
==============================================
1. Create a new team
2. Join an existing team
> 1
Team name: my-team
Your name: alice
✓ Team "my-team" created
✓ Invite key: tk_invite_abc123...
Share this invite key with teammates.To add a teammate:
# You (admin):
/team-invite
# → gives you: tk_invite_xyz789...
# Teammate:
npx @thinkand/claude@latest install
# → Choose "Join a team" → paste the invite keyRestart Claude Code after install.
What it does
Proactive Recall
Every prompt you type triggers a server-side recall that surfaces relevant context automatically:
- Architecture context — the right files, symbols, and subsystem info for what you're asking about
- Team activity — what teammates recently worked on in the same area
- Related code — actual code snippets from the codebase when relevant
5-Level Architecture Understanding
think& builds a live architecture model of your codebase. Ask questions at any level:
| Level | What it is | Example questions | |-------|-----------|-------------------| | L0 — Features | Feature history + evolution | "how did recall evolve?" "what changed in auth recently?" | | L1 — Components | Broad system components | "what component handles developer runtime?" "what component owns quiz generation?" | | L2 — Subsystems | Concept-shaped subsystems | "what subsystem owns capture?" "what subsystem owns org auth?" | | L3 — Files | Files with imports + dependencies | "how does capture hook work?" "how does quiz generation work?" | | L4 — Symbols | Functions, classes, exports | "what does repo_relative_path do?" |
Architecture is built from your actual code (uploaded via /code-sync) and team activity history.
Comprehension Quizzes
Quiz yourself on any PR or local branch diff:
/quiz hammadtq/openclaw#1 → quiz on a GitHub PR
/quiz --branch → quiz on your current branch vs main
/quiz-submit 1:B 2:A 3:C 4:D 5:BQuestions focus on architecture, trade-offs, and failure modes — generated by Claude Sonnet. Answer key stays server-side until you submit.
Session Sync
Extract structured memories from your Claude Code transcripts:
/syncPulls out key prompts, decisions, errors, and file change summaries. Max 10 memories per session, incremental.
Code Sync
Upload your repo's code to the server for architecture analysis:
/architecture → scan + cache file/symbol/import structure
/code-sync → upload file contents to server memoryIncremental — only uploads changed files on subsequent runs. Capture hook auto-uploads on every Edit/Write.
Team Commands
/team → what your team has been working on (with timestamps)
/ask-team auth → search team knowledge for "auth"
/week-team → weekly team summary
/team-invite → generate invite key (admin only)CLI Commands
npx @thinkand/claude@latest install # create/join team, install hooks
npx @thinkand/claude@latest update # update to latest version
npx @thinkand/claude@latest doctor # check installation health
npx @thinkand/claude@latest uninstall # clean removal
npx @thinkand/claude@latest pin <ver> # rollback to specific versionHow it works
- Capture hook runs after every Edit/Write/Bash — records what you did + uploads changed file contents
- Recall hook runs before every prompt — calls
POST /v1/recallfor server-side multi-lane fusion - Architecture builder derives 5-level architecture (L0-L4) from uploaded code + activity history
- Recall fusion combines architecture + team activity + code chunks, with metadata-first routing for concept queries
- Org auth — per-user API keys, one-time invite keys, no email or OAuth
What gets installed
~/.bryonics/
├── current → releases/0.4.0/ # stable symlink, atomically swapped on update
├── releases/0.4.0/
│ ├── hooks/ # recall.py, capture.py
│ ├── lib/ # client library + helpers
│ └── commands/ # slash command definitions
├── config.json # your API key + team (persists across updates)
└── sessions/ # per-project state (persists)
~/.claude/
├── settings.json # hooks auto-merged (backed up before changes)
└── commands/
├── quiz.md → current release # individual symlinks
├── sync.md → ...
└── team.md → ...Updates are a symlink swap — no file copying, no manual reconfiguration.
Requirements
- Claude Code 2.0+
- Python 3.8+
- Node.js 18+ (for installer only — runtime is Python)
Privacy
- Sessions and memories are synced to your team's server
- API keys stored in
~/.bryonics/config.json - No telemetry, no third-party data sharing
