SkillsReviewed · rohitg00

LLM Gate

LLM Gate is a Claude Code skill for developers who want AI checks before coding operations, but its configuration examples and enforcement behavior are unverified. It describes prompt hooks for commit messages, destructive commands and possible secrets, plus an agent hook for security review.

Researched 16 Nov 2026

In short.

LLM Gate is a Claude Code skill for developers adding AI checks to their coding workflow, but compatibility and reliable blocking are not established by its examples. It explains model-based decisions around tool calls and supplies configurations for several safeguards. No hooks were executed; accuracy, failure handling, latency and costs remain unknown.

Researched and written by an AI model and checked by a second AI model. How it works

Coverage is limited to skills/llm-gate/SKILL.md in the selected skills/llm-gate folder at revision 86d5f2770bd8e1695e40888e4242841eb7cbad4f. No companion files or licence notices beside or above the folder appear in the supplied evidence. Surrounding repository functionality and external Claude Code documentation are not assessed. Nothing was executed, so installation, schema validity, matching, model decisions, blocking, failure handling, performance and costs remain unverified.

The overview

Identity

LLM Gate is an instruction skill in the rohitg00/pro-workflow repository, under skills/llm-gate. It teaches configuration of Claude Code hooks: checks invoked around an assistant's tool use. The supplied file contains instructions and JSON examples, rather than a standalone enforcement application. Source folder: [https://github.com/rohitg00/pro-workflow/tree/main/skills/llm-gate].

Assessment

The resource offers concrete starting points for teams exploring model-based checks beyond explicit formatting rules. Its strongest practical feature is the pairing of narrowly targeted operations with focused review prompts. The file does not establish that its fields are accepted by a particular Claude Code release or that the resulting gates reliably enforce their intended rules.

Users

The intended users are developers configuring Claude Code for commit conventions, file-write checks and review before potentially consequential commands. Beginners receive short examples, but need enough familiarity with JSON and hooks to place and troubleshoot them. Experienced developers can use the examples to explore judgment-based checks; dependable security enforcement is not demonstrated.

Capabilities

Examples ask a model to inspect conventional commit messages, flag certain destructive removal commands and detect possible hardcoded credentials in file writes. A separate agent example requests security review before a push, including injection issues and exposed internal URLs. These are requested review tasks, not demonstrated detection capabilities or measured protection.

Using it

Requirements

Using the examples requires Claude Code with compatible hook support, permission to configure hooks and access to the selected model. The examples name Haiku, while the guidance also suggests Sonnet for complex analysis. Minimum Claude Code version, exact model versions, account requirements, operating-system support and authentication setup are unspecified.

Mechanism

The document describes a PreToolUse hook matched to Bash, with an if condition intended to restrict execution to commit commands. It says $ARGUMENTS is replaced with JSON hook input, which is sent to a model. The expected response contains an ok boolean and, for rejection, a reason; a negative decision is intended to block the tool call.

The agent variant requests a fuller review and sets a longer timeout. Accepted configuration syntax, available agent tools, input visibility and behavior when the model fails or returns malformed output are not established.

Setup

The guide proposes choosing an operation, writing a focused prompt, selecting a model, setting a timeout and adding the configuration to hooks.json under the relevant event. It recommends prompts shorter than 100 words and example timeouts of 15 seconds for prompt hooks and 60 seconds for agent hooks.

The exact hooks.json location and a complete installation procedure are absent. Although the guidance calls for an if condition on every gate, the file-write example omits one; its intended event placement and filtering need clarification before use.

Example

The commit validator asks for a type(scope): summary structure, permits feat, fix, refactor, test, docs, chore, perf and ci, and requires a summary shorter than 72 characters. An illustrative command is git commit -m "feat(auth): add login validation". The intended behavior is approval if the model judges it compliant and rejection otherwise; no actual decision was observed.

Assessment & evidence

Limitations

Detection accuracy, false rejections, resistance to misleading input and coverage of alternative command forms are unassessed. The file describes blocking after an explicit negative decision, but does not explain timeout or model-error behavior. Machine-wide control over commands outside configured Claude Code hooks is not established.

The push example requests review of staged changes, which need not represent the commits being pushed; coverage of outgoing commits is therefore unclear. The guide also does not explain provider data handling for command or file content submitted for review.

Reasoning

A reasonable use is supplementary review of conventions that require context or judgment. The examples support that intended role, but do not justify treating a model's approval as proof that code is safe or a secret is absent. Explicit formatting rules also offer a useful comparison point because their expected outcomes can be defined precisely.

Alternatives

Alternative approaches to consider include conventional-commit validators for message structure, linters for explicit code rules and dedicated secret scanners for credentials. These are functional comparisons, not evaluated products. Within the skill, prompt hooks and agent hooks represent two proposed review approaches; no comparative results establish their accuracy, speed or cost.

Evidence

The evidence consists of the complete 3,030-byte skills/llm-gate/SKILL.md at revision 86d5f2770bd8e1695e40888e4242841eb7cbad4f. Its recorded SHA-256 is 4b7da8e85e2041f87812049fb15228efe7defe342b0463f1330542a176d668e6. Original captured source: [https://raw.githubusercontent.com/rohitg00/pro-workflow/86d5f2770bd8e1695e40888e4242841eb7cbad4f/skills/llm-gate/SKILL.md].

The file provides configuration examples and explanatory claims. It includes no execution results, benchmark data or demonstrated security outcomes.

Access & freshness

Costs

Actual costs are unknown. The author characterizes Haiku as fast and inexpensive, but supplies no prices, token counts, billing requirements or measurements. Triggered reviews may add model usage and waiting time. The 15-second and 60-second values are timeout settings, not measured response times.

Rights

The supplied SKILL.md contains no licence grant, and no separate licence notice is included in the evidence. Permission to reuse, modify or redistribute the skill, and any attribution obligations, are unknown. Public repository access alone does not establish those permissions.

Freshness

The snapshot was captured on 2026-11-16 at 00:21:18.327 UTC and is pinned to the revision above. That timestamp records capture, not the file's last modification. Compatibility with current Claude Code releases and current Haiku or Sonnet variants is unknown because the file specifies no concrete product or model versions.

Actions

Before adoption, confirm the accepted hook schema, configuration location, conditional matching and input substitution for your Claude Code version. Begin with an isolated commit-message gate and verify compliant messages, rejected messages, alternative command forms, malformed responses and timeouts.

For the push example, define whether review must cover staged files or outgoing commits and verify that the agent receives that material. Establish applicable licence terms and model costs before copying the skill or expanding usage. None of these validation steps was performed here.

Evidence for this report

skills/llm-gate/SKILL.mdselected · checked 2026-11-16