Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx skills add roedyrustam/vibes-plug --skill local-slm-edge-ai-expertgit clone --depth 1 https://github.com/roedyrustam/vibes-plugWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/roedyrustam/vibes-plug/local-slm-edge-ai-expert)<a href="https://agentmods.dev/skills/roedyrustam/vibes-plug/local-slm-edge-ai-expert"><img src="https://agentmods.dev/badge/skills/roedyrustam/vibes-plug/local-slm-edge-ai-expert/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/roedyrustam/vibes-plug/local-slm-edge-ai-expert"><img src="https://agentmods.dev/badge/skills/roedyrustam/vibes-plug/local-slm-edge-ai-expert.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00061 | $0.01785 |
| Opus 5 | $0.00030 | $0.00892 |
| Sonnet 5 | $0.00012 | $0.00357 |
| Haiku 4.5 | $0.00006 | $0.00178 |
Grade A, and why
local-slm-edge-ai-expert scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured today.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 168 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Local SLM & Edge AI Expert (WebGPU & In-Browser Intelligence)
English
Purpose & Overview
Production-grade architectural guide for running Small Language Models (SLMs) and embedding models directly inside client browsers and edge runtimes. Eliminates cloud API costs, guarantees 100% data privacy (zero cloud data leakage), and enables instant, offline-capable AI features using WebGPU, Transformers.js v3, WebLLM, and ONNX Runtime Web.
Key Capabilities
- Client-Side Model Execution: Running quantized 1B–4B SLMs (Llama 3.2 1B/3B, Gemma 2 2B, Phi-3.5 Mini, Qwen 2.5 1.5B/3B) entirely inside the user's browser via WebGPU.
- In-Browser Embeddings: Fast client-side vector embeddings with models like
all-MiniLM-L6-v2orbge-small-en-v1.5using Transformers.js v3. - Hybrid Edge-Cloud Fallback: Gracefully falling back to server-side LLMs when client hardware lacks WebGPU or sufficient VRAM.
- Zero-Latency PII Masking: Anonymizing sensitive user data locally on the client before sending queries to external LLMs.
Production Implementation Recipes
Recipe 1: In-Browser Semantic Embedding Generation with Transformers.js v3
import { pipeline, env } from '@huggingface/transformers';
// Configure cache and worker settings
env.allowLocalModels = false;
env.useBrowserCache = true;
let embedder: any = null;
export async function getLocalEmbedding(text: string): Promise<number[]> {
if (!embedder) {
embedder = await pipeline('feature-extraction', 'Xenova/all-MiniLM-L6-v2', {
dtype: 'fp32',
device: 'webgpu', // Accelerate via WebGPU if supported
});
}
const output = await embedder(text, { pooling: 'mean', normalize: true });
return Array.from(output.data);
}
Recipe 2: WebLLM In-Browser Chat Assistant with WebGPU
import * as webllm from '@mlc-ai/web-llm';
export async function createLocalChatEngine(onProgress?: (report: webllm.InitProgressReport) => void) {
// Check WebGPU compatibility
if (!('gpu' in navigator)) {
throw new Error('WebGPU is not supported in this browser. Fallback to cloud API.');
}
const selectedModel = 'Llama-3.2-1B-Instruct-q4f32_1-MLC';
const engine = await webllm.CreateMLCEngine(selectedModel, {
initProgressCallback: onProgress,
});
return {
generateResponse: async (prompt: string): Promise<string> => {
const reply = await engine.chat.completions.create({
messages: [{ role: 'user', content: prompt }],
temperature: 0.2,
});
return reply.choices[0]?.message.content || '';
},
};
}
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- today First seen · 168 lines · 61 tokens per session scan A 738308dea30c
local-slm-edge-ai-expert is a skill published in the GitHub repository roedyrustam/vibes-plug (53 stars, last pushed today), licensed MIT. It adds 61 tokens to every session and 1,785 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-12.
Other skills, from other repositories
browser-testing-with-devtools
Tests in real browsers via Chrome DevTools MCP. Use when building or debugging anything that runs in a browser. Use when you need to inspect the DOM, capture console errors, analyze network requests, profile performance, or verify visual output with real runtime data. Requires the chrome-devtools MCP server to be…
iflytek-image-understanding
An image-analysis tool that describes pictures and answers questions about what they contain. It uses an AI vision service, which interprets visual content rather than only reading text files.
playwright-skill
Complete browser automation with Playwright. Auto-detects dev servers, writes clean test scripts to /tmp. Test pages, fill forms, take screenshots, check responsive design, validate UX, test login flows, check links, automate any browser task. Use when user wants to test websites, automate browser interactions…
chrome-devtools
Browser debugging, performance profiling, and automation via Chrome DevTools MCP. Use when user says "debug this page", "take a screenshot", "check network requests", "profile performance", "inspect console errors", or "analyze page load". Do NOT use for full E2E test suites (use playwright-skill) or non-browser…
gemini-cli
Generates images and text via reverse-engineered Gemini Web API. Suitable for AI Pro and higher tier subscription users. Supports text generation, image generation from prompts, reference images for vision input, and multi-turn conversations. Use when other skills need image generation backend, or when user requests…
prompt-engineer
Expert prompt engineering for AI systems. Use when the user wants to write or review prompts for AI, create instructions for AI systems, build system prompts, review or improve existing prompts, optimize AI instructions, or create any form of written communication intended for AI consumption (Claude, GPT, or other…