This skill should be used when the user asks about Canvas LMS data — their own student account or any observed student. Triggers on phrases like "check Canva...
数据分析
LearningX CLI
试用Operate SNU's Canvas LMS (etl.snu.ac.kr) through CLI commands. Use when you need to inspect config, list courses/assignments/files/announcements, run bot/ser...
它能做什么
Operate SNU's Canvas LMS (etl.snu.ac.kr) through CLI commands. Use when you need to inspect config, list courses/assignments/files/announcements, run bot/ser...
技能文档
SNU Canvas CLI
Use this skill to operate lx-agent exclusively through its CLI bridge. Do NOT bypass the CLI by calling Canvas API endpoints directly with curl, fetch, or any HTTP client.
Critical Rules
- CLI-only access — Always use the bridge script below. Never curl/fetch Canvas API endpoints directly. The CLI handles authentication, XSRF tokens, and error handling internally.
- Never ask for tokens in chat — Tokens are secrets. Never ask the user to paste or send API tokens via Telegram, Slack, or any chat. Instead, guide them to update
config.yamlor setCANVAS_TOKENenv var on the server. - Never expose token values — Do not print, log, or display token values (even partially masked) in responses.
- Follow verification flow — Always run
configcommand first before diagnosing issues.
Command Bridge
Run commands through the bundled bridge script:
skills/learningx-cli/scripts/run-lx-agent-cli.sh [args...]
Set LX_AGENT_ROOT when running outside the repository root.
Domain Guardrails (Important)
- Treat
canvas.urlinconfig.yaml(orCANVAS_URL) as source of truth unless the user explicitly changes it. - Never replace the LMS domain with other university domains by inference.
- Do not claim a domain is invalid from one resolver or one server network.
- If DNS check fails in current environment, report it as environment-scoped and ask for the user-confirmed LMS URL before changing config.
- Keep "Learning X" as product naming and
learningxas technical identifier.
Error Handling: 401 Unauthorized / Token Errors
When the CLI returns 401 or token-related errors:
- Run
skills/learningx-cli/scripts/run-lx-agent-cli.sh configto confirm which token/URL is configured. - Tell the user: "Canvas API 토큰이 만료되었거나 유효하지 않습니다. LMS 웹사이트의 Settings → New Access Token에서 새 토큰을 발급한 뒤, 서버의 config.yaml 파일에서 canvas.token 값을 직접 업데이트해주세요."
- Do NOT ask them to send the token in chat.
- Do NOT attempt to curl the API yourself to "test" the token.
- After the user confirms they updated the config, re-run the CLI command to verify.
Required URL Verification Flow
Run this sequence before concluding URL problems:
skills/learningx-cli/scripts/run-lx-agent-cli.sh config
getent hosts || nslookup || dig +short
curl -I --max-time 10 https://
If these checks fail from the current runtime:
- say "cannot verify from this server/runtime"
- do not claim global NXDOMAIN unless confirmed by multiple independent resolvers
- ask user to confirm LMS URL they use in browser
Common Commands
skills/learningx-cli/scripts/run-lx-agent-cli.sh config
skills/learningx-cli/scripts/run-lx-agent-cli.sh courses
skills/learningx-cli/scripts/run-lx-agent-cli.sh assignments
skills/learningx-cli/scripts/run-lx-agent-cli.sh files
skills/learningx-cli/scripts/run-lx-agent-cli.sh announcements
skills/learningx-cli/scripts/run-lx-agent-cli.sh bot
skills/learningx-cli/scripts/run-lx-agent-cli.sh serve
Notes
- The bridge runs
go run ./cmd/lx-agent .... - Keep outputs concise and include command results directly in your response.
- For bot/serve runs, surface startup errors and required env/config clearly.
- For URL issues, follow
Domain Guardrailsand never auto-substitute a different domain. - When something fails, use the CLI to diagnose — do not fall back to raw HTTP calls.
相关技能
Query Canvas LMS (Instructure) from a shell with curl and a bearer access token instead of running the canvas-parent-mcp server — courses, grades, assignments, submissions, calendar, planner, announcements, conversations, discussions, and files for yourself or a linked observee. Use when you want Canvas data without the MCP, in a script, or on a machine where the MCP isn't installed.
This skill should be used when the user asks about Canvas LMS data — their own student account or any observed student. Triggers on phrases like "check Canvas", "what's my grade", "Canvas inbox", "what's due", "missing assignments", "Canvas LMS", "Instructure", "course announcements", "syllabus", or any request about courses, assignments, grades, conversations, announcements, planner items, or files in Canvas.
Create beautiful visual art in .png and .pdf documents using design philosophy. You should use this skill when the user asks to create a poster, piece of art, design, or other static piece. Create ori Use when 需要Development领域自动化处理、数据分析和流程编排时使用。不适用于无明确需求的模糊场景。
Use when the user wants SYSU campus help through the SYSU Anything CLI, including natural-language requests such as 查课表、今天有什么课、教务系统、请假、雨课堂作业、ddl、签到、预约健身房、预约体...
Query Korean school information, meals, and timetables from the official NEIS OpenAPI. Use when the user asks for school lunch menus, school timetables, or s...