Skip to content

feat: shot-scraper enabled by default — universal web capture CLI#142

Draft
izo wants to merge 1 commit intomainfrom
claude/shot-scraper-always-on
Draft

feat: shot-scraper enabled by default — universal web capture CLI#142
izo wants to merge 1 commit intomainfrom
claude/shot-scraper-always-on

Conversation

@izo
Copy link
Copy Markdown
Owner

@izo izo commented May 6, 2026

Summary

  • catalog.go: enabledByDefault: true — shot-scraper installs on ulk install without --with-shot-scraper
  • external.go: new skipIfInstalled field on ExternalModule — idempotent installs (skips pip+Chrome download if tool already in PATH)
  • modules_test.go: shot-scraper moved to enabled-by-default assertions
  • cli-tools-protocol.md: shot-scraper listed as universal standard for all web capture (replaces mcp__chrome-devtools__* globally)

Rationale

"L'idée c'est de toujours utiliser shot-scraper" — required for visual-auditor (03), frontend-qa (02), seo-auditor (32), agamotto (17) and any future web capture task. No more opt-in flag needed.

The skipIfInstalled field also prevents re-running the heavy pip+Playwright Chrome download on reinstall when shot-scraper is already available.

Test plan

  • go test ./... — all packages pass
  • TestDefaultModules — shot-scraper asserted as enabled by default
  • TestInstallerCopiesCommands — no longer tries to download Chrome (idempotent skip)
  • TestAllModulesWellFormed — structural validation passes

https://claude.ai/code/session_017e5NQNe53RbzGuV5Cwq5ug


Generated by Claude Code

- catalog.go: enabledByDefault: true for shot-scraper (installs on ulk install without --with-shot-scraper)
- external.go: add skipIfInstalled field to ExternalModule for idempotent installs (skips if tool already in PATH)
- catalog.go: set skipIfInstalled: "shot-scraper" to avoid re-running pip+Chrome download on reinstall
- modules_test.go: move shot-scraper to enabled-by-default assertions
- cli-tools-protocol.md: shot-scraper listed as universal standard for all web capture (replaces chrome-devtools globally)

Rationale: "L'idée c'est de toujours utiliser shot-scraper" — required for visual-auditor (03),
frontend-qa (02), seo-auditor (32), agamotto (17) and any future web capture need.

https://claude.ai/code/session_017e5NQNe53RbzGuV5Cwq5ug
@coderabbitai
Copy link
Copy Markdown

coderabbitai Bot commented May 6, 2026

Important

Review skipped

Draft detected.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: 81b3cb02-d70b-4d42-95ea-67df39a06bea

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch claude/shot-scraper-always-on

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants