env-scanner

env-scanner is a skill for Claude Code, Codex from pauldatta/gemini-cli-scanner. It costs 101 tokens per session (1,527 once invoked), scanned A, original, Apache-2.0.

An environment-scanning workflow for several AI coding tools and their configurations. It discovers settings, memory layers, extracted skills, tool chains, and policy controls.

In plain words
What is it for?
Use it to audit an AI coding setup, inspect skills and extensions, review memory or governance settings, discover repositories, and optionally generate evidence-based skill suggestions.
Why use it?
It shows what is installed and how the tools are configured, including possible reusable practices found in conversation history.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: reads .claude/ paths; mentions Claude Code; mentions Gemini CLI.

Good fit Use it to audit an AI coding setup, inspect skills and extensions, review memory or governance settings, discover repositories, and optionally generate evidence-based skill suggestions.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/pauldatta/gemini-cli-scanner/env-scanner
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 pauldatta/gemini-cli-scanner --skill env-scanner
Clone the repo
git clone --depth 1 https://github.com/pauldatta/gemini-cli-scanner

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 env-scanner

README.md
[![agentmods](https://agentmods.dev/badge/skills/pauldatta/gemini-cli-scanner/env-scanner/github.svg)](https://agentmods.dev/skills/pauldatta/gemini-cli-scanner/env-scanner)
Your own site
<a href="https://agentmods.dev/skills/pauldatta/gemini-cli-scanner/env-scanner"><img src="https://agentmods.dev/badge/skills/pauldatta/gemini-cli-scanner/env-scanner/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 env-scanner

Your own site · 80×15
<a href="https://agentmods.dev/skills/pauldatta/gemini-cli-scanner/env-scanner"><img src="https://agentmods.dev/badge/skills/pauldatta/gemini-cli-scanner/env-scanner.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 101 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,527 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.00101 $0.01527
Opus 5.5 $0.00040 $0.00611
Sonnet 5.5 $0.00020 $0.00305
Haiku 4.5 $0.00010 $0.00153

Measured 1mo ago against content hash f8984c97e1e1, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

env-scanner 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.

skills/env-scanner/SKILL.md · 124 lines

How it starts

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

Environment Scanner Skill

Runs gemini-cli-scanner (v3.5.6) to audit the user's AI coding tool ecosystem.

When to Activate

  • User asks to "scan my environment", "analyze my setup", or "audit my tools"
  • User wants to know what skills, MCP servers, extensions, or agents they have
  • User wants to discover usage patterns from conversation history
  • User wants a maturity score or environment report
  • User asks about memory configuration, policy governance, or skill extraction
  • User mentions "tribal knowledge", "pattern discovery", "skill suggestions", or "ecosystem audit"

Running the Scanner

Use ${extensionPath} to reference the scanner directory.

Quick scan (no API needed)

node ${extensionPath}/scanner.js --output-dir ./scan-results --skip-suggestions

Full scan with AI skill suggestions

Requires GOOGLE_API_KEY or GOOGLE_CLOUD_PROJECT. Uses evidence-gated two-stage pipeline: flash-lite identifies patterns, pro writes SKILL.md files in parallel.

node ${extensionPath}/scanner.js --output-dir ./scan-results

With repo discovery

node ${extensionPath}/scanner.js --output-dir ./scan-results --repos ~/Code
node ${extensionPath}/scanner.js --output-dir ./scan-results --repos ~/Code --repo-depth 4
node ${extensionPath}/scanner.js --output-dir ./scan-results --repos ~/Code/project-a ~/Code/project-b

Filter by time

node ${extensionPath}/scanner.js --output-dir ./scan-results --chat-days 30
node ${extensionPath}/scanner.js --output-dir ./scan-results --json-only

All flags

Flag Default Purpose
--version, -v — Show version
--gemini-dir PATH ~/.gemini Gemini config dir
--home-dir PATH ~ Home dir for ecosystem scanning
--output-dir PATH ./scan-results Output directory
--repos PATH [PATH..] [] Repo paths or parent dirs
--repo-depth N 3 Max recursive discovery depth
--chat-days N all Limit to last N days of history
--skip-suggestions false Skip AI suggestions
--json-only false JSON only, no markdown
--include-prompts false Include raw prompts, topics, project names in manifest
--skip-update-check false Skip GitHub version check

Read the full file on GitHub · 124 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. 1mo ago First seen · 124 lines · 101 tokens per session scan A f8984c97e1e1

Subscribe to this mod's changes

env-scanner is a skill published in the GitHub repository pauldatta/gemini-cli-scanner (2 stars, last pushed 2mo ago), licensed Apache-2.0. It adds 101 tokens to every session and 1,527 once invoked, about $0.0004 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-08-31.

Related

Other skills, from other repositories

market-skill

The main marketing skill. Teaches AI how to produce high-quality marketing assets from scratch. Covers visual direction, motion design, copywriting, platform strategy, and brand identity. For Remotion videos, Nano Banana graphics, Substack headers, X posts, LinkedIn, and product launches. Stops the AI from producing…

Yasuui/ystack · 81 tokens

copy-skill

Copywriting for technical founders. Covers X posts, X threads, Substack editions, LinkedIn posts, product launch captions, and README headlines. Teaches AI to write with the directness of a senior operator and the specificity of an engineer. Stops AI from producing generic marketing copy that sounds like everyone else…

Yasuui/ystack · 72 tokens

nano-banana-skill

Nano Banana image generation for marketing assets. Artist-level visual direction for brand graphics, thumbnails, Substack covers, X post backgrounds, and LinkedIn headers. Covers prompt architecture, lighting direction, composition rules, style consistency, and what to never generate. Stops AI from producing generic…

Yasuui/ystack · 71 tokens

remotion-skill

Remotion video composition for marketing. Teaches AI to write Apple-quality motion in React/TypeScript. Covers spring physics, composition architecture, frame timing, text reveal patterns, and platform-specific output. For X posts, Substack headers, LinkedIn launches, and product demos. Stops AI from writing flat…

Yasuui/ystack · 77 tokens

launch-skill

Product launch playbook for indie devs and technical founders. Covers asset sequencing, timing, platform order, community posting strategy, GitHub presence, and the 48-hour launch window. For ystack, Focused AI, Lumina, and Standard Bio. launches. Stops AI from producing generic "launch day" checklists that ignore…

Yasuui/ystack · 76 tokens

local-places

Search for places (restaurants, cafes, etc.) via Google Places API proxy on localhost.

geezerrrr/motive · 22 tokens