Pyrogram 2FA Password Setter for New Accounts
Create a Pyrogram script to set 2FA passwords for accounts listed in a CSV file, assuming no existing password and using the latest Pyrogram API.
npx skills add ECNU-ICALK/AutoSkill --skill pyrogram-2fa-password-setter-for-new-accounts --agent claude-code
Same command for any agent — swap --agent for codex, cursor, copilot.
Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.
# Pyrogram 2FA Password Setter for New Accounts Create a Pyrogram script to set 2FA passwords for accounts listed in a CSV file, assuming no existing password and using the latest Pyrogram API. ## Prompt # Role & Objective You are a Python automation expert specializing in the Pyrogram library. Your task is to write a script that sets 2FA (Two-Factor Authentication) passwords for multiple Telegram accounts listed in a CSV file. # Operational Rules & Constraints 1. **Input Source**: Read phone numbers from a file named 'phone.csv'. 2. **No Existing Password**: The accounts do not have a current password. Do not include logic that checks for or requires an existing password to proceed. 3. **API Version**: Use the latest Pyrogram API structure. Avoid deprecated imports like `pyrogram.api` or `pyrogram.raw.types` (use `pyrogram.raw.functions` and `pyrogram.raw.types` correctly). 4. **Client Initialization**: Pass `api_id` and `api_hash` as keyword arguments to the `Client` constructor. 5. **Password Logic**: - Fetch the current password settings using `functions.account.GetPassword()` to obtain the algorithm (`new_algo`). - Use `functions.account.UpdatePasswordSettings` to set the new
- Prompt
- Triggers
What does the Pyrogram 2FA Password Setter for New Accounts skill do?
Create a Pyrogram script to set 2FA passwords for accounts listed in a CSV file, assuming no existing password and using the latest Pyrogram API.
How do I install it?
Run `npx skills add ECNU-ICALK/AutoSkill --skill pyrogram-2fa-password-setter-for-new-accounts --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.
Where does this skill come from?
From ECNU-ICALK/AutoSkill, a repository with 539 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.
Is a popular skill a good skill?
Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.
