tbank-login

tbank-login is a skill for Claude Code from icyberdeveloper/tbank-mcp. It costs 96 tokens per session (903 once invoked), scanned A, original, MIT.

A login and session-management guide for T-Bank MCP, a tool connection for interacting with T-Bank services. It covers starting login, confirming an SMS code, checking or refreshing a session, and keeping it alive.

In plain words
What is it for?
Use it to log in with a phone number, confirm an SMS code, re-authenticate with a PIN, check session status, refresh access, keep the session active, or view unread push counts.
Why use it?
It explains what to do when there is no active session or a session has expired. It also keeps passwords out of the chat by directing password steps to a local terminal login tool.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the tbank plugin — 11 skills, 2 MCP servers shipped together

Good fit Use it to log in with a phone number, confirm an SMS code, re-authenticate with a PIN, check session status, refresh access, keep the session active, or view unread push counts.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/icyberdeveloper/tbank-mcp/tbank-login
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.

Any agent
npx skills add icyberdeveloper/tbank-mcp --skill tbank-login
Clone the repo
git clone --depth 1 https://github.com/icyberdeveloper/tbank-mcp

Made for: Claude Code.

Or install tbank, the plugin that ships this one along with the rest of its 11 skills, 2 MCP servers.

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 tbank-login

README.md
[![agentmods](https://agentmods.dev/badge/skills/icyberdeveloper/tbank-mcp/tbank-login/github.svg)](https://agentmods.dev/skills/icyberdeveloper/tbank-mcp/tbank-login)
Your own site
<a href="https://agentmods.dev/skills/icyberdeveloper/tbank-mcp/tbank-login"><img src="https://agentmods.dev/badge/skills/icyberdeveloper/tbank-mcp/tbank-login/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for tbank-login

Your own site · 80×15
<a href="https://agentmods.dev/skills/icyberdeveloper/tbank-mcp/tbank-login"><img src="https://agentmods.dev/badge/skills/icyberdeveloper/tbank-mcp/tbank-login.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 96 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 903 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found 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.00096 $0.00903
Opus 5 $0.00048 $0.00451
Sonnet 5 $0.00019 $0.00181
Haiku 4.5 $0.00010 $0.00090

Measured 12d ago against content hash 6897924bba1a, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade A, and why

tbank-login 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 12d 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.

tbank_mcp/skills/tbank-login/SKILL.md · 61 lines

How it starts

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

Логин и управление сессией T-Bank MCP

Инструменты

Тул Что делает
login(phone) Начинает SSO-логин. Отправляет SMS OTP. Возвращает какой шаг следующий (otp/password/pin).
confirm_otp(otp) Отправляет SMS-код.
confirm_password(password) НЕ вызывается из чата — пароль не проходит через агента. Существует для login_cli.py, который читает пароль из терминала.
confirm_pin(pin) Отправляет PIN (re-auth).
refresh_session() Обновить сессию без OTP. Единый тул: способ выбирается сам.
session_status() Проверить жива ли сессия.
keepalive() Пинг — продлевает сессию (~2ч TTL).
push_unread_count() Число непрочитанных push-уведомлений.

Флоу первого логина

  1. login(phone) → SMS отправлена
  2. Пользователь сообщает SMS-код → confirm_otp(code)
  3. Если банк просит пароль → НЕ вводи его через агента: попроси пользователя запустить логин-CLI в терминале — tbank-mcp-login (pip-установка) или login_cli.py (репозиторий), см. ниже
  4. session.json сохранён. Готово.

Логин идёт текстом: login(phone) возвращает следующий шаг, ты берёшь у пользователя код и вызываешь confirm_otp(code)confirm_pin, если банк попросит). Формой код ввести нельзя — в клиенте нет текстового поля. Пароль в агент не передаётся вовсе: на шаге пароля пользователь запускает в терминале tbank-mcp-login (pip-установка) или .venv/bin/python login_cli.py (репозиторий).

Обновление сессии (SESSION EXPIRED / NO_SESSION)

Access-токен живёт ~2ч. ensure_fresh() освежает сессию сам на первом вызове каждого флоу, поэтому вручную refresh нужен только если тул вернул SESSION EXPIRED.

  1. Вызови refresh_session() — это единый тул обновления: способ он выберет сам и обойдётся без OTP и пароля.
  2. Повтори упавший тул.
  3. Если refresh_session() вернул REAUTH_REQUIRED — оба пути истекли. Скажи пользователю: нужен полный логин (login(phone) + OTP + пароль). НЕ пытайся обновлять дальше и не зацикливайся.

Read the full file on GitHub · 61 lines

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 12d ago First seen · 61 lines · 96 tokens per session scan A 6897924bba1a

Subscribe to this mod's changes

tbank-login is a skill published in the GitHub repository icyberdeveloper/tbank-mcp (26 stars, last pushed 2d ago), licensed MIT. It adds 96 tokens to every session and 903 once invoked, about $0.0005 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

sparebank1-context

Build and maintain a personal finance context for the sb1 CLI (SpareBank 1) by running a short onboarding interview over the user's own accounts and transactions, then saving the answers to a private, git-ignored file the agent reads at the start of future finance sessions. Captures the meaning the bank can't know …

magnusrodseth/sparebank1-cli · 138 tokens

sparebank1-shared

Runtime contract for the sb1 CLI (SpareBank 1 personal banking). Covers install, BankID login, secret-storage backends, output formats, global flags, the command map, and error handling. Use this as the foundation before any other sparebank1 skill, or whenever a user asks to check Norwegian bank accounts, balances, or…

magnusrodseth/sparebank1-cli · 83 tokens

sparebank1-accounts

Read accounts, balances, and transactions with the sb1 CLI (SpareBank 1). List accounts and totals, look up balances, browse and filter transactions by date/account, inspect a single transaction, and export to CSV. Use when a user wants to see their Norwegian bank balances, spending, recent transactions, or wants…

magnusrodseth/sparebank1-cli · 81 tokens

sparebank1-transfers

Move money with the sb1 CLI (SpareBank 1), transfer between the user's own accounts, pay a credit card, or pay into a pension policy. Use when a user explicitly asks to transfer/move money, pay a credit card, or fund a pension via sb1. Handles the confirmation flow safely.

magnusrodseth/sparebank1-cli · 73 tokens

weekly-fno-trade-planner

Weekly F&O trade planning skill for Indian markets. Analyzes news/macro events, identifies trending sectors and instruments, determines probable direction, suggests option strategy with entry/exit levels, and manages stop-loss and profit booking after position entry. Use when user wants a weekly trade idea, F&O…

ajeeshworkspace/indian-trading-skills · 86 tokens

options-strategy-advisor

Options strategy analysis for Indian F&O markets (NSE). Use when user requests options strategy recommendations, P/L analysis, Greeks calculation, risk management, or F&O strategy planning for Nifty, Bank Nifty, or stock options.

ajeeshworkspace/indian-trading-skills · 53 tokens