classroom

star 0

Google Classroom 과제 조회 및 제출. 수업 목록, 과제 확인, 제출, 회수를 CLI로 처리합니다.

tumblecat44 By tumblecat44 schedule Updated 3/4/2026

name: classroom description: Google Classroom 과제 조회 및 제출. 수업 목록, 과제 확인, 제출, 회수를 CLI로 처리합니다. allowed-tools: - Bash - Read user-invocable: true

Google Classroom 과제 관리

Google Classroom API를 통해 과제를 조회하고 제출합니다.

경로 규칙

  • CLI 스크립트: 이 SKILL.md 기준 ../../classroom/classroom.py (플러그인 루트 기준)
  • 인증 데이터: ~/.config/dgsw-classroom/

실행 시 base directory 정보를 이용하여 CLI 경로를 구성합니다:

PLUGIN_ROOT = "<Base directory>/../../"
CLI = "<PLUGIN_ROOT>/classroom/classroom.py"

인증 확인

명령 실행 전 인증 상태 확인:

ls ~/.config/dgsw-classroom/token.pickle 2>&1

토큰이 없으면 /dgsw-classroom:classroom-setup 실행을 안내.

사용 가능한 명령

수업 목록

python3 "<PLUGIN_ROOT>/classroom/classroom.py" courses
python3 "<PLUGIN_ROOT>/classroom/classroom.py" courses --plain

과제 목록

python3 "<PLUGIN_ROOT>/classroom/classroom.py" assignments <수업ID또는이름>
python3 "<PLUGIN_ROOT>/classroom/classroom.py" assignments <수업ID또는이름> --plain

과제 상세

python3 "<PLUGIN_ROOT>/classroom/classroom.py" detail <수업ID> <과제ID>

과제 제출

python3 "<PLUGIN_ROOT>/classroom/classroom.py" submit <수업ID> <과제ID>
python3 "<PLUGIN_ROOT>/classroom/classroom.py" submit <수업ID> <과제ID> --link https://github.com/user/repo

과제 회수

python3 "<PLUGIN_ROOT>/classroom/classroom.py" reclaim <수업ID> <과제ID>

실행 순서

사용자가 "과제 제출", "클래스룸", "과제 확인" 등을 요청하면:

1. 수업 목록 조회

사용자에게 수업 선택하게 함.

2. 과제 목록 조회

미제출 과제 위주로 보여줌.

3. 과제 상세 확인 (필요시)

4. 과제 제출

반드시 사용자 확인 후 제출.

트리거 키워드

  • "과제", "클래스룸", "classroom"
  • "과제 제출", "과제 확인", "과제 목록"
  • "제출해줘", "제출하자"

주의사항

  • 과제 제출은 반드시 사용자 확인 후 실행
  • 회수(reclaim)도 확인 후 실행
  • credentials.json, token.pickle은 ~/.config/dgsw-classroom/ 에 저장됨
Install via CLI
npx skills add https://github.com/tumblecat44/DGSW-life-AI-Native --skill classroom
Repository Details
star Stars 0
call_split Forks 0
navigation Branch main
article Path SKILL.md
More from Creator