happier-session-control

Solid

Manage Happier sessions (list/status/send/wait/history/stop + execution runs) via the happier CLI JSON contract.

AI & Automation 900 stars 74 forks Updated today MIT

Install

View on GitHub

Quality Score: 96/100

Stars 20%
98
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# Happier Session Control (CLI JSON) This skill enables an agent framework (for example OpenClaw) to control Happier sessions using the **existing** `happier` CLI in `--json` mode. ## Prerequisites - The `happier` CLI is installed and authenticated. - If using multiple servers/profiles, pass server selection flags **before** `session` (prefix-only): - `happier --server <profile-id-or-name> session list --json` - `happier --server-url <url> --webapp-url <url> session list --json` ## Contract All JSON outputs are a pure-stdout envelope: ```json { "v": 1, "ok": true, "kind": "...", "data": {} } ``` or: ```json { "v": 1, "ok": false, "kind": "...", "error": { "code": "..." } } ``` Common error codes to handle: - `not_authenticated`: run `happier auth login` on the host (or mount/provide a valid `HAPPIER_HOME_DIR`). - `session_id_ambiguous`: pick deterministically from `error.candidates` (prefer exact id; otherwise ask the user). - `session_not_found`: call `happier session list --json` and retry. - `unsupported`: feature disabled by server policy or backend doesn’t support the requested intent. ## Auth Commands (JSON) Check auth status without scraping human output: ```bash happier auth status --json ``` ## Session Commands List sessions: ```bash happier session list --json ``` Inspect session status (server snapshot): ```bash happier session status <session-id-or-prefix> --json ``` Inspect session status with a best-effort live refresh: ```bash happier se...

Details

Author
happier-dev
Repository
happier-dev/happier
Created
5 months ago
Last Updated
today
Language
TypeScript
License
MIT

Similar Skills

Semantically similar based on skill content — not just same category