af-set-hermes-telegram

af-set-hermes-telegram is a command for Claude Code, OpenCode from chankov/agent-fleet. It costs 14 tokens per session (242 once invoked), scanned A, a copy of set-hermes-telegram, MIT.

A command for installing or checking a Hermes liaison and connecting its ask-user bridge to Telegram, a messaging service.

In plain words
What is it for?
Use it to install the liaison, check a profile, or enable or disable a Telegram chat or topic bridge.
Why use it?
It provides controlled status and on-or-off settings for Telegram interaction without using ad-hoc lifecycle commands or sending test messages.

Command for Claude CodeOpenCode

Written for Claude Code and OpenCode: argument-hint in frontmatter, but also installed under .opencode/.

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 commands/chankov/agent-fleet/af-set-hermes-telegram
Clone the repo
git clone --depth 1 https://github.com/chankov/agent-fleet

Made for: Claude Code, OpenCode.

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 af-set-hermes-telegram

README.md
[![agentmods](https://agentmods.dev/badge/commands/chankov/agent-fleet/af-set-hermes-telegram.svg)](https://agentmods.dev/commands/chankov/agent-fleet/af-set-hermes-telegram)
Your own site
<a href="https://agentmods.dev/commands/chankov/agent-fleet/af-set-hermes-telegram"><img src="https://agentmods.dev/badge/commands/chankov/agent-fleet/af-set-hermes-telegram.svg" alt="Measured on agentmods" height="20"></a>
Per session 14 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 242 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin 100% 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.1 $0.00014 $0.00242
Opus 5 $0.00007 $0.00121
Sonnet 5 $0.00003 $0.00048
Haiku 4.5 $0.00001 $0.00024

Measured 2d ago against content hash 9a2bebf8699e, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade A, and why

af-set-hermes-telegram scanned grade A with 0 findings 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 2d 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.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

Origin

This is a copy

100% identical to set-hermes-telegram — 0 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.

.versions/0.0.10/.opencode/commands/af-set-hermes-telegram.md · 16 lines

What it actually says

Run the deterministic Agent Fleet controller with the arguments from $ARGUMENTS. Supported forms are:

set-hermes-telegram install [--profile NAME] [--force] [--restart]
set-hermes-telegram status [--profile NAME]
set-hermes-telegram on <telegram-id[:topic-id]> [--profile NAME]
set-hermes-telegram off <telegram-id[:topic-id]> [--profile NAME]

Use node bin/cli.js set-hermes-telegram ... when the checkout-local CLI exists; otherwise use npx --no-install agent-fleet set-hermes-telegram .... Pass parsed values as separately quoted shell arguments. If neither CLI exists, report that Agent Fleet must be installed or updated. Do not reproduce installation or Herdr lifecycle with ad-hoc commands, do not bypass a --force refusal, and do not send a test Telegram message. Return the controller output verbatim.

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. 2d ago First seen · 16 lines · 14 tokens per session scan A 9a2bebf8699e

Subscribe to this mod's changes

af-set-hermes-telegram is a command published in the GitHub repository chankov/agent-fleet (14 stars, last pushed today), licensed MIT. It adds 14 tokens to every session and 242 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 0 findings. It is 100% identical to set-hermes-telegram, differing in 0 lines, and is treated as a copy.