tak848

Ccgate — AI skill for Claude Code

AI community

LLM-powered PermissionRequest hook for coding agents (e.g. Claude Code).

How to install Ccgate

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

What Ccgate does

LLM-powered PermissionRequest hook for coding agents (e.g. Claude Code).

Alternatives in AI

  • Pro Workflow — 1,400+ Battle-tested Claude Code workflows from power users 1.4k ★
  • Engineering Notebook — A Bun CLI that ingests Claude Code and Codex session transcripts, generates LLM-powered daily summaries, and s 320 ★
  • FindJobs Agent — LLM-powered toolkit for skill analysis, AI interviews, resume scoring, and job structuring 242 ★

README

ccgate

[![CI](https://github.com/tak848/ccgate/actions/workflows/ci.yml/badge.svg)](https://github.com/tak848/ccgate/actions/workflows/ci.yml) [![release](https://github.com/tak848/ccgate/actions/workflows/release.yml/badge.svg)](https://github.com/tak848/ccgate/releases)

A **PermissionRequest** hook for AI coding tools. It delegates each tool-execution permission decision to an LLM (Claude Haiku) using rules written in a jsonnet configuration file.

ccgate ships with built-in default rules, so it works out of the box without any configuration.

![ccgate in action: a safe `echo` is allowed while `curl ... | bash` is denied with a deny_message](docs/images/gate.png)

Supported targets:

[日本語ドキュメント](docs/ja/README.md)

Install

mise (recommended)

Requires mise `2026.4.20` or later.

mise use -g aqua:tak848/ccgate

To try ccgate without installing it globally (similar to `npx` / `uvx`):

mise exec aqua:tak848/ccgate -- ccgate --version

aqua

Via the [aqua](https://aquaproj.github.io/) standard registry (requires registry `v4.498.0` or later). In an aqua-managed project (run `aqua init` first if you don't have an `aqua.yaml` yet):

aqua g -i tak848/ccgate
aqua i

For a [global aqua config](https://aquaproj.github.io/docs/tutorial/global-config), follow aqua's own tutorial.

go install

go install github.com/tak848/ccgate@latest

GitHub Releases

Download a binary from [Releases](https://github.com/tak848/ccgate/releases) and place it on your `PATH`.

Homebrew

brew install tak848/tap/ccgate

Quick start — Claude Code

1. Register as a Claude Code hook

`~/.claude/settings.json`:

{
  "hooks": {
    "PermissionRequest": [
      {
        "matcher": "",
        "