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 3mo 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 3mo 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. 3mo 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 4mo 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

env-scanner compared with skills from other repositories

env-scanner next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
env-scannerpauldatta/gemini-cli-scannerSkill24mo agoApache-2.0A101Claude Code, Codex
market-skillYasuui/ystackSkill12mo agoMITA81Claude Code, Codex
nano-banana-skillYasuui/ystackSkill12mo agoMITA71Claude Code, Codex
remotion-skillYasuui/ystackSkill12mo agoMITA77Claude Code, Codex
copy-skillYasuui/ystackSkill12mo agoMITA72Claude Code, Codex
launch-skillYasuui/ystackSkill12mo agoMITA76Claude Code, Codex
local-placesgeezerrrr/motiveSkill1201mo agoMITA22Claude Code, Codex