cratis-lens-browser-extension

cratis-lens-browser-extension is a skill for Claude Code, Codex from Cratis/AI. It costs 102 tokens per session (2,836 once invoked), scanned A, original, MIT.

A guide to Lens, a browser extension for a running Cratis Arc application. It lets a developer switch the test user and tenant, then send commands or queries from the extension popup.

In plain words
What is it for?
Use it to build and side-load Lens, connect it to an Arc app, troubleshoot detection, change the active identity or tenant, and run commands or queries.
Why use it?
It provides a way to inspect and exercise a local Arc application without changing the application itself. It also explains how to build and load the extension when no public store package exists.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to build and side-load Lens, connect it to an Arc app, troubleshoot detection, change the active identity or tenant, and run commands or queries.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/cratis/ai/cratis-lens-browser-extension
View source ↗ Cratis/AI
Install

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.

Any agent
npx skills add Cratis/AI --skill cratis-lens-browser-extension
Clone the repo
git clone --depth 1 https://github.com/Cratis/AI

Made for: Claude Code, Codex.

Wrote 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.

agentmods badge for cratis-lens-browser-extension

README.md
[![agentmods](https://agentmods.dev/badge/skills/cratis/ai/cratis-lens-browser-extension.svg)](https://agentmods.dev/skills/cratis/ai/cratis-lens-browser-extension)
Your own site
<a href="https://agentmods.dev/skills/cratis/ai/cratis-lens-browser-extension"><img src="https://agentmods.dev/badge/skills/cratis/ai/cratis-lens-browser-extension.svg" alt="Measured on agentmods" height="20"></a>
Per session 102 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,836 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.00102 $0.02836
Opus 5 $0.00051 $0.01418
Sonnet 5 $0.00020 $0.00567
Haiku 4.5 $0.00010 $0.00284

Measured yesterday against content hash 83cdd6356442, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, from the pricing page.

Security

Grade A, and why

cratis-lens-browser-extension 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 yesterday.

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.

skills/cratis-lens-browser-extension/SKILL.md · 240 lines

How it starts

The opening of the file, as written. The whole thing — 240 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Use Lens against a running Arc application

Lens is a Manifest V3 browser extension that impersonates a user and a tenant against an Arc application you are developing, and executes that application's commands and queries from a popup. It changes nothing in the application: it rewrites request headers at the network boundary and reads Arc's own introspection endpoints.

⚠️ Lens is a development tool that can present any identity to any origin the developer points it at. Nothing in it is production tooling.

Verified product sources

Source Version Purpose
Cratis/Lens Source/ manifest 1.0.0, repository revision 3d0df87 The extension itself
Cratis.Arc.Core 22.10.4 The /.cratis/* endpoints, the forwarded-identity contract, and the tenancy header Lens depends on

⚠️ There is no published store listing. Nothing in the Lens repository links a Chrome Web Store, Edge Add-ons, AMO, or App Store entry — the only store URLs present are developer-console links inside its own publishing guide. Building from source and loading unpacked is the only install path that exists.

Install

cd Source
yarn install
yarn build          # writes the unpacked extension to Source/dist/

Then open chrome://extensions, enable Developer mode, choose Load unpacked, and select Source/dist. Chrome lists it as Cratis Lens — the name in manifest.json; the repository's own tutorial calls it "Lens - Cratis Developer Tools", which is stale.

yarn dev is vite build --watch; the extension still has to be reloaded in Chrome after each rebuild. yarn ci runs typecheck, test and build — the same three the pull-request workflow runs. There is no lint script.

The code uses the chrome.* namespace throughout with no polyfill. The release workflow also packages for Edge, Firefox and Safari, but no cross-browser behavior is tested; treat Chromium as the supported target.

What the Arc application must already provide

Read the full file on GitHub · 240 lines

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

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.

  1. yesterday First seen · 240 lines · 102 tokens per session scan A 83cdd6356442

Subscribe to this mod's changes

cratis-lens-browser-extension is a skill published in the GitHub repository Cratis/AI (2 stars, last pushed yesterday), licensed MIT. It adds 102 tokens to every session and 2,836 once invoked, about $0.0005 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-06.

Related

Other skills, from other repositories

chrome-devtools-mcp

Use Chrome DevTools MCP from .NET agents and .NET-focused repos to inspect, debug, and automate Chrome through an MCP client. USE FOR: the repo needs browser-level debugging for ASP.NET Core, Blazor, WebAssembly, or any .NET app with a web UI; the user wants an MCP server that can inspect console. DO NOT USE FOR: pure…

managedcode/dotnet-skills · 130 tokens

chrome-devtools

Browser automation, debugging, and performance analysis using Puppeteer CLI scripts. Use for automating browsers, taking screenshots, analyzing performance, monitoring network traffic, web scraping, form automation, and JavaScript debugging.

duongthinh03/portfolio · 45 tokens

chrome-devtools-cli

Use this skill to write shell scripts or run shell commands to automate tasks in the browser or otherwise use Chrome DevTools via CLI.

ChromeDevTools/chrome-devtools-mcp · 31 tokens

nullaway

Guide for resolving NullAway static analysis errors. Best practices for: Passing ObservableSupplier/Supplier Dereferencing potentially @Nullable values Adding @NullMarked to Java code.

chromium/chromium · 43 tokens

gn-deps-debugging

Diagnose Chromium GN dependency and include-visibility failures, including BUILD.gn deps/publicdeps, DEPS include rules, private headers, and circular dependencies. Use for build or gn check dependency errors, not C++/link/runtime/test failures.

chromium/chromium · 56 tokens

opencli-autofix

Automatically fix broken OpenCLI adapters when commands fail. Load this skill when an opencli command fails — it guides you through collecting a trace artifact, patching the adapter, retrying, and filing an upstream GitHub issue after a verified fix. Works with any AI agent.

jackwener/OpenCLI · 61 tokens