Agent skill · data analytics · sickn33

geminiignore-finops

Configure and optimize .geminiignore files for AI context window efficiency and token cost reduction (FinOps).

Why this skill is useful

Provides specific rules and configurations for optimizing `.geminiignore` files to reduce token costs and improve AI context efficiency, which the AI may not generate on its own.

What it needs

About 3k tokens when loaded. Last updated 2026-08-07. 44,571 stars on the source repository.

What this skill does

GeminiIgnore FinOps Setup & Optimization Overview A skill to construct, refine, and maintain high-performance .geminiignore files across diverse tech stacks. By filtering out machine-generated code, heavy logs, package locks, and binary assets, this skill optimizes the AI agent's context window, accelerates processing speed, and reduces token consumption costs (FinOps). When to Use This Skill Use when initializing a new repository or workspace for pair-programming with AI agents. Use when the AI context window is reaching its limits or when billing optimization (FinOps) is a priority. Use when the AI agent is accidentally reading build outputs, lock files, databases, or binary media. How It Works Step 1: Analyze the Workspace Tech Stack Detect the languages, frameworks, and dependency managers present in the project (e.g., Node.js, Python, PHP, Dart/Flutter, Rust). Step 2: Initialize or Update the .geminiignore File Create a .geminiignore file at the root of the active workspace. If one already exists, review it to add missing categories. Step 3: Implement the 7 Core Rules Add rules divided into the following categories to filter out unnecessary machine noise while keeping human-written code visible: 1. System & Editor Noise: Block OS temp files (.DSStore, Thumbs.db) and user-specific IDE caches (.idea/, .vscode/, Xcode user data). 2. Dependency Folders & Lock Files: Ignore third-party package directories (nodemodules/, vendor/) and giant machine-generated lock files (package-lock.json, yarn.lock, Cargo.lock, composer.lock). 3. Build & Target Output: Block compiled folders (dist/, build/, .next/, .nuxt/). 4. Caches & Tool Metadata: Block compiler caches (.tsbuildinfo, .vite/, .pytestcache/, .eslintcache). 5. Binary & Rich Assets: Block media types (.png, .pdf, .mp4, .woff2) to prevent triggering expensive vision/multimodal tokens. 6. Local Databases & Logs: Block log files (.log) and SQL dumps or local SQLite DBs (.sqlite, .db). 7. …

How to use it

Reference it in AdaL, Claude Code, Cursor or any coding agent — nothing to install:

@skills sickn33/geminiignore-finops--1d1da8

View the source on GitHub

Browse the @skills marketplace