dependency-guardian

Official

Protect tokens, block dependency folder reads.

AuthorCodeTonight-SA
Version1.0.0
Installs0

System Documentation

What problem does it solve?

AI models can waste significant tokens by inadvertently reading from large dependency folders like node_modules/ or venv/, which contain irrelevant code for most tasks. This skill prevents such wasteful operations, optimizing token usage and improving efficiency.

Core Features & Use Cases

  • Dependency Folder Detection: Identifies attempts to read from common dependency directories.
  • Token Waste Prevention: Blocks or warns against operations that would consume excessive tokens on ignored files.
  • Efficiency Audit: Integrates with self-improvement cycles to track and reduce token waste from dependency reads.
  • Use Case: You are working on a project and want to ensure the AI doesn't waste tokens by scanning node_modules/ during a search operation.

Quick Start

"Prevent me from reading any files within dependency folders like node_modules." "Ensure token efficiency by guarding against irrelevant file reads."

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: dependency-guardian
Download link: https://github.com/CodeTonight-SA/claude-optim/archive/main.zip#dependency-guardian

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository