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 IgorGanapolsky/ThumbGate --skill embeddinggemma-multimodal-firewallgit clone --depth 1 https://github.com/IgorGanapolsky/ThumbGateWrote 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/igorganapolsky/thumbgate/embeddinggemma-multimodal-firewall)<a href="https://agentmods.dev/skills/igorganapolsky/thumbgate/embeddinggemma-multimodal-firewall"><img src="https://agentmods.dev/badge/skills/igorganapolsky/thumbgate/embeddinggemma-multimodal-firewall/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/igorganapolsky/thumbgate/embeddinggemma-multimodal-firewall"><img src="https://agentmods.dev/badge/skills/igorganapolsky/thumbgate/embeddinggemma-multimodal-firewall.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.00073 | $0.00360 |
| Opus 5.5 | $0.00029 | $0.00144 |
| Sonnet 5.5 | $0.00015 | $0.00072 |
| Haiku 4.5 | $0.00007 | $0.00036 |
Grade A, and why
embeddinggemma-multimodal-firewall 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 1mo 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.
What it actually says
EmbeddingGemma 2 Multimodal Firewall (DeepMind Steal)
Replaces brittle, single-modality 512-token embeddings with 8K-context, sub-0.5ms MRL-truncated multimodal pre-action interdiction that costs $0 in cloud tokens.
Commands
# Run system doctor diagnostic
npm run embeddinggemma:doctor
# CLI diagnostic (JSON or text)
npx thumbgate embeddinggemma --json
# Run unit test suite
node --test tests/embeddinggemma-adapter.test.js
Architectural Pillars
- 8K Context Window: Ingests up to 8,192 tokens (~32KB chars) without chunking, capturing entire multi-file diffs and terminal stack traces.
- Matryoshka Representation Learning (MRL): Native 768d truncates to 256d fast-gate with unit L2 re-normalization, cutting dot product compute by 66.7% for
<0.5msPreToolUse firewall evaluation. - Multimodal State Unification: Maps visual UI DOM/screenshots (BrowserOS Neo / Playwright) and bash commands into the same vector space.
- Fail-Closed RAG Identity Diode: Blocks cross-model vector distance calculations to prevent embedding pollution.
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.
- 1mo ago First seen · 29 lines · 73 tokens per session scan A e40efc8269eb
embeddinggemma-multimodal-firewall is a skill published in the GitHub repository IgorGanapolsky/ThumbGate (34 stars, last pushed today), licensed MIT. It adds 73 tokens to every session and 360 once invoked, about $0.0003 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-10-12.
embeddinggemma-multimodal-firewall compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| embeddinggemma-multimodal-firewallIgorGanapolsky/ThumbGate | Skill | 34 | today | MIT | A | 73 | Claude Code |
| llamaguarddavila7/claude-code-templates | Skill | 34k | today | MIT | A | 74 | Claude Code, Codex |
| llamaguardsynthetic-sciences/openscience | Skill | 4.5k | yesterday | Apache-2.0 | A | 74 | Claude Code, Codex |
| rag-pipeline-designRBraga01/builder-ai | Skill | 2 | 2d ago | MIT | A | 40 | Claude Code |
| llamaguardOrchestra-Research/AI-Research-SKILLs | Skill | 15k | 1mo ago | MIT | A | 74 | Claude Code |
| rag-implementationaisa-group/skill-inject | Skill | 102 | 23d ago | MIT | A | 49 | Claude Code, Codex |
| agentfootprintfootprintjs/agentfootprint | Skill | 22 | yesterday | MIT | A | 72 | Claude Code, Codex |