configure

configure is a skill for Claude Code, Codex from 5dive-ai/5dive-plugins. It costs 56 tokens per session (1,511 once invoked), scanned B, a copy of configure, Apache-2.0.

A setup guide for connecting a Telegram bot to an agent. Telegram is a messaging service, and a bot is an automated account that can receive and send messages.

In plain words
What is it for?
Saving a bot token, checking whether Telegram is configured, reviewing direct-message permissions and pending pairings, and checking the channel allowlist.
Why use it?
It makes the bot connection and its access rules visible, including who is allowed to contact it.

Skill for Claude CodeCodex

Part of the telegram plugin — 2 skills, 1 command shipped together

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add skills/5dive-ai/5dive-plugins/configure
Any agent
npx skills add 5dive-ai/5dive-plugins --skill configure
Clone the repo
git clone --depth 1 https://github.com/5dive-ai/5dive-plugins

Made for: Claude Code, Codex.

Or install telegram, the plugin that ships this one along with the rest of its 2 skills, 1 command.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for configure

README.md
[![agentmods](https://agentmods.dev/badge/skills/5dive-ai/5dive-plugins/configure.svg)](https://agentmods.dev/skills/5dive-ai/5dive-plugins/configure)
Your own site
<a href="https://agentmods.dev/skills/5dive-ai/5dive-plugins/configure"><img src="https://agentmods.dev/badge/skills/5dive-ai/5dive-plugins/configure.svg" alt="Measured on agentmods" height="20"></a>
Per session 56 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,511 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 1 finding. Scan, not verified.
Origin 91% copy Near-identical to another mod in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00056 $0.01511
Opus 5 $0.00028 $0.00756
Sonnet 5 $0.00011 $0.00302
Haiku 4.5 $0.00006 $0.00151

Measured 4d ago against content hash 78de2961a12c, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade B, and why

configure scanned grade B with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 4d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Asks for rootmediumPrivilege escalation

A mod that escalates privileges can change anything on the machine, not only the project.

> sudo tee "<path>" >/dev/null <<'EOF'
Origin

This is a copy

91% identical to configure — 59 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

plugins/telegram/skills/configure/SKILL.md · 147 lines

How it starts

The opening of the file, as written. The whole thing — 147 lines — stays where its author put it; the contents beside it link to each section on GitHub.

/telegram:configure — Telegram Channel Setup

Writes the bot token to ~/.claude/channels/telegram/.env and orients the user on access policy. The server reads both files at boot.

Arguments passed: $ARGUMENTS


Dispatch on arguments

No args — status and guidance

Read both state files and give the user a complete picture:

  1. Token — check ~/.claude/channels/telegram/.env for TELEGRAM_BOT_TOKEN. Show set/not-set; if set, show first 10 chars masked (123456789:...).

  2. Access — read ~/.claude/channels/telegram/access.json (missing file = defaults: dmPolicy: "pairing", empty allowlist). Show:

    • DM policy and what it means in one line
    • Allowed senders: count, and list display names or IDs
    • Pending pairings: count, with codes and display names if any
  3. Channel allowlist — without this, slash commands and the reply tool work, but inbound Telegram messages never reach the agent's context. The file is platform-specific:

    • macOS: /Library/Application Support/ClaudeCode/managed-settings.json
    • Linux: /etc/claude-code/managed-settings.json
    • Windows: %ProgramData%\ClaudeCode\managed-settings.json

    Read the file (it may not exist — that's the common case for standalone plugin installs). Expected shape:

    {
      "allowedChannelPlugins": [
        {"plugin": "telegram", "marketplace": "5dive-plugins"}
      ]
    }
    

    Each entry is an object {plugin, marketplace}, not a string. claude rejects strings here with "Expected object, but received string" — common mistake.

    Verdict to surface:

    • File missing, or allowedChannelPlugins missing, or no entry has both plugin=telegram and marketplace=5dive-plugins:

      ⚠️ Channel auto-injection not enabled — inbound Telegram messages won't reach claude's context yet. One-time setup; run in a separate terminal (you'll be prompted for sudo):

      sudo tee "<path>" >/dev/null <<'EOF'
      {"allowedChannelPlugins":[{"plugin":"telegram","marketplace":"5dive-plugins"}]}
      EOF
      

      Then restart claude.

Read the full file on GitHub · 147 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 4d ago First seen · 147 lines · 56 tokens per session scan B 78de2961a12c

Subscribe to this mod's changes

configure is a skill published in the GitHub repository 5dive-ai/5dive-plugins (2 stars, last pushed 5d ago), licensed Apache-2.0. It adds 56 tokens to every session and 1,511 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it B with 1 finding (asks for root). It is 91% identical to configure, differing in 59 lines, and is treated as a copy.

Related

Other skills, from other repositories

researcher

Delegate a deep research or survey task to Google's Antigravity CLI (agy staffer, fast Gemini). Use when the user says /agy:researcher, "ask agy to research", "have the agy staffer survey X", or wants a second, independent deep-dive on a topic or codebase without spending the host model's quota.

keli-wen/agy-staff · 75 tokens

ask

Ask Google's Antigravity CLI (agy staffer, fast Gemini) a cheap one-shot question - the fast zero-tool mode and the post-install smoke test. Use when the user says /agy:ask, "ask agy", "quick second opinion from agy", or right after installing to verify the plugin works.

keli-wen/agy-staff · 67 tokens

reviewer

Get a second-opinion review from Google's Antigravity CLI (agy staffer, fast Gemini) - of code (a diff, PR, working tree) or of a decision, plan, or design. Use when the user says /agy:reviewer, "have agy review this", "second opinion on my diff/PR/plan", or after finishing work and wanting an independent verifier…

keli-wen/agy-staff · 94 tokens

gemini-imagegen

Use when the user asks to generate, create, draw, edit, or restyle an image, or when a task needs image assets — logos, icons, illustrations, hero images, textures, photos, placeholder art, social/OG cards. Claude cannot produce raster images; a Gemini session via the agy (Antigravity) CLI has a generateimage tool…

Vallykrie/gemini-swarm-skill · 107 tokens

github-ci-fix

Use when PR checks fail, CI is red, or GitHub Actions workflows break - systematically inspects failing checks via gh CLI, pulls logs, checks for flakiness and scopes the breaking commit, scopes external checks, then creates fix plan using existing plan skill.

patrickserrano/lacquer · 57 tokens

antigravity-rescue

Use when stuck, wanting a second implementation or diagnosis pass, or handing a substantial task to Google's Antigravity CLI (agy) through a real subprocess -- a genuinely different agent harness, not just another model. Not relevant when already running under Antigravity CLI itself.

patrickserrano/lacquer · 60 tokens