Listed from the MCP registry; nobody on Odel publishes it.
Progressive Skill Disclosure, Semantic Tool Search & Context Optimizer for AI Agents
Runs on your machine from its package; the steps are below.
At most: moves money, runs code or commands, deletes data, or sends messages for you.
Odel charges nothing per call. The publisher may charge for its own service.
Runs locally over stdio
This server isn't hosted — your MCP client launches it from a package registry. Use one of the commands below, or drop the config into your client (e.g. Claude Desktop).
Run
npx -y @ritualdev-lab/skillprism
MCP client config
{
"mcpServers": {
"skillprism-mcp-context-optimizer-tool-search-proxy": {
"command": "npx",
"args": [
"-y",
"@ritualdev-lab/skillprism"
]
}
}
}Progressive Skill Disclosure & Context Compaction Engine for Autonomous AI Coding Agents
Preloading hundreds of enterprise tool schemas dilutes model attention and inflates token costs. SkillPrism indexes skills out-of-context and injects only what the model needs, right when it needs it.
When autonomous coding agents (Claude Code, Cursor, Windsurf, Antigravity) connect to enterprise MCP servers or large API catalogs:
SkillPrism moves the entire tool catalog outside the LLM context:
search_skills and load_skill.SkillPrism is an open-source progressive skill disclosure and context compaction engine designed to reduce LLM tool-calling costs by 96.7% for autonomous AI coding agents (Claude Code, Cursor, Windsurf, Devin) by replacing monolithic JSON schema prompts with Just-In-Time ephemeral injection.
Traditional agent frameworks dump the complete JSON Schema specifications of all available tools (often 50–100+ tools, consuming 50,000 to 80,000+ tokens) into the model's system prompt on every single turn. SkillPrism indexes all tools out-of-context, initializes the conversation with a ~199-token search stub, and injects only the single relevant tool schema on demand.
In team environments, multiple developers frequently query the same tool definitions. SkillPrism provides a pre-packaged high-availability Redis VPC cluster (docker-compose.redis-vpc.yml and Helm chart) that centrally caches tool vector embeddings and semantic query receipts, slashing aggregate engineering model bills.
# Run CLI directly via npx
npx @ritualdev-lab/skillprism search "postgres database query"
# Or install locally
pnpm add @ritualdev-lab/skillprism
import { SkillIndex } from "@ritualdev-lab/skillprism";
const index = new SkillIndex();
// Register tool schemas into out-of-context index
index.register({
id: "postgres_query",
name: "PostgreSQL Query Exec",
summary: "Executes parameterized read queries against production PostgreSQL clusters",
description: "Performs read-only SQL queries with built-in connection pooling and PII redaction.",
category: "database",
tags: ["sql", "postgres", "db", "query"],
permissions: ["db:read"],
parameters: [
{ name: "sql", type: "string", description: "The SQL statement", required: true },
{ name: "params", type: "array", description: "Query bind variables" }
]
});
// Import tools directly from standard MCP servers (tools/list)
index.importFromMcp(mcpToolsList);
// Search for matching skills with zero prompt bloat
const matches = index.search("fetch user records from postgres", 3);
console.log(matches[0].disclosureSnippet);
Connect SkillPrism as a transparent MCP server to eliminate tool prompt bloat in your favorite AI coding agent:
Add SkillPrism to your Claude Code workspace:
claude mcp add skillprism -- npx -y @ritualdev-lab/skillprism proxy --stdio
Or configure directly in claude.json:
{
"mcpServers": {
"skillprism": {
"command": "npx",
"args": ["-y", "@ritualdev-lab/skillprism", "proxy", "--stdio"]
}
}
}
~/.cursor/mcp.json)Add to your Cursor global or workspace MCP configuration:
{
"mcpServers": {
"skillprism": {
"command": "npx",
"args": ["-y", "@ritualdev-lab/skillprism", "proxy", "--stdio"]
}
}
}
~/.codeium/windsurf/mcp_config.json){
"mcpServers": {
"skillprism": {
"command": "npx",
"args": ["-y", "@ritualdev-lab/skillprism", "proxy", "--stdio"]
}
}
}
# 1-Click non-destructive integration (.cursorrules and CLAUDE.md managed sections)
npx @ritualdev-lab/skillprism init --cursor
npx @ritualdev-lab/skillprism init --claude
npx @ritualdev-lab/skillprism init --all
# Search out-of-context index by hybrid BM25 + dense semantic embeddings
npx @ritualdev-lab/skillprism search "upload file to s3"
# Ingest and convert OpenAPI 3.0/3.1 specs (auto-persists to SQLite ~/.skillprism/index.sqlite)
npx @ritualdev-lab/skillprism import ./api-spec.json
# Fetch and index tools from a running MCP server
npx @ritualdev-lab/skillprism add http://localhost:3000/mcp
# Run verifiable zero-state BPE token benchmark
npx @ritualdev-lab/skillprism benchmark
# Run complete multi-turn task trajectory economics benchmark (search + load + execute + inspect)
npx @ritualdev-lab/skillprism benchmark --trajectory
# Sync verified community tools from DevShelf directory
npx @ritualdev-lab/skillprism sync
# Start transparent MCP stdio proxy (with dynamic tools/list_changed notifications & 3-turn TTL)
npx @ritualdev-lab/skillprism proxy --stdio --turn-ttl 5
# Start secured HTTP/SSE MCP gateway with Bearer auth, CORS controls, and session isolation
npx @ritualdev-lab/skillprism proxy --port 8080 \
--auth-token "super-secret-mcp-key" \
--allowed-origins "https://app.internal,http://localhost:3000" \
--max-body-size 2097152 \
--isolate-sessions
# Run in mock/simulation mode (opt-in for local testing without upstream servers)
npx @ritualdev-lab/skillprism proxy --port 8080 --dry-run-simulation
SkillPrism functions as a transparent, high-performance gateway between AI agent runtimes (Claude Code, Cursor, Windsurf, Antigravity) and your underlying MCP servers:
tools/call directly to the connected upstream server via Stdio child processes or HTTP endpoints.-32603). Simulation mode is strictly opt-in via --dry-run-simulation.tools/list_changed): Advertises capabilities.tools.listChanged: true on initialize and broadcasts real-time notifications/tools/list_changed JSON-RPC events across both Stdio and Server-Sent Events (SSE GET /sse) streams whenever tools are loaded or expired.--turn-ttl, default: 3 turns) and sliding idle expiration (--idle-ttl, default: 600s). Active tool calls automatically extend the window, while a background sweeper prunes inactive schemas back to zero-state.--isolate-sessions or the mcp-session-id / x-session-id HTTP header, each agent session is sandboxed in its own harness. Tool schemas activated in Session A never leak into Session B.--auth-token (HTTP 401 on unauthorized calls) and validates CORS origins against --allowed-origins (HTTP 403 on untrusted origins).--max-body-size (HTTP 413 Payload Too Large) to prevent buffer-exhaustion attacks.$defs, $ref, oneOf, anyOf, allOf, additionalProperties: false, property enum: [...], and defaults without stripping constraints.skillprism init safely injects managed blocks (<!-- SKILLPRISM:START -->) into .cursorrules and CLAUDE.md, creates timestamped backups (.bak.<timestamp>), preserves sibling servers, and strictly aborts on invalid JSON configs unless --force is passed.SkillPrism measures both upfront zero-state prompt reductions and complete multi-turn task trajectory costs using verifiable BPE tokenization (gpt-tokenizer cl100k_base / o200k_base):
skillprism benchmark)⚡ SkillPrism Zero-State Token Savings
📦 Benchmark Catalog: 100 Enterprise Tools (Synthetic across 7 categories)
🔴 Unoptimized Preload: ~11,989 tokens (All raw JSON schemas loaded upfront)
🟢 SkillPrism JIT: ~326 tokens (3 lightweight zero-state meta-tools)
🚀 Upfront Token Savings: 97.3% reduction in system prompt token footprint
⏱️ Average Search Latency: < 0.3 ms (Hybrid BM25 + dense vector similarity)
💾 Payload Compaction: 91.0% savings on heavy responses (> 512 bytes)
skillprism benchmark --trajectory)Measures complete lifecycle token expenditure (tool discovery + schema activation + tool execution + response payload compaction + receipt drill-down + TTL expiration) across realistic multi-turn reasoning workflows:
📈 Complete Multi-Turn Task Trajectory Economics Benchmark
📦 Catalog Size: 50 Enterprise Tools
🔄 Task Trajectory Lifetime: 5 Turns
🎯 Task Success Rate: 100% (Discovered, Loaded, Executed, Inspected)
🔴 Monolithic Cumulative Tokens: ~10,500 tokens (Preloaded schemas repeated every turn + raw payloads)
🟢 SkillPrism Cumulative Tokens: ~2,150 tokens (Zero-state + search + ephemeral schema + receipt)
🚀 Net Trajectory Token Savings: 79.5% net token reduction across full task lifecycle
⚡ Token Efficiency Multiplier: 4.88x more tokens preserved for agent reasoning
inspect_receipt).inspect_receipt({ ref, path: "rows.0.id" }) and line/slice queries lines:1-50, slice:0:500).enum, additionalProperties: false, $defs, oneOf) are faithfully retained when tools are activated.contact@ritualdev.in.developer@ritualdev.in or support@ritualdev.in.SkillPrism is initiated and maintained by the team at RitualDev Lab and expanded by the open-source AI community.
![]() Divyanshu Jethi 🚀 Founder & Lead 🔑 Direct Access Admin |
![]() Sakshi Sharma 🎨 Core Maintainer & Product 🔑 Direct Access Admin |
![]() RitualDev ⚙️ Core Maintainer & Infra 🔑 Direct Access Admin |
![]() Divyanshu-hub-dotcom 🛠️ Core Member |
![]() Ayush 🛡️ Core Maintainer & Triage |
Huge thanks to all our open-source Contributors! We warmly welcome issues, feedback, and pull requests.
SkillPrism is 100% open-source and Apache-2.0 licensed. Your sponsorship directly finances our context compaction benchmarking harness, BM25 indexing infrastructure, and official Model Context Protocol (MCP) registry publishing pipelines.
⚡ 1-Click Dodo Payments Checkout • 🎁 Interactive Donation Form (USD & INR UPI) • ❤️ GitHub Sponsors
🔒 Zero physical shipping required. Powered by Dodo Payments (Merchant of Record) with instant tax invoice and global payment methods (Cards, UPI, Apple Pay).
Apache-2.0 © 2026 RitualDev Lab.