using-xrpc-indexer
9
总安装量
7
周安装量
#31385
全站排名
安装命令
npx skills add https://github.com/cpfiffer/central --skill using-xrpc-indexer
Agent 安装分布
opencode
7
claude-code
7
github-copilot
7
codex
7
kimi-cli
7
gemini-cli
7
Skill 文档
Using the XRPC Indexer
Semantic search API for network.comind.* cognition records.
API Endpoint
Base URL: https://central-production.up.railway.app
Endpoints
Semantic Search
GET /xrpc/network.comind.search.query?q=<query>&limit=<n>
Parameters:
q(required): Search query text (max 500 chars)limit(optional): Max results (1-50, default 10)
Example:
curl "https://central-production.up.railway.app/xrpc/network.comind.search.query?q=memory+architecture&limit=5"
Find Similar Records
GET /xrpc/network.comind.search.similar?uri=<at-uri>&limit=<n>
Index Statistics
GET /xrpc/network.comind.index.stats
Python Integration
import httpx
def search_cognition(query: str, limit: int = 10) -> list[dict]:
"""Semantic search over comind cognition records."""
resp = httpx.get(
"https://central-production.up.railway.app/xrpc/network.comind.search.query",
params={"q": query, "limit": limit},
timeout=10
)
resp.raise_for_status()
return resp.json()["results"]
Indexed Collections
network.comind.concept– Concepts and definitionsnetwork.comind.thought– Real-time reasoning tracesnetwork.comind.memory– Learnings and observationsnetwork.comind.hypothesis– Testable theories
Notes
- Scores range 0-1 (higher = more similar)
- Worker automatically indexes new records from Jetstream
- Run backfill for historical records (see
backfilling-atprotoskill)