[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7576093W8E4XGS97222M6CW":3,"skill-same:01M7576093W8E4XGS97222M6CW":68},{"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":33,"commitSha":34,"skillDirectory":35,"forksCount":14,"repositoryHtmlUrl":36,"repositoryHomepageUrl":6,"ownerHtmlUrl":37,"ownerBlogUrl":38,"ownerDescription":6,"updatedAt":39,"install":40,"resources":53},"01M7576093W8E4XGS97222M6CW","flatpak-chromium-automation",null,"Drive Flatpak Chromium CDP, install unpacked extensions, manage profiles.","rakaarwaky\u002Fagents-arwaky","rakaarwaky","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F245127434?v=4","01M7574QFJB21S6PPNCK78WX68","Raka Arwaky","01M7574QG54PRT44Q4KMQFXY6B",0,"MIT","https:\u002F\u002Fgithub.com\u002Frakaarwaky\u002Fagents-arwaky\u002Fblob\u002Fmain\u002Fskills\u002Fautomation\u002Fflatpak-chromium-automation\u002FSKILL.md",[],[],"2026-11-12 13:55:43",false,"---\nname: flatpak-chromium-automation\ndescription: Drive Flatpak Chromium CDP, install unpacked extensions, manage profiles.\nwhen-to-use: Use when CDP debugging of a Flatpak browser fails to bind its port, when orphan Flatpak instances hijack a debug launch, when pkill\u002Fpgrep patterns threaten the agent shell, when adding a Web Store extension that cannot be clicked through, or when a tool must see or create browser profiles deterministically, when editing Local State or Preferences with a closed browser, when probing user-data dirs under native, Flatpak, Snap, or macOS installs, or when wiring NAME|user|pass|url envs into vault items plus browser profiles. Not for driving non-Flatpak browsers.\nargument-hint: \"\u003Cappid | ext-id | cmd | create | inspect> [user-data-dir] [--dry-run] [--yes]\"\nmetadata:\n  tags:\n    - browser\n    - chromium\n    - brave\n    - flatpak\n    - automation\n---\n\n# Automating flatpak-packaged Chromium browsers\n\nYou drive Flatpak-packaged Brave\u002FChromium over CDP from the host, install Web\nStore extensions unpacked, and manage (create, inspect, fix) the underlying\nBrave\u002FChromium profile dirs and `Local State` — the things that break when the\nsandbox is in the way or when a tool must see profiles deterministically.\n\nProfile provisioning detail — `Local State` `info_cache` registry, user-data\ndir locations across native\u002FFlatpak\u002FSnap\u002FmacOS, the closed-browser guard, and\nBitwarden CLI companion setup: `references\u002Fprofile-provisioning.md`.\n\n## Which paths the browser process can actually see\n\nSee [`references\u002Fsandbox-paths-and-launch.md`](references\u002Fsandbox-paths-and-launch.md) for sandbox-visible paths, probe commands, orphan-instance cleanup, and first-in CDP launch verification.\n\nThe sandbox does NOT bind host `\u002Fetc` or `~\u002F.config` (outside `~\u002F.var\u002Fapp\u002F...`):\n`\u002Fetc\u002Fbrave\u002Fpolicies\u002Fmanaged\u002F*.json` and `--policy-directory=\u002Fhome\u002F\u003Cuser>\u002F.config\u002F...`\nsilently load nothing (verify via `chrome:\u002F\u002Fpolicy` over CDP — statuses come\nback as errors\u002Fnot-listed rather than an exception). Paths that ARE visible:\nanything under `\u002Ftmp` or `~\u002F.var\u002Fapp\u002F\u003CAPPID>\u002F`. Probe without launching:\n`flatpak run --command=ls \u003CAPPID> \u003Cpath>`.\n\n## Orphan instances hijack your debug launch\n\nA live browser owns the user-data dir singleton, so a fresh\n`flatpak run com.brave.Browser --remote-debugging-port=... --profile-directory=...`\njust hands off to the running instance and exits: no port listens, no error,\nand it looks like \"flatpak breaks CDP\". CDP works fine from the host\n(127.0.0.1) once the launch is genuinely first-in. Before launching debug\nsessions, check `flatpak ps` and probe the target dir's `SingletonSocket`;\nkilling the `flatpak run` wrapper does NOT kill the browser — clean up with\n`flatpak kill \u003Cinstance-id>`, and re-verify with `pgrep -f \"[\u002F]app\u002Fbrave\u002Fbrave\"`\n(`[\u002F]` bracket so the pattern cannot match your own shell, see below).\n\n## pkill\u002Fpgrep self-match kills your own shell\n\n`pkill -f \"remote-debugging-port=9233\"` issued from an agent shell matches the\nshell's own command line (it contains that string) and SIGTERMs the command\nmid-run. Always break the pattern with a bracket class: `pkill -f \"92[3]3\"`.\n\n## Extension install without clicking anything\n\nBrave\u002FChromium's \"Add extension\" prompt is a NATIVE window — it is not in any\nCDP target, page DOM, or accessibility tree reachable via\n`connect_over_cdp`\u002FPlaywright, so web-store install flows are not automatable.\nDo not burn time trying to click it.\n\nWorking method (verified end-to-end): fetch the official CRX by extension id\nfrom the update endpoint, unpack it, and launch with\n`--load-extension=\u003Cdir> --disable-extensions-except=\u003Cdir>`. The MV3 service\nworker appears in `\u002Fjson\u002Flist` and the extension popup runs normally under\nCDP. Endpoint + CRX3\u002FCRX2 binary layout, and the caveat that unpacked dirs get\npath-derived IDs instead of the store ID: `references\u002Fcrx-fetch.md`.\n\n`--load-extension` is per-launch only; there is no verified per-profile\npermanent install path in the flatpak sandbox yet (External Extensions with\n`external_crx` and policy force-install both failed to take here) — treat any\n\"permanent\" claim as needing a fresh-launch verification that the extension\ngot installed under its official ID.\n","# Automating flatpak-packaged Chromium browsers\n\nYou drive Flatpak-packaged Brave\u002FChromium over CDP from the host, install Web\nStore extensions unpacked, and manage (create, inspect, fix) the underlying\nBrave\u002FChromium profile dirs and `Local State` — the things that break when the\nsandbox is in the way or when a tool must see profiles deterministically.\n\nProfile provisioning detail — `Local State` `info_cache` registry, user-data\ndir locations across native\u002FFlatpak\u002FSnap\u002FmacOS, the closed-browser guard, and\nBitwarden CLI companion setup: `references\u002Fprofile-provisioning.md`.\n\n## Which paths the browser process can actually see\n\nSee [`references\u002Fsandbox-paths-and-launch.md`](references\u002Fsandbox-paths-and-launch.md) for sandbox-visible paths, probe commands, orphan-instance cleanup, and first-in CDP launch verification.\n\nThe sandbox does NOT bind host `\u002Fetc` or `~\u002F.config` (outside `~\u002F.var\u002Fapp\u002F...`):\n`\u002Fetc\u002Fbrave\u002Fpolicies\u002Fmanaged\u002F*.json` and `--policy-directory=\u002Fhome\u002F\u003Cuser>\u002F.config\u002F...`\nsilently load nothing (verify via `chrome:\u002F\u002Fpolicy` over CDP — statuses come\nback as errors\u002Fnot-listed rather than an exception). Paths that ARE visible:\nanything under `\u002Ftmp` or `~\u002F.var\u002Fapp\u002F\u003CAPPID>\u002F`. Probe without launching:\n`flatpak run --command=ls \u003CAPPID> \u003Cpath>`.\n\n## Orphan instances hijack your debug launch\n\nA live browser owns the user-data dir singleton, so a fresh\n`flatpak run com.brave.Browser --remote-debugging-port=... --profile-directory=...`\njust hands off to the running instance and exits: no port listens, no error,\nand it looks like \"flatpak breaks CDP\". CDP works fine from the host\n(127.0.0.1) once the launch is genuinely first-in. Before launching debug\nsessions, check `flatpak ps` and probe the target dir's `SingletonSocket`;\nkilling the `flatpak run` wrapper does NOT kill the browser — clean up with\n`flatpak kill \u003Cinstance-id>`, and re-verify with `pgrep -f \"[\u002F]app\u002Fbrave\u002Fbrave\"`\n(`[\u002F]` bracket so the pattern cannot match your own shell, see below).\n\n## pkill\u002Fpgrep self-match kills your own shell\n\n`pkill -f \"remote-debugging-port=9233\"` issued from an agent shell matches the\nshell's own command line (it contains that string) and SIGTERMs the command\nmid-run. Always break the pattern with a bracket class: `pkill -f \"92[3]3\"`.\n\n## Extension install without clicking anything\n\nBrave\u002FChromium's \"Add extension\" prompt is a NATIVE window — it is not in any\nCDP target, page DOM, or accessibility tree reachable via\n`connect_over_cdp`\u002FPlaywright, so web-store install flows are not automatable.\nDo not burn time trying to click it.\n\nWorking method (verified end-to-end): fetch the official CRX by extension id\nfrom the update endpoint, unpack it, and launch with\n`--load-extension=\u003Cdir> --disable-extensions-except=\u003Cdir>`. The MV3 service\nworker appears in `\u002Fjson\u002Flist` and the extension popup runs normally under\nCDP. Endpoint + CRX3\u002FCRX2 binary layout, and the caveat that unpacked dirs get\npath-derived IDs instead of the store ID: `references\u002Fcrx-fetch.md`.\n\n`--load-extension` is per-launch only; there is no verified per-profile\npermanent install path in the flatpak sandbox yet (External Extensions with\n`external_crx` and policy force-install both failed to take here) — treat any\n\"permanent\" claim as needing a fresh-launch verification that the extension\ngot installed under its official ID.\n",{"name":5,"metadata":24,"description":7,"when-to-use":31,"argument-hint":32},{"tags":25},[26,27,28,29,30],"browser","chromium","brave","flatpak","automation","Use when CDP debugging of a Flatpak browser fails to bind its port, when orphan Flatpak instances hijack a debug launch, when pkill\u002Fpgrep patterns threaten the agent shell, when adding a Web Store extension that cannot be clicked through, or when a tool must see or create browser profiles deterministically, when editing Local State or Preferences with a closed browser, when probing user-data dirs under native, Flatpak, Snap, or macOS installs, or when wiring NAME|user|pass|url envs into vault items plus browser profiles. Not for driving non-Flatpak browsers.","\u003Cappid | ext-id | cmd | create | inspect> [user-data-dir] [--dry-run] [--yes]","main","e0708985ab2d620bc6e8fe741eaa4ec1960269e3","skills\u002Fautomation\u002Fflatpak-chromium-automation","https:\u002F\u002Fgithub.com\u002Frakaarwaky\u002Fagents-arwaky","https:\u002F\u002Fgithub.com\u002Frakaarwaky","https:\u002F\u002Fbuymeacoffee.com\u002Frakaarwaky","2026-11-15 04:28:37",{"source":8,"skillName":5,"commands":41,"prompt":51,"zipAvailable":52},[42,45,48],{"tool":43,"command":44},"npx","npx skills add rakaarwaky\u002Fagents-arwaky --skill flatpak-chromium-automation",{"tool":46,"command":47},"bunx","bunx skills add rakaarwaky\u002Fagents-arwaky --skill flatpak-chromium-automation",{"tool":49,"command":50},"pnpm","pnpm dlx skills add rakaarwaky\u002Fagents-arwaky --skill flatpak-chromium-automation","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Frakaarwaky\u002Fagents-arwaky\u002Fblob\u002Fmain\u002Fskills\u002Fautomation\u002Fflatpak-chromium-automation\u002FSKILL.md",true,[54,60,64],{"path":55,"resourceType":56,"resourceTypeDesc":57,"sizeBytes":58,"sourceHtmlUrl":59},"references\u002Fcrx-fetch.md","REFERENCE","参考文档",2310,"https:\u002F\u002Fgithub.com\u002Frakaarwaky\u002Fagents-arwaky\u002Fblob\u002Fmain\u002Fskills\u002Fautomation\u002Fflatpak-chromium-automation\u002Freferences\u002Fcrx-fetch.md",{"path":61,"resourceType":56,"resourceTypeDesc":57,"sizeBytes":62,"sourceHtmlUrl":63},"references\u002Fprofile-provisioning.md",6805,"https:\u002F\u002Fgithub.com\u002Frakaarwaky\u002Fagents-arwaky\u002Fblob\u002Fmain\u002Fskills\u002Fautomation\u002Fflatpak-chromium-automation\u002Freferences\u002Fprofile-provisioning.md",{"path":65,"resourceType":56,"resourceTypeDesc":57,"sizeBytes":66,"sourceHtmlUrl":67},"references\u002Fsandbox-paths-and-launch.md",1952,"https:\u002F\u002Fgithub.com\u002Frakaarwaky\u002Fagents-arwaky\u002Fblob\u002Fmain\u002Fskills\u002Fautomation\u002Fflatpak-chromium-automation\u002Freferences\u002Fsandbox-paths-and-launch.md",[69,77,84,91,98,105],{"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":76},"01M78SFXSH86CW16Z5FEXMSJXH","github-workflow","Umbrella for GitHub auth, repo management, issues, PRs, Mergify, and releases. Subsumes github-auth and repo-manager.","https:\u002F\u002Fgithub.com\u002Frakaarwaky\u002Fagents-arwaky\u002Fblob\u002Fmain\u002Fskills\u002Fgit\u002Fgithub-workflow\u002FSKILL.md",[],[],"2026-11-15 14:19:17",{"skillNo":78,"name":79,"nameZh":6,"description":80,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":81,"categories":82,"keywords":83,"publishedAt":76},"01M78SF81R7NVSCXAT8YQ255HM","brave-automation","baa CLI: Brave profiles, Google sessions, credentials.","https:\u002F\u002Fgithub.com\u002Frakaarwaky\u002Fagents-arwaky\u002Fblob\u002Fmain\u002Fskills\u002Fbrave-automation\u002Fbrave-automation\u002FSKILL.md",[],[],{"skillNo":85,"name":86,"nameZh":6,"description":87,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":88,"categories":89,"keywords":90,"publishedAt":76},"01M78SEY7TS908JM8KVPBM6HBN","aes","AES docs, layers, rule fixes, and legacy migration.","https:\u002F\u002Fgithub.com\u002Frakaarwaky\u002Fagents-arwaky\u002Fblob\u002Fmain\u002Fskills\u002Farchitechture\u002Faes\u002FSKILL.md",[],[],{"skillNo":92,"name":93,"nameZh":6,"description":94,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":95,"categories":96,"keywords":97,"publishedAt":19},"01M757HBGFCMTJTQB45JQFXCC0","pretext","Build creative browser demos with DOM-free text layout.","https:\u002F\u002Fgithub.com\u002Frakaarwaky\u002Fagents-arwaky\u002Fblob\u002Fmain\u002Fskills\u002Fweb-design\u002Fpretext\u002FSKILL.md",[],[],{"skillNo":99,"name":100,"nameZh":6,"description":101,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":102,"categories":103,"keywords":104,"publishedAt":19},"01M757H8K38ETN8F4ANBBRWY4G","popular-web-designs","54 real design systems (Stripe, Linear, Vercel) as HTML\u002FCSS.","https:\u002F\u002Fgithub.com\u002Frakaarwaky\u002Fagents-arwaky\u002Fblob\u002Fmain\u002Fskills\u002Fweb-design\u002Fpopular-web-designs\u002FSKILL.md",[],[],{"skillNo":106,"name":107,"nameZh":6,"description":108,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":109,"categories":110,"keywords":111,"publishedAt":19},"01M757H5DM7QPN9H391572NH5B","p5js","p5.js sketches: gen art, shaders, interactive, 3D.","https:\u002F\u002Fgithub.com\u002Frakaarwaky\u002Fagents-arwaky\u002Fblob\u002Fmain\u002Fskills\u002Fweb-design\u002Fp5js\u002FSKILL.md",[],[]]