← ClaudeAtlas

mirea-moodlelisted

Use this skill whenever a task involves online-edu.mirea.ru or MIREA Moodle — logging in through Keycloak SSO with a one-time code, listing enrolled courses, reading assignments (практические работы) and browsing course folders, downloading lectures/practice files or datasets, or converting downloaded assignments to PDF. Trigger it even when the user only says «скачай методичку», «найди курс», «сделай рабочую тетрадь», «МИРЭА», or names a MIREA course/subject, because the login and download flow is non-obvious and requires the bundled script.
Sapar-hub/sapar-skills · ★ 0 · Data & Documents · score 72
Install: claude install-skill Sapar-hub/sapar-skills
# MIREA Moodle (online-edu.mirea.ru) The site is Moodle behind Keycloak SSO with mandatory 2FA. The bundled `scripts/mirea.sh` already implements the whole curl flow — use it instead of re-deriving the OIDC dance. It keeps cookies and intermediate pages in `$MIREA_DIR` (default `~/.mirea`). ## Before starting - **Credentials come from the environment**: `KC_USER` and `KC_PASS`. Ask the user for them if they are missing. Never write the password into a file, a commit, or a command that will be echoed back. - **2FA**: if `MAILRU_USER` and `MAILRU_APPPASS` (Mail.ru app password) are set, `start` switches 2FA to email and reads the code over IMAP itself — login is one command, no human needed. Otherwise the code goes to the user's phone/MAX: ask for the 6 digits and pass them to `otp`. The code lives ~2–5 minutes, so request it immediately. Never try to bypass or guess it. - **Network**: some sandboxes/containers route traffic through an egress proxy that blocks `mirea.ru`, and IPv6 can hang. The script always uses `curl --noproxy '*' -4`. If you write any raw curl yourself, keep both flags. - Work in a user-visible output directory, e.g. `./downloads`, and report absolute paths. Don't paste binary files into chat. ## Workflow Paths below are relative to this skill's base directory, which the agent (Claude Code / OpenCode) prints when the skill loads. Run the script from there (or use its absolute path): ```bash bash scripts/mirea.sh check ``` 1. **Veri