SkillPrism MCP Context Optimizer & Tool Search Proxy
概要
作者による説明(英語の原文)
Progressive Skill Disclosure, Semantic Tool Search & Context Optimizer for AI Agents
PopNx MCPの3つの柱
この3つを1つのスコアにまとめることはしません。意見、測定、人気はそれぞれ別のものだからです。
- 利用者の声iレビューはまだありませんレビューは今後のステップで、アカウント機能と一緒に始まります
- 私たちの基本チェックi1項目中1項目に合格公開情報からチェック。コードはまだスキャンしていません
- 利用状況iとても新しい↓ 10/週 · ★ –
できること
このサーバーのやさしい解説はまだ書いていません。以下はレジストリから読み取った事実です。
- 接続方法: パソコンで動く
- トランスポート: stdio
- カテゴリ: 検索・AIの記憶
インストール
使っているAIアプリを選んで、設定をコピーしてください。
インストールの前に
- 基本チェック:1項目中1項目に合格
- あなたのパソコンで、あなたのユーザーと同じ権限(ファイル、ネットワーク、アプリ)で動きます。
- レジストリには、入力が必要なキーは載っていません。
必要なもの
- npmNode.jsのインストール(npxコマンドに必要)
どのアプリを使っていますか?
上でアプリを選んでください。選んだアプリを覚えておくので、次からはボタンに「…にインストール」と表示されます。
Claude Desktop → Settings → Developer → Edit Config を開き、claude_desktop_config.json にこれを貼り付けます
{
"mcpServers": {
"skillprism": {
"command": "npx",
"args": [
"-y",
"@ritualdev-lab/skillprism"
]
}
}
}ターミナルでこれを実行します
claude mcp add skillprism -- npx -y @ritualdev-lab/skillprismまたは、設定を自分でコピーする
プロジェクトの .cursor/mcp.json、または ~/.cursor/mcp.json に貼り付けます
{
"mcpServers": {
"skillprism": {
"command": "npx",
"args": [
"-y",
"@ritualdev-lab/skillprism"
]
}
}
}ブラウザがアプリを開いてよいか確認し、そのあとアプリが設定を表示して確認を求めます。キーの値は空欄のままなので、自分で入力してください。
または、設定を自分でコピーする
プロジェクトの .vscode/mcp.json に貼り付けます
{
"servers": {
"skillprism": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@ritualdev-lab/skillprism"
]
}
}
}ブラウザがアプリを開いてよいか確認し、そのあとアプリが設定を表示して確認を求めます。キーの値は空欄のままなので、自分で入力してください。
これはパソコンで動くサーバーですが、ChatGPTがつなげるのはインターネット上のサーバーだけです。ほかのアプリを選んでください。
選んだアプリは、この端末のCookieに保存されます。アカウントは不要です。
この設定は、作者のレジストリ登録情報から作成しています。READMEと違う場合は、READMEに従ってください。
できること
パソコンで動くサーバーです。インストールすると、ツール一覧がAIアプリに表示されます。
基本チェックi
誰でも見られる情報をチェックしており、コードは読んでいません。当てはまらない項目は数に入れていません。 · 2026年11月10日にチェック
- ✓ 合格
作者とリポジトリが一致
レジストリ名は、リポジトリを所有するGitHubアカウント RitualDev-Lab で確認済みです
- … 未チェック
今もメンテナンスされている
このリポジトリはまだGitHubから読み取っていません
- … 未チェック
ライセンスがある
このリポジトリはまだGitHubから読み取っていません
- – 対象外
エンドポイントが応答する
これはパソコンで動くため、インターネット上のエンドポイントはありません
- – 対象外
OAuthでサインイン
パソコンで動き、代わりにローカルの設定を使います
- … 未チェック
ツールの説明に隠れた指示がない
パソコンで動くサーバーです。ツール一覧を読み取れるのは、インターネット上のエンドポイントがある場合だけです
検索・AIの記憶のほかのサーバーとの比較i
- このカテゴリのほかの5842件のうち0%よりスターが多い
- このカテゴリのほかの5842件のうち92%より最近レジストリに公開
- 基本チェックの結果が、このカテゴリのほかの5842件のうち100%と同じかそれ以上
レジストリでこのカテゴリにある有効なすべてのサーバーと比較しています。スターは、公開者がリポジトリの所有者である場合だけ数えます。
よくある質問
SkillPrism MCP Context Optimizer & Tool Search Proxyは安全ですか?
当てはまる基本チェック1項目のうち1項目に合格しました。コードは読んでいません。キーやトークンを追加する前に、サーバーがどんなアクセスを求めているかを確認し、必要な権限だけを持つキーを使ってください。
どんなキーやコードが必要ですか?
レジストリには必須のキーは載っていません。ただし、最初に使うときにサインインを求めるサーバーもあります。
パソコンで動きますか、それともクラウドですか?
あなたのパソコンで動きます。必要なときにAIアプリが起動し、データは作者のサーバーを通りません(サーバー自体がオンラインサービスを呼び出す場合を除きます)。
今もメンテナンスされていますか?
GitHubリポジトリの最終更新は–、最新バージョン(1.2.4)がレジストリに届いたのは3 日前です。
どのアプリで使えますか?
Claude Desktop、Claude Code、Cursor、VS CodeなどのMCP対応アプリで使えます。パソコンにNode.jsも必要です。
代わりに使えるものは?
同じカテゴリには:Context7, Codebase Memory, Exa
代わりの候補
同じカテゴリで、ほかの作者が作ったサーバー。スターの多い順。
カードの見方:↓ 週あたりのダウンロードi★ GitHubスターi3つの柱:レビュー · チェック · 利用状況i更新=最新バージョンをレジストリに公開した日i
Codebase Memory
Codebase knowledge graph for AI agents — 162 languages, sub-ms queries, 99% fewer tokens.
Exa
Connect AI agents to Exa for web search, content fetching, and multi-step research.
作者のREADME
READMEを開く
作者のリポジトリから書かれたとおりにコピーしたものです。PopNx MCPは内容を確認・推奨していません。HTML、画像、スクリプトは取り除いています。リンクはこのサイトの外へ移動します。
💎 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.*
⚡ The Problem: Context Bloat & Attention Dilution
When autonomous coding agents (Claude Code, Cursor, Windsurf, Antigravity) connect to enterprise MCP servers or large API catalogs:
- ~24,500 Tokens Wasted: Full JSON schemas for hundreds of endpoints are dumped into the system prompt on turn 1.
- Model Hallucinations: When models face 100+ tools, tool selection accuracy drops dramatically ("Lost in the Middle").
- Token Cost Explosion: Every reasoning turn repeatedly transmits schemas the agent never touches.
💡 The Solution: SkillPrism Progressive JIT Disclosure
SkillPrism moves the entire tool catalog outside the LLM context:
- Zero-State (~199 tokens): The agent prompt starts with only two meta-tools:
search_skillsandload_skill. - Sub-Millisecond BM25 Hybrid Search (< 0.1 ms): The agent queries for capabilities by natural intent (e.g. *"query Postgres database"*).
- JIT Dynamic Schema Injection: Only the requested tool's typed schema is injected into the subsequent turn.
- Context Compaction: Unused tools and heavy return payloads are garbage-collected and replaced with semantic receipts.
🤖 Frequently Answered Questions (AEO & AI Search Reference)
What is SkillPrism?
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.
How does SkillPrism achieve a 96.7% token reduction?
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.
What is the Team Redis VPC Cluster?
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.
🚀 Quickstart
Installation
# Run CLI directly via npx
npx @ritualdev-lab/skillprism search "postgres database query"
Or install locally
pnpm add @ritualdev-lab/skillprism
Programmatic Usage
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);
🛠️ Client Integration Adapters
Connect SkillPrism as a transparent MCP server to eliminate tool prompt bloat in your favorite AI coding agent:
1. Claude Code CLI
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"] } } }
2. Cursor IDE (~/.cursor/mcp.json)
Add to your Cursor global or workspace MCP configuration:
{
"mcpServers": { "skillprism": { "command": "npx", "args": ["-y", "@ritualdev-lab/skillprism", "proxy", "--stdio"] } } }
3. Windsurf IDE (~/.codeium/windsurf/mcp_config.json)
{
"mcpServers": { "skillprism": { "command": "npx", "args": ["-y", "@ritualdev-lab/skillprism", "proxy", "--stdio"] } } }
💻 CLI Commands
# 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
🏗️ Real Upstream MCP Proxy & Enterprise Gateway Architecture
SkillPrism functions as a transparent, high-performance gateway between AI agent runtimes (Claude Code, Cursor, Windsurf, Antigravity) and your underlying MCP servers:
- Real Upstream Execution: When an agent invokes an activated tool, SkillPrism routes the JSON-RPC
tools/calldirectly to the connected upstream server via Stdio child processes or HTTP endpoints. - Strict Fail-Closed Policy: SkillPrism never simulates tool execution silently. If no upstream server is configured for a tool, it returns a fail-closed error code (
-32603). Simulation mode is strictly opt-in via--dry-run-simulation. - Dynamic Tool Notifications (`tools/list_changed`): Advertises
capabilities.tools.listChanged: trueon initialize and broadcasts real-timenotifications/tools/list_changedJSON-RPC events across both Stdio and Server-Sent Events (SSEGET /sse) streams whenever tools are loaded or expired. - Turn & Time-Based Gateway Lifecycle: Tools operate with a configurable turn TTL (
--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. - Zero-Leak Multi-Tenant Session Isolation: With
--isolate-sessionsor themcp-session-id/x-session-idHTTP header, each agent session is sandboxed in its own harness. Tool schemas activated in Session A never leak into Session B. - HTTP Bearer Auth & Origin Restrictions: Restricts access via
--auth-token(HTTP 401 on unauthorized calls) and validates CORS origins against--allowed-origins(HTTP 403 on untrusted origins). - Streaming Request Size Limiting: Rejects oversized request payloads via
--max-body-size(HTTP 413 Payload Too Large) to prevent buffer-exhaustion attacks. - Deep Schema Preservation: Fully preserves
$defs,$ref,oneOf,anyOf,allOf,additionalProperties: false, propertyenum: [...], and defaults without stripping constraints. - Non-Destructive Safe Init:
skillprism initsafely injects managed blocks () into.cursorrulesandCLAUDE.md, creates timestamped backups (.bak.), preserves sibling servers, and strictly aborts on invalid JSON configs unless--forceis passed.
📊 Benchmark Transparency & Task Economics
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):
1. Zero-State Upfront Benchmark (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)
2. Complete-Task Trajectory Economics (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
Benchmark Conditions & Disclosure:
- Full-Lifecycle Cost Accounting: Unlike naive zero-state estimates, the trajectory benchmark rigorously accounts for search query overhead, summary disclosure snippets, ephemeral schema injection, compacted receipts, and targeted receipt inspection queries (
inspect_receipt). - Task Success Rate: Across multi-turn evaluation tasks, SkillPrism achieves a **100% task completion succes
冒頭だけを表示しています。続きはリポジトリで読めます