[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M77ZJF12WPXMWQDH1FGVBS2G":3,"skill-same:01M77ZJF12WPXMWQDH1FGVBS2G":54},{"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":24,"commitSha":25,"skillDirectory":26,"forksCount":27,"repositoryHtmlUrl":28,"repositoryHomepageUrl":29,"ownerHtmlUrl":30,"ownerBlogUrl":31,"ownerDescription":32,"updatedAt":33,"install":34,"resources":47},"01M77ZJF12WPXMWQDH1FGVBS2G","run-desktop",null,"Launch, screenshot, and drive the Arca Tauri desktop GUI headlessly (Xvfb + scrot + xdotool). Use when asked to run\u002Fstart\u002Fopen\u002Fscreenshot the desktop app, or to visually verify a desktop (desktop\u002F Tauri+React) change in this repo — including clicking buttons and filling forms to confirm a feature works end-to-end.","Scoheart\u002Farca","Scoheart","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F78343795?v=4","01M77ZJC7S9DG1A27HNF1RYGTB","Heart Sco","01M77ZJC8KHX00BB8R0RP69VNF",5,"MIT","https:\u002F\u002Fgithub.com\u002FScoheart\u002Farca\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Frun-desktop\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: run-desktop\ndescription: Launch, screenshot, and drive the Arca Tauri desktop GUI headlessly (Xvfb + scrot + xdotool). Use when asked to run\u002Fstart\u002Fopen\u002Fscreenshot the desktop app, or to visually verify a desktop (desktop\u002F Tauri+React) change in this repo — including clicking buttons and filling forms to confirm a feature works end-to-end.\n---\n\n# Run the Arca desktop app (headless)\n\nThe repo has two front-ends: a TS CLI\u002FTUI (`src\u002F`, run with `node dist\u002Findex.js`)\nand a **Tauri desktop GUI** (`desktop\u002F`, React + Rust). This skill runs the\ndesktop GUI in a headless container — there is no real display, so it renders to\na virtual X server (Xvfb), captures screenshots (scrot), and simulates input\n(xdotool).\n\nAll steps are wrapped in `gui.sh` (next to this file). Prefer it over raw\ncommands — it handles Xvfb startup, the WebKit software-rendering flags, the\ndetached launch, and the build-ready wait.\n\n## Prerequisites (usually already present)\n\n`Xvfb scrot xdotool` and the app deps. If missing:\n`sudo apt-get install -y xvfb scrot xdotool` and `cd desktop && npm install`.\n\n## Quick start\n\n```bash\nSKILL=.claude\u002Fskills\u002Frun-desktop\u002Fgui.sh\nbash $SKILL start          # ensure Xvfb :99 + launch tauri dev, wait until the window is up\nbash $SKILL shot           # prints the PNG path; Read it to see the UI\n```\n\n`start` blocks until it sees ``Running `target\u002Fdebug\u002Fdesktop` `` in the log, or\nreports a Rust build failure with a log tail. The **first** build takes a few\nminutes; later runs are fast.\n\n## Driving the UI\n\nCoordinates are in the virtual screen (default 1280x900). Take a `shot` first,\nread the PNG to find the element, then click\u002Ftype:\n\n```bash\nbash $SKILL click 1156 67        # e.g. the top-right \"+\" (Add Agent) button\nbash $SKILL type \"my-tool\"       # type into the focused field\nbash $SKILL key Return           # or Escape, ctrl+a, Tab, ...\nbash $SKILL shot \u002Ftmp\u002Fafter.png  # verify the result\n```\n\nUse `SendUserFile` to show the user the screenshots that matter.\n\n## Rebuild after code changes\n\n- **Frontend** (`desktop\u002Fsrc\u002F**`): Vite hot-reloads automatically — just take a\n  new `shot`. No restart needed.\n- **Rust** (`desktop\u002Fsrc-tauri\u002F**`) **or** bundled data (`data\u002F*.json`, which the\n  Rust core `include_str!`s): the running binary is stale. Run\n  `bash $SKILL restart` to rebuild and relaunch. (`tauri dev` only watches\n  `src-tauri\u002F`, so it will NOT auto-pick-up `data\u002F` edits.)\n\n## Manage \u002F clean up\n\n```bash\nbash $SKILL status     # show Xvfb + app PIDs and readiness\nbash $SKILL stop       # kill app + vite (leaves Xvfb up for the next run)\n```\n\n## Notes \u002F gotchas\n\n- `libEGL warning: DRI3 ...` lines in the log are harmless (software rendering).\n- The app's data comes from `data\u002Fregistry.json` + `data\u002Fagents.json`. With no\n  `~\u002F.arca\u002F` user override present, those committed defaults are what render.\n- Headless launch needs `WEBKIT_DISABLE_COMPOSITING_MODE=1` and\n  `WEBKIT_DISABLE_DMABUF_RENDERER=1` (the script sets these) or the window stays\n  blank.\n- Override the display\u002Fsize with env vars: `DISPLAY=:98 SCREEN=1440x900x24 bash $SKILL start`.\n","# Run the Arca desktop app (headless)\n\nThe repo has two front-ends: a TS CLI\u002FTUI (`src\u002F`, run with `node dist\u002Findex.js`)\nand a **Tauri desktop GUI** (`desktop\u002F`, React + Rust). This skill runs the\ndesktop GUI in a headless container — there is no real display, so it renders to\na virtual X server (Xvfb), captures screenshots (scrot), and simulates input\n(xdotool).\n\nAll steps are wrapped in `gui.sh` (next to this file). Prefer it over raw\ncommands — it handles Xvfb startup, the WebKit software-rendering flags, the\ndetached launch, and the build-ready wait.\n\n## Prerequisites (usually already present)\n\n`Xvfb scrot xdotool` and the app deps. If missing:\n`sudo apt-get install -y xvfb scrot xdotool` and `cd desktop && npm install`.\n\n## Quick start\n\n```bash\nSKILL=.claude\u002Fskills\u002Frun-desktop\u002Fgui.sh\nbash $SKILL start          # ensure Xvfb :99 + launch tauri dev, wait until the window is up\nbash $SKILL shot           # prints the PNG path; Read it to see the UI\n```\n\n`start` blocks until it sees ``Running `target\u002Fdebug\u002Fdesktop` `` in the log, or\nreports a Rust build failure with a log tail. The **first** build takes a few\nminutes; later runs are fast.\n\n## Driving the UI\n\nCoordinates are in the virtual screen (default 1280x900). Take a `shot` first,\nread the PNG to find the element, then click\u002Ftype:\n\n```bash\nbash $SKILL click 1156 67        # e.g. the top-right \"+\" (Add Agent) button\nbash $SKILL type \"my-tool\"       # type into the focused field\nbash $SKILL key Return           # or Escape, ctrl+a, Tab, ...\nbash $SKILL shot \u002Ftmp\u002Fafter.png  # verify the result\n```\n\nUse `SendUserFile` to show the user the screenshots that matter.\n\n## Rebuild after code changes\n\n- **Frontend** (`desktop\u002Fsrc\u002F**`): Vite hot-reloads automatically — just take a\n  new `shot`. No restart needed.\n- **Rust** (`desktop\u002Fsrc-tauri\u002F**`) **or** bundled data (`data\u002F*.json`, which the\n  Rust core `include_str!`s): the running binary is stale. Run\n  `bash $SKILL restart` to rebuild and relaunch. (`tauri dev` only watches\n  `src-tauri\u002F`, so it will NOT auto-pick-up `data\u002F` edits.)\n\n## Manage \u002F clean up\n\n```bash\nbash $SKILL status     # show Xvfb + app PIDs and readiness\nbash $SKILL stop       # kill app + vite (leaves Xvfb up for the next run)\n```\n\n## Notes \u002F gotchas\n\n- `libEGL warning: DRI3 ...` lines in the log are harmless (software rendering).\n- The app's data comes from `data\u002Fregistry.json` + `data\u002Fagents.json`. With no\n  `~\u002F.arca\u002F` user override present, those committed defaults are what render.\n- Headless launch needs `WEBKIT_DISABLE_COMPOSITING_MODE=1` and\n  `WEBKIT_DISABLE_DMABUF_RENDERER=1` (the script sets these) or the window stays\n  blank.\n- Override the display\u002Fsize with env vars: `DISPLAY=:98 SCREEN=1440x900x24 bash $SKILL start`.\n",{"name":5,"description":7},"main","39de29770c24e3ef223810ea26c4719d92f4cd67",".claude\u002Fskills\u002Frun-desktop",1,"https:\u002F\u002Fgithub.com\u002FScoheart\u002Farca","https:\u002F\u002Fmux.scoheart.com","https:\u002F\u002Fgithub.com\u002FScoheart","http:\u002F\u002Fwww.baidu.com","何来人间惊鸿客，不过尘世一俗人。","2026-11-14 04:00:35",{"source":8,"skillName":5,"commands":35,"prompt":45,"zipAvailable":46},[36,39,42],{"tool":37,"command":38},"npx","npx skills add Scoheart\u002Farca --skill run-desktop",{"tool":40,"command":41},"bunx","bunx skills add Scoheart\u002Farca --skill run-desktop",{"tool":43,"command":44},"pnpm","pnpm dlx skills add Scoheart\u002Farca --skill run-desktop","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FScoheart\u002Farca\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Frun-desktop\u002FSKILL.md",true,[48],{"path":49,"resourceType":50,"resourceTypeDesc":51,"sizeBytes":52,"sourceHtmlUrl":53},"gui.sh","SCRIPT","脚本",3811,"https:\u002F\u002Fgithub.com\u002FScoheart\u002Farca\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Frun-desktop\u002Fgui.sh",[55,62,69],{"skillNo":56,"name":57,"nameZh":6,"description":58,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":59,"categories":60,"keywords":61,"publishedAt":19},"01M77ZJR9JPQHQN0RCAK2A6CDZ","arca-cli","Use Arca's CLI to inspect and configure AI Agents, application launch paths, arguments and environment variables, MCP servers, model providers and profiles, Skills, and shared preferences. Trigger for Arca\u002Farca CLI tasks, Agent launch configuration, or requests to manage these resources through Arca (Arca 命令行、启动配置、代理、MCP、模型和技能管理).","https:\u002F\u002Fgithub.com\u002FScoheart\u002Farca\u002Fblob\u002Fmain\u002Fskills\u002Farca-cli\u002FSKILL.md",[],[],{"skillNo":63,"name":64,"nameZh":6,"description":65,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":66,"categories":67,"keywords":68,"publishedAt":19},"01M77ZJNK0XFTEC9JYBHF007DZ","safe","Safe fixture for Arca tests","https:\u002F\u002Fgithub.com\u002FScoheart\u002Farca\u002Fblob\u002Fmain\u002Fcore\u002Ftests\u002Ffixtures\u002Fskills\u002Fsafe\u002FSKILL.md",[],[],{"skillNo":70,"name":71,"nameZh":6,"description":72,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":73,"categories":74,"keywords":75,"publishedAt":19},"01M77ZJM44K9QPKMDY6JRDQ7CQ","risky","Risky fixture used to verify local audit evidence.","https:\u002F\u002Fgithub.com\u002FScoheart\u002Farca\u002Fblob\u002Fmain\u002Fcore\u002Ftests\u002Ffixtures\u002Fskills\u002Frisky\u002FSKILL.md",[],[]]