sbermobile-skill

An unofficial Python client and skill for the SberMobile account: tariff, package balances, services and bonuses

SkillMedium riskRussian stack

pocketpet/sbermobile-skill

Install

git clone https://github.com/pocketpet/sbermobile-skill.git
cd sbermobile-skill
pip install -r requirements.txt

This is third-party code. Review the repository files before installing.

What it does

The client calls the same REST endpoints as the lk.sbermobile.ru web account, with no browser. Login uses an SMS code, and the token is saved and reused next time. The agent can check the tariff and remaining GB, minutes and SMS, connected and available options, the recommended top-up, SberSpasibo bonuses and promo offers. All methods are read-only.

Who it is for. For SberMobile subscribers who want to ask an agent about balances and tariff instead of logging into the account.

Good fit when

  • You want to check remaining data, minutes and SMS
  • You want to compare your tariff with available ones
  • You want to see connected paid services

Not a fit when

  • You need to change tariffs or add services: the client is read-only
  • You need a stable official integration

Example request

How many GB and minutes do I have left on SberMobile?

Limitations

The project is not affiliated with Sberbank or SberMobile; the API is private and may change without notice. The token is stored in /tmp/sbermobile_token.json. Amounts are returned in kopecks.

How to disable. Remove the skill from the skills directory and delete the /tmp/sbermobile_token.json token file.

Security check

  • Uses a private API and an account token
  • The token is stored in the unprotected /tmp directory

README in short

The README describes an unofficial SberMobile account client with SMS login and six read-only skills for Claude and other LLMs. It lists client methods, the project structure and API quirks: a token header, a 10-digit number and amounts in kopecks. The agent_demo.py example runs an interactive Claude chat and needs ANTHROPIC_API_KEY. MIT licensed.

SKILL.md

---
name: sbermobile
description: >
  This skill should be used when the user asks to "check SberMobile balance",
  "view SberMobile tariff", "manage SberMobile services",
  "check remaining minutes/SMS/GB on SberMobile",
  or mentions СберМобайл, SberMobile, or mobile operator account.
version: 0.2.0
---

# СберМобайл — личный кабинет оператора

Проект: `sbermobile_skill/`
API документация: `docs/api-reference.md`

## Python client

```python
import sys; sys.path.insert(0, "/path/to/sbermobile_skill")
from client import SberMobileClient

c = SberMobileClient()  # загрузит токен из /tmp/sbermobile_token.json
```

### Если токен протух (TOKEN_NOT_FOUND):
```python
c.request_otp('+79XXXXXXXXX')
# Спросить SMS-код у пользователя
c.submit_otp('+79XXXXXXXXX', '<код>')
```

### Основные вызовы
```python
c.get_tariff_data('9XXXXXXXXX')       # Тариф + остатки (ГБ, мин, SMS)
c.get_tariff_connected_available()    # Текущий тариф + доступные опции
c.get_recommended_amount()            # Рекомендуемое пополнение
c.get_loyalty_state()                 # Бонусы СберСпасибо
c.get_options_connected('9XXXXXXXXX') # Подключённые услуги
c.get_campaign_content()              # Промо-акции
c.get_selfreg_showcase()              # Витрина тарифов
```

## Правила
- Суммы в копейках (39000 = 390 руб) — делить на 100 при показе
- Отвечай по-русски, кратко

$ARGUMENTS

FAQ

Can the skill change anything in the account?

No, the client has only GET methods and no write operations.

What dependencies are needed?

Only the requests library.

Obsidian skills

Obsidian Skills

Skills for agents working with Obsidian: Markdown with wikilinks, Bases, JSON Canvas, Obsidian CLI, Defuddle and Knap

SkillMedium risk48.3K

Search tours, hotels, flights, trains and excursions via Aviasales, Travelata, Level.Travel, Tutu.ru, Tripster and Sputnik8

SkillMedium riskRussian stack16

A skill pack for Yandex 360: Mail, Calendar, Contacts, Directory, Telemost, Disk, Forms and Tracker

SkillHigh riskRussian stack10

Hosted MCP server for finding cheap round-trip flights across flexible dates, no key or signup

MCP serverMedium risk3