[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M77JAP4J3Q2VVAXCZ3JM0E89":3,"skill-same:01M77JAP4J3Q2VVAXCZ3JM0E89":43},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":15,"categories":16,"keywords":17,"publishedAt":18,"linkOnly":19,"markdownContent":20,"markdownBody":21,"frontMatter":22,"refName":23,"commitSha":24,"skillDirectory":25,"forksCount":13,"repositoryHtmlUrl":26,"repositoryHomepageUrl":6,"ownerHtmlUrl":27,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":28,"install":29,"resources":42},"01M77JAP4J3Q2VVAXCZ3JM0E89","plugin",null,"How to manage and create plugins — namespaced bundles of skills, agents, rules, MCP servers and hooks that install, enable and disable as a single unit. Use this skill when the user wants to enable, disable, install or uninstall a plugin, when they want to create a new plugin, or when a new customization should be packaged into a plugin rather than left loose. Also triggered by the \u002Fplugin slash command. Don't use for the underlying customization system itself — discovery roots, loading priority, or authoring a standalone skill, agent, rule, hook or MCP server outside a plugin; see the customizations guide skill for those.","raaOS\u002Fsystem_prompts_leaks","raaOS","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F214067397?v=4","01M77HV6K4ZTA4BZAGX00GTW6J","01M77HV6KX55HVRY679V25JXF8",0,"CC0-1.0","https:\u002F\u002Fgithub.com\u002FraaOS\u002Fsystem_prompts_leaks\u002Fblob\u002Fmain\u002FGoogle\u002Fantigravity\u002Fskills\u002Fplugin\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: plugin\ndescription: How to manage and create plugins — namespaced bundles of skills, agents, rules, MCP servers and hooks that install, enable and disable as a single unit. Use this skill when the user wants to enable, disable, install or uninstall a plugin, when they want to create a new plugin, or when a new customization should be packaged into a plugin rather than left loose. Also triggered by the \u002Fplugin slash command. Don't use for the underlying customization system itself — discovery roots, loading priority, or authoring a standalone skill, agent, rule, hook or MCP server outside a plugin; see the customizations guide skill for those.\n---\n\n# Plugins\n\nA **plugin** is a namespaced bundle of customizations that ships, installs, and\nturns on as one unit. It can contain skills, agents, rules, MCP servers and\nhooks. When a plugin is on, everything inside it is active; disabling it takes\nthe whole bundle down at once.\n\nYour job is either to change a plugin's lifecycle state or to get new\nfunctionality into the right plugin. Step 0 and Step 1 are common to both; Step\n1 routes you to Step 2A or Step 2B.\n\nFor the underlying customization system — discovery roots, loading priority,\nwhat each customization type is for — see the customizations guide skill. This\nskill does not restate that material.\n\n## Quick Start\n\nAfter writing `\u002Ftmp\u002Flsrpc.sh` in **Step 0**, prefix every `lsrpc` call with\n`source \u002Ftmp\u002Flsrpc.sh &&` and key every mutation on `\u003Cdir>` (the install\ndirectory name `(.path | split(\"\u002F\") | last)` from Step 0, never `plugin.json`'s  \n`name`):\n\n\u003C!-- mdformat off -->\n| Operation | Command \u002F Action | Key Guardrail |\n| :--- | :--- | :--- |\n| **Inventory installed plugins** (Step 0) | `source \u002Ftmp\u002Flsrpc.sh && lsrpc GetAllPlugins '{\"workspaceUris\":[\"file:\u002F\u002F\u002Fpath\u002Fto\u002Fworkspace\"]}' \\| jq '[.plugins[] \\| {name, dir: (.path \\| split(\"\u002F\") \\| last), disabled: (.disabled \u002F\u002F false), isGlobal, skills: [.skills[]?.name], agents: [.agents[]?.name], rules: [.rules[]?.absolutePath], hooks: ((.hooksJson \u002F\u002F \"\") \\| length > 0), mcp: [.mcpServers[]?.name]}]'` | Never read `GetAllPlugins` unfiltered (inlines full `SKILL.md` text); always pipe through `jq` and use `dir` for mutations (`'{}'` if no workspace is active). |\n| **Enable \u002F Disable plugin** (Step 2A) | `source \u002Ftmp\u002Flsrpc.sh && lsrpc JetboxWriteState '{\"userConfig\":{\"plugins\":{\"\u003Cdir>\":{\"enabled\":true}}}}'` (`false` to disable) | Takes effect live (no restart). Never hand-edit `~\u002F.gemini\u002Fconfig\u002Fconfig.json`. |\n| **Uninstall user plugin** (Step 2A) | `source \u002Ftmp\u002Flsrpc.sh && lsrpc DeletePlugin '{\"pluginId\":\"\u003Cdir>\"}'` | Refuse if `.path` contains `\u002Fbuiltin\u002Fplugins\u002F` (offer to disable instead). If currently disabled, set `\"enabled\":true` via `JetboxWriteState` before deleting. |\n| **Install Marketplace plugin** (Step 2A) | `source \u002Ftmp\u002Flsrpc.sh && lsrpc InstallCustomization '{\"id\":\"\u003Cmarketplace-id>\"}'` | Use `\u003Cmarketplace-id>` from the Customizations page or user (never guess from `name`; only Marketplace plugins can be installed). Requires a restart. |\n| **Author \u002F consolidate plugin** (Steps 2B–4) | Create `~\u002F.gemini\u002Fconfig\u002Fplugins\u002F\u003Cname>\u002Fplugin.json` (or in source repo if published) + used subdirectories (`skills\u002F`, `agents\u002F`, `rules\u002FAGENTS.md`, `mcp_config.json`, `hooks.json`, `assets\u002Flogo.svg`) | Check Step 0 inventory for `name` collisions first; re-run Step 0 inventory, tell the user to restart, and link as `[\u003Cname>](customization:\u002F\u002F\u003Cdir>)` (never `plugin:\u002F\u002F`). |\n\u003C!-- mdformat on -->\n\n## Step 0: Preflight and inventory\n\nEvery path needs to know what is already installed. Talk to the language server\nover its local Connect endpoint. The address and CSRF token are normally already\nin your shell environment; you do not need to hunt for a port file.\n\n```bash\n: \"${ANTIGRAVITY_LS_ADDRESS:=localhost:5387}\"\ncurl -sS \"http:\u002F\u002F${ANTIGRAVITY_LS_ADDRESS}\u002Fhealthz\"\n```\n\nWrite the helper to a file once, then source it in every call below. Each\ncommand you run is a fresh shell, so a function defined in one call is gone by\nthe next; sourcing a file is what makes it reusable.\n\n```bash\ncat > \u002Ftmp\u002Flsrpc.sh \u003C\u003C'EOF'\n: \"${ANTIGRAVITY_LS_ADDRESS:=localhost:5387}\"\nlsrpc() {  # usage: lsrpc \u003CMethodName> \u003Cjson-body>\n  curl -sS -X POST \\\n    \"http:\u002F\u002F${ANTIGRAVITY_LS_ADDRESS}\u002Fexa.language_server_pb.LanguageServerService\u002F$1\" \\\n    -H \"Content-Type: application\u002Fjson\" \\\n    -H \"x-codeium-csrf-token: ${ANTIGRAVITY_CSRF_TOKEN}\" \\\n    -d \"$2\"\n}\nEOF\n```\n\nNow list the installed plugins, passing active workspace URIs in\n`workspaceUris` so workspace-scoped plugins are discovered (or `'{}'` when no\nworkspace is active). Prefix every `lsrpc` snippet in this skill with  \n`source \u002Ftmp\u002Flsrpc.sh &&`:\n\n```bash\nsource \u002Ftmp\u002Flsrpc.sh && lsrpc GetAllPlugins '{\"workspaceUris\":[\"file:\u002F\u002F\u002Fpath\u002Fto\u002Fworkspace\"]}' | jq '[.plugins[] | {\n  name,\n  dir: (.path | split(\"\u002F\") | last),\n  disabled: (.disabled \u002F\u002F false),\n  isGlobal,\n  skills: [.skills[]?.name],\n  agents: [.agents[]?.name],\n  rules: [.rules[]?.absolutePath],\n  hooks: ((.hooksJson \u002F\u002F \"\") | length > 0),\n  mcp: [.mcpServers[]?.name]\n}]'\n```\n\n> **Never read `GetAllPlugins` unfiltered.** The response inlines the *full  \n> text* of every bundled `SKILL.md`. A single plugin can exceed 16KB and a  \n> populated config will flood your context. Always pipe it through `jq`.\n\n**`dir` is the identifier that matters.** It is the install directory name — the\nlast path segment — and it is what every mutation below is keyed on. It is\nfrequently **not** the same as `name` from `plugin.json`: a plugin installed\nfrom the Marketplace lands in a directory named after a signed 64-bit hash, so a\nplugin displayed as `data-tools` may live in a directory called\n`-1870732469773246571`. Using `name` where `dir` is expected fails silently or\nbuilds a garbage path.\n\n## Step 1: Decide the kind\n\n-   The user names an existing plugin and a lifecycle verb — \"turn off X\",\n    \"install Y\", \"get rid of Z\" -> **Step 2A**.\n-   The user wants new capability, or wants existing loose customizations tidied\n    up — \"I want a Strava thing\", \"package these skills together\" -> **Step\n    2B**.\n\n## Step 2A: Lifecycle operations\n\nResolve the target to its `dir` from the Step 0 inventory first. If the user's\nwords match several plugins, ask which one rather than guessing.\n\n**Enable or disable.** This is the same write the Customizations page performs,\nand it takes effect live — no restart.\n\n```bash\n# Enable:\nsource \u002Ftmp\u002Flsrpc.sh && lsrpc JetboxWriteState '{\"userConfig\":{\"plugins\":{\"\u003Cdir>\":{\"enabled\":true}}}}'\n\n# Disable:\nsource \u002Ftmp\u002Flsrpc.sh && lsrpc JetboxWriteState '{\"userConfig\":{\"plugins\":{\"\u003Cdir>\":{\"enabled\":false}}}}'\n```\n\nThe write deep-merges, so send only the one plugin. Never hand-edit\n`~\u002F.gemini\u002Fconfig\u002Fconfig.json` to do this: writes that bypass the language\nserver miss the live reload and are only picked up by a slow backstop poll.\n\n**Uninstall.**\n\n```bash\nsource \u002Ftmp\u002Flsrpc.sh && lsrpc DeletePlugin '{\"pluginId\":\"\u003Cdir>\"}'\n```\n\n**Check both of these before you run it:**\n\n-   **Built-in plugins cannot be uninstalled.** A plugin whose path contains\n    `\u002Fbuiltin\u002Fplugins\u002F` ships with the product. Refuse, and offer to disable it\n    instead.\n-   **Uninstall leaves the enablement entry behind.** Nothing clears\n    `plugins.\u003Cdir>` from `config.json`. If the plugin was disabled and is later\n    reinstalled into the same directory name, it comes back **disabled** for no\n    visible reason. Before deleting a disabled plugin, set it back to enabled so\n    the stale entry is harmless, and tell the user you did.\n\n**Install.** For a plugin published to the Agent Marketplace:\n\n```bash\nsource \u002Ftmp\u002Flsrpc.sh && lsrpc InstallCustomization '{\"id\":\"\u003Cmarketplace-id>\"}'\n```\n\nYou cannot derive this ID from the plugin's name. Take it from the Marketplace\ntab of the Customizations page, or ask the user for it. If all you have is a\nname, say so rather than guessing an ID.\n\nA `source not found` error means one of two things: the ID is wrong, or the\nMarketplace catalog isn't launched for this user. The catalog case has a tell —\nthe ID comes back empty, so the message reads `source for customization not\nfound` with nothing between the words. Re-check the ID first.\n\nOnly install plugins that have a Marketplace entry. If the plugin has none, or\nthe catalog isn't launched for this user, do not try to install it another way;\ntell the user it isn't available to install.\n\nA newly installed plugin **directory** is only discovered on startup. Tell the\nuser to restart before expecting its skills to appear.\n\nLifecycle operations end here. Skip Step 3, which covers authoring only, and go\nto Step 4.\n\n## Step 2B: Decide where the functionality belongs\n\nA plugin is a bundle, so the first question is never \"what do I build\" but\n\"where does it go\". Take the inventory from Step 0 and see whether the request\nfits an existing plugin. Plugins tend to cohere around one of three shapes:\n\n-   **A data provider or external service.** Everything that talks to one system\n    — Strava, GitHub, a particular API. Its MCP server, the skill that drives\n    it, and the rules about its quirks belong together.\n-   **An artifact or file type.** Spreadsheet handling, proto editing, log\n    analysis. Grouped by what the user is operating *on*.\n-   **A role or recurring job.** Data analysis, running a small business,\n    reviewing documents, writing code. Broader, and the right home when a\n    capability spans several providers in service of one repeated task.\n\n**Recommend and proceed.** State in one line which plugin you picked and why,\nthen keep going. Use **`ask_question`** only when two existing plugins are\ngenuinely close, or when nothing fits and the boundary for a new one is unclear.\nDo not stall on a decision the user can trivially reverse.\n\nIf nothing fits, create a new plugin at `~\u002F.gemini\u002Fconfig\u002Fplugins\u002F\u003Cname>\u002F`.\nBefore settling on a name, check it against the Step 0 inventory: names share\none global namespace, and when two plugins claim the same name the first\ndiscovered wins and the other is dropped **silently**.\n\nIf the plugin is meant to be shared or published, create it in the source\nrepository it will be published from instead of the user's config directory.\n\n### Consolidating loose customizations\n\nWhen the user asks to tidy up standalone customizations, move the directories: a\nskill at `~\u002F.gemini\u002Fconfig\u002Fskills\u002Ffoo\u002F` becomes\n`~\u002F.gemini\u002Fconfig\u002Fplugins\u002F\u003Cname>\u002Fskills\u002Ffoo\u002F`, and a rule becomes\n`rules\u002FAGENTS.md` inside the plugin.\n\nMCP servers need a warning first. Moving an entry out of the user's\n`mcp_config.json` and into the plugin's own `mcp_config.json` ties its lifecycle\nto the plugin: it is assembled only while the plugin is enabled, so disabling\nthe plugin stops its tools being offered along with everything else in the\nbundle. Control moves with it too, since the server is no longer an entry in the\nuser's own config and is managed through the plugin rather than on its own. Tell\nthe user this before you move the entry.\n\n## Step 3: Author the bundle\n\nCreate only the subdirectories the plugin actually uses:\n\n```text\n~\u002F.gemini\u002Fconfig\u002Fplugins\u002F\u003Cname>\u002F\n├── plugin.json       # required\n├── README.md         # user-facing docs; never read by the agent\n├── mcp_config.json   # optional, same format as the user's own\n├── hooks.json        # optional\n├── assets\u002Flogo.svg   # optional\n├── skills\u002F\u003Cskill>\u002FSKILL.md\n├── agents\u002F\u003Cagent>.md\n└── rules\u002FAGENTS.md\n```\n\nWrite the inner customizations yourself — the `SKILL.md`, the agent markdown,\nthe rules, the MCP config. Do not hand that back to the user as a follow-up.\nRules in a plugin's `rules\u002FAGENTS.md` are plain markdown with no frontmatter and\nare always on while the plugin is enabled.\n\n`plugin.json` is parsed as JSONC, so comments and trailing commas are allowed:\n\n```json\n{\n  \"name\": \"strava\",\n  \"description\": \"Strava integration: pull activity data, summarize training load, and draft workout notes.\",\n  \"logo\": \"assets\u002Flogo.svg\",\n  \"suggestedPrompts\": [\n    \"Summarize this week's workout mileage and heart rate zones\",\n    \"Compare pacing and cadence across my last 4 long runs\",\n    \"Draft an annotated Strava description for my latest activity\"\n  ]\n}\n```\n\n| Field              | Type     | Notes                                        |\n| ------------------ | -------- | -------------------------------------------- |\n| `name`             | string   | The label users see, and the global unique   |\n:                    :          : key — two plugins sharing a `name` collide   :  \n:                    :          : and one is dropped. **Not** the install      :  \n:                    :          : identifier; that is the directory. Lowercase :  \n:                    :          : kebab-case. Defaults to the directory name   :  \n:                    :          : if omitted.                                  :  \n| `description`      | string   | One or two sentences saying what the plugin  |\n:                    :          : does and who it is for. This is what         :  \n:                    :          : Marketplace search matches.                  :  \n| `logo`             | string   | Optional. A path relative to the plugin      |\n:                    :          : directory, such as `assets\u002Flogo.svg`, ending :  \n:                    :          : in `.png`, `.svg`, `.jpg`, `.jpeg` or        :  \n:                    :          : `.webp`. URLs and absolute paths are         :  \n:                    :          : rejected silently — a bad value renders no   :  \n:                    :          : logo rather than erroring.                   :  \n| `suggestedPrompts` | string[] | Optional. Up to 3 starter prompts for card   |\n:                    :          : and detail views. Exactly 3 prompts are      :  \n:                    :          : recommended for UI card layouts. Empty       :  \n:                    :          : strings are skipped and additional prompts   :  \n:                    :          : beyond 3 are ignored.                        :  \n| `displayName`      | string   | Optional. Human-readable presentation title  |\n:                    :          : shown in UI headers, cards, and slash        :  \n:                    :          : command menus.                               :  \n| `version`          | string   | Optional. Semantic version string.           |\n| `author`           | string \u002F | Optional. Developer or team name string, or  |\n:                    : object   : an object with `name` and optional `url`     :  \n:                    :          : (`https:\u002F\u002F`).                                :  \n| `homepage`         | string   | Optional. External `https:\u002F\u002F` website or     |\n:                    :          : documentation URL.                           :  \n| `repository`       | string \u002F | Optional. Source repository `https:\u002F\u002F` URL   |\n:                    : object   : (or `{\"type\": \"git\", \"url\": \"https:\u002F\u002F...\"}`). :  \n| `disabled`         | boolean  | Optional. Ships the plugin turned off. A     |\n:                    :          : choice the user has already made wins over   :  \n:                    :          : this field.                                  :\n\n> **Do not add any other top-level field.** Unknown top-level fields are  \n> silently discarded by the loader — they neither take effect nor error out.\n\nOffer to generate a logo with the `generate_image` tool. Ask for a square asset\nof at least 128x128 with a transparent background, high contrast so it reads on\nboth themes, and roughly 10% empty margin baked in — the frame adds no padding\nof its own and center-crops anything non-square.\n\n## Step 4: Verify and hand back\n\nRe-run the Step 0 inventory and confirm the plugin appears with the components\nyou expect. Then tell the user:\n\n-   What changed, and which plugin now owns it.\n-   Whether a **restart** is required. Creating or installing a new plugin\n    directory needs one; enabling, disabling and uninstalling do not.\n-   Where to manage it, as a link: `[\u003Cname>](customization:\u002F\u002F\u003Cdir>)` opens the\n    plugin's own page, which lists what it provides and can turn it on and off.\n\n`\u003Cdir>` is the install directory from Step 0, never the manifest `name`. A\nplugin directory created in this session is not discovered until a restart, and\nuntil then its page reports nothing installed under that id, so give the link\nand the restart together.\n\nDo not emit `plugin:\u002F\u002F` or `plugins:\u002F\u002F` links; they are not handled and render\nas dead text.\n\n## Constraints & Tips\n\n-   **Key every mutation on the install directory name, never `plugin.json`'s\n    `name`.** This is the single most common way to break a plugin operation.\n-   **Prefer the language server RPCs over editing files.** `config.json` is\n    written atomically at mode 0600 and holds sibling state — `userSettings`,\n    permission grants. A careless rewrite clobbers them.\n-   **One coherent purpose per plugin.** Bundling unrelated capabilities forces\n    the user into an all-or-nothing toggle. If a request does not fit the\n    plugin's description, that is the signal to create a new one.\n-   **MCP server names are global too.** They collide across the user's config\n    and every installed plugin, so prefix a plugin's servers with the plugin\n    name rather than shipping a generic `search` or `db`.\n-   **Keep `description` honest and current.** It is what the user reads before\n    installing and what search matches. Update it when the bundle's contents\n    change.\n","# Plugins\n\nA **plugin** is a namespaced bundle of customizations that ships, installs, and\nturns on as one unit. It can contain skills, agents, rules, MCP servers and\nhooks. When a plugin is on, everything inside it is active; disabling it takes\nthe whole bundle down at once.\n\nYour job is either to change a plugin's lifecycle state or to get new\nfunctionality into the right plugin. Step 0 and Step 1 are common to both; Step\n1 routes you to Step 2A or Step 2B.\n\nFor the underlying customization system — discovery roots, loading priority,\nwhat each customization type is for — see the customizations guide skill. This\nskill does not restate that material.\n\n## Quick Start\n\nAfter writing `\u002Ftmp\u002Flsrpc.sh` in **Step 0**, prefix every `lsrpc` call with\n`source \u002Ftmp\u002Flsrpc.sh &&` and key every mutation on `\u003Cdir>` (the install\ndirectory name `(.path | split(\"\u002F\") | last)` from Step 0, never `plugin.json`'s  \n`name`):\n\n\u003C!-- mdformat off -->\n| Operation | Command \u002F Action | Key Guardrail |\n| :--- | :--- | :--- |\n| **Inventory installed plugins** (Step 0) | `source \u002Ftmp\u002Flsrpc.sh && lsrpc GetAllPlugins '{\"workspaceUris\":[\"file:\u002F\u002F\u002Fpath\u002Fto\u002Fworkspace\"]}' \\| jq '[.plugins[] \\| {name, dir: (.path \\| split(\"\u002F\") \\| last), disabled: (.disabled \u002F\u002F false), isGlobal, skills: [.skills[]?.name], agents: [.agents[]?.name], rules: [.rules[]?.absolutePath], hooks: ((.hooksJson \u002F\u002F \"\") \\| length > 0), mcp: [.mcpServers[]?.name]}]'` | Never read `GetAllPlugins` unfiltered (inlines full `SKILL.md` text); always pipe through `jq` and use `dir` for mutations (`'{}'` if no workspace is active). |\n| **Enable \u002F Disable plugin** (Step 2A) | `source \u002Ftmp\u002Flsrpc.sh && lsrpc JetboxWriteState '{\"userConfig\":{\"plugins\":{\"\u003Cdir>\":{\"enabled\":true}}}}'` (`false` to disable) | Takes effect live (no restart). Never hand-edit `~\u002F.gemini\u002Fconfig\u002Fconfig.json`. |\n| **Uninstall user plugin** (Step 2A) | `source \u002Ftmp\u002Flsrpc.sh && lsrpc DeletePlugin '{\"pluginId\":\"\u003Cdir>\"}'` | Refuse if `.path` contains `\u002Fbuiltin\u002Fplugins\u002F` (offer to disable instead). If currently disabled, set `\"enabled\":true` via `JetboxWriteState` before deleting. |\n| **Install Marketplace plugin** (Step 2A) | `source \u002Ftmp\u002Flsrpc.sh && lsrpc InstallCustomization '{\"id\":\"\u003Cmarketplace-id>\"}'` | Use `\u003Cmarketplace-id>` from the Customizations page or user (never guess from `name`; only Marketplace plugins can be installed). Requires a restart. |\n| **Author \u002F consolidate plugin** (Steps 2B–4) | Create `~\u002F.gemini\u002Fconfig\u002Fplugins\u002F\u003Cname>\u002Fplugin.json` (or in source repo if published) + used subdirectories (`skills\u002F`, `agents\u002F`, `rules\u002FAGENTS.md`, `mcp_config.json`, `hooks.json`, `assets\u002Flogo.svg`) | Check Step 0 inventory for `name` collisions first; re-run Step 0 inventory, tell the user to restart, and link as `[\u003Cname>](customization:\u002F\u002F\u003Cdir>)` (never `plugin:\u002F\u002F`). |\n\u003C!-- mdformat on -->\n\n## Step 0: Preflight and inventory\n\nEvery path needs to know what is already installed. Talk to the language server\nover its local Connect endpoint. The address and CSRF token are normally already\nin your shell environment; you do not need to hunt for a port file.\n\n```bash\n: \"${ANTIGRAVITY_LS_ADDRESS:=localhost:5387}\"\ncurl -sS \"http:\u002F\u002F${ANTIGRAVITY_LS_ADDRESS}\u002Fhealthz\"\n```\n\nWrite the helper to a file once, then source it in every call below. Each\ncommand you run is a fresh shell, so a function defined in one call is gone by\nthe next; sourcing a file is what makes it reusable.\n\n```bash\ncat > \u002Ftmp\u002Flsrpc.sh \u003C\u003C'EOF'\n: \"${ANTIGRAVITY_LS_ADDRESS:=localhost:5387}\"\nlsrpc() {  # usage: lsrpc \u003CMethodName> \u003Cjson-body>\n  curl -sS -X POST \\\n    \"http:\u002F\u002F${ANTIGRAVITY_LS_ADDRESS}\u002Fexa.language_server_pb.LanguageServerService\u002F$1\" \\\n    -H \"Content-Type: application\u002Fjson\" \\\n    -H \"x-codeium-csrf-token: ${ANTIGRAVITY_CSRF_TOKEN}\" \\\n    -d \"$2\"\n}\nEOF\n```\n\nNow list the installed plugins, passing active workspace URIs in\n`workspaceUris` so workspace-scoped plugins are discovered (or `'{}'` when no\nworkspace is active). Prefix every `lsrpc` snippet in this skill with  \n`source \u002Ftmp\u002Flsrpc.sh &&`:\n\n```bash\nsource \u002Ftmp\u002Flsrpc.sh && lsrpc GetAllPlugins '{\"workspaceUris\":[\"file:\u002F\u002F\u002Fpath\u002Fto\u002Fworkspace\"]}' | jq '[.plugins[] | {\n  name,\n  dir: (.path | split(\"\u002F\") | last),\n  disabled: (.disabled \u002F\u002F false),\n  isGlobal,\n  skills: [.skills[]?.name],\n  agents: [.agents[]?.name],\n  rules: [.rules[]?.absolutePath],\n  hooks: ((.hooksJson \u002F\u002F \"\") | length > 0),\n  mcp: [.mcpServers[]?.name]\n}]'\n```\n\n> **Never read `GetAllPlugins` unfiltered.** The response inlines the *full  \n> text* of every bundled `SKILL.md`. A single plugin can exceed 16KB and a  \n> populated config will flood your context. Always pipe it through `jq`.\n\n**`dir` is the identifier that matters.** It is the install directory name — the\nlast path segment — and it is what every mutation below is keyed on. It is\nfrequently **not** the same as `name` from `plugin.json`: a plugin installed\nfrom the Marketplace lands in a directory named after a signed 64-bit hash, so a\nplugin displayed as `data-tools` may live in a directory called\n`-1870732469773246571`. Using `name` where `dir` is expected fails silently or\nbuilds a garbage path.\n\n## Step 1: Decide the kind\n\n-   The user names an existing plugin and a lifecycle verb — \"turn off X\",\n    \"install Y\", \"get rid of Z\" -> **Step 2A**.\n-   The user wants new capability, or wants existing loose customizations tidied\n    up — \"I want a Strava thing\", \"package these skills together\" -> **Step\n    2B**.\n\n## Step 2A: Lifecycle operations\n\nResolve the target to its `dir` from the Step 0 inventory first. If the user's\nwords match several plugins, ask which one rather than guessing.\n\n**Enable or disable.** This is the same write the Customizations page performs,\nand it takes effect live — no restart.\n\n```bash\n# Enable:\nsource \u002Ftmp\u002Flsrpc.sh && lsrpc JetboxWriteState '{\"userConfig\":{\"plugins\":{\"\u003Cdir>\":{\"enabled\":true}}}}'\n\n# Disable:\nsource \u002Ftmp\u002Flsrpc.sh && lsrpc JetboxWriteState '{\"userConfig\":{\"plugins\":{\"\u003Cdir>\":{\"enabled\":false}}}}'\n```\n\nThe write deep-merges, so send only the one plugin. Never hand-edit\n`~\u002F.gemini\u002Fconfig\u002Fconfig.json` to do this: writes that bypass the language\nserver miss the live reload and are only picked up by a slow backstop poll.\n\n**Uninstall.**\n\n```bash\nsource \u002Ftmp\u002Flsrpc.sh && lsrpc DeletePlugin '{\"pluginId\":\"\u003Cdir>\"}'\n```\n\n**Check both of these before you run it:**\n\n-   **Built-in plugins cannot be uninstalled.** A plugin whose path contains\n    `\u002Fbuiltin\u002Fplugins\u002F` ships with the product. Refuse, and offer to disable it\n    instead.\n-   **Uninstall leaves the enablement entry behind.** Nothing clears\n    `plugins.\u003Cdir>` from `config.json`. If the plugin was disabled and is later\n    reinstalled into the same directory name, it comes back **disabled** for no\n    visible reason. Before deleting a disabled plugin, set it back to enabled so\n    the stale entry is harmless, and tell the user you did.\n\n**Install.** For a plugin published to the Agent Marketplace:\n\n```bash\nsource \u002Ftmp\u002Flsrpc.sh && lsrpc InstallCustomization '{\"id\":\"\u003Cmarketplace-id>\"}'\n```\n\nYou cannot derive this ID from the plugin's name. Take it from the Marketplace\ntab of the Customizations page, or ask the user for it. If all you have is a\nname, say so rather than guessing an ID.\n\nA `source not found` error means one of two things: the ID is wrong, or the\nMarketplace catalog isn't launched for this user. The catalog case has a tell —\nthe ID comes back empty, so the message reads `source for customization not\nfound` with nothing between the words. Re-check the ID first.\n\nOnly install plugins that have a Marketplace entry. If the plugin has none, or\nthe catalog isn't launched for this user, do not try to install it another way;\ntell the user it isn't available to install.\n\nA newly installed plugin **directory** is only discovered on startup. Tell the\nuser to restart before expecting its skills to appear.\n\nLifecycle operations end here. Skip Step 3, which covers authoring only, and go\nto Step 4.\n\n## Step 2B: Decide where the functionality belongs\n\nA plugin is a bundle, so the first question is never \"what do I build\" but\n\"where does it go\". Take the inventory from Step 0 and see whether the request\nfits an existing plugin. Plugins tend to cohere around one of three shapes:\n\n-   **A data provider or external service.** Everything that talks to one system\n    — Strava, GitHub, a particular API. Its MCP server, the skill that drives\n    it, and the rules about its quirks belong together.\n-   **An artifact or file type.** Spreadsheet handling, proto editing, log\n    analysis. Grouped by what the user is operating *on*.\n-   **A role or recurring job.** Data analysis, running a small business,\n    reviewing documents, writing code. Broader, and the right home when a\n    capability spans several providers in service of one repeated task.\n\n**Recommend and proceed.** State in one line which plugin you picked and why,\nthen keep going. Use **`ask_question`** only when two existing plugins are\ngenuinely close, or when nothing fits and the boundary for a new one is unclear.\nDo not stall on a decision the user can trivially reverse.\n\nIf nothing fits, create a new plugin at `~\u002F.gemini\u002Fconfig\u002Fplugins\u002F\u003Cname>\u002F`.\nBefore settling on a name, check it against the Step 0 inventory: names share\none global namespace, and when two plugins claim the same name the first\ndiscovered wins and the other is dropped **silently**.\n\nIf the plugin is meant to be shared or published, create it in the source\nrepository it will be published from instead of the user's config directory.\n\n### Consolidating loose customizations\n\nWhen the user asks to tidy up standalone customizations, move the directories: a\nskill at `~\u002F.gemini\u002Fconfig\u002Fskills\u002Ffoo\u002F` becomes\n`~\u002F.gemini\u002Fconfig\u002Fplugins\u002F\u003Cname>\u002Fskills\u002Ffoo\u002F`, and a rule becomes\n`rules\u002FAGENTS.md` inside the plugin.\n\nMCP servers need a warning first. Moving an entry out of the user's\n`mcp_config.json` and into the plugin's own `mcp_config.json` ties its lifecycle\nto the plugin: it is assembled only while the plugin is enabled, so disabling\nthe plugin stops its tools being offered along with everything else in the\nbundle. Control moves with it too, since the server is no longer an entry in the\nuser's own config and is managed through the plugin rather than on its own. Tell\nthe user this before you move the entry.\n\n## Step 3: Author the bundle\n\nCreate only the subdirectories the plugin actually uses:\n\n```text\n~\u002F.gemini\u002Fconfig\u002Fplugins\u002F\u003Cname>\u002F\n├── plugin.json       # required\n├── README.md         # user-facing docs; never read by the agent\n├── mcp_config.json   # optional, same format as the user's own\n├── hooks.json        # optional\n├── assets\u002Flogo.svg   # optional\n├── skills\u002F\u003Cskill>\u002FSKILL.md\n├── agents\u002F\u003Cagent>.md\n└── rules\u002FAGENTS.md\n```\n\nWrite the inner customizations yourself — the `SKILL.md`, the agent markdown,\nthe rules, the MCP config. Do not hand that back to the user as a follow-up.\nRules in a plugin's `rules\u002FAGENTS.md` are plain markdown with no frontmatter and\nare always on while the plugin is enabled.\n\n`plugin.json` is parsed as JSONC, so comments and trailing commas are allowed:\n\n```json\n{\n  \"name\": \"strava\",\n  \"description\": \"Strava integration: pull activity data, summarize training load, and draft workout notes.\",\n  \"logo\": \"assets\u002Flogo.svg\",\n  \"suggestedPrompts\": [\n    \"Summarize this week's workout mileage and heart rate zones\",\n    \"Compare pacing and cadence across my last 4 long runs\",\n    \"Draft an annotated Strava description for my latest activity\"\n  ]\n}\n```\n\n| Field              | Type     | Notes                                        |\n| ------------------ | -------- | -------------------------------------------- |\n| `name`             | string   | The label users see, and the global unique   |\n:                    :          : key — two plugins sharing a `name` collide   :  \n:                    :          : and one is dropped. **Not** the install      :  \n:                    :          : identifier; that is the directory. Lowercase :  \n:                    :          : kebab-case. Defaults to the directory name   :  \n:                    :          : if omitted.                                  :  \n| `description`      | string   | One or two sentences saying what the plugin  |\n:                    :          : does and who it is for. This is what         :  \n:                    :          : Marketplace search matches.                  :  \n| `logo`             | string   | Optional. A path relative to the plugin      |\n:                    :          : directory, such as `assets\u002Flogo.svg`, ending :  \n:                    :          : in `.png`, `.svg`, `.jpg`, `.jpeg` or        :  \n:                    :          : `.webp`. URLs and absolute paths are         :  \n:                    :          : rejected silently — a bad value renders no   :  \n:                    :          : logo rather than erroring.                   :  \n| `suggestedPrompts` | string[] | Optional. Up to 3 starter prompts for card   |\n:                    :          : and detail views. Exactly 3 prompts are      :  \n:                    :          : recommended for UI card layouts. Empty       :  \n:                    :          : strings are skipped and additional prompts   :  \n:                    :          : beyond 3 are ignored.                        :  \n| `displayName`      | string   | Optional. Human-readable presentation title  |\n:                    :          : shown in UI headers, cards, and slash        :  \n:                    :          : command menus.                               :  \n| `version`          | string   | Optional. Semantic version string.           |\n| `author`           | string \u002F | Optional. Developer or team name string, or  |\n:                    : object   : an object with `name` and optional `url`     :  \n:                    :          : (`https:\u002F\u002F`).                                :  \n| `homepage`         | string   | Optional. External `https:\u002F\u002F` website or     |\n:                    :          : documentation URL.                           :  \n| `repository`       | string \u002F | Optional. Source repository `https:\u002F\u002F` URL   |\n:                    : object   : (or `{\"type\": \"git\", \"url\": \"https:\u002F\u002F...\"}`). :  \n| `disabled`         | boolean  | Optional. Ships the plugin turned off. A     |\n:                    :          : choice the user has already made wins over   :  \n:                    :          : this field.                                  :\n\n> **Do not add any other top-level field.** Unknown top-level fields are  \n> silently discarded by the loader — they neither take effect nor error out.\n\nOffer to generate a logo with the `generate_image` tool. Ask for a square asset\nof at least 128x128 with a transparent background, high contrast so it reads on\nboth themes, and roughly 10% empty margin baked in — the frame adds no padding\nof its own and center-crops anything non-square.\n\n## Step 4: Verify and hand back\n\nRe-run the Step 0 inventory and confirm the plugin appears with the components\nyou expect. Then tell the user:\n\n-   What changed, and which plugin now owns it.\n-   Whether a **restart** is required. Creating or installing a new plugin\n    directory needs one; enabling, disabling and uninstalling do not.\n-   Where to manage it, as a link: `[\u003Cname>](customization:\u002F\u002F\u003Cdir>)` opens the\n    plugin's own page, which lists what it provides and can turn it on and off.\n\n`\u003Cdir>` is the install directory from Step 0, never the manifest `name`. A\nplugin directory created in this session is not discovered until a restart, and\nuntil then its page reports nothing installed under that id, so give the link\nand the restart together.\n\nDo not emit `plugin:\u002F\u002F` or `plugins:\u002F\u002F` links; they are not handled and render\nas dead text.\n\n## Constraints & Tips\n\n-   **Key every mutation on the install directory name, never `plugin.json`'s\n    `name`.** This is the single most common way to break a plugin operation.\n-   **Prefer the language server RPCs over editing files.** `config.json` is\n    written atomically at mode 0600 and holds sibling state — `userSettings`,\n    permission grants. A careless rewrite clobbers them.\n-   **One coherent purpose per plugin.** Bundling unrelated capabilities forces\n    the user into an all-or-nothing toggle. If a request does not fit the\n    plugin's description, that is the signal to create a new one.\n-   **MCP server names are global too.** They collide across the user's config\n    and every installed plugin, so prefix a plugin's servers with the plugin\n    name rather than shipping a generic `search` or `db`.\n-   **Keep `description` honest and current.** It is what the user reads before\n    installing and what search matches. Update it when the bundle's contents\n    change.\n",{"name":5,"description":7},"main","2975a5ac469614541ae22929d43b6da2635e1ee9","Google\u002Fantigravity\u002Fskills\u002Fplugin","https:\u002F\u002Fgithub.com\u002FraaOS\u002Fsystem_prompts_leaks","https:\u002F\u002Fgithub.com\u002FraaOS","2026-11-14 21:19:17",{"source":8,"skillName":5,"commands":30,"prompt":40,"zipAvailable":41},[31,34,37],{"tool":32,"command":33},"npx","npx skills add raaOS\u002Fsystem_prompts_leaks --skill plugin",{"tool":35,"command":36},"bunx","bunx skills add raaOS\u002Fsystem_prompts_leaks --skill plugin",{"tool":38,"command":39},"pnpm","pnpm dlx skills add raaOS\u002Fsystem_prompts_leaks --skill plugin","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FraaOS\u002Fsystem_prompts_leaks\u002Fblob\u002Fmain\u002FGoogle\u002Fantigravity\u002Fskills\u002Fplugin\u002FSKILL.md",true,[],[44,50,57,64,71,78],{"skillNo":45,"name":46,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":47,"categories":48,"keywords":49,"publishedAt":18},"01M77JV1M0ZZTZZREM9Q96TKZZ","model-council","https:\u002F\u002Fgithub.com\u002FraaOS\u002Fsystem_prompts_leaks\u002Fblob\u002Fmain\u002FPerplexity\u002Fskills\u002Fmodel-council\u002FSKILL.md",[],[],{"skillNo":51,"name":52,"nameZh":6,"description":53,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":54,"categories":55,"keywords":56,"publishedAt":18},"01M77JTYND3ETS9EGCX3B9CW6E","writing-style","Draft or edit writing in the user's voice for the person who will read it and where it will appear. Use for messages, emails, documents or slides written on their behalf, not for your own replies.","https:\u002F\u002Fgithub.com\u002FraaOS\u002Fsystem_prompts_leaks\u002Fblob\u002Fmain\u002FOpenAI\u002Fdots\u002Fskills\u002Fwriting-style\u002FSKILL.md",[],[],{"skillNo":58,"name":59,"nameZh":6,"description":60,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":61,"categories":62,"keywords":63,"publishedAt":18},"01M77JTVWEHY80JC2H1JG1JMQB","write-page","Create or edit requested Page\u002FSpace content, or use for prose you have already decided to save as a standalone Markdown file, only if the user did not explicitly request a Markdown file. Honor established formats, destinations, and repository documentation. A selected Page alone does not authorize a write.","https:\u002F\u002Fgithub.com\u002FraaOS\u002Fsystem_prompts_leaks\u002Fblob\u002Fmain\u002FOpenAI\u002Fdots\u002Fskills\u002Fwrite-page\u002FSKILL.md",[],[],{"skillNo":65,"name":66,"nameZh":6,"description":67,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":68,"categories":69,"keywords":70,"publishedAt":18},"01M77JTQ5ND23QPF6RJYJPXHSZ","software-engineering","For use only in threads for this proactive personal assistant. Investigate software issues; inspect, write, review, or test code; work on a repository or local engineering file; or create, fix, or monitor a pull request or CI run. Use for actual engineering or product QA work, not a general programming explanation.","https:\u002F\u002Fgithub.com\u002FraaOS\u002Fsystem_prompts_leaks\u002Fblob\u002Fmain\u002FOpenAI\u002Fdots\u002Fskills\u002Fsoftware-engineering\u002FSKILL.md",[],[],{"skillNo":72,"name":73,"nameZh":6,"description":74,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":75,"categories":76,"keywords":77,"publishedAt":18},"01M77JTM3ZDPCYE8C1FW7G7S2B","slides-artifact","Use when the user asks to create, edit, or review slides or a presentation (PowerPoint or Google Slides), including when the task clearly calls for an audience-ready slide deck. Also use to answer questions that require inspecting an existing deck; not for general presentation advice or a chat-only outline.","https:\u002F\u002Fgithub.com\u002FraaOS\u002Fsystem_prompts_leaks\u002Fblob\u002Fmain\u002FOpenAI\u002Fdots\u002Fskills\u002Fslides-artifact\u002FSKILL.md",[],[],{"skillNo":79,"name":80,"nameZh":6,"description":81,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":82,"categories":83,"keywords":84,"publishedAt":18},"01M77JTHTWZN2J27KD2H66XDBZ","slack","Use when reading Slack conversations, deciding when to respond, or sending messages, files, and reactions in Slack.","https:\u002F\u002Fgithub.com\u002FraaOS\u002Fsystem_prompts_leaks\u002Fblob\u002Fmain\u002FOpenAI\u002Fdots\u002Fskills\u002Fslack\u002FSKILL.md",[],[]]