Skip to content
Back to skills

Manage Learnus Session

ASecurity

Connect to Yonsei LearnUs in the student's persistent browser profile, reuse the official portal login, and recover from session expiry without receiving credentials in chat. Use when LearnUs login is required, a browser session expired, or the student asks to stay signed in; use the optional terminal session only when the student explicitly requests background or GUI-less operation.

  • 8 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added September 1, 2026
ai-agentspythonbash

Works with

  • terminal

Security analysis

A100/100

Pro scans all 4 files and shows the line behind each finding

Scanned September 1, 2026

npx -y skills add mrcha033/yonsei-skills --skill manage-learnus-session --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Manage Learnus Session?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Manage Learnus Session
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/mrcha033-manage-learnus-session/badge)](https://www.skillsdirectory.com/skills/mrcha033-manage-learnus-session)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: manage-learnus-session
description: Connect to Yonsei LearnUs in the student's persistent browser profile, reuse the official portal login, and recover from session expiry without receiving credentials in chat. Use when LearnUs login is required, a browser session expired, or the student asks to stay signed in; use the optional terminal session only when the student explicitly requests background or GUI-less operation.
---

# Manage LearnUs Session

Default to the student's browser, not a terminal login.

## Browser-first workflow

1. Reuse the persistent browser profile already used for Yonsei. Open:

   `https://ys.learnus.org/my/`

2. If the authorized **My courses** dashboard is visible, continue without
   interrupting the student.
3. If **Portal Login**, **External Login**, an ID/password form, MFA, or a
   session-expired page appears, leave that exact official tab open and ask the
   student once to complete login there.
4. Resume in the same browser profile. Verify the visible **My courses**
   dashboard and account menu before treating the session as connected.
5. Reuse that tab or profile for course, deadline, and material reads. On
   expiry, return to the official login screen and resume the last read-only
   step.

Never inspect or copy cookies, browser storage, saved passwords, OTPs, or
session parameters.

## Optional terminal mode

Use the bundled memory-only service only when the student explicitly asks for
background or GUI-less operation:

```bash
python3 "$SKILL_DIR/scripts/learnus_headless.py" status
python3 "$SKILL_DIR/scripts/learnus_headless.py" start --username "<Yonsei ID>"
```

The student must run `start` in their own interactive terminal and enter the
password at its hidden prompt. Never run it through a non-interactive wrapper.
The password remains only in that process and is lost when it stops.

Stop it when requested:

```bash
python3 "$SKILL_DIR/scripts/learnus_headless.py" stop
```

## Boundaries

- Do not describe a saved browser profile as permanent authentication; school
  sessions expire.
- Do not enable or request a Moodle token that the student's account does not
  expose.
- Do not submit assignments, messages, grades, or course changes.
- Stop on CAPTCHA, unexpected identity-provider pages, or repeated login
  responses and leave the official page for the student.

Run `python3 "$SKILL_DIR/scripts/learnus_headless.py" self-test` after terminal
session code changes.

Files in this skill

  • SKILL.md2.4 KB
  • agents/openai.yaml343 B
  • references/headless-auth.md2.3 KB
  • scripts/learnus_headless.py59.8 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.