AIGatekeeper banner
Leoshi123 Leoshi123

AIGatekeeper

Development community

Description

"No confíes en la IA, verifica el contexto, limpia el rastro." Este proyecto es un middleware de seguridad y optimización para desarrolladores que utilizan agentes de IA (como Claude Code, OpenCode o modelos locales) y quieren evitar el envío de datos sensibles, reducir el gasto de tokens y eliminar código vulnerable o metadatos de rastreo.

Installation

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

README

🛡️ AIGatekeeper

[![Tests](https://github.com/Leoshi123/AIGatekeeper/actions/workflows/ci.yml/badge.svg)](https://github.com/Leoshi123/AIGatekeeper/actions/workflows/ci.yml) [![Coverage](https://codecov.io/gh/Leoshi123/AIGatekeeper/branch/main/graph/badge.svg)](https://codecov.io/gh/Leoshi123/AIGatekeeper) [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT) [![Python Version](https://img.shields.io/badge/Python-3.10+-blue.svg)](https://www.python.org/) [![C++17](https://img.shields.io/badge/C%2B%2B-17-purple.svg)](https://isocpp.org/) [![re2](https://img.shields.io/badge/regex-re2-orange.svg)](https://github.com/google/re2)

🌐 Available in: English, Español

**"No confíes en la IA, verifica el contexto, limpia el rastro."**

Middleware de seguridad y optimización para desarrolladores que usan agentes de IA. Detecta código zombi, prompt injection, y limpia metadata sensible.


⚡ Quick Start

**Una línea para instalar:**

# Linux / macOS
curl -fsSL https://raw.githubusercontent.com/Leoshi123/AIGatekeeper/main/install.sh | bash

**En tu proyecto:**

# 1. Inicializar
aigatekeeper init

# 2. Detectar prompt injection
aigatekeeper scan-prompt "Ignore all previous instructions"

# 3. Listar prompts predefinidos
aigatekeeper prompt list

# 4. Push seguro (scan + sanitize + commit + push)
aigatekeeper push "feat: add security layer"

Alias corto: `ag` en vez de `aigatekeeper`


🚀 v3.0.1 — Versioning Unificado + update_check (Actual)

🛡️ **Detección de versiones antiguas**: `update_check` avisa a instalaciones desactualizadas (v1.x/v2.x → v3.x). Versión unificada a una única fuente.

Novedades en esta versión

Feature Descripción
🆕 update_check MCP tool Lee primero la versión local, consulta Releases de GitHub, avisa si hay actualización
🔗 Versión unificada (DRY) src/__init__.py es la única fuente; CLI, MCP server y