https://github.com/dm1tryg/clibo
๐ฆ 50 local-first CLI tools for AI agents and humans โ from a calorie tracker to a CRM, all in your terminal. Python ยท Typer ยท SQLModel ยท SQLite.
https://github.com/dm1tryg/clibo
agent-tools ai-agents calorie-tracker cli crm habit-tracker local-first productivity python sqlite terminal typer
Last synced: about 1 month ago
JSON representation
๐ฆ 50 local-first CLI tools for AI agents and humans โ from a calorie tracker to a CRM, all in your terminal. Python ยท Typer ยท SQLModel ยท SQLite.
- Host: GitHub
- URL: https://github.com/dm1tryg/clibo
- Owner: dm1tryG
- License: mit
- Created: 2026-05-22T17:02:35.000Z (about 1 month ago)
- Default Branch: main
- Last Pushed: 2026-05-22T21:49:22.000Z (about 1 month ago)
- Last Synced: 2026-05-22T21:50:05.365Z (about 1 month ago)
- Topics: agent-tools, ai-agents, calorie-tracker, cli, crm, habit-tracker, local-first, productivity, python, sqlite, terminal, typer
- Language: Python
- Size: 229 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# ๐ฆ clibo
### 73 local-first CLI tools for AI agents โ and humans
*From a calorie tracker to a CRM. Everything in your terminal, everything in one local SQLite file.*
[](https://pypi.org/project/clibo/)
[](https://github.com/dm1tryG/clibo/actions/workflows/ci.yml)
[](https://www.python.org/)
[](LICENSE)
[](https://typer.tiangolo.com/)
---
## Install
```bash
pip install clibo # or: pipx install clibo
uv tool install clibo # (recommended โ fast, isolated)
```
Then:
```bash
clibo init # one-shot onboarding โ currency, goals, etc.
clibo --help # the full menu
clibo today # everything actionable today
```
That's it โ a `clibo` command is on your PATH and a SQLite file lives at
`~/.clibo/clibo.db`. No account, no cloud, no daemons.
Other install methods (development / pre-release)
```bash
# straight from GitHub main
uv tool install --from git+https://github.com/dm1tryG/clibo.git clibo
pipx install git+https://github.com/dm1tryG/clibo.git
# or the curl one-liner
curl -fsSL https://raw.githubusercontent.com/dm1tryG/clibo/main/install.sh | bash
```
---
## Why clibo?
AI agents are great at *deciding* โ but they need **tools** to *act*. The most
useful tools aren't fancy: they're the boring, everyday ones. Track calories.
Remember a contact. Add a task. Note an expense.
**clibo** is a box of 50 such tools, each a tiny CLI. They share three things
that make them perfect for agents *and* for you:
- ๐๏ธ **Local-first** โ one SQLite file at `~/.clibo/clibo.db`. No cloud, no account, no setup.
- ๐ค **Agent-native** โ every command speaks `--json`. Pretty tables for humans, clean JSON for machines.
- ๐ฏ **One predictable shape** โ every tool uses the same verbs: `add`, `list`, `show`, `edit`, `rm`, `stats`.
```bash
clibo calorie log "oatmeal with berries" --kcal 320 --protein 12
clibo calorie today
clibo calorie today --json # same data, for your agent
```
## Demos
[`scripts/demo.sh`](scripts/demo.sh) populates a throwaway database and runs
the showcase commands โ perfect for recording an asciinema or for seeing
what clibo actually looks like:
```bash
CLIBO=./.venv/bin/clibo bash scripts/demo.sh
```
### ๐
`clibo today`
```
๐
Today ยท Saturday 23 May 2026
โ
Tasks
โ today Ship clibo v1 (high)
๐ฅ Habits 1/2 done
โ Read 10 pages
โ Exercise
๐ง Water โโโโโโโโโโโโโโโโโโ 38% 750/2000 ml
๐ Calories โโโโโโโโโโโโโโโโโโ 42% 845/2000 kcal
๐
Focus โโโโโโโโโโโโโโโโโโ 50% 45/90 min
๐
Events
10:00 Team standup
๐งพ Bills due
โ overdue Electricity (2026-05-22)
๐ชด Plants needing water
Basil (kitchen)
```
### ๐ `clibo calorie today`
```
๐ Food log ยท Sat 23 May
โญโโโโโโโโโโโฌโโโโโโโโโโโโโโโโโโโโโโโฌโโโโโโโฌโโโโโโฌโโโโโโฌโโโโโฎ
โMeal โ Food โ Kcal โ Pยทg โ Cยทg โ Fยทgโ
โโโโโโโโโโโโผโโโโโโโโโโโโโโโโโโโโโโโผโโโโโโโผโโโโโโผโโโโโโผโโโโโค
โbreakfast โ oatmeal with berries โ 320 โ 12 โ 48 โ 6 โ
โbreakfast โ black coffee โ 5 โ 0 โ 0 โ 0 โ
โlunch โ chicken salad โ 520 โ 38 โ 22 โ 24 โ
โฐโโโโโโโโโโโดโโโโโโโโโโโโโโโโโโโโโโโดโโโโโโโดโโโโโโดโโโโโโดโโโโโฏ
๐ฅ 845 kcal ๐ฅฉ 50g ๐ 70g ๐ง 30g
๐ฏ โโโโโโโโโโโโโโโโโโโโโโโโ 42% 845/2000 kcal
```
### ๐งฒ `clibo leads pipeline`
```
๐ Pipeline
โญโโโโโโโโโโโฌโโโโโโโโฌโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโฎ
โStage โ Deals โ Value โ
โโโโโโโโโโโโผโโโโโโโโผโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโค
โqualified โ 1 โ 4000.00 USD โโโโโโโโโโโโโโโโ 25% โ
โproposal โ 1 โ 12000.00 USD โโโโโโโโโโโโโโโโ 75%โ
โฐโโโโโโโโโโโดโโโโโโโโดโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโฏ
๐ฐ Open pipeline value: 16000.00 USD
```
### ๐ `clibo search acme`
```
๐ 3 matches for 'acme'
notes (1) todo (1) crm (1)
โญโโโโโฌโโโโโโโโโโโโโโโโฎ โญโโโโโฌโโโโโโโโโโโโโโโฎ โญโโโโโฌโโโโโโโโโโโโโโโโโโโโโโโโโฎ
โID โ Match โ โID โ Match โ โID โ Match โ
โโโโโโผโโโโโโโโโโโโโโโโค โโโโโโผโโโโโโโโโโโโโโโค โโโโโโผโโโโโโโโโโโโโโโโโโโโโโโโโค
โ1 โ Acme contract โ โ2 โ Reply to Acmeโ โ1 โ Anna Petrova ยท Acme Incโ
โฐโโโโโดโโโโโโโโโโโโโโโโฏ โฐโโโโโดโโโโโโโโโโโโโโโฏ โฐโโโโโดโโโโโโโโโโโโโโโโโโโโโโโโโฏ
```
## Cross-tool commands
A handful of root commands tie all 73 tools together:
| Command | What it does |
|---|---|
| `clibo init` | Set common defaults in one call โ currency, height (for BMI), calorie/water/focus/sleep/meditation goals. |
| `clibo today` | One-screen dashboard pulling from every tool โ tasks, habits, meals, events, bills, plus mood, steps, workouts, caffeine, fasting clock, pending challenge check-ins, late packages, and documents expiring soon. |
| `clibo week` | 7-day rollup: sleep, focus, mood, habits, expenses, journal โ plus steps, workouts, caffeine, fasting, meditate, stretches, mileage, gratitude, donations. |
| `clibo month [-y Y] [-m M]` | Calendar-month rollup: money-first (income vs expenses vs donations + net cash flow), then health & wellness, productivity, hobbies (books finished, films watched). |
| `clibo recent` | A chronological activity feed across every tool โ newest first, with relative timestamps ("just now", "yesterday"). |
| `clibo backup [PATH]` | Copy the local SQLite database to a timestamped `.db` backup (default: `~/.clibo/backups/`). |
| `clibo restore PATH` | Replace the live database with a backup. |
| `clibo export [PATH]` | Dump every clibo table to one JSON file โ ideal for an agent to read the whole local state in one go. |
| `clibo import PATH` | Load rows from a `clibo export` JSON file; `--replace` wipes each table first. |
| `clibo search QUERY` | One query across notes, journal, tasks, bookmarks, contacts, meetings, achievements, recipes, worklog, network, gifts, expenses and the wishlist. |
| `clibo tags` | Every tag used across notes, todo, bookmark, crm, brag, recipes and journal โ with counts and source breakdown. |
| `clibo doctor` | Health check โ version, paths, DB size and row counts per table. |
## Shell completion
clibo ships with completion for `bash`, `zsh` and `fish` โ Typer wires it up
for you. Install it once:
```bash
clibo --install-completion # auto-detects your shell
clibo --install-completion zsh # or pick one explicitly
clibo --show-completion # print the script (don't install)
```
Then re-open the shell. You'll get tab-completion for every tool, every
sub-command and every flag.
## The tools
> ๐ **All 73 tools are built.** Run `clibo info` for a live menu.
### ๐ Health & Wellness
| | Tool | What it does |
|---|---|---|
| โ
| `calorie` ๐ | Food & calorie tracker with macros |
| โ
| `water` ๐ง | Daily water intake tracker |
| โ
| `weight` โ๏ธ | Body-weight log with BMI & trend |
| โ
| `workout` ๐๏ธ | Exercise & gym session log |
| โ
| `sleep` ๐ด | Sleep duration & quality tracker |
| โ
| `mood` ๐ | Daily mood & emotion journal |
| โ
| `meds` ๐ | Medication log & dosage reminders |
| โ
| `period` ๐ธ | Menstrual cycle tracker |
| โ
| `meditate` ๐ง | Meditation & mindfulness sessions |
| โ
| `vitals` โค๏ธ | Blood pressure, pulse & glucose log |
| โ
| `stretches` ๐ง | Mobility & flexibility session log |
| โ
| `steps` ๐ | Daily step-count tracker โ goal, streak, by-source totals |
| โ
| `caffeine` โ | Caffeine intake with bedtime-residual estimate (half-life model) |
| โ
| `fasting` ๐ | Intermittent-fasting tracker with running clock against target |
### ๐ฐ Money & Finance
| | Tool | What it does |
|---|---|---|
| โ
| `expense` ๐ธ | Personal expense tracker |
| โ
| `budget` ๐ | Monthly budgets by category |
| โ
| `subs` ๐ | Recurring subscriptions tracker |
| โ
| `bills` ๐งพ | Bills & due-date reminders |
| โ
| `savings` ๐ท | Savings goals with progress |
| โ
| `debt` ๐ | Debt & loan payoff tracker |
| โ
| `networth` ๐ฐ | Assets, liabilities & net worth |
| โ
| `invoice` ๐ | Freelance invoice generator |
| โ
| `split` ๐ค | Split shared expenses with people |
| โ
| `wishlist` โญ | Things-to-buy wishlist with prices |
| โ
| `income` ๐ต | Income tracker โ counterpart to expense |
| โ
| `tip` ๐ช | Tipping tracker โ bill, tip %, venue, service rating |
| โ
| `donations` โค๏ธ | Charitable giving log with tax-year and recipient stats |
| โ
| `invest` ๐ | Investment positions โ buys, sells, cost basis + unrealized P/L |
### โ
Productivity & Work
| | Tool | What it does |
|---|---|---|
| โ
| `todo` โ
| Task & to-do manager |
| โ
| `notes` ๐ | Quick searchable notes |
| โ
| `habit` ๐ฅ | Habit tracker with streaks |
| โ
| `focus` ๐
| Pomodoro & focus sessions |
| โ
| `time` โฑ๏ธ | Time tracking by project |
| โ
| `journal` ๐ | Daily journal & diary |
| โ
| `goals` ๐ฏ | Goals & OKRs with milestones |
| โ
| `events` ๐
| Events & reminders calendar |
| โ
| `worklog` ๐๏ธ | Work log & standup notes |
| โ
| `bookmark` ๐ | Bookmarks & link saver |
| โ
| `ideas` ๐ก | Idea capture with lifecycle |
| โ
| `challenge` ๐ | Time-boxed challenges with daily check-ins (30-day, 100-day, โฆ) |
### ๐ค CRM & Relationships
| | Tool | What it does |
|---|---|---|
| โ
| `crm` ๐ฅ | Contacts CRM |
| โ
| `leads` ๐งฒ | Sales pipeline & deals |
| โ
| `followup` ๐ | Follow-up reminders for people |
| โ
| `meetings` ๐๏ธ | Meeting notes & action items |
| โ
| `jobs` ๐ผ | Job application tracker |
| โ
| `clients` ๐งโ๐ผ | Freelance client manager |
| โ
| `birthdays` ๐ | Birthday & anniversary reminders |
| โ
| `network` ๐ | Networking & people-you-met log |
| โ
| `gifts` ๐ | Gift ideas & giving tracker |
| โ
| `brag` ๐ | Achievement log for reviews |
| โ
| `cv` ๐ | Career history โ jobs, education, projects, certs |
### ๐ Home & Life
| | Tool | What it does |
|---|---|---|
| โ
| `groceries` ๐ | Grocery & shopping list |
| โ
| `pantry` ๐ฅซ | Food inventory with expiry dates |
| โ
| `recipes` ๐จโ๐ณ | Personal recipe book |
| โ
| `meals` ๐ฝ๏ธ | Weekly meal planner |
| โ
| `chores` ๐งน | Household chores rotation |
| โ
| `plants` ๐ชด | Plant care & watering schedule |
| โ
| `car` ๐ | Car maintenance & fuel log |
| โ
| `home` ๐ | Home maintenance & repairs |
| โ
| `pets` ๐พ | Pet care, feeding & vet log |
| โ
| `travel` โ๏ธ | Trip planner & itinerary |
| โ
| `documents` ๐ | Important documents with expiry tracking |
| โ
| `packages` ๐ฆ | Shipment & parcel tracker โ pending, late, by carrier |
### ๐จ Hobbies & Culture *(beyond the original 50)*
| | Tool | What it does |
|---|---|---|
| โ
| `books` ๐ | Reading log with progress & ratings |
| โ
| `films` ๐ฌ | Movie & show watchlist with ratings |
| โ
| `mileage` ๐ | Running, cycling, walking distance log |
| โ
| `gratitude` ๐ | Daily gratitude practice with streaks |
| โ
| `quotes` ๐ฌ | A commonplace book of quotes worth keeping |
| โ
| `flashcards` ๐ | Spaced-repetition flashcards (Leitner-style) |
| โ
| `lessons` ๐ | Lessons learned โ context + takeaway |
| โ
| `dashboard` ๐๏ธ | Customizable widget dashboard |
| โ
| `dreams` ๐ | Dream journal with vividness & symbols |
| โ
| `writing` โ๏ธ | Daily word-count tracker (novel, blog, essays) with goal & streak |
## For AI agents
Every command accepts `--json` and returns structured data on stdout. Errors
go to stderr with a non-zero exit code. That's the whole contract.
```bash
$ clibo calorie today --json
{
"date": "2026-05-22",
"entries": [ { "id": 1, "meal": "breakfast", "food": "oatmeal", "kcal": 320, ... } ],
"totals": { "kcal": 320, "protein": 12.0, "carbs": 48.0, "fat": 6.0 },
"goal_kcal": 2000
}
```
Each tool also ships a **micro-skill** in [`skills/`](skills/) โ a short
`SKILL.md` describing exactly what the tool does and how to call it, ready to
drop into an agent's skill set.
[**`AGENTS.md`**](AGENTS.md) is the one-page guide for agents: the contract,
the integrating commands (`today` / `search` / `export` / `doctor`), and
copy-paste recipes for the most common things you'll want to do.
[**`examples/`**](examples/) has working scripts that build on the contract:
a daily-brief renderer (Python + Bash) and a `search`-then-act agent pattern.
[**`docs/PHILOSOPHY.md`**](docs/PHILOSOPHY.md) explains the seven design
trade-offs every clibo tool is built on โ read this before suggesting bigger
changes.
## Tech
Python ยท [Typer](https://typer.tiangolo.com/) ยท [SQLModel](https://sqlmodel.tiangolo.com/) ยท [Rich](https://rich.readthedocs.io/). One SQLite database. Zero external services.
```
clibo/
โโโ clibo/
โ โโโ main.py # root command, registers every tool
โ โโโ catalog.py # the canonical list of all 73 tools
โ โโโ core/ # db, config, settings, output (the shared engine)
โ โโโ clis/ # one module per tool
โโโ skills/ # one micro-skill (SKILL.md) per tool
โโโ tests/ # pytest coverage for every tool
```
## Contributing & project status
clibo is built in the open, one tool at a time โ see [`PLAN.md`](PLAN.md) for
the roadmap and [`PROGRESS.md`](PROGRESS.md) for the live log. Adding a tool
means following the shape of [`clibo/clis/calorie.py`](clibo/clis/calorie.py):
a SQLModel table, a Typer `app`, `--json` everywhere, tests, and a `SKILL.md`.
## License
[MIT](LICENSE) ยฉ 2026 dm1tryG