Xpersona
H

homebase

CLAWHUB · Unverified

Family household coordinator: calendar, briefings, kids' meals, school email, groceries, health log, receipts. Every tool goes through tools.py — read this before calling one.

62
Rank
84
Safety
1.5k
Downloads

About

What it does, and when to use it.

Capability contract not published. No trust telemetry is available yet. 1.5K downloads reported by the source. Last updated 10/10/2026.

Avoid when

  • Contract metadata is missing or unavailable for deterministic execution.

Risk flags: missing_or_unavailable_contract, trust_data_unavailable, schema_references_missing

Install and run

Setup complexity: low.

clawhub skill install s170x5reaa6915ktteva7gbsqh84bzqh:homebase
  1. Install using `clawhub skill install s170x5reaa6915ktteva7gbsqh84bzqh:homebase` in an isolated environment before connecting it to live workloads.
  2. No published capability contract is available yet, so validate auth and request/response behavior manually.
  3. Review the upstream CLAWHUB listing at https://clawhub.ai/hchawla/homebase before using production credentials.

Contract: missing

curl -s "https://www.xpersona.co/api/v1/agents/clawhub-hchawla-homebase/snapshot"

Run-check

$0.02 USD

1 measured facts are behind this paywall: success rate and latency, uptime and estimated cost, when not to use it, how to call it, benchmark scores.

Agents pay $0.02 in USDC. A card payment is $0.50, the smallest a card allows.

Documentation

CLAWHUB

160,000 characters of source documentation, loaded on request.

Extracted files

5 files captured from the source.

SKILL.md

---
name: homebase
description: "Family household coordinator: calendar, briefings, kids' meals, school email, groceries, health log, receipts. Every tool goes through tools.py — read this before calling one."
metadata: {"openclaw": {"requires": {"bin": ["gog"]}}}
license: MIT
---

# Homebase

A household data layer for a family: the calendar, the morning and evening
briefings, the kids' meals, the grocery list, the school inbox, medication and
receipts — one place, configured per family in `config.json`, no code per
family.

**Python returns data. The caller composes and sends.** Nothing in this skill
formats a message, delivers one, calls an LLM, or schedules anything. That
division is the whole architecture: the agent (or a scheduler you write) reads
these tools and decides what to say.

## Calling a tool

```
python3 {baseDir}/tools.py <tool_name> '<json_args>'
```

- **Always give `tools.py` an absolute path, and never `cd` first.** This is
  the one shell habit that predicts failure: `cd`-then-relative-path calls fail
  at 20% against a 1.6% baseline, because the working directory the exec host
  hands you is not the one you assumed.
- **One tool per exec call.** Chaining with `&&`/`||` is a smaller but real
  risk (4.9% vs 1.6%): the second command runs against state you have not read,
  and a failure in the first is easy to miss.
- `~`, `$(...)` and pipes are fine — measured within noise of baseline. Don't
  contort a command to avoid them.
- Tools taking no arguments need no third argument; `'{}'` is equivalent.
- **A non-zero exit is a failure even when there is no `❌`** — the command
  broke before the tool ran. Say so; never treat it as "nothing to report".
  The reverse also holds: most `❌` returns exit 0, so judge by the output.

**If any value contains an apostrophe, use the stdin form.** A `'` inside the
single-quoted argument closes it and the shell dies before Python runs — you
get `unmatched "`, not a `❌`. Backslash-escaping does not work inside single
quotes. Pass `-` as the argument and heredoc the JSON:

```
python3 {baseDir}/tools.py log_restaurant_visit - <<'JSON'
{"restaurant":"Romy's","meal_type":"lunch","date":"2026-06-12","total":42.50}
JSON
```

Use the stdin form whenever a value holds `'`, emoji, newlines, or text you
extracted from an email, a photo or a message — anything you did not author.
The quoted `<<'JSON'` matters: it stops the shell expanding `$` and backticks.

**Non-agent callers use the shim:** `{baseDir}/bin/homebase.sh <tool> '<json>'`.
It pins the interpreter to homebase's venv. Prefer it in any script or
scheduler — `tools.py` can re-exec itself under the venv, but only when the
calling interpreter both lacks `pypdf` and resolves to a different binary than
`.venv/bin/python`, which is not true of a Homebrew `python3.12`.

## Finding a tool

`tools.py list` prints all 48 tool names. An unknown name returns a
`Did you mean:` suggestion rather than a silent failure. Use it instead of
guessing a name — 

