Skip to content

About

Terminal-first CLI for OnTrack that reuses your authenticated browser session.

Resources

Contributing

Stars

1 star

Watchers

1 watching

Forks

Repository files navigation

ontrack: OnTrack and Doubtfire from your terminal, scripts and AI agent, part of unicorn

ontrack

Give your AI agent access to OnTrack.

Check task status, read task sheets, download resources, follow up in task chats, and submit work. Works with OnTrack and Doubtfire, for students and teaching staff.

It is a CLI only for now. There is no MCP server, so web AI cannot connect to it directly.

npm version CI Node.js 22.5+ Bun MIT License

🦄 Part of unicorn. Live tools answer what is there now; unicorn answers what changed.

📖 Read the docs

Set up

Ask your agent (Claude Code, Codex, or anything with a terminal):

Read https://unicorn.tuuhub.com/docs/ontrack/agent-setup.md and set up ontrack for me.

Or by hand:

npm install -g ontrack
export ONTRACK_BASE_URL="https://ontrack.example.edu"
ontrack auth login
ontrack courses

Set ONTRACK_BASE_URL to your institution's OnTrack site.

Tick "Remember me" when you sign in. OnTrack only issues the renewal cookie then, and the CLI needs it to renew your session in the background.

Study Boooooooooost

Ask in plain language, or run the command yourself:

Ask your agent Command
“What are my units?” ontrack courses
“Where am I with the tasks in UNIT?” ontrack tasks UNIT
“Read me the task sheet for TASK.” ontrack tasks read UNIT TASK
“Any new tutor feedback?” ontrack chats UNIT
“Download everything for UNIT.” ontrack courses get UNIT --dest unit.zip
“Submit my report for TASK.” ontrack tasks submit UNIT TASK --file report.pdf

UNIT is the unit's code or name as OnTrack shows it. courses, units and projects are interchangeable. TASK is the task abbreviation. Writes always show a plan and ask first.

Learn more

Contributing

See CONTRIBUTING.md.

🦄 Part of unicorn

Live tools answer what is there now; unicorn answers what changed.

Project Layer What it does
🦄 unicorn Memory Remembers your campus sources and tells your agent what changed. Remote MCP.
moodle-cli Live Moodle. CLI, local and remote MCP.
edstem-cli Live Ed Discussion. CLI, local and remote MCP.
ontrack (you are here) Live OnTrack and Doubtfire. CLI only.

📖 All docs · CLIs overview · Connect an MCP client

License

MIT

About

Terminal-first CLI for OnTrack that reuses your authenticated browser session.

Resources

Contributing

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages