Loading...
Loading...
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".
npx skill4agent add zpankz/mcp-skillset limitless-cli# 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# 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# List recent lifelogs
limitless lifelogs list --limit 10
# Search for topic (full-text)
limitless lifelogs search "topic"
# Get specific lifelog
limitless lifelogs get <id> --format json| Component | Details |
|---|---|
| Database | FalkorDBLite via Python service |
| Socket | |
| Embeddings | BGE-small-en-v1.5 (384-dim, FastEmbed) |
| Vector Indexes | Lifelog, Chat, Person, Topic |
| Command | Purpose |
|---|---|
| Vector similarity search |
| Combined semantic + full-text |
| Show node counts, embeddings |
| Execute Cypher queries |
| Basic lifelog operations |
# Vector-based semantic search
semantic-search <query> [--types Lifelog,Chat,Person,Topic] [--limit N] [--threshold 0.15] [--scores] [--json]
# Hybrid search (semantic + full-text)
search <query> [--mode semantic|fulltext|hybrid] [--types ...] [--limit N] [--json]
# Index management
index status # Show node counts, embeddings, vector indexes
index build --export-path <path> # Build from Limitless exportgraph query <cypher> [--json] # Execute Cypher query
graph stats # Show database statistics
graph traverse <label> <id> # Traverse from nodelifelogs list [--date YYYY-MM-DD] [--starred] [--limit N] [--json]
lifelogs get <id> [--json]
lifelogs search <query> [--limit N] [--json]pipeline run <template|file> [--var key=value]
pipeline list # List available templatesdaily-digest.yamlweekly-review.yamlhierarchical-extraction.yamlsession-extraction.yamlextract-actions.yamlmemory-query.yamlresearch.yamlworkflow daily <date> # Complete day snapshot
workflow search <query> # Cross-source search
workflow recent # Recent activity summary// Define domain patterns
const patterns = [
{ pattern: /ondansetron/gi, category: '5HT3 antagonist', displayName: 'Ondansetron' },
{ pattern: /droperidol/gi, category: 'Dopamine antagonist', displayName: 'Droperidol' },
];
// Filter lifelogs by domain keywords
const filtered = lifelogs.filter(l =>
patterns.some(p => p.pattern.test(l.markdown))
);
// Extract using rule-based extraction
const results = extractFromLifelog(lifelog);
// Sync to graph with graceful degradation
try {
await dbClient.connect();
await lifelogRepo.upsert(lifelog);
} catch (error) {
console.log(`⚠️ Graph sync skipped: ${error.message}`);
}references/extraction-rules.mdLIMITLESS_API_KEY # Required - API authentication
ANTHROPIC_API_KEY # Optional - For LLM extraction
FALKORDB_HOST # Default: localhost
FALKORDB_PORT # Default: 6379| Dependency | If Missing |
|---|---|
| FalkorDB | Continues without graph sync, warns user |
| Anthropic API | Falls back to rule-based extraction |
| Docker | Uses remote FalkorDB if configured |
cd ~/Projects/limitless-cli/python && uv run python -m limitless_graph.serverls ~/.limitless/falkordb.sock--threshold 0.1limitless index status--types Lifelog,Chat,Person,Topicconfig show/limitless~/Projects/limitless-cli/
├── src/
│ ├── api/ # Rate-limited API client (180 req/min)
│ ├── db/ # FalkorDB repositories (9 repos)
│ ├── dag/ # Pipeline engine (YAML DSL)
│ ├── extraction/ # Rule + LLM extraction
│ ├── agent/ # Claude Agent SDK harness
│ └── cli/ # Commander.js commands
├── templates/ # 7 pipeline templates
└── scripts/ # Demo and utility scripts