--- name: limitless-cli description: CLI for Limitless.ai Pendant with lifelog management, FalkorDBLite semantic graph, vector embeddings, and DAG pipelines. Use for personal memory queries, semantic search across lifelogs/chats/persons/topics, entity extraction, and knowledge graph operations. Triggers include "lifelog", "pendant", "limitless", "personal memory", "semantic search", "graph query", "extraction". license: MIT --- # Limitless CLI Skill A comprehensive CLI tool for interacting with Limitless.ai Pendant data, featuring **FalkorDBLite semantic graph** with vector embeddings, content extraction, and DAG pipelines. ## When to Use - User wants **semantic search** across lifelogs, chats, persons, or topics - User wants to query lifelogs or personal memory data - User wants to extract entities (speakers, topics) from conversations - User wants to sync lifelogs to a graph database - User wants to run extraction or analysis pipelines - User mentions "Limitless", "pendant", "lifelog", or "personal memory" - User needs domain-specific extraction (medical, technical, business) ## Quick Start ### Semantic Search (Recommended) ```bash # Semantic search across lifelogs (vector-based similarity) limitless semantic-search "ICU critical care discussion" --types Lifelog --scores # Search multiple node types limitless semantic-search "family doctor" --types Lifelog,Chat,Person --limit 10 # Hybrid search (semantic + full-text) limitless search "medical exam" --mode hybrid # Check index status (embeddings, node counts) limitless index status ``` ### Graph Queries ```bash # Cypher query on semantic graph limitless graph query "MATCH (p:Person)-[:SPOKE_IN]->(l:Lifelog) RETURN p.name, count(l) ORDER BY count(l) DESC LIMIT 10" # Graph statistics limitless graph stats ``` ### Basic Operations ```bash # List recent lifelogs limitless lifelogs list --limit 10 # Search for topic (full-text) limitless lifelogs search "topic" # Get specific lifelog limitless lifelogs get --format json ``` ## Architecture ### FalkorDBLite Semantic Graph The CLI uses an embedded **FalkorDBLite** graph database (no Docker required) with vector embeddings for semantic search. | Component | Details | |-----------|---------| | Database | FalkorDBLite via Python service | | Socket | `~/.limitless/falkordb.sock` (Unix domain) | | Embeddings | BGE-small-en-v1.5 (384-dim, FastEmbed) | | Vector Indexes | Lifelog, Chat, Person, Topic | **Graph Statistics (as of 2026-01-11):** - 95,021 nodes (8,777 Lifelogs, 2,608 Chats, 1,549 Persons, 33,024 Topics, 47,027 Speakers) - 81,356 relationships (SPOKE_IN, HAS_TOPIC, HAS_CONTACT) - 100% embedding coverage on searchable nodes ### Core Commands | Command | Purpose | |---------|---------| | `semantic-search ` | Vector similarity search | | `search --mode hybrid` | Combined semantic + full-text | | `index status` | Show node counts, embeddings | | `graph query ` | Execute Cypher queries | | `lifelogs list/search/get` | Basic lifelog operations | ### References (Load on Demand) - **[API Reference](references/api-client.md)**: Rate limiting (180 req/min), retry logic - **[Database Schema](references/database-schema.md)**: Node types, relationships, vector indexes - **[Extraction Rules](references/extraction-rules.md)**: Rule-based and LLM extraction patterns - **[Pipeline DSL](references/pipeline-dsl.md)**: YAML syntax, node types, templates ## Command Reference ### Semantic Search (Primary) ```bash # Vector-based semantic search semantic-search [--types Lifelog,Chat,Person,Topic] [--limit N] [--threshold 0.15] [--scores] [--json] # Hybrid search (semantic + full-text) search [--mode semantic|fulltext|hybrid] [--types ...] [--limit N] [--json] # Index management index status # Show node counts, embeddings, vector indexes index build --export-path # Build from Limitless export ``` ### Graph Database ```bash graph query [--json] # Execute Cypher query graph stats # Show database statistics graph traverse