By yutaro1985
Cross-workspace knowledge search engine with hybrid FTS5 + vector search
Run health checks on The Space Memory daemon, embedder, and database.
Search the cross-workspace knowledge base using hybrid FTS5 + vector search. Use when: user asks about past research, notes, decisions, or anything that might be in the knowledge base. Examples: "前に調べたLoRaの件どうなってた?", "ナレッジから探して", "〜について調べた記録ある?", "〜あったっけ?", "以前まとめた〜", "Search for anything about X", "What did I write about X?"
Interactive setup wizard to create or update tsm.toml configuration.
Modifies files
Hook triggers on file write and edit operations
Uses power tools
Uses Bash, Write, or Edit tools
Own this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge. GitHub access is read-only (username + org membership).
Sign in to claimOwn this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge. GitHub access is read-only (username + org membership).
Sign in to claimBased on adoption, maintenance, documentation, and repository signals. Not a security audit or endorsement.

A cross-workspace knowledge search engine built in Rust. Indexes Markdown documents across multiple workspaces and provides hybrid search combining FTS5 full-text search with vector semantic search (ruri-v3-30m, 256-dim).
| Platform | Status |
|---|---|
| Linux x86_64 | Primary target, CI tested |
| Linux arm64 | Supported, CI build-checked |
| macOS Apple Silicon | Supported |
| macOS x86_64 | Supported |
File watching uses inotify (Linux) / FSEvents (macOS).
# 1. Build
cargo build --release
# 2. Download the ruri-v3-30m model
tsm setup
# 3. Set the document root directory
export TSM_INDEX_ROOT=~/my-notes
# 4. Initialize the database (also writes a default .tsmignore at the
# project root if one does not already exist — edit to taste)
tsm init
# 5. Start the daemon (embedder + file watcher)
tsm start
# 6. Index your documents
tsm index
# 7. Search
tsm search -q "query" -k 5
tsm recursively scans TSM_INDEX_ROOT for .md files.
A typical directory layout:
~/my-notes/ ← TSM_INDEX_ROOT
├── projects/
│ ├── project-a.md
│ └── project-b.md
├── research/
│ └── notes.md
└── journal/
└── 2026-04.md
All Markdown files under TSM_INDEX_ROOT are indexed automatically.
The file watcher detects additions, modifications, and deletions in real time.
# Re-index while daemon is running (non-destructive, background)
tsm reindex all # FTS + vectors
tsm reindex fts # FTS only (after dictionary changes)
tsm reindex vectors # Vectors only (after model changes)
# Rebuild from scratch (destructive, requires daemon stopped)
tsm rebuild # Dry run (shows DB stats)
tsm rebuild --apply # Delete DB and rebuild
Use tsm doctor to check system health and daemon status.
The Space Memory was inspired by sui-memory, which introduced the idea of indexing Claude Code session transcripts into a searchable database. tsm extends this concept from session records to entire document repositories, enabling cross-workspace knowledge search.
Existing tools each had critical gaps for this use case:
tsm was built to fill these gaps: a local-first, sub-100ms hybrid search engine that integrates transparently with Claude Code via hooks. The combination of FTS5 and vector search bridges vocabulary gaps (e.g., matching "shooting" with "firearms"), and Japanese tokenization via lindera/IPADIC was a key reason to build a custom solution rather than adapting English-centric tools.
The name follows sui-memory's naming pattern (prefix + memory), with "space" representing the multiple repositories treated as a unified search space. The cover image is an homage to Hydlide 3, whose subtitle is The Space Memories.
npx claudepluginhub yutaro1985/the-space-memory --plugin the-space-memoryUltra-compressed communication mode. Cuts 65% of output tokens (measured) while keeping full technical accuracy by speaking like a caveman.
Multi-model consensus engine integrating OpenAI Codex CLI, Gemini CLI, and Claude CLI for collaborative code review and problem-solving.
Memory compression system for Claude Code - persist context across sessions
Comprehensive UI/UX design plugin for mobile (iOS, Android, React Native) and web applications with design systems, accessibility, and modern patterns
Unified capability management center for Skills, Agents, and Commands.
45% cost reduction measured. Cache expiry prevention, SubTask auto-delegation, zero-cost context restoration, real-time cost dashboard. The only Claude Code plugin built from CC source analysis.