SKILL.md--- name: capabilities description: | Your capability catalog. Read it once at boot. Lists the date skills, the external integrations (reached via the loopback broker), the usage limits and the engines and models available to you as an agent or a temp, and exactly how to call each. Read only. Consult it whenever you are unsure what tools or integrations you have or how to invoke them. allowed-tools: - Bash --- # Capability catalog You are an agent or a temp in this office. An agent has a lasting session; a temp is a short lived agent the orchestrator starts for one job, and it reports done when the job is finished. This catalog tells you **what you can do and how to call it**, your date skills and your external integrations, so you never have to guess. Everything here is read only to invoke (the integrations themselves may act, but they are mediated and credential free from your side). ## 1. Your environment The harness injects these env vars (use them; don't hard-code paths): - `AGENT_ID`, `AGENT_NAME` — your identity in the hive. - `AGENT_DIR` — your private workspace (`identity.md`, `memory.md`, `inbox/`, `outbox/`, and `.claude/skills/`). Your bundled skills live under `$AGENT_DIR/.claude/skills/`. - `HIVE_ROOT` — the shared hive (`PROTOCOL.md`, the kanban, other agents). At boot you also have `identity.md` (who you are) and `HIVE_ROOT/PROTOCOL.md` (the full coordination protocol). To message god or another agent, write ONE message JSON into `$AGENT_DIR/outbox/` (schema in PROTOCOL.md). When finished, send god an `"act":"done"` outbox message with a substantive result summary. ## 2. Temporal skills — concrete date ranges, relative to now When your task is time-scoped, resolve the dates instead of computing them by hand. Each skill prints inclusive civil dates (`YYYY-MM-DD`, your local timezone) **and** the half-open `[startUtc, endExclusiveUtc)` instants for timestamp queries. All are read-only (clock + stdout only; no writes, no network). Named shortcuts (invoke directly): | Skill | Range it resolves | | --- | --- | | `/today`, `/yesterday` | the single civil day | | `/thisWeek`, `/lastWeek` | ISO week (Mon-start); this = Mon→today, last = prior full week | | `/last7Days`, `/last30Days` | rolling N-day window ending today | | `/thisMonth`, `/lastMonth` | this = 1st→today; last = prior full month | | `/thisQuarter`, `/lastQuarter` | this = quarter-start→today; last = prior full quarter | | `/thisYear`, `/lastYear` | this = Jan 1→today (YTD); last = prior full year | For **any** window — including `last90Days`, `last12Months`, or arbitrary `lastNdays` / `lastNweeks` / `lastNmonths` — use `/temporal`, or call the resolver directly: ```bash node "$AGENT_DIR/.claude/skills/temporal/when.mjs" last30Days # one window node "$AGENT_DIR/.claude/skills/temporal/when.mjs" # all windows node "$AGENT_DIR/.claude/skills/temporal/when.mjs" --json 90d # JSON o