scan

An environment scanner for AI coding tools such as Gemini CLI, Claude Code, Windsurf, and OpenCode. It checks installed tools, configurations, project files, and reusable work patterns.

In plain words
What is it for?
It is for auditing coding-tool environments, producing maturity scores and recommendations, inspecting repositories, and generating SKILL.md files from usage patterns.
Why use it?
It gives a report on how the coding setup is organized and identifies missing or inconsistent practices. An optional AI analysis can suggest reusable skill files.

Skill for Claude CodeCodex

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.

agentmods
npx agentmods add skills/pauldatta/gemini-cli-scanner/scan
Any agent
npx skills add pauldatta/gemini-cli-scanner --skill scan
Clone the repo
git clone --depth 1 https://github.com/pauldatta/gemini-cli-scanner

Made for: Claude Code, Codex.

Per session 82 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,020 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00082 $0.01020
Opus 5 $0.00041 $0.00510
Sonnet 5 $0.00016 $0.00204
Haiku 4.5 $0.00008 $0.00102

Measured 2d ago against content hash 7ede562af9a9, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

scan 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 2d 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/scan/SKILL.md · 118 lines

How it starts

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

Scan AI Coding Environment

Audit your AI coding tool ecosystem and discover reusable patterns.

When to Use

  • User says "scan my environment", "audit my setup", "check my tools"
  • User asks about their maturity score or wants recommendations
  • User wants to discover what skills they should create
  • User asks what AI tools they have installed
  • User wants to compare tool configurations across their ecosystem

Quick Scan (No API Key)

Run a full environment scan without AI-powered skill suggestions:

npx gemini-cli-scanner@latest --skip-suggestions

This produces:

  • scan-results/gemini-env-manifest.json — structured data for aggregation
  • scan-results/gemini-env-report.md — human-readable report with scores and recommendations

After the scan completes, read the report and present the key findings to the user.

Full Scan (With Skill Suggestions)

If the user wants AI-generated skill suggestions, ensure credentials are set:

# Check for credentials
echo $GOOGLE_CLOUD_PROJECT  # Vertex AI
echo $GOOGLE_API_KEY        # API Key

Then run:

npx gemini-cli-scanner@latest

Scan With Repos

To include project-level scanning (.gemini/ configs, GEMINI.md, repo patterns):

npx gemini-cli-scanner@latest --repos ~/Code --skip-suggestions

For deeper repo discovery:

npx gemini-cli-scanner@latest --repos ~/Code --repo-depth 4

Read and Present Results

After scanning, always:

  1. Read the JSON manifest:

    cat scan-results/gemini-env-manifest.json
    
  2. Read the markdown report:

    cat scan-results/gemini-env-report.md
    
  3. Present to the user:

    • Maturity score (0–67) and tier (Getting Started / Intermediate / Advanced / Expert)
    • Top recommendations — actionable items to improve their setup
    • Ecosystem summary — which tools are installed, skill counts, MCP servers
    • Antigravity brain intelligence — if present, summarize tool usage patterns, conversation counts, and top tools
    • Skill suggestions — if generated, present the candidates with install commands

Read the full file on GitHub · 118 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. 2d ago First seen · 118 lines · 82 tokens per session scan A 7ede562af9a9

Subscribe to this mod's changes

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

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

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

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

looker

These skills are designed for data discovery and business intelligence.

gemini-cli-extensions/looker · 14 tokens