[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7F0FZ78MEKQ9126FK5ZKCC7":3,"skill-same:01M7F0FZ78MEKQ9126FK5ZKCC7":52},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":30,"commitSha":31,"skillDirectory":32,"forksCount":33,"repositoryHtmlUrl":34,"repositoryHomepageUrl":6,"ownerHtmlUrl":35,"ownerBlogUrl":6,"ownerDescription":36,"updatedAt":37,"install":38,"resources":51},"01M7F0FZ78MEKQ9126FK5ZKCC7","happier-session-control",null,"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.","lza6\u002FArmor-piercing-system-prompts","lza6","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F128880206?v=4","01M7EB3K7WPX5T28EJ2NVHE6EG","Chinese-tingfeng","01M7EB3K97E1KQ16QWKJMFNGX8",11,"MIT","https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F05-技能与代理开发\u002Fhappier-session-control\u002FSKILL.md",[],[],"2026-11-16 10:05:34",false,"---\nname: happier-session-control\ndescription: 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.\nmetadata: {\"openclaw\":{\"requires\":{\"bins\":[\"happier\"]},\"homepage\":\"https:\u002F\u002Fgithub.com\u002Fhappier-dev\u002Fhappier\"}}\n---\n\n# Happier Session Control (CLI JSON)\n\nThis skill enables an agent framework (for example OpenClaw) to control Happier sessions using the **existing** `happier` CLI in `--json` mode.\n\n## Prerequisites\n\n- The `happier` CLI is installed and authenticated.\n- If using multiple servers\u002Fprofiles, pass server selection flags **before** `session` (prefix-only):\n  - `happier --server \u003Cprofile-id-or-name> session list --json`\n  - `happier --server-url \u003Curl> --webapp-url \u003Curl> session list --json`\n\n## Contract\n\nAll JSON outputs are a pure-stdout envelope:\n\n```json\n{ \"v\": 1, \"ok\": true, \"kind\": \"...\", \"data\": {} }\n```\n\nor:\n\n```json\n{ \"v\": 1, \"ok\": false, \"kind\": \"...\", \"error\": { \"code\": \"...\" } }\n```\n\nCommon error codes to handle:\n\n- `not_authenticated`: run `happier auth login` on the host (or mount\u002Fprovide a valid `HAPPIER_HOME_DIR`).\n- `session_id_ambiguous`: pick deterministically from `error.candidates` (prefer exact id; otherwise ask the user).\n- `session_not_found`: call `happier session list --json` and retry.\n- `unsupported`: feature disabled by server policy or backend doesn’t support the requested intent.\n\n## Independent session delegation\n\nUse 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.\n\nWhen an independent session owns a complete work bundle:\n\n- create it with a self-contained `initialMessage`, descriptive `title` and `tag`, the intended repository `path`, and only user-selected or safely resolved machine\u002Fprofile\u002Fbackend\u002Fmodel options;\n- use canonical `read-only` permission 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;\n- treat a successful accepted spawn as the triage lane's completion for that bundle;\n- return the new session id\u002Ftitle and allocation to the user, then stop by default;\n- let the spawned session present its diagnosis directly to the user;\n- do not wait for idle or pull its transcript merely to re-present the same result;\n- do not instruct the spawned session to create further independent sessions unless the user explicitly requested recursive orchestration.\n\nUse 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.\n\nThe Happier MCP action ids are:\n\n- `session.spawn_new` — accepts `initialMessage`, `title`, `tag`, `path`, `machineId`, `profileId`, backend\u002Fmodel selection, and `permissionMode`;\n- `session.wait.idle` — optional monitoring;\n- `session.transcript.get` — optional transcript retrieval;\n- `session.message.send` — optional follow-up or correction.\n\nThe 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.\n\n## Auth Commands (JSON)\n\nCheck auth status without scraping human output:\n\n```bash\nhappier auth status --json\n```\n\n## Session Commands\n\nList sessions:\n\n```bash\nhappier session list --json\n```\n\nInspect session status (server snapshot):\n\n```bash\nhappier session status \u003Csession-id-or-prefix> --json\n```\n\nInspect session status with a best-effort live refresh:\n\n```bash\nhappier session status \u003Csession-id-or-prefix> --live --json\n```\n\nCreate\u002Fload a session by tag:\n\n```bash\nhappier session create --tag \u003Ctag> --json\n```\n\nSend a message to a session:\n\n```bash\nhappier session send \u003Csession-id-or-prefix> \"\u003Cmessage>\" --json\n```\n\nSend a message and wait until the session is idle:\n\n```bash\nhappier session send \u003Csession-id-or-prefix> \"\u003Cmessage>\" --wait --timeout 300 --json\n```\n\nWait for a session to become idle:\n\n```bash\nhappier session wait \u003Csession-id-or-prefix> --timeout 300 --json\n```\n\nStop a session:\n\n```bash\nhappier session stop \u003Csession-id-or-prefix> --json\n```\n\nRead session history (compact is recommended for prompt stuffing):\n\n```bash\nhappier session history \u003Csession-id-or-prefix> --limit 50 --format compact --json\n```\n\n## Execution Run Commands\n\nStart an execution run:\n\n```bash\nhappier session run start \u003Csession-id-or-prefix> --intent review --backend claude --json\n```\n\nList runs for a session:\n\n```bash\nhappier session run list \u003Csession-id-or-prefix> --json\n```\n\nGet a run:\n\n```bash\nhappier session run get \u003Csession-id-or-prefix> \u003Crun-id> --include-structured --json\n```\n\nSend input to a run:\n\n```bash\nhappier session run send \u003Csession-id-or-prefix> \u003Crun-id> \"\u003Cmessage>\" --json\n```\n\nStop a run:\n\n```bash\nhappier session run stop \u003Csession-id-or-prefix> \u003Crun-id> --json\n```\n\nExecute an action on a run:\n\n```bash\nhappier session run action \u003Csession-id-or-prefix> \u003Crun-id> \u003Caction-id> --input-json '\u003Cjson>' --json\n```\n\nWait for a run to finish:\n\n```bash\nhappier session run wait \u003Csession-id-or-prefix> \u003Crun-id> --timeout 300 --json\n```\n\nStream turn IO for a streaming run (e.g. `intent=voice_agent`):\n\n```bash\nhappier session run stream-start \u003Csession-id-or-prefix> \u003Crun-id> \"\u003Cmessage>\" --json\nhappier session run stream-read \u003Csession-id-or-prefix> \u003Crun-id> \u003Cstream-id> --cursor 0 --json\nhappier session run stream-cancel \u003Csession-id-or-prefix> \u003Crun-id> \u003Cstream-id> --json\n```\n\n## Server Commands (JSON)\n\nList server profiles:\n\n```bash\nhappier server list --json\n```\n\nCurrent active server:\n\n```bash\nhappier server current --json\n```\n\nAdd a server profile non-interactively:\n\n```bash\nhappier server add --name \"My Server\" --server-url https:\u002F\u002Fexample.com --webapp-url https:\u002F\u002Fexample.com --use --json\n```\n\nSwitch active server:\n\n```bash\nhappier server use \u003Cid-or-name> --json\n```\n\nRemove a server profile:\n\n```bash\nhappier server remove \u003Cid-or-name> --force --json\n```\n\nProbe server reachability\u002Fversion:\n\n```bash\nhappier server test [\u003Cid-or-name>] --json\n```\n\nSet a one-off custom server as active:\n\n```bash\nhappier server set --server-url https:\u002F\u002Fexample.com --webapp-url https:\u002F\u002Fexample.com --json\n```\n","# Happier Session Control (CLI JSON)\n\nThis skill enables an agent framework (for example OpenClaw) to control Happier sessions using the **existing** `happier` CLI in `--json` mode.\n\n## Prerequisites\n\n- The `happier` CLI is installed and authenticated.\n- If using multiple servers\u002Fprofiles, pass server selection flags **before** `session` (prefix-only):\n  - `happier --server \u003Cprofile-id-or-name> session list --json`\n  - `happier --server-url \u003Curl> --webapp-url \u003Curl> session list --json`\n\n## Contract\n\nAll JSON outputs are a pure-stdout envelope:\n\n```json\n{ \"v\": 1, \"ok\": true, \"kind\": \"...\", \"data\": {} }\n```\n\nor:\n\n```json\n{ \"v\": 1, \"ok\": false, \"kind\": \"...\", \"error\": { \"code\": \"...\" } }\n```\n\nCommon error codes to handle:\n\n- `not_authenticated`: run `happier auth login` on the host (or mount\u002Fprovide a valid `HAPPIER_HOME_DIR`).\n- `session_id_ambiguous`: pick deterministically from `error.candidates` (prefer exact id; otherwise ask the user).\n- `session_not_found`: call `happier session list --json` and retry.\n- `unsupported`: feature disabled by server policy or backend doesn’t support the requested intent.\n\n## Independent session delegation\n\nUse 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.\n\nWhen an independent session owns a complete work bundle:\n\n- create it with a self-contained `initialMessage`, descriptive `title` and `tag`, the intended repository `path`, and only user-selected or safely resolved machine\u002Fprofile\u002Fbackend\u002Fmodel options;\n- use canonical `read-only` permission 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;\n- treat a successful accepted spawn as the triage lane's completion for that bundle;\n- return the new session id\u002Ftitle and allocation to the user, then stop by default;\n- let the spawned session present its diagnosis directly to the user;\n- do not wait for idle or pull its transcript merely to re-present the same result;\n- do not instruct the spawned session to create further independent sessions unless the user explicitly requested recursive orchestration.\n\nUse 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.\n\nThe Happier MCP action ids are:\n\n- `session.spawn_new` — accepts `initialMessage`, `title`, `tag`, `path`, `machineId`, `profileId`, backend\u002Fmodel selection, and `permissionMode`;\n- `session.wait.idle` — optional monitoring;\n- `session.transcript.get` — optional transcript retrieval;\n- `session.message.send` — optional follow-up or correction.\n\nThe 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.\n\n## Auth Commands (JSON)\n\nCheck auth status without scraping human output:\n\n```bash\nhappier auth status --json\n```\n\n## Session Commands\n\nList sessions:\n\n```bash\nhappier session list --json\n```\n\nInspect session status (server snapshot):\n\n```bash\nhappier session status \u003Csession-id-or-prefix> --json\n```\n\nInspect session status with a best-effort live refresh:\n\n```bash\nhappier session status \u003Csession-id-or-prefix> --live --json\n```\n\nCreate\u002Fload a session by tag:\n\n```bash\nhappier session create --tag \u003Ctag> --json\n```\n\nSend a message to a session:\n\n```bash\nhappier session send \u003Csession-id-or-prefix> \"\u003Cmessage>\" --json\n```\n\nSend a message and wait until the session is idle:\n\n```bash\nhappier session send \u003Csession-id-or-prefix> \"\u003Cmessage>\" --wait --timeout 300 --json\n```\n\nWait for a session to become idle:\n\n```bash\nhappier session wait \u003Csession-id-or-prefix> --timeout 300 --json\n```\n\nStop a session:\n\n```bash\nhappier session stop \u003Csession-id-or-prefix> --json\n```\n\nRead session history (compact is recommended for prompt stuffing):\n\n```bash\nhappier session history \u003Csession-id-or-prefix> --limit 50 --format compact --json\n```\n\n## Execution Run Commands\n\nStart an execution run:\n\n```bash\nhappier session run start \u003Csession-id-or-prefix> --intent review --backend claude --json\n```\n\nList runs for a session:\n\n```bash\nhappier session run list \u003Csession-id-or-prefix> --json\n```\n\nGet a run:\n\n```bash\nhappier session run get \u003Csession-id-or-prefix> \u003Crun-id> --include-structured --json\n```\n\nSend input to a run:\n\n```bash\nhappier session run send \u003Csession-id-or-prefix> \u003Crun-id> \"\u003Cmessage>\" --json\n```\n\nStop a run:\n\n```bash\nhappier session run stop \u003Csession-id-or-prefix> \u003Crun-id> --json\n```\n\nExecute an action on a run:\n\n```bash\nhappier session run action \u003Csession-id-or-prefix> \u003Crun-id> \u003Caction-id> --input-json '\u003Cjson>' --json\n```\n\nWait for a run to finish:\n\n```bash\nhappier session run wait \u003Csession-id-or-prefix> \u003Crun-id> --timeout 300 --json\n```\n\nStream turn IO for a streaming run (e.g. `intent=voice_agent`):\n\n```bash\nhappier session run stream-start \u003Csession-id-or-prefix> \u003Crun-id> \"\u003Cmessage>\" --json\nhappier session run stream-read \u003Csession-id-or-prefix> \u003Crun-id> \u003Cstream-id> --cursor 0 --json\nhappier session run stream-cancel \u003Csession-id-or-prefix> \u003Crun-id> \u003Cstream-id> --json\n```\n\n## Server Commands (JSON)\n\nList server profiles:\n\n```bash\nhappier server list --json\n```\n\nCurrent active server:\n\n```bash\nhappier server current --json\n```\n\nAdd a server profile non-interactively:\n\n```bash\nhappier server add --name \"My Server\" --server-url https:\u002F\u002Fexample.com --webapp-url https:\u002F\u002Fexample.com --use --json\n```\n\nSwitch active server:\n\n```bash\nhappier server use \u003Cid-or-name> --json\n```\n\nRemove a server profile:\n\n```bash\nhappier server remove \u003Cid-or-name> --force --json\n```\n\nProbe server reachability\u002Fversion:\n\n```bash\nhappier server test [\u003Cid-or-name>] --json\n```\n\nSet a one-off custom server as active:\n\n```bash\nhappier server set --server-url https:\u002F\u002Fexample.com --webapp-url https:\u002F\u002Fexample.com --json\n```\n",{"name":5,"metadata":24,"description":7},{"openclaw":25},{"homepage":26,"requires":27},"https:\u002F\u002Fgithub.com\u002Fhappier-dev\u002Fhappier",{"bins":28},[29],"happier","main","d69096e239f2a89aabc2cd078c47664a9d3b1e11","05-技能与代理开发\u002Fhappier-session-control",3,"https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts","https:\u002F\u002Fgithub.com\u002Flza6","个人vx：Tf00798\r\n个人✈：@TFGY999","2026-10-08 14:29:22",{"source":8,"skillName":5,"commands":39,"prompt":49,"zipAvailable":50},[40,43,46],{"tool":41,"command":42},"npx","npx skills add lza6\u002FArmor-piercing-system-prompts --skill happier-session-control",{"tool":44,"command":45},"bunx","bunx skills add lza6\u002FArmor-piercing-system-prompts --skill happier-session-control",{"tool":47,"command":48},"pnpm","pnpm dlx skills add lza6\u002FArmor-piercing-system-prompts --skill happier-session-control","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F05-技能与代理开发\u002Fhappier-session-control\u002FSKILL.md",true,[],[53,60,65,72,79,86],{"skillNo":54,"name":55,"nameZh":6,"description":56,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":57,"categories":58,"keywords":59,"publishedAt":19},"01M7FFG485KY83TD6HSC4YPCMC","obsidian-clipper-template-creator","Guide for creating templates for the Obsidian Web Clipper. Use when you want to create a new clipping template, understand available variables, or format clipped content.","https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F07-后端与架构\u002Fobsidian-clipper-template-creator\u002FSKILL.md",[],[],{"skillNo":61,"name":55,"nameZh":6,"description":56,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":62,"categories":63,"keywords":64,"publishedAt":19},"01M7FFG0T6AZ0STEJPSB3CX84K","https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F07-后端与架构\u002Fobsidian-clipper-template-creator-antigravity-awesome-skills-main\u002FSKILL.md",[],[],{"skillNo":66,"name":67,"nameZh":6,"description":68,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":69,"categories":70,"keywords":71,"publishedAt":19},"01M7FFFY0QEM14SKWPDYGMXM2P","python-api","Programmatic Object-Detection-Metrics API guidance for BoundingBox, BoundingBoxes, Evaluator, enums, coordinate conversion, AP\u002FmAP semantics, and source-style import diagnostics.","https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F07-后端与架构\u002Fobject-detection-metrics\u002Fsub-skills\u002Fpython-api\u002FSKILL.md",[],[],{"skillNo":73,"name":74,"nameZh":6,"description":75,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":76,"categories":77,"keywords":78,"publishedAt":19},"01M7FFFVZQZ2GJ0C0TGP7JHD20","file-evaluation","Folder-based PASCAL VOC AP\u002FmAP evaluation from ground-truth and detection text files.","https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F07-后端与架构\u002Fobject-detection-metrics\u002Fsub-skills\u002Ffile-evaluation\u002FSKILL.md",[],[],{"skillNo":80,"name":81,"nameZh":6,"description":82,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":83,"categories":84,"keywords":85,"publishedAt":19},"01M7FFFSFNYSE77SJ6PE1CK2DA","object-detection-metrics","Guides legacy Object-Detection-Metrics PASCAL VOC AP\u002FmAP evaluation from detection text folders and direct Python API classes.","https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F07-后端与架构\u002Fobject-detection-metrics\u002FSKILL.md",[],[],{"skillNo":87,"name":88,"nameZh":6,"description":89,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":90,"categories":91,"keywords":92,"publishedAt":19},"01M7FFFP0GCK1RVXBCPQ8APBMT","nx-workspace-patterns","Configure and optimize Nx monorepo workspaces. Use when setting up Nx, configuring project boundaries, optimizing build caching, or implementing affected commands.","https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F07-后端与架构\u002Fnx-workspace-patterns\u002FSKILL.md",[],[]]