samayly.com is live. Hosted plans open soon. Join the waitlist →
Guide 045 min19 min read

4. Daily Commands

Install a shell command pack so you never type sheet IDs, long prompts, or quotes again. Works the same on the Mac and over SSH from iPhone.

⏱️ 5 minutes · Requires Guides 1-3 · Output: ts03-brief, ts03-week, ts03-add and ~25 more commands

Step 1
Pick a prefix

Step 2
Install the pack

Step 3
Verify

Step 4
First commands

Step 5
Learn the typing rules

Step 6
Build a routine


How a command works

Every shortcut is a thin wrapper around one function. Your CLAUDE.md supplies the sheet details, so the prompt can stay short.

google-sheets MCP~/.claude/CLAUDE.mdClaude Codezsh👤 Yougoogle-sheets MCP~/.claude/CLAUDE.mdClaude Codezsh👤 Youts03-week1expand alias → ts03 "list items due in the next 7 days..."2claude -p --model sonnet "TS-03 tracker: list items..."3load sheet ID, tabs, columns, rules4get_sheet_data(main tab)5rows6short table with days left7

1Pick a prefix

This guide uses ts03 (named after the trimester it was built for, TS-03). Keep it, or rename it to anything short (todo, exp, ts04) and use it everywhere.

To rename before installing:

bash
sed 's/ts03/todo/g; s/TS03/TODO/g; s/TS-03/TODO/g' templates/zshrc-tracker.sh > /tmp/tracker.sh

(Then use /tmp/tracker.sh in Step 2.)

2Install the pack

From the repo folder:

bash
cat templates/zshrc-tracker.sh >> ~/.zshrc
source ~/.zshrc

Edit the sheet ID line if you want it available for ad-hoc prompts:

bash
nano ~/.zshrc        # find TS03_SHEET="your_sheet_id_here"

The core function:

bash
ts03() { claude -p --model sonnet "TS-03 tracker: $*"; }
  • -p: print the answer and exit
  • --model sonnet: faster for lookups (remove to use your default model)
  • "TS-03 tracker: $*": passes your words; CLAUDE.md defines what "TS-03 tracker" means

3Verify

bash
type ts03 ts03-brief ts03-sub
ts03-health

✅ Each shows is a shell function or is an alias, and ts03-health shows ✔ Connected.

4Run your first commands

bash
ts03-brief
ts03-week
ts03 how many rows are in my tracker

Then the full set:

ts03 ...

📅 Daily
brief · today · tomorrow
week · next · urgent · overdue

🗓️ Planning
month · all · load
plan · points

🔎 Lookup
subjects · sub · prof
find · tbd

✍️ Updates
add · done · submit
move · note

🧹 Housekeeping
check · fix · health

📣 Group drafts
wa · short

Daily

Command Does
ts03-brief Overdue, due today, due this week, what to focus on (under 10 lines)
ts03-today Items due today
ts03-tomorrow Items due tomorrow
ts03-week Next 7 days, sorted, with days left
ts03-next The single next deadline and time left
ts03-urgent Due within 3 days
ts03-overdue Past due but still "Upcoming"

Planning

Command Does
ts03-month Next 30 days grouped by week
ts03-all Whole main tab as a compact table
ts03-load Items per category and per week, flags busy weeks
ts03-plan Day-by-day plan for the next 7 days
ts03-points Upcoming items by points/weightage

Lookup

Command Example
ts03-subjects List categories from your reference tab
ts03-sub <name> ts03-sub GPU Programming
ts03-prof <name> ts03-prof Advanced AI
ts03-find <text> ts03-find patent
ts03-tbd Rows with TBD, blank or missing fields

Updates (write to the sheet)

Command Example
ts03-add <item> ts03-add GPU Quiz-02 on 11-Oct-2026 at 18:00 IST, 10 MCQs
ts03-done <item> ts03-done Ethics assignment
ts03-submit <item> ts03-submit GPU assignment
ts03-move <change> ts03-move GPU Quiz to 12-Oct-2026 19:00 IST
ts03-note <item>: <text> ts03-note Innovation assignment: group of 4 finalised

Each update prints the changed row. Glance at it to confirm it hit the right item.

Housekeeping

Command Does
ts03-check Audit: bad dates, missing times, numbering gaps, unknown categories. Report only.
ts03-fix Opens interactive Claude so you approve each fix
ts03-health Is the MCP connected?

Group helpers (drafts only, nothing is sent)

Command Does
ts03-wa WhatsApp-style reminder for the next 7 days
ts03-short One-line reminder per item due in 3 days

Anything else: just ask

bash
ts03 which subject has the most pending work
ts03 compare this week with next week
ts03 what did I add in the last 3 days

5Learn the typing rules

  1. No quotes needed with shortcuts: ts03 whats due this week.
  2. Avoid a bare ? at the end of unquoted text. zsh treats ? as a filename wildcard (no matches found). Drop it, or quote everything: ts03 "whats due this week?". The pack sets setopt no_nomatch as a safety net.
  3. Variables must match exactly: $TS03_SHEET. A typo expands to nothing and Claude goes searching other apps.
  4. Check before writing: run ts03-check before ts03-fix.

History shortcuts:

Keys / command Does
ctrl + r, type part of a command Search history (ctrl + r again for older)
ctrl + p / ctrl + n Previous / next command
!! Re-run last command
!ts03 Re-run the last command starting with ts03
history \| grep ts03 List past tracker commands

The pack sets setopt hist_verify, so ! expansions appear for review before running.

6Build a routine

🌅 Morning
ts03-brief

⏱️ During the day
ts03-next

📥 New announcement
ts03-add ...

📤 After submitting
ts03-submit ...

🌙 Night
ts03-tomorrow

🗓️ Sunday
ts03-load → ts03-plan

🧹 Friday
ts03-check → ts03-wa

When Command
Morning ts03-brief
Quick glance ts03-next
New announcement ts03-add ...
After submitting ts03-submit ...
Before sleeping ts03-tomorrow
Sunday ts03-load, then ts03-plan
Friday ts03-check, and ts03-wa if you share reminders

On iPhone, save your favourites as Termius Snippets for one-tap use (Guide 5, Step 8).

Want tables, JSON or an HTML page instead? Every command accepts --table, --text, --json, --yaml or --html after installing Guide 10: e.g. ts03-week --html.

➡️ Next: 5. iPhone via SSH

Questions or corrections: [email protected]