Look-Tongji-Notes
AGENTS.md53 starsChanged 5 months agoMITView on GitHub
This repository is frozen. Development continues in Coursive; do not start new work, pull requests or releases here unless the maintainer asks for a fix.
- Reads credentials
In this repository13 other files it gives its agents.
- llmwiki/AGENTS.mdAGENTS.md
- vision-support/AGENTS.mdAGENTS.md
- look-tongji-notesSkill
- addSkill
- cheatsheetSkill
- listSkill
- noteSkill
- pageSkill
- ralphtransSkill
- setupSkill
- transSkill
- wikiSkill
- vision-supportSkill
The file
Files
<!-- Parent: ../../AGENTS.md --><!-- Generated: 2026-06-13 | Updated: 2026-06-13 -->Look-Tongji-Notes
This repository is frozen. Development continues in Coursive; do not start new work, pull requests or releases here unless the maintainer asks for a fix.
Purpose
Root of the Look Tongji Notes skill repository. Provides a multi-agent skill + CLI for processing lectures from Tongji Look (look.tongji.edu.cn): IAM SSO login, course listing, lecture transcription (SRT/TXT via BcutASR), slide snapshot download, supplementary material import, timeline outline generation, Markdown study-note writing, and static course knowledge-base site generation via the vendored llm-wiki library. Packaged as both a standalone CLI and an installable skill for Claude Code, Codex CLI, Cursor, Gemini CLI, OpenClaw, OpenCode, Hermes Agent, and GitHub Copilot.
Key Files
| File | Description |
LICENSE | MIT license |
README.md | English project overview, install/usage instructions, compliance notes |
README_ZH.md | Chinese project overview with multi-agent skill structure documentation |
SKILL.md | Agent skill definition with CLI workflow commands, prompt templates, output conventions |
requirements.txt | Python dependencies (requests, playwright, python-dotenv, markdown, markitdown) |
Subdirectories
| Directory | Purpose |
agents/ | OpenAI/Codex agent interface descriptor (openai.yaml) |
.agents/plugins/ | Generic agents marketplace manifest (marketplace.json) for Copilot and other platforms |
.claude-plugin/ | Claude Code platform manifest (plugin.json + marketplace.json) |
.codex-plugin/ | Codex CLI platform manifest (plugin.json) |
.cursor-plugin/ | Cursor platform manifest (plugin.json + marketplace.json) |
.gemini-plugin/ | Gemini CLI platform manifest (plugin.json) |
.openclaw-plugin/ | OpenClaw platform manifest (plugin.json) |
.opencode-plugin/ | OpenCode platform manifest (plugin.json) |
.hermes-agent-plugin/ | Hermes Agent platform manifest (plugin.json) |
images/ | Branding assets (logo SVG) and usage guide screenshots |
llmwiki/ | Vendored llm-wiki Python package for building static knowledge-base sites from session data |
references/ | Security, troubleshooting, and URL-format reference documentation for agent consumption |
scripts/ | CLI entry point (look_tongji.py) and backend modules for auth, API client, transcription, slide download, and workspace management |
skills/ | 9 atomic per-command skill files (skills/<name>/SKILL.md) with manifest.yaml each, for multi-agent platforms |
CheatingSheetTemplate/ | LaTeX template + fonts for cheat sheet generation (also referenced via .mock-wiki/CheatingSheetTemplate/) |
.trash/ | Preserved legacy files (recoverable); non-runtime directory |
.omc/ | OMC workflow metadata (plans, state, logs); non-runtime directory |
For AI Agents
Working In This Directory
- This is the source repository root. The 9 installable command skills live under
skills/<name>/SKILL.mdin flat layout. SKILL.mdis the primary compatibility index: it maps/commandtrigger phrases (/setup,/list,/trans,/note,/wiki,/add,/cheatsheet,/page,/ralphtrans) to CLI commands.- Credentials are stored in
<skill_root>/.env(auto-ignored by.gitignore). Auth cache goes in<skill_root>/state/. - The workspace config (course wiki path) is stored outside the skill tree so skill updates do not destroy it.
- Lecture artifacts follow this layout:
raw/<course_name>/<session>/原始数据/{transcript,slides,materials,manifest.json}.
Testing Requirements
- Full end-to-end testing requires a valid Tongji IAM account and access to
look.tongji.edu.cn. - Unit-testable components: URL parsing (
_extract_ids_from_url), timeline normalization (scripts/timeline_tools.py), env-file parsing (_parse_env_lines), agent-name normalization (_normalize_agent_name). - Slide download can be tested for concurrency/throttling behavior with
--concurrency 2 --retries 5. - ASR testing requires actual lecture media with audio streams.
Common Patterns
SKILL.mddefines agent-facing workflow. CLI commands inscripts/look_tongji.pyare the backend.- Lecture identification: prefer
--lecture-urlfor best-effort parsing, or explicit--course-id+--sub-id. - Course search: prefer
list --all --query "<keyword>"for accuracy over the recent-courses list. - The
notecommand runs transcript + slide download in parallel by default. - Notes are written by the AI agent after CLI artifacts complete; the CLI never generates study-note content itself.
- Site rebuild: run
indexthenbuildafter writing notes, thenserve --port 8765for local preview.
Dependencies
Internal
scripts/tongji_backend/provides auth, client, transcriber, workspace, and site-builder modules consumed byscripts/look_tongji.py.llmwiki/(vendored) provides the static site generator consumed by workspace helpers.scripts/timeline_tools.pyprovides SRT sampling and timeline normalization utilities.
External
requests— HTTP client for Tongji API and slide downloadsplaywright— Browser automation for IAM SSO loginpython-dotenv—.envfile loadingmarkdown/markitdown[all]— Supplementary material Markdown conversionffmpeg(system) — Audio extraction from lecture video streamsBcutASR(Bilibili cloud API) — Free cloud speech-to-text for transcription
<!-- MANUAL: -->Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

