devmaxxx

Shell Secrets — AI skill for Claude Code

AI community

Catch secrets in shell commands and AI-agent tool calls (Claude Code, Codex) before they run.

How to install Shell Secrets

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

What Shell Secrets does

Catch secrets in shell commands and AI-agent tool calls (Claude Code, Codex) before they run. Zero dependencies.

Alternatives in AI

  • Ante — Ghost in your shell 1.9k ★
  • Single File Wbs — 単一HTMLで動く WBS/ガント+イナズマ線ビューア 123 ★
  • Next Slide — 你的下个 slide,何必是 PPT — AI-powered HTML presentations 50 ★

README

shell-secrets

**Catch a secret in a shell command or an AI-agent tool call before it runs — written to a file, exported, or put in a commit message. Zero dependencies.**

[![npm version](https://img.shields.io/npm/v/shell-secrets?color=cb3837)](https://www.npmjs.com/package/shell-secrets) [![npm downloads](https://img.shields.io/npm/dm/shell-secrets)](https://www.npmjs.com/package/shell-secrets) [![CI](https://github.com/devmaxxx/shell-secrets/actions/workflows/ci.yml/badge.svg)](https://github.com/devmaxxx/shell-secrets/actions/workflows/ci.yml) [![types](https://img.shields.io/npm/types/shell-secrets)](https://www.npmjs.com/package/shell-secrets) [![zero dependencies](https://img.shields.io/badge/dependencies-0-brightgreen)](./package.json) [![bundle size](https://img.shields.io/bundlejs/size/shell-secrets)](https://bundlejs.com/?q=shell-secrets) [![license: MIT](https://img.shields.io/npm/l/shell-secrets)](./LICENSE)

[Install](#install) · [Quick start](#quick-start) · [Detected secrets](#detected-secrets) · [API](#api) · [Recipes](#recipes) · [Compared](#compared-with-other-scanners)

The shell-secrets hook blocks a Bash call that writes a GitHub token into config.js and lets the same write through $GITHUB_TOKEN pass

The [agent hook](#block-secrets-in-ai-agent-tool-calls) run on two tool calls; the token is a fake. Regenerate with `pnpm build && vhs demo/demo.tape`.

Table of contents