edstem
由 axel5o5 提供
Browser & Automation简介
Fetch, sync, and organize EdStem discussion threads for any course or institution.
描述
该技能的功能
Fetches EdStem discussion threads from any course using the official API and saves them as structured markdown files. Each post is tagged [STAFF] or [STUDENT], so instructor responses are clearly separated from student questions. Works with any institution running EdStem.
Uses the official EdStem API rather than scraping, and automatically tags each post with the author's role, something raw API responses don't include.
何时使用
- Checking for new student questions in a course forum
- Syncing multiple course discussion boards to a local directory
- Searching thread history for a specific topic or error message
- Reviewing staff responses to identify recurring course issues
- Automating daily mirroring of course discussions via cron
示例工作流
User asks: Fetch the latest 25 posts from my Machine Learning course (ID 92041)
- 1
Runs fetch-edstem.py with course ID 92041 and --limit 25
- 2
Authenticates using the bearer token stored in the script
- 3
Fetches thread metadata and full content for each thread
- 4
Writes each thread to a numbered markdown file with [STAFF] and [STUDENT] role tags
- 5
Saves a threads.json index alongside the markdown files
Directory edstem-92041/ containing threads.json and 25 markdown files, each with the full conversation and role labels on every post
前置要求
- EdStem account with access to the target course
- Bearer token extracted manually from browser DevTools Network tab, stored in fetch-edstem.py at line 20
安装
clawhub install axel5o5/edstem运行 CLI 命令,或把这段提示词粘贴到 Claude Code、Cursor、Codex 或你在用的任意编程智能体里。