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.02055 |
| Opus 5.5 | $0.00024 | $0.00822 |
| Sonnet 5.5 | $0.00012 | $0.00411 |
| Haiku 4.5 | $0.00006 | $0.00205 |
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 6d ago.
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 — 178 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
Orchestration & Integration
- Model Routing & Cost Optimization:
llm-finops-router,adaptive-model-cascade,frontier-ai-models-expert - Edge Runtimes & Frontend:
senior-frontend,pwa-offline-first-expert,wasm-edge-computing-expert - Local Vectors & RAG:
vector-db-rag-expert,agentic-memory-architect,session-memory-manager - Privacy & Safety Guardrails:
compliance-gdpr-privacy-expert,ai-safety-governance-expert,zero-trust-secret-vault - Lifecycle & Governance:
zero-to-prod-orchestrator,anti-slop
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);
}
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.
- 6d ago Changed · +8 lines · +61 tokens per session d9c5f4a96a10
- 7d ago Changed · +2 lines · -61 tokens per session 76fe0ae1b0e5
- 10d ago Changed baecf8e75ff8
- 19d ago Changed 825823da0068
- 24d ago Changed 75a4de1de8ec
- 25d ago Changed 739288bc42ed
- 27d ago Changed · -6 lines · +44 tokens per session dcada031c87f
- 29d ago Changed · +6 lines · -44 tokens per session e66046b9a2a6
- 1mo ago Changed 79c3fca1f562
- 1mo ago 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 (115 stars, last pushed yesterday), licensed MIT. It adds 61 tokens to every session and 2,055 once invoked, about $0.0002 per session on Opus 5.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
ai-engineering-toolkit
Overview of six AI engineering workflows: prompt evaluation (8-dimension scoring), context budget planning, RAG pipeline design, agent security audit (65-point checklist), eval harness building, and product sense coaching.
ai-prompt-regression-testing
Use when comparing prompt changes against a fixed evaluation set: record actual model settings, required checks, missing results, judge limitations and case-level regression evidence.
ai-engineering-toolkit
6 production-ready AI engineering workflows: prompt evaluation (8-dimension scoring), context budget planning, RAG pipeline design, agent security audit (65-point checklist), eval harness building, and product sense coaching.
ai-prompt-regression-testing
Prompt engineering regression test matrix register: baseline outputs, semantic drift thresholds, judge evaluations, and golden dataset.
webapp-testing
Toolkit for interacting with and testing local web applications using Playwright. Supports verifying frontend functionality, debugging UI behavior, capturing browser screenshots, and viewing browser logs.
prompt-modeler
Generate structured strategic prompts with diagnostic and multiple options. Triggers on: /modelar-prompt.