ignore-init

ignore-init is a command for Claude Code from GoogilyBoogily/googilyboogily-claude-power-tools. It costs 9 tokens per session (422 once invoked), scanned A, original, MIT.

A command for creating or updating a .gitignore file with files and folders commonly used by Claude Code and local development.

In plain words
What is it for?
Use it to add missing ignore patterns while preserving the project's existing .gitignore entries.
Why use it?
It keeps local settings, temporary files, test artifacts, and debugging files out of Git commits.

Command for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: reads .claude/ paths; mentions Claude Code.

Part of the git-tools plugin — 5 commands shipped together

Good fit Use it to add missing ignore patterns while preserving the project's existing .gitignore entries.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/googilyboogily/googilyboogily-claude-power-tools/ignore-init
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.

Clone the repo
git clone --depth 1 https://github.com/GoogilyBoogily/googilyboogily-claude-power-tools

Made for: Claude Code.

Or install git-tools, the plugin that ships this one along with the rest of its 5 commands.

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 ignore-init

README.md
[![agentmods](https://agentmods.dev/badge/commands/googilyboogily/googilyboogily-claude-power-tools/ignore-init/github.svg)](https://agentmods.dev/commands/googilyboogily/googilyboogily-claude-power-tools/ignore-init)
Your own site
<a href="https://agentmods.dev/commands/googilyboogily/googilyboogily-claude-power-tools/ignore-init"><img src="https://agentmods.dev/badge/commands/googilyboogily/googilyboogily-claude-power-tools/ignore-init/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 ignore-init

Your own site · 80×15
<a href="https://agentmods.dev/commands/googilyboogily/googilyboogily-claude-power-tools/ignore-init"><img src="https://agentmods.dev/badge/commands/googilyboogily/googilyboogily-claude-power-tools/ignore-init.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 9 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 422 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.00009 $0.00422
Opus 5 $0.00005 $0.00211
Sonnet 5 $0.00002 $0.00084
Haiku 4.5 $0.00001 $0.00042

Measured 9d ago against content hash af722fc5a3a3, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade A, and why

ignore-init 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 9d 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.

plugins/git-tools/commands/ignore-init.md · 62 lines

What it actually says

Initialize .gitignore for Claude Code

Set up or update the project's .gitignore file with Claude Code specific patterns.

Core Claude Code Files to Ignore

Ensure these Claude Code local configuration files are ignored:

  • CLAUDE.local.md - Local AI assistant instructions (root)
  • .claude/settings.local.json - Personal Claude Code settings
  • .mcp.local.json - Local MCP server configuration (root)

Development Patterns

These common development artifacts will also be added:

  • temp/ - Temporary working directory
  • temp-*/ - Temporary directories with prefix
  • test-*/ - Test directories with prefix
  • debug-*.js - Debug scripts
  • test-*.js - Test scripts
  • *-test.js - Test files with suffix
  • *-debug.js - Debug files with suffix

Current .gitignore Status

![ -f .gitignore ] && echo "EXISTS: .gitignore found" && echo "---CONTENTS---" && cat .gitignore || echo "MISSING: No .gitignore file found"

Task

Based on the above status:

  1. Create .gitignore if it doesn't exist
  2. Add all patterns that aren't already present
  3. Preserve existing entries and comments
  4. Report what was added

Patterns to Add

# Claude Code local files
CLAUDE.local.md
.claude/settings.local.json
.mcp.local.json

# Temporary and debug files
temp/
temp-*/
test-*/
debug-*.js
test-*.js
*-test.js
*-debug.js

Implement this by:

  1. Using the gitignore status above to determine what's missing
  2. Adding missing patterns with appropriate comments
  3. Preserving the existing file structure and entries
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. 9d ago First seen · 62 lines · 9 tokens per session scan A af722fc5a3a3

Subscribe to this mod's changes

ignore-init is a command published in the GitHub repository GoogilyBoogily/googilyboogily-claude-power-tools (2 stars, last pushed 4mo ago), licensed MIT. It adds 9 tokens to every session and 422 once invoked, about $0.0000 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-09-03.