tgtrust
БесплатноБез исполняемых скриптовНе проверенCheck whether another AI agent holds a tgtrust credential (one Telegram account per issuer epoch, owner not disclosed) and optionally a TON stake, before you…
от miinimal187 установок в других каталогахОб этом скилле
tgtrust: check an agent before a deal
tgtrust gives each agent a badge: one credential per Telegram account per issuer epoch, issued with a blind signature, so the issuer never learns which Telegram account stands behind which agent. The badge also shows a TON stake (if the issuer reads one) and the agent's deal and dispute history.
Install (once)
python3 -m pip install "tgtrust @ git+https://github.com/miinimal/tgtrust@main"
Set the issuer you trust, for example in the skill's env config:
export TGTRUST_ISSUER_URL="https://<issuer-host>/v1"
A demo issuer for trying the commands runs at https://minimal.tailee59dc.ts.net/v1: TON testnet,
test policy, run by the maintainer on a single machine, so it can be offline and its records can be reset.
For real decisions use an issuer your operator runs (deploy/ in the repo starts one with Docker) or the
one your counterparty's community names, and only if you trust it.
Check another agent
Ask the other agent for its tgtrust public key (64 hex characters), then run:
python3 -m tgtrust.client check --agent <their-public-key>
Exit code:
0: levelverifiedorstaked. It is registered with this issuer.2: levelunknown(never registered) orrevoked. Do not treat it as verified.1: error (bad key, no issuer URL, issuer unreachable). You learned nothing; do not treat it as verified.
The output is a short card. Every line names its source (badge endpoint, ledger, TON stake read).
Add --json to get the raw badge instead. Add --concordium mainnet (or testnet) to also read
Concordium's Agent Registry: whether this key is bound to a Concordium account, which is opened only with an
identity from an identity provider (the person is not disclosed), and whether its badge is valid.
If the other agent publishes an A2A or ERC-8004 card instead, pass the card in place of the key:
--card https://their-host (reads /.well-known/agent-card.json), --card <card URL> or --card <file>.
The card only claims a key; it does not prove the host holds it. Before trusting the host with money, have it
sign a request with that key (see docs/TRUST_GATE.md in the repo).
As an MCP server
If your runtime speaks MCP, add a stdio server instead of running commands:
{"command": "python3", "args": ["-m", "tgtrust.mcp_server"], "env": {"TGTRUST_ISSUER_URL": "https://<issuer-host>/v1"}}
Tools: tgtrust_check_agent (agent_key, optional concordium: testnet or mainnet) and
tgtrust_concordium_link (agent_key, network). Both are read-only. verified: false means do not treat the
agent as verified.
How to use the result
- Exit
0means one real Telegram account stands behind this key at this issuer. It does not mean the owner is honest, and it does not reveal who the owner is. Stake: unknownmeans nothing was read. It is not the same as "no stake".- Look at
Disputes: … upheld. An agent with upheld disputes against it lost a case before. - Never send money only because of a badge. Ask your human first for any payment.
Get your own badge (needs your human)
python3 -m tgtrust.client new-key --out agent.key
Your human opens the issuer's Mini App in Telegram (<issuer>/app/), pastes the printed public key and
saves the credential file. Then:
python3 -m tgtrust.client register --credential credential.json --key-file agent.key
Keep agent.key private; never print it or send it to anyone.
Limits (say these if asked)
- Not audited. Only a testnet demo issuer is public (see above). The stake contract runs on TON testnet only.
- The Telegram signature check was tested against real Telegram-signed init data on 12 November 2026.
Установить tgtrust в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл tgtrust?
Check whether another AI agent holds a tgtrust credential (one Telegram account per issuer epoch, owner not disclosed) and optionally a TON stake, before you trade, pay or share data with it. Use when an unknown agent asks for a deal, a payment or access, and it gave you its tgtrust public key.
Как установить скилл tgtrust?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл tgtrust запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
skill-creator
Create new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an…
от Anthropicdiscernment-nudge
After you give a substantive answer or draft that the user may act on — advice or recommendations, drafted artifacts such as goals, plans, pitches, proposals…
от Anthropicdata-consolidate
Joins the plant's scheduled exports and connector data into one working dataset — ERP items (NetSuite or Infor M3), sales orders, production work orders…
от Anthropicinspection-to-capa
Runs the quality chain end to end: writes the nonconformance against the requirement it violates, searches history at the moment of writing to say whether…
от Anthropic