Stateless MCP Skills Gateway — AI skill for Claude Code
Stateless MCP & Agent Skills gateway implementing AAIF progressive disclosure (Python + Next.js) to eliminate LLM tool bloat.
How to install Stateless MCP Skills Gateway
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open nazaa-arch/stateless-mcp-skills-gateway and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Stateless MCP Skills Gateway does
Stateless MCP & Agent Skills gateway implementing AAIF progressive disclosure (Python + Next.js) to eliminate LLM tool bloat.
Alternatives in AI
- Image Use — Use your ChatGPT subscription to generate images from the command line — no OPENAI_API_KEY, no gateway, no dae 373 ★
- Mancode — AI coding agent harness 358 ★
- ChatGPT Imagegen — Use your ChatGPT subscription to generate images from the command line — no OPENAI_API_KEY, no gateway, no dae 333 ★
README
stateless-mcp-skills-gateway
Gateway **Stateless MCP & Agent Skills** (**Python + TypeScript / Next.js**) yang mengimplementasikan pola **Progressive Disclosure** (Agentic AI Foundation / AAIF) untuk mengatasi *tool bloat* pada prompt LLM dengan memuat instruksi `SKILL.md` dan skema JSON MCP secara dinamis sesuai konteks.
Fitur Utama
- Arsitektur 3-Tahap AAIF:
- Tahap 0 (
discover_catalog): Mengirim indeks ringkas nama + deskripsi singkat dengan jejak token minimal. - Tahap 1 (
route_context): Memilih hanya top-K skill & tool MCP yang relevan terhadap kueri pengguna dan menghitung penghematan token secara presisi. - Tahap 2 (
hydrate_skill,hydrate_tool_schema): Memuat penuh isiSKILL.mddaninputSchemasecara stateless hanya saat dibutuhkan.
- Tahap 0 (
- Stateless MCP Server (stdio JSON-RPC 2.0): Siap dihubungkan sebagai meta-gateway di depan puluhan/ratusan tools MCP.
- Next.js Inspector UI (
web/): Menampilkan metrik baseline tokens vs disclosed tokens dan daftar tool aktif.
Instalasi
git clone https://github.com/nazaa-arch/stateless-mcp-skills-gateway.git
cd stateless-mcp-skills-gateway
Contoh Penggunaan
# Simulasikan progressive disclosure dan simpan laporan untuk UI Next.js
python -m gateway.cli route --query "audit kepatuhan uu pdp pada dataset csv" --skills-dir ./skills --tools-json ./tools.json --out web/public/route-report.json
# Jalankan server MCP gateway stateless
python -m gateway.cli serve --skills-dir ./skills --tools-json ./tools.json
# Jalankan unit tests
python -m unittest discover -s tests -v
Lisensi
MIT License — lihat [LICENSE](LICENSE).
Related Skills
Document Specialist Skill
Claude Code Skill. AI-powered software documentation automation. Professional software documentation specialis
Lycoris
Portable scaffold for AI coding agents — anchored markup, contracts, traceable requirements, human-readable kn
Agentic Decision OS
Minimal zero-RAG Personal Decision & Project Execution OS for Cursor / Claude Code / Obsidian — deterministic
Yi API
AI模型聚合管理中转分发系统,支持将多种大模型转为统一格式调用,支持OpenAI、Claude、Gemini等格式,可供个人或者企业内部管理与分发渠道使用。🍥 The next-generation LLM gatew
Modal Claude Agent SDK Python
This package wraps the Claude Agent SDK to execute AI agents in secure, scalable Modal containers. It provides
Style DNA Ghostwriter
Learn a codebase's unwritten conventions (Python, React, Next.js, TypeScript, Tailwind) and condition AI codin
Related Agents
Context Quality Reviewer
Reads CLAUDE.md and .claude/rules/ for a project and evaluates quality via LLM-judgment: length, internal cont
Frontend Specialist FastAPI
Use this agent when working on frontend development tasks for web applications that integrate with Python/Fast
UX Critic
Plugin UX reviewer. Evaluates cognitive clarity, discoverability, workflow composition, and progressive disclo