README.md

# Homebase

A WhatsApp-based household coordinator for families, built as a native OpenClaw skill. The OpenClaw agent IS the intelligence — it reads messages, reasons about them, and calls Python data tools via bash. Homebase is model-agnostic: whichever model OpenClaw is configured with (Claude, Gemma, GPT, Llama, ...) does the reasoning. No LLM SDK is bundled in this skill.

Clone, edit `config.json`, authorize Google in the `gog` CLI, run. Zero Python code changes.

---

## What It Does

**Calendar & Schedule**
- Syncs Google Calendar into a local cache (`calendar_data/family_calendar.json`) through the `gog` CLI — 1 day back, 30 days forward, every `enabled` entry in `supported_calendars`
- **No calendar tools.** All eight (`get_events_for_date`, `get_events_for_range`, `get_next_event`, `get_tomorrow_events`, `check_calendar_for_date`, `add_calendar_event`, `update_calendar_event`, `delete_calendar_event`) were deleted on 2026-09-07 when Google access moved to `gog`. The agent reads and writes the calendar with the `gog` skill directly; homebase owns household state only
- The one calendar write left is `confirm_pending_school_events`, which creates school events the family has explicitly approved
- Morning briefing data (`get_morning_briefing`) and school-window hourly weather + UV + air quality + sun times (`get_weather_context`)
- Composition and delivery of the daily briefing happen OUTSIDE this skill — see "Morning briefing" below
- Output validation catches missing data (wrong calendar, missing weather, missing kid meals) before it reaches the family
- 60-day reliability tracker records daily briefing health (`household/briefing_reliability.json`)
- The 5:50 AM pre-flight health check is gone — deleted 2026-08-17 with the cron job it guarded (see "Scheduled Tasks")

**Meal Planning**
- Per-child meal rules defined in `config.json` (breakfast options, lunch options, dietary restrictions)
- Draft meal plan posted to the family WhatsApp group for approval; the agent applies revision requests, and the plan auto-locks after 2 revisions
- **On-demand only.** The Saturday-draft / Sunday-9-PM-auto-lock cadence was a pair of OpenClaw cron jobs and went with them on 2026-08-17. The flow works whenever it is called; nothing schedules it
- Tracks what kids actually ate (learned daily via morning check-in)

**School**
- Reads Gmail for school emails (domains configured in `config.json`) through the `gog` CLI, on the `school` runner's schedule — 8:07/12:07/16:07/20:07 Mon–Fri
- Extracts calendar events from email bodies and PDF attachments via the agent + pypdf
- Deduplicates against existing Google Calendar entries before proposing; since 2026-09-07 that lookup is a `gog calendar events` call in the runner, not a homebase tool
- Propose → family confirms → create: nothing reaches Google Calendar until the family replies

**Health — Medication & Symptom Tracker**
- Logs medication doses per child (Tylenol, Ibuprofen, and variants)
- Accepts doses in

_meta.json

{
  "ownerId": "kn74ydq19syybfwnn83hx57jbn84b76s",
  "slug": "homebase",
  "version": "0.6.1",
  "publishedAt": 1789963764996
}

references/agent.md

# Household Manager — Agent Instructions

You are the **Intelligent Orchestrator** for a family household. You manage logistics across WhatsApp, using your reasoning to bridge the family's needs with specialized Python data tools.

## 🧠 Orchestration Principles
- **Config-Driven Intelligence:** Your specific family members, kids, meal rules, and store layouts are defined in `config.json`. Always refer to the context returned by your tools.
- **Natural Vibe:** Be warm, concise, and helpful. Use WhatsApp-friendly formatting (*bold*, bullet lists). Avoid robotic filler.
- **Proactive Coordination:** Look ahead for the family. Point out drop-off reminders or school deadlines without being asked.
- **Close the loop on incoming media:** When the user sends an image (or any attachment), always do three things in order: (1) extract structured content via the `view_image` tool, asking for JSON output; (2) infer the intended action from the conversation context — the user's prior messages plus the document type (flight itinerary → calendar entries, receipt → grocery log, school flyer → school event flow, snack calendar → `save_snack_schedule`, etc.); (3) either take that action with the right tools OR ask ONE specific clarifying question naming the two most likely actions. NEVER stop after extraction alone with an empty reply or just "here's what I extracted" — that is a known failure mode. If the user's prior message already named the intent ("add to calendar", "log this expense", "save this schedule"), proceed directly without re-asking.
  - BAD (do not do this): user sends a photo of the daycare snack calendar with no caption → you call `view_image`, get back the list of days/snacks, and reply "Here is the morning snack schedule for July 2026: ...". Turn ends. Nothing was saved. The user now has to notice it wasn't stored, ask "was this stored?", and tell you to save it — that's a wasted round trip that already happened once and must not happen again.
  - GOOD: same photo → you call `view_image`, get the list back, immediately call `save_snack_schedule` with it (this is a monthly recurring photo with an obvious single action — no clarifying question needed), then reply with the tool's own confirmation, e.g. "Saved — 20 days loaded for July. Today: Goldfish, Pears / Wheat Thins, Applesauce."
