By damusix
Auto-approve compound Bash commands (pipes, chains, subshells) by parsing each segment via shfmt AST and checking against allow/deny lists
A monorepo for Claude Code plugins and standalone AI tooling. Install the marketplace for two practical plugins (persistent memory and safer Bash auto-approval), or use the standalone ralph-loop for autonomous multi-iteration coding.
Add this marketplace, then install both plugins:
/plugin marketplace add damusix/ai-tools
/plugin install ai-memory@damusix-ai-tools
/plugin install auto-approve-compound-bash@damusix-ai-tools
ai-memoryGive Claude long-term project memory across sessions, with local-first storage and tools to organize context.
/remember and /forget slash commandsDocs: ai-memory/README.md
auto-approve-compound-bash (cc-auto-approve-fix source)Auto-approve compound Bash commands safely by parsing each command segment against allow/deny rules.
mvdan.cc/sh/v3/syntax) for AST-based checksbash/sh/zsh -c--explain, simulate, and doctor workflowsdarwin/linux and amd64/arm64Docs: cc-auto-approve-fix/README.md
ralph-loopAn autonomous coding loop that drives AI agents (Claude, Amp, Codex, OpenCode) through iterative development cycles. Not a Claude Code plugin — ralph is a standalone zx script that runs inside a self-contained Docker environment.
docker compose up -d --build
docker exec -it ralph-wiggum zsh
cd ~/my-project && ralph init
Docs: ralph-loop/README.md
damusix-ai-tools marketplace catalogThis repo is a pnpm workspace. Install dependencies from the root:
pnpm install
Plugin versions are managed by a CLI tool at scripts/cli/. It bumps versions, syncs all manifest files, generates changelogs from git history, and creates git tags.
Interactive mode — select plugins and bump types via prompts:
pnpm dev version
Flag mode — bump a single plugin directly:
pnpm dev version ai-memory patch
pnpm dev version auto-approve-compound-bash minor
Plugin names come from .claude-plugin/marketplace.json, not directory names. The CLI requires a clean working tree before running.
What it does per plugin:
package.json or plugin.json)marketplace.json and plugin.jsonCHANGELOG.md from conventional commits (feat, fix, breaking changes)release: <plugin>@<version> and creates a git tagpnpm-workspace.yaml.claude-plugin/marketplace.json with name, version, and sourceMIT
Executes bash commands
Hook triggers when Bash tool is used
Own this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge. GitHub access is read-only (username + org membership).
Sign in to claimOwn this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge. GitHub access is read-only (username + org membership).
Sign in to claimBased on adoption, maintenance, documentation, and repository signals. Not a security audit or endorsement.
Persistent memory across Claude Code sessions
npx claudepluginhub damusix/ai-tools --plugin auto-approve-compound-bashAuto-approve compound Bash commands (pipes, chains, subshells) by parsing each segment via shfmt AST and checking against allow/deny lists
PreToolUse hook that auto-approves safe Bash commands by parsing them into an AST and matching against configurable patterns
Smart command safety filter for Claude Code — parses shell pipelines and evaluates per-command safety rules to auto-approve safe commands and block dangerous ones
Persistent memory across Claude Code sessions
A secure runtime for Claude Code. Intercepts every tool call with policy-based allow/block/ask decisions, evasion detection, path fencing, file snapshots, and audit logging.
Block destructive git and filesystem commands before execution