WeSearch

ccgate: Delegate Claude/Codex permission prompts to an LLM (~97% automated for me)

·10 min read · 0 reactions · 0 comments · 1 view
#ai#opensource#coding#automation#security#Takuya Takahashi#Claude Code#Codex CLI#Claude Haiku#OpenAI#GitHub#ccgate#LLM
ccgate: Delegate Claude/Codex permission prompts to an LLM (~97% automated for me)
⚡ TL;DR · AI summary

ccgate is an open-source CLI tool created by Takuya Takahashi that automates permission prompts in AI coding tools like Claude Code and Codex CLI by delegating decisions to a separate LLM, typically Claude Haiku. It evaluates each prompt using configurable rules and context such as git state and conversation history, returning allow, deny, or fallthrough outcomes. The tool reduces manual approvals by ~97% in the author's usage, preserving human oversight for ambiguous or high-risk actions.

Key facts
Original article
DEV.to (Top)
Read full at DEV.to (Top) →
Opening excerpt (first ~120 words) tap to expand

try { if(localStorage) { let currentUser = localStorage.getItem('current_user'); if (currentUser) { currentUser = JSON.parse(currentUser); if (currentUser.id === 3887307) { document.getElementById('article-show-container').classList.add('current-user-is-article-author'); } } } } catch (e) { console.error(e); } Takuya Takahashi Posted on May 1 ccgate: Delegate Claude/Codex permission prompts to an LLM (~97% automated for me) #claudecode #ai #opensource #claude TL;DR ccgate is an OSS CLI that delegates permission prompts in Claude Code and Codex CLI to a separate LLM (Haiku by default). Outcomes are allow / deny / fallthrough. deny returns a reason the agent can act on. Genuinely ambiguous calls bubble back to the user.

Excerpt limited to ~120 words for fair-use compliance. The full article is at DEV.to (Top).

Anonymous · no account needed
Share 𝕏 Facebook Reddit LinkedIn Threads WhatsApp Bluesky Mastodon Email

Discussion

0 comments

More from DEV.to (Top)