geminiignore-finops
하는 일
이 도우미는 `.geminiignore`라는 특별한 파일을 만들고 개선합니다. 기계어 코드, 로그, 패키지처럼 불필요한 파일을 무시하게 해서, AI가 중요한 것에 집중하고 시간과 비용을 아끼도록 돕습니다.
사용하는 경우
- ✓새 프로젝트를 AI와 함께 시작할 때.
- ✓AI가 너무 오래 걸리거나 비용이 많이 들 때.
- ✓AI가 설정 파일이나 시스템 파일처럼 읽으면 안 되는 것을 읽을 때.
스킬 링크
https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/geminiignore-finops/SKILL.md복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.
사용 방법
가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.
바로 붙여넣을 수 있는 메시지
Claude Code, Codex, Cursor용입니다. 프로젝트 폴더에서 실행하면 스킬이 설치됩니다.
SKILL.md를 다운로드해 에이전트의 스킬 폴더에 넣으세요.
AI에게 요청하는 예시
“의존성과 빌드 파일을 무시하도록 제 Node.js 프로젝트용 `.geminiignore` 파일을 만들어 주세요.”
매주 새 스킬 5개. 읽는 데 1분.
작동 방식
먼저 프로젝트가 어떤 언어를 쓰는지 파악합니다. 그다음 `.geminiignore` 파일에 규칙을 추가해, 자동 생성된 코드나 로그 파일처럼 AI가 볼 필요 없는 파일을 무시하게 합니다.
기술 내용 (원본 SKILL.md)
작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.
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:
- System & Editor Noise: Block OS temp files (
.DS_Store,Thumbs.db) and user-specific IDE caches (.idea/,.vscode/*, Xcode user data). - Dependency Folders & Lock Files: Ignore third-party package directories (
node_modules/,vendor/) and giant machine-generated lock files (package-lock.json,yarn.lock,Cargo.lock,composer.lock). - Build & Target Output: Block compiled folders (
dist/,build/,.next/,.nuxt/). - Caches & Tool Metadata: Block compiler caches (
.tsbuildinfo,.vite/,.pytest_cache/,.eslintcache). - Binary & Rich Assets: Block media types (
*.png,*.pdf,*.mp4,*.woff2) to prevent triggering expensive vision/multimodal tokens. - Local Databases & Logs: Block log files (
*.log) and SQL dumps or local SQLite DBs (*.sqlite,*.db). - Compiled Binaries & Mobile Builds: Block mobile package files (
*.apk,*.ipa) and compiled binaries (*.class,*.pyc,*.dll).
Step 4: Validate Exclusions
Verify that the AI can still see critical configuration blueprints (like .env.example, package.json, composer.json, pyproject.toml) but ignores the actual .env files and compilation artifacts.
Examples
Example 1: Standard Universal .geminiignore Template
Here is a recommended baseline configuration for a multi-language project:
# ==============================================================================
# .geminiignore - BASELINE DE FINOPS E ARQUITETURA
# ==============================================================================
# 1. SISTEMA OPERACIONAL E IDEs
.DS_Store
Thumbs.db
Desktop.ini
$RECYCLE.BIN/
.vscode/*
!.vscode/settings.json
!.vscode/tasks.json
!.vscode/launch.json
.idea/
*.iml
.gradle/
local.properties
.history/
# 2. DEPENDÊNCIAS (ECONOMIA DE TOKENS EM LOCK FILES)
node_modules/
package-lock.json
yarn.lock
pnpm-lock.yaml
vendor/
composer.lock
venv/
.venv/
env/
.env
.env.*
!.env.example
poetry.lock
Cargo.lock
pubspec.lock
# 3. BUILDS E EXPORTAÇÕES
dist/
build/
out/
target/
.next/
.nuxt/
.output/
bin/
obj/
# 4. CACHES DE FRAMEWORKS
.vite/
.parcel-cache/
.eslintcache
.babel-cache/
.tsbuildinfo
.turbo/
.pytest_cache/
.ruff_cache/
storage/framework/
storage/logs/
# 5. ASSETS BINÁRIOS E MULTIMÍDIA EXTREMOS
*.png
*.jpg
*.jpeg
*.gif
*.webp
*.svg
*.ico
*.psd
*.fig
*.pdf
*.zip
*.tar.gz
*.woff
*.woff2
*.ttf
# 6. BANCOS DE DADOS E LOGS
*.log
*.db
*.sqlite
*.sqlite3
*.sql
*.sql.gz
# 7. ARQUIVOS COMPILADOS
*.apk
*.aab
*.ipa
*.jar
*.class
*.pyc
__pycache__/
*.so
*.dylib
*.dll
*.exe
*.js.map
*.css.map
Best Practices
- ✅ Ignore dependency lock files: Standard lock files (e.g.,
package-lock.json,yarn.lock) contain thousands of lines of redundant package resolution trees. Ignoring them is the single largest FinOps win. - ✅ Keep configurations visible: Ensure manifests like
package.json,composer.json,Cargo.toml, andpyproject.tomlare NEVER ignored, as the AI needs them to understand dependencies. - ✅ Whitelist config examples: Use rules like
!.env.examplealongside.envignores so the AI understands configuration structure without exposing credentials.
…
자주 묻는 질문
`.geminiignore` 파일이란 무엇인가요?
AI가 프로젝트에서 중요한 코드에 집중하도록, 무시할 파일과 폴더를 알려 주는 설정 파일입니다.
왜 비용을 아낄 수 있나요?
AI는 정보를 처리하기 위해 '토큰'을 사용합니다. 크고 불필요한 파일을 무시하면 사용되는 토큰이 줄어들어 비용이 낮아집니다.
`.gitignore`와 같은 것인가요?
아닙니다. `.gitignore`는 Git(버전 관리)이 파일을 추적하지 않도록 하는 것이고, `.geminiignore`는 AI가 코드를 분석할 때 파일을 무시하도록 하는 것입니다.
상세 정보
작성자의 원본 설명
Configure and optimize .geminiignore files for AI context window efficiency and token cost reduction (FinOps).
인기도
- GitHub 스타
- 48k
- 순위
- #4711
- 라이선스
- MIT
- 업데이트
- 2026. 10. 15.
댓글
- …
이 저장소의 다른 스킬
00-andruia-consultant
48k에이전트가 AI 프로젝트를 시작하거나 개선할 수 있도록 코드를 분석하고 스페인어로 실행 계획을 세워 줍니다.
007
48k에이전트가 보안 감사와 위협 모델링을 수행해 공격과 취약점으로부터 프로젝트를 보호하도록 돕습니다.
10-andruia-skill-smith
48k에이전트가 AI 도구의 작동 방식을 정의하고 문서를 쓰며 구조를 검증하도록 돕습니다.
20-andruia-niche-intelligence
48k에이전트가 신뢰할 수 있는 자료를 바탕으로 특정 산업의 맥락, 규칙, 사용 패턴, 위험을 정리한 요약을 만들도록 돕습니다.
비슷한 스킬
add-model-provider
394k에이전트가 안전한 설정 명령으로 새 AI 모델 제공자를 OpenClaw에 연결하고, API 키를 평문으로 두지 않으며, 실시간 테스트를 실행하도록 돕습니다.
acp-router
394k에이전트가 OpenClaw를 통해 Claude Code나 Cursor 같은 코딩 도우미에 작업을 전달해, 작업이 그 도구에서 실행되도록 돕습니다.
browser-automation
394k에이전트가 로그인, 탭, 페이지 응답이 멈췄을 때의 복구를 포함해 웹 페이지를 단계별로 조작하도록 가르칩니다.