happier-session-control
Skill1.9k starsChanged 2 months agoMITView on GitHub
Manage Happier sessions and execution runs through the CLI JSON contract, and create independent Happier diagnosis sessions with explicit ownership, safe options, and fire-and-forget presentation semantics.
Trending
Quiet since October.thin dataabout the whole repository
Who's talking about happier-dev/happier
- slopus/happy“Not Dead Yet Release”GitHub · Jan 27, 2026 · 9 reactions
- @kaidav.is“github.com/happier-dev/...”Bluesky · Jul 19, 2026 · 6 likes
- @future-beginner.bsky.social“github.com/happier-dev/... memo”Bluesky · Sep 28, 2026 · 3 likes
- sudosubin/agents.nix“agent-skills.github.happier-dev.happier: 0-unstable-2026-09-22 → 0-unstable-2026-10-02”GitHub · Oct 3, 2026
- sudosubin/agents.nix“agent-skills.github.happier-dev.happier: init at 0-unstable-2026-09-22”GitHub · Sep 27, 2026
The biggest 5 of 14 mentions linking to the repository that our crawl found. Each line is their own headline.
See all 14
Talked about on GitHub and Bluesky (14 times).
On GitHub · 12
- Jan 27, 2026Not Dead Yet Release — slopus/happy9 reactions · 12 comments
- Oct 3, 2026agent-skills.github.happier-dev.happier: 0-unstable-2026-09-22 → 0-unstable-2026-10-02 — sudosubin/agents.nix0 reactions
- Sep 27, 2026agent-skills.github.happier-dev.happier: init at 0-unstable-2026-09-22 — sudosubin/agents.nix0 reactions
- Sep 17, 2026Investigate and enable Copilot ACP mid-turn steering after live compatibility validation — cuihuibot/happier0 reactions
- Aug 8, 2026Add report: happier-dev/happier — SeeyeeTech/github-explorer0 reactions
7 more on GitHub
- Aug 8, 2026[Analyze] happier-dev/happier — SeeyeeTech/github-explorer0 reactions · 2 comments
- May 22, 2026Node builtins: classify node:sqlite as a platform module — fallow-rs/fallow0 reactions · 1 comment
- May 7, 2026happier: init at 0.2.1 — NixOS/nixpkgs0 reactions
- Apr 18, 2026Audit candidate: happier-dev/happier — xiaolai/nlpm0 reactions · 1 comment
- Apr 12, 2026byobu/tmux session support for terminal sessions (project → tmux session, task → tmux window), helps allow remote ssh access — debuglebowski/slayzone0 reactions · 1 comment
- Apr 10, 2026replacing or modifying the cli ai launch command? — debuglebowski/slayzone0 reactions · 1 comment
- Feb 28, 2026CRITICAL BUGFIX (daemon,app): Session spawning via tmux always fails — PID mismatch timeout, hidden errors, orphaned windows (#272) — slopus/happy0 reactions
On Bluesky · 2
- Jul 19, 2026github.com/happier-dev/... — @kaidav.is6 likes and reposts
- Sep 28, 2026github.com/happier-dev/... memo — @future-beginner.bsky.social3 likes and reposts · 1 reply
In this repository34 other files it gives its agents.
- AGENTS.mdAGENTS.md
- .claude/CLAUDE.mdCLAUDE.md
- CLAUDE.mdCLAUDE.md
- .cursor/rules/context.mdcCursor rule
- .cursor/rules/delegation.mdcCursor rule
- .cursor/rules/edison.mdcCursor rule
- .cursor/rules/implementation.mdcCursor rule
- .cursor/rules/validation.mdcCursor rule
- attack-conclusionSkill
- decompose-gatesSkill
- handoff-reportSkill
- happier-ci-stabilizeSkill
- happier-commit-worktreeSkill
- happier-compatibilitySkill
- happier-diagnoseSkill
- happier-docsSkill
- happier-github-opsSkill
- happier-implement-planSkill
- happier-implementSkill
- happier-instruction-evalSkill
- happier-issue-diagnoseSkill
- happier-issue-triageSkill
- happier-planSkill
- happier-port-0-2-to-0-3Skill
- happier-profile-and-optimizeSkill
- happier-pr-stewardSkill
- happier-release-notesSkill
- happier-release-promoteSkill
- happier-releaseSkill
- happier-release-validation-reviewSkill
- happier-release-validationSkill
- happier-reviewSkill
- happier-testingSkill
- verify-claimsSkill
The file
Show its rules and text
We split this skill into the rules it gives an agent
18 rules. About 0 are common, 13 are distinctive, and 5 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈13
Distinctive · estimate
This author's own choices. Worth a look.
5
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 14
If using multiple servers/profiles, pass server selection flags before session (prefix-only):
- Distinctive: line 20
All JSON outputs are a pure-stdout envelope:
- Very specific: line 41
Use an independent Happier session only when the user asks for new sessions or when an invoking workflow explicitly selects that topology.
- Distinctive: line 43
When an independent session owns a complete work bundle:
- Very specific: line 45
create it with a self-contained initialMessage, descriptive title and tag, the intended repository path, and only user-selected or safely …
- Very specific: line 46
use canonical read-only permission mode for diagnosis when the selected backend supports it, plus an explicit no-write constraint in the …
- Distinctive: line 47
treat a successful accepted spawn as the triage lane's completion for that bundle.
- Distinctive: line 50
do not wait for idle or pull its transcript merely to re-present the same result.
- Distinctive: line 51
do not instruct the spawned session to create further independent sessions unless the user explicitly requested recursive orchestration.
- Very specific: line 53
Use monitoring only when the user asks the parent to supervise, consolidate, or continue after the child.
- Distinctive: line 66
Check auth status without scraping human output:
- Distinctive: line 92
Create/load a session by tag:
- Distinctive: line 110
Wait for a session to become idle:
- Distinctive: line 122
Read session history (compact is recommended for prompt stuffing):
- Distinctive: line 130
Start an execution run:
- Distinctive: line 166
Wait for a run to finish:
- Distinctive: line 194
Add a server profile non-interactively:
- Distinctive: line 206
Remove a server profile:
≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
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.
Independent session delegation
Use an independent Happier session only when the user asks for new sessions or when an invoking workflow explicitly selects that topology. Native subagents remain the owner for in-session delegation.
When an independent session owns a complete work bundle:
- create it with a self-contained
initialMessage, descriptivetitleandtag, the intended repositorypath, and only user-selected or safely resolved machine/profile/backend/model options; - use canonical
read-onlypermission mode for diagnosis when the selected backend supports it, plus an explicit no-write constraint in the brief. Permission modes are backend-applied policy, not a universal security sandbox; do not overclaim enforcement; - treat a successful accepted spawn as the triage lane's completion for that bundle;
- return the new session id/title and allocation to the user, then stop by default;
- let the spawned session present its diagnosis directly to the user;
- do not wait for idle or pull its transcript merely to re-present the same result;
- do not instruct the spawned session to create further independent sessions unless the user explicitly requested recursive orchestration.
Use monitoring only when the user asks the parent to supervise, consolidate, or continue after the child. In that case, session.wait.idle, session.transcript.get, and session.message.send are optional follow-up tools, not part of the default spawn flow.
The Happier MCP action ids are:
session.spawn_new— acceptsinitialMessage,title,tag,path,machineId,profileId, backend/model selection, andpermissionMode;session.wait.idle— optional monitoring;session.transcript.get— optional transcript retrieval;session.message.send— optional follow-up or correction.
The MCP binding names are session_spawn_new, session_wait_idle, session_transcript_get, and session_message_send. When actions are unavailable, use the corresponding CLI JSON commands below where the needed options are supported, or report the missing capability instead of silently changing topology.
Auth Commands (JSON)
Check auth status without scraping human output:
happier auth status --jsonSession Commands
List sessions:
happier session list --jsonInspect session status (server snapshot):
happier session status <session-id-or-prefix> --jsonInspect session status with a best-effort live refresh:
happier session status <session-id-or-prefix> --live --jsonCreate/load a session by tag:
happier session create --tag <tag> --jsonSend a message to a session:
happier session send <session-id-or-prefix> "<message>" --jsonSend a message and wait until the session is idle:
happier session send <session-id-or-prefix> "<message>" --wait --timeout 300 --jsonWait for a session to become idle:
happier session wait <session-id-or-prefix> --timeout 300 --jsonStop a session:
happier session stop <session-id-or-prefix> --jsonRead session history (compact is recommended for prompt stuffing):
happier session history <session-id-or-prefix> --limit 50 --format compact --jsonExecution Run Commands
Start an execution run:
happier session run start <session-id-or-prefix> --intent review --backend claude --jsonList runs for a session:
happier session run list <session-id-or-prefix> --jsonGet a run:
happier session run get <session-id-or-prefix> <run-id> --include-structured --jsonSend input to a run:
happier session run send <session-id-or-prefix> <run-id> "<message>" --jsonStop a run:
happier session run stop <session-id-or-prefix> <run-id> --jsonExecute an action on a run:
happier session run action <session-id-or-prefix> <run-id> <action-id> --input-json '<json>' --jsonWait for a run to finish:
happier session run wait <session-id-or-prefix> <run-id> --timeout 300 --jsonStream turn IO for a streaming run (e.g. intent=voice_agent):
happier session run stream-start <session-id-or-prefix> <run-id> "<message>" --json
happier session run stream-read <session-id-or-prefix> <run-id> <stream-id> --cursor 0 --json
happier session run stream-cancel <session-id-or-prefix> <run-id> <stream-id> --jsonServer Commands (JSON)
List server profiles:
happier server list --jsonCurrent active server:
happier server current --jsonAdd a server profile non-interactively:
happier server add --name "My Server" --server-url https://example.com --webapp-url https://example.com --use --jsonSwitch active server:
happier server use <id-or-name> --jsonRemove a server profile:
happier server remove <id-or-name> --force --jsonProbe server reachability/version:
happier server test [<id-or-name>] --jsonSet a one-off custom server as active:
happier server set --server-url https://example.com --webapp-url https://example.com --jsonDoes it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

