agentleFS
WALKERKILLERWALKERKILLER/Look-Tongji-Notes/skills/trans/SKILL.md

trans

Skill53 starsChanged 5 months agoMITView on GitHub

Transcribe a single Tongji Look lecture video to SRT + TXT, optionally download slide snapshots in parallel.

2 other projects use a version of this.

Adopted by

Most recently taken up by

  • Other versions2 projects use a version of this.

    Word for word · 0

    None found.

    Edited · 0

    None found.

    Wrote their own version · 2

    1. changjie-w/SKILLs★ 1same name
    2. pp6235024-bit/claude-skills★ 0same name

    How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.

  • In this repository13 other files it gives its agents.

The file

We split this skill into the rules it gives an agent

5 rules. About 0 are common, 1 is distinctive, and 4 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈1

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 4

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    When running from an automated pipeline, avoid input() prompts with these flags:

    line 41
  2. Very specific:

    transcribe does NOT automatically create manifest.json: After transcription, you MUST create it manually so the wiki indexer can find …

    line 53
  3. Very specific:

    Create manifest.json in the session's 原始数据/ directory with this structure:

    line 55
  4. Distinctive:

    Use absolute paths for all artifact paths (relative paths break on Windows)

    line 76
  5. Very specific:

    If no slides were downloaded, leave slides field empty ("")

    line 78

≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Transcribe

Transcribe one lecture video from look.tongji.edu.cn and optionally download slide snapshots.

When to Use

  • User says /trans or "transcribe this lecture".
  • User provides a lecture URL or course_id + sub_id.

Workflow

  1. Resolve lecture with URL or IDs:
python "<SKILL_DIR>/../../scripts/look_tongji.py" transcribe --lecture-url "<LECTURE_URL>"
python "<SKILL_DIR>/../../scripts/look_tongji.py" transcribe --course-id "<ID>" --sub-id "<ID>"
  1. Transcribe + download slides in one run:
python "<SKILL_DIR>/../../scripts/look_tongji.py" transcribe --course-id "<ID>" --sub-id "<ID>" --slide
  1. The CLI prints real-time progress. Stdout contains result paths.

Non-Interactive / Batch Usage

When running from an automated pipeline, avoid input() prompts with these flags:

FlagDescription
--sub-idSpecify lecture sub_id directly (skips interactive lecture picker)
--course-idSpecify course ID directly (skips interactive course selection)
--slideDownload slides after transcription
--concurrency NSlide download concurrency (default 4)
--retries NSlide download retries (default 3)

manifest.json — Required for Wiki Build

transcribe does NOT automatically create manifest.json. After transcription, you MUST create it manually so the wiki indexer can find this lecture.

Create manifest.json in the session's 原始数据/ directory with this structure:

{
  "course_id": "COURSE_ID",
  "sub_id": "SUB_ID",
  "course_title": "课程名称(真实中文名)",
  "session_title": "YYYY-M-D 第X节",
  "base_name": "COURSE_ID_SUB_ID",
  "artifacts": {
    "srt": "F:\\workspace\\raw\\课程名称\\YYYY-M-D 第X节\\原始数据\\COURSE_ID_SUB_ID.srt",
    "txt": "F:\\workspace\\raw\\课程名称\\...\\COURSE_ID_SUB_ID.txt",
    "notes": "",
    "timeline": "",
    "slides": "F:\\workspace\\raw\\课程名称\\...\\slides\\index.json"
  },
  "duration_seconds": 5580
}

Critical path rules:

  • Use absolute paths for all artifact paths (relative paths break on Windows)
  • duration_seconds: must be ≥ 3600 (1 hour); if < 3600, the lecture is marked不合格 and wiki shows it as 缺失
  • If no slides were downloaded, leave slides field empty ("")
  • Fields notes and timeline are filled by /note command later

Artifacts

  • <course_id>_<sub_id>.srt — subtitle with timestamps
  • <course_id>_<sub_id>.txt — plain text transcript
  • <course_id>_<sub_id>.json — metadata
  • slides/ — slide images + index.json (if --slide)
  • manifest.json — MUST create manually after transcription

One Session Per Call

For batch transcribing, use /ralphtrans.

Where `<SKILL_DIR>` Points

`<SKILL_DIR>` is the directory containing this `SKILL.md`. Shared scripts (`look_tongji.py`, `timeline_tools.py`, `tongji_backend/`) and references live two levels up in the repository root (`<SKILL_DIR>/../../scripts/` and `<SKILL_DIR>/../../references/`).

Download now (ZIP)

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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.