Ralpberry-Labs

Gitignore AI — AI skill for Claude Code

AI community

gitignore for AI: tested .gitignore templates for machine learning, LLM and AI agent projects.

How to install Gitignore AI

This entry records only its repository, not the path inside it, so there is no exact command to give. Open Ralpberry-Labs/gitignore-ai and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

What Gitignore AI does

gitignore for AI: tested .gitignore templates for machine learning, LLM and AI agent projects. Ignore model weights, checkpoints, datasets, notebooks, W&B/MLflow runs, vector DBs, .env API keys and Claude Code, Gemini CLI and Aider local files.

Alternatives in AI

  • Claude Cookbook — Official notebooks and recipes for common patterns (RAG, tool use, Skills, MCP) 35.3k ★
  • AGENTS.md - Skill Seekers — Concise reference for AI coding agents 11.1k ★
  • Rulesync — by dyoshikawa - A Node.js CLI tool that automatically generates configs (rules, ignore files, MCP servers, com 909 ★

README

gitignore for AI: .gitignore Templates for Machine Learning, LLM Apps and AI Coding Agents

**gitignore-ai** is a set of tested `.gitignore` templates for AI and machine learning projects: model weights and checkpoints (`.safetensors`, `.gguf`, `.pt`, `.onnx`), datasets, Jupyter notebook checkpoints, experiment tracking folders (Weights & Biases, MLflow, TensorBoard, Lightning, Hydra), local vector databases and LLM caches (Chroma, FAISS, LlamaIndex, LangChain), API keys and `.env` files, and the personal files AI coding agents write into your repo (Claude Code, Gemini CLI, Aider and others) without hiding the shared agent config your team should commit.

Use them when starting a new ML, RAG or agent project, or when `git status` shows a 4 GB checkpoint and your `.env`.

Last reviewed: December 2026. Agent file locations were checked against the Claude Code, Gemini CLI, Codex and Aider documentation or source at review time. Every template is tested with a real gitignore matcher (see [Tests](#tests)).

# Everything in one file
curl -fsSL https://raw.githubusercontent.com/Ralpberry-Labs/gitignore-ai/main/AI.gitignore >> .gitignore

# Or pick templates
git clone https://github.com/Ralpberry-Labs/gitignore-ai
python3 gitignore-ai/scripts/combine.py Python Secrets Jupyter Model-Weights > .gitignore

Table of Contents