ModLens Image Vision Bridge
liustack/modlens
Gives text-only models sight by running the modlens CLI on an image path or URL and returning structured JSON evidence with transcribed text, layout and semantics.
Guidance for using the MMSP TypeScript SDK (@prismshadow/mmsp).
$ npx skills add Prism-Shadow/model-message-stream-protocol --skill mmsp-typescript -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install Prism-Shadow/model-message-stream-protocol mmsp-typescript --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/Prism-Shadow/model-message-stream-protocol.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/mmsp-typescript .claude/skills/mmsp-typescript && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "mmsp-typescript" agent skill from https://github.com/Prism-Shadow/model-message-stream-protocol/tree/main/skills/mmsp-typescript into .claude/skills/mmsp-typescript/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "mmsp-typescript", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/Prism-Shadow/model-message-stream-protocol/tree/main/skills/mmsp-typescriptType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add Prism-Shadow/model-message-stream-protocol --skill mmsp-typescript -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install Prism-Shadow/model-message-stream-protocol mmsp-typescript --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/Prism-Shadow/model-message-stream-protocol.git skills-src && mkdir -p .agents/skills && cp -r skills-src/skills/mmsp-typescript .agents/skills/mmsp-typescript && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "mmsp-typescript" agent skill from https://github.com/Prism-Shadow/model-message-stream-protocol/tree/main/skills/mmsp-typescript into .agents/skills/mmsp-typescript/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "mmsp-typescript", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add Prism-Shadow/model-message-stream-protocol --skill mmsp-typescript -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install Prism-Shadow/model-message-stream-protocol mmsp-typescript --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/Prism-Shadow/model-message-stream-protocol.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/skills/mmsp-typescript .cursor/skills/mmsp-typescript && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "mmsp-typescript" agent skill from https://github.com/Prism-Shadow/model-message-stream-protocol/tree/main/skills/mmsp-typescript into .cursor/skills/mmsp-typescript/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "mmsp-typescript", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/Prism-Shadow/model-message-stream-protocol.git --path skills/mmsp-typescript--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add Prism-Shadow/model-message-stream-protocol --skill mmsp-typescript -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install Prism-Shadow/model-message-stream-protocol mmsp-typescript --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/Prism-Shadow/model-message-stream-protocol.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/skills/mmsp-typescript .gemini/skills/mmsp-typescript && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "mmsp-typescript" agent skill from https://github.com/Prism-Shadow/model-message-stream-protocol/tree/main/skills/mmsp-typescript into .gemini/skills/mmsp-typescript/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "mmsp-typescript", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install Prism-Shadow/model-message-stream-protocol mmsp-typescriptInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add Prism-Shadow/model-message-stream-protocol --skill mmsp-typescript -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/Prism-Shadow/model-message-stream-protocol.git skills-src && mkdir -p .github/skills && cp -r skills-src/skills/mmsp-typescript .github/skills/mmsp-typescript && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "mmsp-typescript" agent skill from https://github.com/Prism-Shadow/model-message-stream-protocol/tree/main/skills/mmsp-typescript into .github/skills/mmsp-typescript/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "mmsp-typescript", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add Prism-Shadow/model-message-stream-protocol --skill mmsp-typescript -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install Prism-Shadow/model-message-stream-protocol mmsp-typescript --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/Prism-Shadow/model-message-stream-protocol.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/skills/mmsp-typescript .opencode/skills/mmsp-typescript && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "mmsp-typescript" agent skill from https://github.com/Prism-Shadow/model-message-stream-protocol/tree/main/skills/mmsp-typescript into .opencode/skills/mmsp-typescript/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "mmsp-typescript", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
mmsp-typescriptGuidance for using the MMSP TypeScript SDK (@prismshadow/mmsp).
Mmsp Typescript is an agent skill from Prism-Shadow/model-message-stream-protocol. Guidance for using the MMSP TypeScript SDK (@prismshadow/mmsp). Use when developing agents that call different LLM APIs, need a unified interface for LLM providers, mention MMSP, request @prismshadow/mmsp, or already import it.
Its SKILL.md is about 1.4k tokens, which your agent loads only when the skill is triggered. The skill folder holds 5 other files (for example `reference/api.md`, `reference/data-models.md` and `reference/integrations.md`).
It sits in AI & LLM Engineering, covering LLM API integration. It works with TypeScript, DeepSeek, Google Gemini and OpenAI. The repository describes itself as: One interface for 1,000+ LLMs, with zero-code switching and built-in observability. (GPT-6 / Claude 5 / Gemini 3.8). The licence is Apache-2.0.
Read from SKILL.md and the folder at commit 326dc9b. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
Shell commands in SKILL.md call:
npmFrom the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md. Its commands use npm, which can reach the network depending on how they are called.
From URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Mmsp Typescript loads about 1.4k tokens when it runs. Until then it costs about 62 tokens; SKILL.md has 285 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.
The full file from Prism-Shadow/model-message-stream-protocol at commit 326dc9b, republished under its Apache-2.0 licence (© Prism-Shadow). 285 words, ~1,359 tokens.
.claude/skills/mmsp-typescript/SKILL.md (or your agent's skills folder). This skill also uses 4 other files; get the full folder from GitHub.MMSP is a unified SDK for calling LLMs across providers with shared data models, tool calling, tracing, and playground support.
npm install @prismshadow/mmspFor model IDs, API keys, and base URLs, see Model selection.
This example asks GPT to call a weather tool, runs the tool, then sends the result back.
import { AutoLLMClient, ToolCallDoneItem } from "@prismshadow/mmsp";
function getWeather(location: string): string {
return `Temperature in ${location}: 22 C`;
}
// Map tool names to their implementations so calls can be dispatched by name.
const TOOLS: Record<string, (args: Record<string, any>) => string> = {
get_weather: (args) => getWeather(args.location as string),
};
async function main(): Promise<void> {
const weatherTool = {
name: "get_weather",
description: "Gets the current weather for a given location.",
parameters: {
type: "object" as const,
properties: {
location: {
type: "string" as const,
description: "The city name",
},
},
required: ["location"],
},
};
const client = new AutoLLMClient({ model: "gpt-5.5" });
const config = { tools: [weatherTool] };
let toolCall: ToolCallDoneItem | null = null;
for await (const event of client.streamingResponseStateful({
message: {
role: "user",
content_items: [{ type: "text.done", text: "What's the weather in London?" }],
},
config,
})) {
if (event.event_type === "stop") {
// Always the last event, exactly once: the response has finished.
console.log(event.finish_reason, event.usage_metadata);
}
for (const item of event.content_items) {
if (item.type === "tool_call.done") {
toolCall = item; // the complete call; tool_call.delta items are fragments
}
}
}
if (toolCall) {
// Dispatch by tool name instead of hardcoding the function.
const result = TOOLS[toolCall.name](toolCall.arguments);
for await (const event of client.streamingResponseStateful({
message: {
role: "user",
content_items: [
{
type: "tool_result.done",
text: result,
tool_call_id: toolCall.tool_call_id,
},
],
},
config,
})) {
console.log(event);
// Streams the answer as text.delta fragments, closes it with text.done, then one stop event carrying usage:
// { role: 'assistant', event_type: 'delta', content_items: [ { type: 'text.delta', text: 'The' } ], usage_metadata: null, finish_reason: null }
// { role: 'assistant', event_type: 'delta', content_items: [ { type: 'text.delta', text: ' weather' } ], usage_metadata: null, finish_reason: null }
// { role: 'assistant', event_type: 'delta', content_items: [ { type: 'text.delta', text: ' is 22 C.' } ], usage_metadata: null, finish_reason: null }
// { role: 'assistant', event_type: 'delta', content_items: [ { type: 'text.done', text: 'The weather is 22 C.' } ], usage_metadata: null, finish_reason: null }
// { role: 'assistant', event_type: 'stop', content_items: [], usage_metadata: { cached_tokens: 0, prompt_tokens: 12, thoughts_tokens: 0, response_tokens: 8 }, finish_reason: 'stop' }
}
}
}
void main();Keep these points in mind for agent loops:
tool_call.done items. tool_call.delta items are argument fragments for live display only.tool_call_id from its originating tool_call.done. Do not invent, normalize, or reuse IDs across unrelated tool calls.ToolCallArgumentParseError in place of the tool_call.done. Do not execute the tool from partial arguments; let the agent runtime retry or re-prompt the model.stop event: it is always the last event, arrives exactly once, and always carries both. delta events carry null for both. A thinking-only response throws EmptyResponseError instead of the stop event; its usageMetadata still reports the tokens..done types (text.done, tool_result.done, …). Types without the suffix are still accepted, with a deprecation warning, until 0.6.0.thinking.done and inline_thinking.done items. Do not strip or modify fidelity fields.UniMessage in the messages array produces one embedding vector. Within a single message, all items in content_items are aggregated into a single embedding. Set embedding_config.dimensions in the config to control vector size.UniConfig, UniMessage, UniEvent, the streaming protocol, and errors.© Prism-Shadow, Apache-2.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
SKILL.md and 4 other files in skills/mmsp-typescript of Prism-Shadow/model-message-stream-protocol.
Open the folder on GitHubat commit 326dc9b
Mmsp Typescript next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Mmsp Typescript this skillPrism-Shadow/model-message-stream-protocol | 113 | — | ~1.4k | Automated safety check: Pass | Apache-2.0 | |
| ModLens Image Vision Bridgeliustack/modlens | 4.1k | — | ~1.3k | Automated safety check: Notes | MIT | |
| Gemini Interactions APIAyuilos/Miffan | 182 | — | ~4.6k | Automated safety check: Pass | AGPL-3.0 | |
| Claude APIKocoro-lab/Kocoro | 414 | 8 repos | ~4.5k | Automated safety check: Pass | Apache-2.0 | |
| Gemini API Devgoogle-gemini/gemini-skills | 4.3k | — | ~5.1k | Automated safety check: Pass | Apache-2.0 | |
| Dingo VerifyMigoXLab/dingo | 757 | — | ~833 | Automated safety check: Pass | Apache-2.0 |
liustack/modlens
Gives text-only models sight by running the modlens CLI on an image path or URL and returning structured JSON evidence with transcribed text, layout and semantics.
Ayuilos/Miffan
A skill your agent uses when writing code that calls the Gemini API for text generation, multi-turn chat, multimodal understanding, image generation, video generation, streaming responses…
Kocoro-lab/Kocoro
Build apps with the Claude API or Anthropic SDK. An agent skill from Kocoro-lab/Kocoro.
google-gemini/gemini-skills
A skill your agent uses when writing code that calls the Gemini API for text generation, multi-turn chat, multimodal understanding, image generation, video generation, speech generation (TTS), voice…
MigoXLab/dingo
A skill your agent uses when the user wants to fact-check an article or verify factual claims in a document.
starbaser/ccproxy
Operates the ccproxy inspector MITM system for intercepting, inspecting, and transforming LLM API traffic.
Prism-Shadow/model-message-stream-protocol
Guidance for using the MMSP Python SDK (mmsp). An agent skill from Prism-Shadow/model-message-stream-protocol.
Prism-Shadow/model-message-stream-protocol
Fixed workflow for developing MMSP itself — adding or updating model support, and changing its pages.
Works with
Categories
Guidance for using the MMSP TypeScript SDK (@prismshadow/mmsp). Mmsp Typescript is an agent skill from Prism-Shadow/model-message-stream-protocol. Guidance for using the MMSP TypeScript SDK (@prismshadow/mmsp).
Mmsp Typescript fits situations like: developing agents that call different LLM APIs; need a unified interface for LLM providers; request @prismshadow/mmsp; already import it.
Run `npx skills add Prism-Shadow/model-message-stream-protocol --skill mmsp-typescript -a claude-code`. Or copy the skill folder (skills/mmsp-typescript in Prism-Shadow/model-message-stream-protocol) into .claude/skills/mmsp-typescript in your project. Claude Code loads it when a task matches its description.
Run `npx skills add Prism-Shadow/model-message-stream-protocol --skill mmsp-typescript -a codex`. Or copy the skill folder (skills/mmsp-typescript in Prism-Shadow/model-message-stream-protocol) into .agents/skills/mmsp-typescript in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add Prism-Shadow/model-message-stream-protocol --skill mmsp-typescript -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/mmsp-typescript, .gemini/skills/mmsp-typescript, .github/skills/mmsp-typescript and .opencode/skills/mmsp-typescript in your project.
Going by SKILL.md and its folder, Mmsp Typescript needs the command-line tools its instructions call (npm). Our summary lists: Node.js.
SKILL.md contains no URLs. Its commands use npm, which can reach the network depending on how they are called. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.
Mmsp Typescript is published under the Apache-2.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 1.4k tokens (SKILL.md is roughly 5.4k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
Skills that share tags, products or a category with Mmsp Typescript: ModLens Image Vision Bridge (liustack/modlens, 4.1k stars), Gemini Interactions API (Ayuilos/Miffan, 182 stars), Claude API (Kocoro-lab/Kocoro, 414 stars) and Gemini API Dev (google-gemini/gemini-skills, 4.3k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
Prism-Shadow (a GitHub organization) maintains it in Prism-Shadow/model-message-stream-protocol, which has 113 GitHub stars. The repository holds 3 skills in this directory. The repository was last updated on October 4, 2026.
Source: Prism-Shadow/model-message-stream-protocol on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.