Skip to content
Back to skills

List Learnus Materials

ASecurity

Read an authorized live LearnUs course first and extract its files, folders, resources, and visible media entries as a structured material list; use a user-supplied screenshot, pasted page, export, or JSON only when the live page is unavailable or intentionally supplied. Use when the user asks for lecture slides, readings, recordings, resource links, or a per-course material inventory.

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

Works with

  • terminal

Security analysis

A100/100

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

Scanned September 1, 2026

npx -y skills add mrcha033/yonsei-skills --skill list-learnus-materials --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of List Learnus Materials?

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

Security grade badge for List Learnus Materials
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/mrcha033-list-learnus-materials/badge)](https://www.skillsdirectory.com/skills/mrcha033-list-learnus-materials)

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: list-learnus-materials
description: Read an authorized live LearnUs course first and extract its files, folders, resources, and visible media entries as a structured material list; use a user-supplied screenshot, pasted page, export, or JSON only when the live page is unavailable or intentionally supplied. Use when the user asks for lecture slides, readings, recordings, resource links, or a per-course material inventory.
---

# List LearnUs Materials

Return one result only: the visible material inventory. Do not download or redistribute resources.

## Workflow

1. When a browser is available, reuse the student's authenticated LearnUs
   profile, select the exact course from **My courses**, and read its visible
   resource activities. If login appears, invoke `$manage-learnus-session`
   once and resume in the same browser.
2. When an HTML course snapshot is supplied, or the student explicitly chose
   optional terminal mode, parse it with:

   ```bash
   python3 "$SKILL_DIR/scripts/list_materials.py" \
     --html "<snapshot>" \
     --base-url "https://ys.learnus.org/course/view.php?id=<course-id>"
   ```

3. Return label, material kind, redacted URL, and visible availability state.
   Preserve course order.
4. If a supplied snapshot returns `login_required`, invoke
   `$manage-learnus-session`. If it is `blocked`, stop.
5. Delete temporary HTML after extraction.

## Boundaries

- Include visible files, Moodle resources and folders, and visible VOD/media activities.
- Exclude assignments from the material result.
- Treat a media URL as a visible reference, not permission to bypass playback controls.
- Do not download an entire course or expose signed query values.

Run `python3 "$SKILL_DIR/scripts/verify_material_list.py"` after parser changes.

Files in this skill

  • SKILL.md1.7 KB
  • agents/openai.yaml332 B
  • fixtures/course-materials.html827 B
  • scripts/list_materials.py9.5 KB
  • scripts/verify_material_list.py3.1 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.