AI Repo Safety

Git-hook-backed secret and supply-chain gates for AI-coded repos. Use when initializing a repo, handling a leaked secret, making a public release, or when the user names this skill. Do not load just because a coding session started.

5 stars 1 forksAI, LLMs & Agents

Install

skills CLI (Claude Code, Cursor, Codex and more)
npx skills add letya999/ai-repo-safety-skill --skill ai-repo-safety
Manual install
git clone --depth 1 https://github.com/letya999/ai-repo-safety-skill.git /tmp/ai-repo-safety-skill
mkdir -p ~/.claude/skills
cp -r /tmp/ai-repo-safety-skill/. ~/.claude/skills/ai-repo-safety

Personal skills live in ~/.claude/skills. Use .claude/skills in a project folder to share a skill with your team.

From the SKILL.md

# AI Repo Safety

Canonical invoke:

```text
py -3 -m ai_repo_safety <cmd> --target .
python -m ai_repo_safety <cmd> --target .
uvx ai-repo-safety <cmd> --target .
```

Do not run `doctor`, `init`, or `scan` at the start of a session.

## Git gates (this is the lock)

Commit, push, and tag are enforced by git hooks, not by this file.

```text
python -m ai_repo_safety install-hooks --target .
```

If hooks are missing and you are about to `git commit` / `git push` / `git tag`:

```text
python -m ai_repo_safety gate --when commit --target .
python -m ai_repo_safety gate --when push --target .
python -m ai_repo_safety gate --when tag --target .
```

`--no-verify` is a human escape hatch. Do not use it to skip a finding.

## GitHub context

Do not pipe `gh pr view`, `gh issue view`, or raw GitHub pages into the model.

```text
python -m ai_repo_safety gate --when github-read --repo owner/repo --resource pulls --reason "review current PRs"
```

## Init (only when asked)

```text
python -m ai_repo_safety init --target .
python -m ai_repo_safety install-agent-hooks --target . --tool grok
```

Then run `/hooks-trust` so Grok project hooks load. Grok hooks fail open; git hooks stay fail-closed.

## Never

Do not read, print, or commit: `.env`, `.env.*`, `*.pem`, `*.key`, `*.p12`, `*.pfx`, `id_rsa`, `id_ed25519`, `credentials*.json`, `service-account*.json`, `token.json`, `tokens.json`, `secrets.json`, `.mcp.json`, `claude_desktop_config.json`, `*.ovpn`.
Read the full skill on GitHub

Details

Skill name
ai-repo-safety
License
MIT
Repo updated
13 October 2026

FAQ

What does the AI Repo Safety skill do?

Git-hook-backed secret and supply-chain gates for AI-coded repos. Use when initializing a repo, handling a leaked secret, making a public release, or when the user names this skill. Do not load just because a coding session started.

How do I install the AI Repo Safety skill?

skills CLI (Claude Code, Cursor, Codex and more): npx skills add letya999/ai-repo-safety-skill --skill ai-repo-safety. Skills go in ~/.claude/skills (personal) or .claude/skills (project), and Claude loads them automatically when a task matches the description.

Is AI Repo Safety popular?

It lives in letya999/ai-repo-safety-skill, which has 5 GitHub stars and 1 forks.

Related skills

Awaken Agent Skills

5

Awaken-Finance/awaken-agent-skills

Awaken DEX trading and market data operations for agents.

AI, LLMs & Agents

AI Native

5

initxy/ai-native

Turn a repo into an AI-native project — lay down AGENTS.md, standard verbs, gates, a doc-hygiene check, and the spec directory. Use when asked to initialize or set up a repo for coding agents, add or rework AGENTS.md, make a project AI-native, or re-run / upgrade that setup. Works on new and existing repos.

AI, LLMs & Agents

Claude Design Idea to Ready

5

chohra-med/claude_design_skill

Take a UI from a one-line idea to on-brand, shippable design with Claude, in the correct order — brand foundation first, then components, screens, interactions, accessibility, and only then generation via /design. Use whenever someone wants to design, redesign, or generate a screen, page, component, or onboarding flow and wants the output to match an existing brand instead of looking like generic AI UI. Triggers on "design this screen", "build a UI for", "make this on-brand", "redesign", "generate a page/component", "use /design", or any task that will produce visual interface.

AI, LLMs & Agents

Agentic Sprint

5

vivialiudesign/agentic-sprint

Run a structured multi-agent design sprint to generate, evaluate, and select ideas using specialized AI agents. Use this skill whenever a user wants to explore a product or design problem using multiple perspectives, run a design sprint, brainstorm with different "hats" (user/business/data/system/design), evaluate ideas against principles, or converge on a direction from many options. Trigger this when users say things like "run a sprint on X", "help me think through this from different angles", "I need to explore this problem", "lets do an agentic sprint", or "what would the user/business/dat

AI, LLMs & Agents

Claudeshrink

5

g-akshay/ClaudeShrink

Automatically compress large natural text or log files before processing. Trigger when the user pastes massive text blobs, or asks to analyze a large file (logs, docs, transcripts), or provides a prompt that is too large for the context window. DO NOT trigger on source code files or structural data (JSON, XML).

AI, LLMs & Agents

方源 PPT 单页逻辑梳理

6

Liuguanyi2125/ppt-copywriting-logic-skill

当用户需要把原始材料、会议纪要、论文/方案资料、领导给的散乱内容或已有 PPT 页面,梳理成 PPT 页面级结论、文案层级、逻辑关系、页面结构和 AI 视觉提示词时使用。 Trigger: "帮我梳理 PPT 文案", "这页 PPT 逻辑怎么排", "把这些内容整理成 PPT", "方源 PPT 单页逻辑梳理", "方源梳理 PPT 文案", "PPT 页面文案和逻辑

AI, LLMs & Agents

Browse the most popular Claude skills, all ai, llms & agents skills, or write your own with the skills generator.