feat(plugins+browser): official Linear/Slack/etc plugins; headless browser as base tool#7
Merged
Merged
Conversation
…owser as base tool
Two related additions:
1. Official Anthropic marketplace plugins (Claude only)
New install_official_claude_plugin <name> helper in lib/plugins.sh.
Uses the always-available `claude-plugins-official` marketplace, so no
`/plugin marketplace add` step is needed.
profiles/cli-bundle/09-plugins.sh now exposes 10 toggles:
INSTALL_LINEAR_PLUGIN INSTALL_SLACK_PLUGIN
INSTALL_GITHUB_PLUGIN INSTALL_NOTION_PLUGIN
INSTALL_ATLASSIAN_PLUGIN INSTALL_ASANA_PLUGIN
INSTALL_FIGMA_PLUGIN INSTALL_SENTRY_PLUGIN
INSTALL_SUPABASE_PLUGIN INSTALL_VERCEL_PLUGIN
Each bundles a pre-configured MCP server plus skills/slash commands.
Coexists with the raw MCP toggles in 06-mcp.sh (INSTALL_LINEAR=true etc.)
— the plugin is the recommended path; raw MCP stays as the lightweight
alternative.
2. Headless browser as base tool
New install_headless_browser() in lib/base-packages.sh: tries
chromium-browser then chromium via apt, no-ops if either is already
present. Warns (does not fail) if no apt-reachable package — Playwright's
bundled Chromium covers that gap when INSTALL_PLAYWRIGHT=true.
Toggle INSTALL_HEADLESS_BROWSER=true (default) added to every profile's
.env.example and invoked from every 01-system.sh.
Playwright
No official Claude Code plugin exists. The local-script path in
06-mcp.sh (INSTALL_PLAYWRIGHT=true) is unchanged: `playwright install-deps`
+ bundled Chromium + @playwright/mcp@latest registration.
Tests
tests/test_plugins.bats grows by one case
("install_official_claude_plugin: install then reload, no marketplace add").
All 29 bats tests + lint + env-completeness pass locally.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Two related additions.
1. Official Anthropic marketplace plugins (Claude only)
New
install_official_claude_plugin <name>helper inlib/plugins.sh. Uses the always-availableclaude-plugins-officialmarketplace — no/plugin marketplace addneeded.profiles/cli-bundle/09-plugins.shexposes 10 toggles:INSTALL_LINEAR_PLUGININSTALL_SLACK_PLUGININSTALL_GITHUB_PLUGININSTALL_NOTION_PLUGININSTALL_ATLASSIAN_PLUGININSTALL_ASANA_PLUGININSTALL_FIGMA_PLUGININSTALL_SENTRY_PLUGININSTALL_SUPABASE_PLUGININSTALL_VERCEL_PLUGINEach bundles a pre-configured MCP server + skills + slash commands. Coexists with the raw MCP toggles in
06-mcp.sh— the plugin is the recommended path; raw MCP stays as the lightweight alternative.2. Headless browser as base tool
New
install_headless_browser()inlib/base-packages.sh. Trieschromium-browserthenchromiumvia apt; no-ops if either is already present. Warns (does not fail) if neither apt package resolves — Playwright's bundled Chromium covers that gap whenINSTALL_PLAYWRIGHT=true.INSTALL_HEADLESS_BROWSER=true(default) added to every profile's.env.exampleand invoked from every01-system.shafterinstall_db_clients.Playwright
No official Claude Code plugin exists. The local-script path in
06-mcp.sh(INSTALL_PLAYWRIGHT=true) is unchanged:playwright install-deps+ bundled Chromium +@playwright/mcp@latestregistration.Tests
tests/test_plugins.bats: 1 new test forinstall_official_claude_plugin🤖 Generated with Claude Code