# List

> Discover and select courses from Tongji Look (look.tongji.edu.cn). Lists recent or all courses, filters by keyword, and saves the chosen course for use with /trans, /note, and other commands. Prerequisite for all lecture workflows.

- **Type:** Skill
- **Install:** `agentstack add skill-walkerkiller-look-tongji-notes-list`
- **Verified:** Yes — security-reviewed for prompt injection and unsafe behavior
- **Seller:** [WALKERKILLER](https://agentstack.voostack.com/s/walkerkiller)
- **Installs:** 0
- **Category:** [Agent Skills](https://agentstack.voostack.com/c/agent-skills)
- **Latest version:** 0.1.0
- **License:** MIT
- **Upstream author:** [WALKERKILLER](https://github.com/WALKERKILLER)
- **Source:** https://github.com/WALKERKILLER/Look-Tongji-Notes/tree/main/skills/list
- **Website:** https://github.com/WALKERKILLER/Look-Tongji-Notes

## Install

```sh
agentstack add skill-walkerkiller-look-tongji-notes-list
```

Requires the [AgentStack CLI](https://agentstack.voostack.com/docs/cli). Works with Claude Code, Cursor, and any MCP-compatible agent.

## About

# List

Discover and select courses from Tongji Look.

## When to Use

- User says `/list` or "show my courses" or "find a course".
- Before transcribing or taking notes, to discover available course IDs and names.
- User wants to search courses by keyword in title or teacher name.

## Workflow

1. List recent courses (default, fast):

```bash
python "/../../scripts/look_tongji.py" list
```

2. Search with keyword filter:

```bash
python "/../../scripts/look_tongji.py" list --query ""
```

3. Show all courses (slower but complete):

```bash
python "/../../scripts/look_tongji.py" list --all
```

## Options

| Flag | Description |
|------|-------------|
| `--all` | List all courses (slower but more complete) |
| `--limit LIMIT` | Number of courses to show (0 = all) |
| `--query QUERY` | Filter by keyword in title/teacher (server-side, case-insensitive) |
| `--choose CHOOSE` | Auto-select course # (1-based) for non-interactive use |
| `--force-login` | Ignore cached JWT and login again |

## ⚠️ Important: Chinese Query Limitation

`--query` is a **server-side** keyword search and may not match Chinese course names reliably. If `--query "课程名关键词"` returns empty:

**Workaround:** Use `--all` to fetch all courses, then filter locally:
```bash
python "/../../scripts/look_tongji.py" list --all 2>&1 | grep "课程名关键词"
```

## Non-Interactive Usage

When `--choose` is set, the CLI auto-selects the course and saves its ID — no `input()` prompt. Combine with `--all` for scripted workflows:

```bash
python "/../../scripts/look_tongji.py" list --all --choose 1
```

## Interactive Selection

When run without `--choose`, the CLI prints a numbered list of courses and prompts the user to select one. The selected course's ID is then available for use with `/trans`, `/note`, and other commands.

## Where `` Points

`` 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 (`/../../scripts/` and `/../../references/`).

## Source & license

This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.

- **Author:** [WALKERKILLER](https://github.com/WALKERKILLER)
- **Source:** [WALKERKILLER/Look-Tongji-Notes](https://github.com/WALKERKILLER/Look-Tongji-Notes)
- **License:** MIT
- **Homepage:** https://github.com/WALKERKILLER/Look-Tongji-Notes

Install and usage instructions live in the source repository linked above.

## Pricing

- **Free** — Free

## Security capabilities

Automated source analysis of v0.1.0 — what this tool can access:

- **Network access:** no
- **Filesystem access:** no
- **Shell / process execution:** no
- **Environment & secrets:** no
- **Dynamic code execution:** no

*"Yes" means the capability is present in the source — more access means more to trust, not that it is unsafe.*


## Versions

- **0.1.0** — security scan: passed — Imported from the upstream source.

## Links

- Listing page: https://agentstack.voostack.com/l/skill-walkerkiller-look-tongji-notes-list
- Seller: https://agentstack.voostack.com/s/walkerkiller
- Browse the marketplace: https://agentstack.voostack.com/browse

---
Listed on AgentStack — the marketplace for AI agent skills and MCP servers. Every listing is security-reviewed. Creators keep 70%.