- **Trust tool results, never fake them:** Only claim a tool action succeeded if you have seen a successful tool response in this turn. Never say "sent to family group", "added to calendar", "logged", "saved", etc. without the tool's own confirmation string above. If a tool returns an error (e.g. starts with `❌`), your reply must surface that error verbatim — do NOT retry with fabricated arguments, do NOT pretend it worked.
- **Summarize after a sequence of tool calls:** After making one or more state-changing tool calls (anything that writes/adds/logs/saves), produce a one-line summary reply to the user before ending the turn. Empty responses after tool flurries ar

CHANGELOG.md

# Changelog

Dated entries for what changed and when. Live operating rules belong in
`SKILL.md`; this file is where the "it used to work differently" narrative goes
so `SKILL.md` can stay an instruction manual instead of a history.

## 0.6.0 — 2026-09-20

**Breaking: the calendar tool surface is gone.** Google access moved to the
`gog` CLI, and with it every calendar wrapper.

### Removed
- All eight calendar tools: `get_events_for_date`, `get_events_for_range`,
  `get_next_event`, `get_tomorrow_events`, `check_calendar_for_date`,
  `add_calendar_event`, `update_calendar_event`, `delete_calendar_event`.
  Read and write the calendar with `gog` directly; get the calendar id from
  `get_message_targets`, never gog's default (the account's *primary*).
  `confirm_pending_school_events` is the one calendar write homebase still makes.
- `core/keychain_secrets.py`, `core/reauth_google.py`, `migrate_to_keychain.py`
  and the `.env` they read. The skill now holds no credentials at all: `gog`
  owns the OAuth refresh token and mints an access token per invocation.
- Dependencies `google-api-python-client`, `google-auth`, `google-auth-httplib2`,
  `google-auth-oauthlib`, `keyring` and `python-dotenv`. Only `requests` and
  `pypdf` remain.
- `com.openclaw.daemon.plist` — a second gateway contending for the same port
  and session. OpenClaw installs and owns its own gateway agent.
- `get_cron_health_digest`, which read OpenClaw's own SQLite state. Nothing in
  this skill reads OpenClaw internals any more.
- The 5:50 AM briefing pre-flight check, deleted with the cron job it guarded.

### Added
- `core/gcal.py` and `core/gmail.py` — the only two modules that reach Google,
  both by exec'ing `gog`. `GOG_BIN` overrides the binary; the test suite points
  it at a path that cannot exist so a missing mock fails loudly.
- `HOMEBASE_CONFIG` environment override in `core/config_loader.py`. The test
  suite sets it, so tests run against their own fixture instead of whatever
  `config.json` is on the machine.
- `bin/homebase.sh` as the real shim. `bin/homebase` forwards to it and stays
  for existing callers. The `.sh` extension matters: ClawHub publishes only
  known text extensions, so the extensionless script was being silently dropped
  from the published package.
- `tools.py list` — prints all 48 tool names; unknown names get a
  `Did you mean:` suggestion.
- `LICENSE` (MIT), declared in `pyproject.toml` since the start but never shipped.
- `CHANGELOG.md` (this file).

### Fixed
- **Privacy: real family data removed from every publishable file.** Children's
  and adults' first names, two teachers' email addresses, the school name and
  its email domain were hardcoded across `references/agent.md`, three source
  modules and eleven test files — roughly 250 occurrences. All are now neutral
  placeholders. The same values were present in the published package and in
  git history; see "Known gaps" below.
- **`pyproject.toml` declared no dependencies.** `classifiers` an

Sponsored

Ads related to homebase and adjacent AI workflows.