security-gate

Classifies inbound Telegram messages as ALLOW, WARN, or BLOCK with rationale.

6|Updated Nov 30, 2025
One-click install
npx skills add https://github.com/avivsinai/telclaude --skill security-gate-avivsinai
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: security-gate
Source: https://github.com/avivsinai/telclaude/tree/main/.claude/skills/security-gate
Command: npx skills add https://github.com/avivsinai/telclaude --skill security-gate-avivsinai

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Telclaude faces the risk of unsafe prompts reaching Claude Code. This Skill classifies inbound Telegram messages as ALLOW, WARN, or BLOCK with brief rationale, enabling proactive safety gating and reduced attack surface.

Core Features & Use Cases

  • Deterministic classification of inbound messages into ALLOW, WARN, or BLOCK based on message content and context.
  • Policy-driven decision making with rationale attached to each decision, supporting auditability and compliance.
  • No tool access required; operates as a lightweight gate before relay to Claude Code.

Quick Start

Input an inbound Telegram message to evaluate and receive a classification decision.

Frequently Asked Questions about security-gate

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I classify and gate inbound Telegram messages for safety?

Classifying and gating inbound Telegram messages involves screening content in real-time to determine safety levels. This Skill evaluates incoming prompts and assigns a classification of ALLOW, WARN, or BLOCK with a brief rationale to prevent unsafe messages from reaching Claude Code.

How does deterministic message classification work for Telegram relays?

Deterministic message classification applies predefined rules to evaluate Telegram message content without external tool access. It outputs a JSON object containing the classification decision, confidence score, reason, and any flagged patterns, ensuring consistent and auditable safety gatekeeping.

Do I need external tool access to screen Telegram prompts for unsafe content?

No external tool access is required to screen Telegram prompts for unsafe content. This gatekeeping Skill operates as a lightweight, standalone filter before relaying messages, applying policy-driven rules to proactively reduce the attack surface without external dependencies.

What is the best way to audit safety decisions for real-time Telegram message screening?

The best way to audit safety decisions for Telegram message screening is to use policy-driven classification with attached rationale. This approach outputs a JSON object with the classification, confidence level, and reason for each message, supporting compliance and auditability.

When should I use a lightweight gatekeeping filter instead of a complex security model?

Use a lightweight gatekeeping filter when you need to proactively screen inbound Telegram messages before they reach Claude Code. It is ideal for reducing the attack surface with deterministic rules and minimal overhead, rather than deploying a complex external security model.