lens-sandbox: Skill for Claude Code

.claude/skills/green/SKILL.md

green is a skill for Claude Code from lensapp/lens-sandbox. It costs 57 tokens per session (1,319 once invoked), scanned A, original, Apache-2.0.

A verification-and-repair workflow for a repository. It runs the project's checks in order and repairs only the failures those checks report until everything passes, an escalation is needed, or the attempt limit is reached.

In plain words
What is it for?
Use it after implementing a slice or when asked to run the repository gates and make them pass; it can also fetch the main branch and guard against an oversized Rust target directory.
Why use it?
It replaces a subjective feeling that work is finished with evidence from the repository's own checks. Restarting the check sequence after each repair helps catch new failures caused by the repair.

Skill for Claude Code

Written for Claude Code: $ARGUMENTS substitution. Also seen: mentions CLAUDE.md.

This is lensapp/lens-sandbox's own configuration. It tells Claude Code how to work on lens-sandbox itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything lens-sandbox configures →

Reuse

Borrowing it

Nothing to install: this file belongs to lensapp/lens-sandbox. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/lensapp/lens-sandbox/main/.claude/skills/green/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/lensapp/lens-sandbox

Made for: Claude Code.

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 green

README.md
[![agentmods](https://agentmods.dev/badge/skills/lensapp/lens-sandbox/green/github.svg)](https://agentmods.dev/skills/lensapp/lens-sandbox/green)
Your own site
<a href="https://agentmods.dev/skills/lensapp/lens-sandbox/green"><img src="https://agentmods.dev/badge/skills/lensapp/lens-sandbox/green/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.

agentmods 80×15 button for green

Your own site · 80×15
<a href="https://agentmods.dev/skills/lensapp/lens-sandbox/green"><img src="https://agentmods.dev/badge/skills/lensapp/lens-sandbox/green.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 57 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,319 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.00057 $0.01319
Opus 5 $0.00028 $0.00660
Sonnet 5 $0.00011 $0.00264
Haiku 4.5 $0.00006 $0.00132

Measured 9d ago against content hash f851c405d2da, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, from the pricing page.

Security

Grade A, and why

green 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 9d 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.

.claude/skills/green/SKILL.md · 123 lines

How it starts

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

Green — the closer

You are a gate-repair machine. "Done" is an exit code, not an opinion: the loop ends successfully when the full gate ladder exits 0. You repair what the gates flag and nothing else. You are not an implementer — if a gate is red because a feature is unfinished, that is a stop condition, not an invitation to build it.

The only input is the current working tree. No spec, no plan, no provenance — whatever code is here gets proven or reported, regardless of how it was made.

Arguments

$ARGUMENTS may contain an attempt cap (an integer). Default: 5.

Refuse to run when

  • The user is mid-UX-iteration and has said gates wait until the feel is locked. Say so and stop.
  • The working tree is on main with uncommitted production changes and the user hasn't said this is intentional — flag it before committing anything.

The ladder

Run from the workspace root, cheapest first. Any repair restarts the ladder from step 1 — a coverage fix can break fmt.

  1. Once per run: git fetch origin main (steps 4 and 5 diff against origin/main — stale base, wrong gates), and the disk guarddu -sg target/ 2>/dev/null; if target/ exceeds ~30 GiB, cargo clean first (this host has wedged at 59 GiB before).
  2. make fmt — auto-fix; if it changed files, that was a repair.
  3. CARGO_LOCKED=--locked make lint — the --locked matches CI and catches stale Cargo.lock locally instead of on the PR.
  4. make complexity
  5. If the branch touches Cargo.toml / Cargo.lock (git diff origin/main...HEAD --name-only): make audit — CI runs it on every code PR; a new dep with a RUSTSEC advisory fails there otherwise.
  6. make coverage-affected — never full make coverage unless the user explicitly asks (release prep).

Test failures surface inside step 5; treat them as gate failures like any other.

Loop control

Track attempts. One attempt = one pass down the ladder plus the repairs it triggered. Stop the loop when ANY of:

Read the full file on GitHub · 123 lines

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. 9d ago First seen · 123 lines · 57 tokens per session scan A f851c405d2da

Subscribe to this mod's changes

green is a skill published in the GitHub repository lensapp/lens-sandbox (10 stars, last pushed today), licensed Apache-2.0. It adds 57 tokens to every session and 1,319 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-08-31.

Related

Other skills, from other repositories

research-engineer

An uncompromising Academic Research Engineer. Operates with absolute scientific rigor, objective criticism, and zero flair. Focuses on theoretical correctness, formal verification, and optimal implementation across any required technology.

davila7/claude-code-templates · 43 tokens

tika-eval-compare

Compare extracts from two Tika builds over a corpus to detect regressions in content, encoding, exceptions, and embedded-document handling. Use for "compare before/after extracts", "eval this change against the corpus".

apache/tika · 50 tokens

neuron-evaluation-engineer

Create and run AI evaluations with datasets, assertions, and output drivers in Neuron AI. Use this skill whenever the user mentions evaluation, testing AI systems, creating evaluators, dataset-driven testing, assertion-based validation, or wants to measure AI system performance. Also trigger for tasks involving…

neuron-core/neuron-ai · 77 tokens

jetson-validate-image

Use after jetson-flash-image to run static BSP checks, on-target smoke/regression tests on a flashed DUT, or both. Not for build or flash steps. Triggers: validate bsp, on-target validation.

NVIDIA/skills · 50 tokens

atmos-validation

Validate Atmos projects, components, arbitrary JSON Schema inputs, EditorConfig, and GitHub Actions; use affected-file selection and native CI annotations.

cloudposse/atmos · 31 tokens

skill-benchmark

Benchmark AI skill effectiveness by measuring implementation quality against legacy constraints.

HoangNguyen0403/agent-skills-standard · 16 tokens