ต้นแบบ · รุ่นทดลอง: มีทุก server ในทะเบียนทางการ อัปเดตทุก 30 นาที รีวิวและบัญชีผู้ใช้จะมาในขั้นถัดไป
PopNx MCPที่รวม MCP สำหรับคนใช้ AI · อธิบายเป็นภาษาคน

SkillPrism MCP Context Optimizer & Tool Search Proxy

โดย RitualDev-Labรุ่น 1.2.4i★ –iรันบนเครื่อง
ชื่อใน registryio.github.RitualDev-Lab/skillprism

ติดตั้ง

ภาพรวม

คำอธิบายจากผู้ทำ (ภาษาอังกฤษตามต้นฉบับ)

Progressive Skill Disclosure, Semantic Tool Search & Context Optimizer for AI Agents

สามเสาของ PopNx MCP

สามเรื่องนี้ไม่รวมเป็นคะแนนเดียว เพราะความเห็น การวัด และความนิยม เป็นคนละเรื่องกัน

ใช้ทำอะไรได้

ตัวนี้ยังไม่ได้เรียบเรียงเป็นภาษาไทย ด้านล่างคือข้อเท็จจริงที่เราอ่านจาก registry

  • การเชื่อมต่อ: รันบนเครื่อง
  • ช่องทาง (transport): stdio
  • หมวด: ค้นข้อมูลและความจำของ AI

ติดตั้ง

เลือกโปรแกรม AI ที่คุณใช้ แล้วคัดลอกค่าตั้งไปวาง

ก่อนติดตั้ง

ต้องเตรียมก่อน

  • npmติดตั้ง Node.js (มีคำสั่ง npx) ในเครื่อง

คุณใช้แอปไหน

เลือกแอปด้านบน เราจำไว้ให้ ครั้งหน้าปุ่มจะขึ้นว่า “ติดตั้งลง …”

เปิด Claude Desktop → Settings → Developer → Edit Config แล้ววางค่านี้ในไฟล์ claude_desktop_config.json

{
  "mcpServers": {
    "skillprism": {
      "command": "npx",
      "args": [
        "-y",
        "@ritualdev-lab/skillprism"
      ]
    }
  }
}

พิมพ์คำสั่งนี้ใน Terminal

claude mcp add skillprism -- npx -y @ritualdev-lab/skillprism

เปิดใน Cursor

หรือคัดลอกค่าตั้งเอง

วางในไฟล์ .cursor/mcp.json ของโปรเจกต์ หรือ ~/.cursor/mcp.json

{
  "mcpServers": {
    "skillprism": {
      "command": "npx",
      "args": [
        "-y",
        "@ritualdev-lab/skillprism"
      ]
    }
  }
}

เบราว์เซอร์จะถามก่อนเปิดแอป จากนั้นแอปแสดงค่าตั้งให้ตรวจแล้วกดยืนยัน ช่อง key เว้นว่างไว้ให้คุณใส่เอง

เปิดใน VS Code

หรือคัดลอกค่าตั้งเอง

วางในไฟล์ .vscode/mcp.json ของโปรเจกต์

{
  "servers": {
    "skillprism": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@ritualdev-lab/skillprism"
      ]
    }
  }
}

เบราว์เซอร์จะถามก่อนเปิดแอป จากนั้นแอปแสดงค่าตั้งให้ตรวจแล้วกดยืนยัน ช่อง key เว้นว่างไว้ให้คุณใส่เอง

ตัวนี้รันในเครื่องคุณ แต่ ChatGPT ต่อได้เฉพาะ server บนอินเทอร์เน็ต ลองเลือกแอปอื่น

ตัวเลือกเก็บในคุกกี้บนเครื่องนี้ ไม่ต้องมีบัญชี

ค่าตั้งนี้สร้างจากข้อมูลใน registry ของผู้ทำ ถ้าไม่ตรงกับ README ให้เชื่อ README

ทำอะไรได้บ้าง

รันในเครื่องคุณ รายการเครื่องมือจะขึ้นในแอป AI หลังติดตั้ง

ผลตรวจเบื้องต้นi

เราตรวจจากข้อมูลที่ใครก็เปิดดูได้ ยังไม่ได้อ่านโค้ด ข้อที่ไม่เกี่ยวกับตัวนี้ไม่นับในตัวหาร · ตรวจเมื่อ 7 พ.ย. 2569

  • ✓ ผ่าน

    ตัวตนผู้ทำตรงกับ repo

    ชื่อใน registry ยืนยันด้วยบัญชี GitHub RitualDev-Lab ซึ่งเป็นเจ้าของ repo

  • … ยังไม่ตรวจ

    ยังมีคนดูแล

    ยังไม่ได้อ่านข้อมูล repo จาก GitHub

  • … ยังไม่ตรวจ

    มีสัญญาอนุญาต (license)

    ยังไม่ได้อ่านข้อมูล repo จาก GitHub

  • – ไม่เกี่ยว

    endpoint ตอบ

    ตัวนี้รันบนเครื่องคุณ ไม่มี endpoint บนอินเทอร์เน็ต

  • – ไม่เกี่ยว

    ล็อกอินแบบ OAuth

    ตัวนี้รันบนเครื่อง ใช้ค่าที่ตั้งในเครื่องแทน

  • … ยังไม่ตรวจ

    คำอธิบายเครื่องมือไม่มีคำสั่งแอบแฝง

    รันในเครื่องคุณ เราอ่านรายการเครื่องมือได้เฉพาะตัวที่มี endpoint บนอินเทอร์เน็ต

