Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx agentmods add skills/happier-dev/happier/happier-session-controlnpx skills add happier-dev/happier --skill happier-session-controlgit clone --depth 1 https://github.com/happier-dev/happierWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/happier-dev/happier/happier-session-control)<a href="https://agentmods.dev/skills/happier-dev/happier/happier-session-control"><img src="https://agentmods.dev/badge/skills/happier-dev/happier/happier-session-control.svg" alt="Measured on agentmods" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5 | $0.00030 | $0.01183 |
| Opus 5 | $0.00015 | $0.00592 |
| Sonnet 5 | $0.00006 | $0.00237 |
| Haiku 4.5 | $0.00003 | $0.00118 |
Grade A, and why
happier-session-control scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 4d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 199 lines — stays where its author put it; the contents beside it link to each section on GitHub.
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
happierCLI 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 --jsonhappier --server-url <url> --webapp-url <url> session list --json
Contract
All JSON outputs are a pure-stdout envelope:
{ "v": 1, "ok": true, "kind": "...", "data": {} }
or:
{ "v": 1, "ok": false, "kind": "...", "error": { "code": "..." } }
Common error codes to handle:
not_authenticated: runhappier auth loginon the host (or mount/provide a validHAPPIER_HOME_DIR).session_id_ambiguous: pick deterministically fromerror.candidates(prefer exact id; otherwise ask the user).session_not_found: callhappier session list --jsonand 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:
happier auth status --json
Session Commands
List sessions:
happier session list --json
Inspect session status (server snapshot):
happier session status <session-id-or-prefix> --json
Inspect session status with a best-effort live refresh:
happier session status <session-id-or-prefix> --live --json
Create/load a session by tag:
happier session create --tag <tag> --json
Send a message to a session:
happier session send <session-id-or-prefix> "<message>" --json
Send a message and wait until the session is idle:
happier session send <session-id-or-prefix> "<message>" --wait --timeout 300 --json
Wait for a session to become idle:
happier session wait <session-id-or-prefix> --timeout 300 --json
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 4d ago First seen · 199 lines · 30 tokens per session scan A a243a6d36ed2
happier-session-control is a skill published in the GitHub repository happier-dev/happier (1,615 stars, last pushed today), licensed MIT. It adds 30 tokens to every session and 1,183 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
Other skills, from other repositories
maple-preview
Use when a MapleStory asset request resolves to more than one plausible candidate: a look described by colour, style, or mood instead of an exact name or ID (a black cap, a white tee, a monster that suits this map), a maple-lookup search returning several close matches, or the user asking to preview, compare, or…
balance-tuning
Reviews and tunes game balance across difficulty and progression curves, session pacing, option or strategy trade-offs, and reward economies. Use when players report that a game is too hard, easy, short, long, or grindy; a weapon, upgrade, or strategy dominates; damage, health, spawn, drop, price, or progression…
cross-device-check
Audits a game's UI and interaction across supported viewports, aspect ratios, pixel densities, orientations, and input capabilities. Use when mobile, tablet, desktop, controller, keyboard, pointer, or touch support is being checked; UI clips, overlaps, blurs, or overflows; controls are unreachable or hard to use…
determinism-audit
Audits nondeterministic game behavior and flaky execution. Use when the same initial state and inputs produce different outcomes, a test fails intermittently or only under load, behavior differs by frame rate or machine, a replay diverges, or lockstep peers desynchronize. Establishes the required determinism boundary…
game-feel
Use when a game's controls feel stiff, floaty, heavy, slippery, unresponsive, or unfair; when players miss jumps they thought they made, snag on platform corners, lose inputs pressed during another action, or get hit by grazes; when a platformer, runner, or action game is being built or polished and its input and…
game-tutorial
Audits, adds, or reworks a game's first-time-player tutorial. Use when players cannot identify the controls, goal, failure conditions, or a non-obvious rule; new players quit before completing the core loop; onboarding presents too much at once; or an explicit tutorial or first-run improvement is requested. Separates…