Skip to main content

model-proxy

Use when configuring, running, or verifying the UTK model proxy — the OpenAI-compatible local context gateway for GitHub Copilot — including history compaction into recoverable [utk-block] summaries, deferred tool discovery (utk_find_tool), repeated/stale tool-output dedupe, route-specific compactors, observe-only cache-volatility detection, expand_context and proof recovery endpoints, prompt-compression policy, upstream provider routing (github-models, azure-ai-inference, azure-openai, openai), and .utk/model-proxy artifacts

来源信息

仓库
Tyler-R-Kendrick/universal-token-killer
最近来源活动
2026年7月2日 21:17
检测到的 SKILL.md 语言
英语
星标
0
分支
0

安装方式

默认使用会先检查来源的 Prompt;你也可以切换为直接命令,或下载本地副本。

检查来源文件

决定是否安装前,请先阅读 SKILL.md,以及 SkillsMP 当前展示的配套文件。

文件资源管理器
5 个文件

正在显示 SKILL.md

SKILL.md
来源说明 · 只读预览
name
model-proxy
description
Use when configuring, running, or verifying the UTK model proxy — the OpenAI-compatible local context gateway for GitHub Copilot — including history compaction into recoverable [utk-block] summaries, deferred tool discovery (utk_find_tool), repeated/stale tool-output dedupe, route-specific compactors, observe-only cache-volatility detection, expand_context and proof recovery endpoints, prompt-compression policy, upstream provider routing (github-models, azure-ai-inference, azure-openai, openai), and .utk/model-proxy artifacts
# UTK Model Proxy Use this skill to configure, run, and verify `@utk/model-proxy` — UTK's OpenAI-compatible local proxy that reduces repeated context before requests reach the upstream provider. The proxy is context-gateway, not a public CLI or VS Code extension. It forwards Chat Completions, Responses, and Models requests while keeping originals local under `.utk/model-proxy` and returning compact, recoverable model-visible text. Default behavior is local-first: remote compressors and model downloads stay disabled unless explicitly enabled. ## References - `references/pipeline.md`: request pipeline (normalize → policy → budget → prompt optimize → content route → retention → tool discovery → persist → forward → recover) and local-first compaction behavior. - `references/endpoints-and-recovery.md`: HTTP endpoints plus `expand_context`, `proof`, and `find_tool` recovery contracts. - `references/configuration.md`: `[model_proxy]` policy defaults, provider routing, and metrics. ## Commands ```bash npm run build -w @utk/model-proxy npm test -w @utk/model-proxy ``` Keep detok MCP and preToolUse hook guidance in the `detoks` skill and the `utk-detoks` plugin; keep tool-hook mediation in the `utk` skill.
在 GitHub 查看