เทียบกับตัวอื่นในหมวด ค้นข้อมูลและความจำของ AIi

  • ดาวมากกว่า 0% ของอีก 7284 ตัวในหมวดนี้
  • ส่งรุ่นใหม่เข้า registry ล่าสุดกว่า 99% ของอีก 7284 ตัวในหมวดนี้
  • ผลตรวจเบื้องต้นดีกว่าหรือเท่ากับ 100% ของอีก 7284 ตัวในหมวดนี้

เทียบกับทุก server ที่ยังใช้งานในหมวดนี้ทั้งทะเบียน ดาวนับเฉพาะเมื่อผู้ลงทะเบียนเป็นเจ้าของ repo

คำถามที่พบบ่อย

SkillPrism MCP Context Optimizer & Tool Search Proxy ปลอดภัยไหม?

จากการตรวจเบื้องต้นของเรา ผ่าน 1 จาก 1 ข้อที่ตรวจได้ เรายังไม่ได้อ่านโค้ด ก่อนใส่กุญแจหรือ token ให้ดูว่า server ขอสิทธิ์อะไร และเลือกกุญแจที่ทำได้เท่าที่จำเป็น

ต้องใช้กุญแจหรือรหัสอะไรบ้าง?

registry ไม่ได้ระบุว่าต้องใช้กุญแจ แต่บางตัวจะขอให้ล็อกอินตอนใช้ครั้งแรก

ตัวนี้รันบนเครื่องหรือบนคลาวด์?

รันบนเครื่องของคุณ โปรแกรม AI จะเปิด server ขึ้นมาเองเมื่อใช้ ข้อมูลไม่ต้องผ่านเซิร์ฟเวอร์ของผู้ทำ (ยกเว้นตัวที่ไปเรียกบริการออนไลน์ต่อ)

ยังมีคนดูแลอยู่ไหม?

repo บน GitHub มีการแก้โค้ดล่าสุด – และส่งรุ่นล่าสุด (1.2.4) เข้า registry วันนี้

ใช้กับโปรแกรมไหนได้บ้าง?

โปรแกรมที่รองรับ MCP เช่น Claude Desktop, Claude Code, Cursor และ VS Code ตัวนี้ต้องมี Node.js ในเครื่องด้วย

มีตัวไหนใช้แทนได้บ้าง?

ในหมวดเดียวกันมี Context7, Codebase Memory, Exa

ตัวที่ใช้แทนได้

server หมวดเดียวกันจากผู้ทำคนอื่น เรียงตามดาว

อ่านการ์ด:★ ดาว GitHubiสามเสา: รีวิว · ผลตรวจ · การใช้งานiอัปเดต = วันที่ส่งรุ่นล่าสุดเข้า registryi

Context7

โดย upstash

ส่งคู่มือการใช้ไลบรารีและเฟรมเวิร์กรุ่นล่าสุดให้ AI อ่านก่อนตอบ ช่วยให้โค้ดที่ AI เขียนไม่ใช้คำสั่งเก่าที่เลิกใช้แล้ว

บนเครื่องหรือคลาวด์★ 64,224MITอัปเดต เมื่อวาน
ติดตั้ง

Codebase Memory

โดย DeusData

Codebase knowledge graph for AI agents — 162 languages, sub-ms queries, 99% fewer tokens.

รันบนเครื่อง★ 48,148MITอัปเดต 21 วันที่ผ่านมา
ติดตั้ง

Exa

โดย exa-labs

Connect AI agents to Exa for web search, content fetching, and multi-step research.

รันบนคลาวด์★ 5,213MITอัปเดต เดือนที่แล้ว
ติดตั้ง

README จากผู้ทำ

เปิดอ่าน README

ส่วนนี้คัดจาก repo ของผู้ทำตามต้นฉบับ 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:

  1. Zero-State (~199 tokens): The agent prompt starts with only two meta-tools: search_skills and load_skill.
  2. Sub-Millisecond BM25 Hybrid Search (< 0.1 ms): The agent queries for capabilities by natural intent (e.g. *"query Postgres database"*).
  3. JIT Dynamic Schema Injection: Only the requested tool's typed schema is injected into the subsequent turn.
  4. 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/call directly 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: 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 & 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-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.
  • 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, property enum: [...], and defaults without stripping constraints.
  • Non-Destructive Safe Init: skillprism init safely injects managed blocks ( ) into .cursorrules and CLAUDE.md, creates timestamped backups (.bak. ), preserves sibling servers, and strictly aborts on invalid JSON configs unless --force is 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:
  1. 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).
  2. Task Success Rate: Across multi-turn evaluation tasks, SkillPrism achieves a **100% task completion succes

ตัดมาแค่ช่วงต้น อ่านต่อใน repo

ถาม PopNx