Token导航 LogoToken导航

Agent Skill · 研究检索

screengrabs(screengrabs 搜索)

screengrabs 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

screengrabs 是研究检索类 Agent Skill,可用宿主为 Codex、Claude、Cursor、Gemini CLI,通过GitHub 仓库获取,权限为操作浏览器;许可证信息还不明确,第三方扫描有未通过项,按安装量在研究检索类的 73,675 个 Skill 里排第 68,884。

总安装 222周安装 9GitHub Stars 10下载 70核验 2026-05-01

安装说明

本站只整理中文说明,不托管安装包,也不代用户安装。
GitHub
许可证
unknown

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:screengrabs(screengrabs 搜索)
来源仓库:https://github.com/inkeep/team-skills
仓库路径:skills/screengrabs
安装命令:
npx skills add https://github.com/inkeep/team-skills --skill screengrabs
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/inkeep/team-skills --skill screengrabs

这个 Skill 是做什么的

研究检索类 Skill 主要解决「找资料、核对事实、把来源整理清楚」的问题,通常会让助手先检索再总结。

screengrabs 用于查找、检索和筛选相关信息。适合在 Codex、Claude、Cursor、Gemini CLI 中根据关键词快速定位候选结果。通过 npx skills add 命令从指定仓库安装并使用。建议确认权限范围和维护状态,避免触发不必要的联网或文件操作。

具体用法请参考原始 README 和项目文档。

来源仓库内路径:skills/screengrabs

上手步骤

4 步
  1. 1

    确认自己的宿主工具

    公开资料标注支持 Codex、Claude、Cursor、Gemini CLI;先确认自己用的是其中之一,再按对应工具的 Skills 目录放置。

  2. 2

    拿到安装命令

    可以直接复制的命令是 npx skills add https://github.com/inkeep/team-skills --skill screengrabs;命令里的占位符换成自己的路径或密钥再执行。

  3. 3

    安装后重启宿主

    命令执行完要完全退出宿主工具再打开,让新装的 Skill 被重新扫描到,否则列表里可能看不到。

  4. 4

    按最小权限试用

    它需要操作浏览器,先在测试目录或测试账号里跑,确认没问题再放到正式项目。

常见问题

6 条

screengrabs 怎么安装?

在终端执行 npx skills add https://github.com/inkeep/team-skills --skill screengrabs。装完完全退出宿主工具再打开,让它重新扫描本地 Skill。

screengrabs 支持哪些 AI 工具?

公开资料标注支持 Codex、Claude、Cursor、Gemini CLI。其他工具只要能读取本地 Skill 目录,一般也能手动放进去,但要自己确认触发方式是否一致。

screengrabs 需要什么权限?

权限级别是操作浏览器。该 Skill 可能涉及浏览器控制能力,使用时可能读取或操作网页内容,需要在受控环境中确认权限边界。

screengrabs 是免费的吗?

公开资料没有标注明确许可证,收费和商用限制都无法确认。正式使用前请到来源仓库核对授权说明。

screengrabs 用的人多吗?

公开数据是累计安装 222 次,近一周安装 9 次,下载 70 次,GitHub 10 星。这些数字来自第三方目录统计,只能当作热度参考,不代表质量或安全性。

screengrabs 安全吗?

第三方扫描有未通过项,风险较高。除非你确认过源码,否则不建议直接安装到常用环境。

值得选的地方和要先想清楚的地方

值得选的地方

  • 同时适配 4 种工具,换客户端不用重新找替代品。

先想清楚的地方

  • 许可证没有明确标注,能不能商用、能不能再分发都不确定。
  • 第三方扫描存在提醒项或未通过项,需要人工逐条确认。
  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

  • 已经在用 Codex,想直接扩展它能力的人。
  • 需要处理研究检索类任务、又不想每次都手写提示词的人。

不太适合

  • 需要明确授权才能用到公司项目里的场景。
  • 需要厂商级技术支持和 SLA 的生产系统。

研究检索类 Skill 对比

6 个同类
Skill总安装GitHub 星权限许可证扫描
find-skills

寻找技能 · Codex、Claude

31,199,81316,486操作浏览器MIT有提醒
self-improving-agent

自我改进 Agent · OpenClaw

16,464,0023,396接触敏感数据MIT-0通过
soultrace

灵魂追踪 · Codex、Claude

7,588,94412需要联网未明确有提醒
self-improving

自我完善 · OpenClaw

6,829,2841,046需要联网MIT-0通过
microsoft-foundry

微软代工厂 · Codex、Claude

6,614,144764调用外部服务未明确有提醒
screengrabs

screengrabs 搜索 · 本页

22210操作浏览器未明确未通过

按安装量取同分类前几名;数字来自第三方目录统计,只作热度参考,不代表质量结论。

SKILL.md 原文

Screengrabs

Capture, redact, annotate, and embed screenshots in GitHub PRs for UI changes.

When to use

  • Creating/updating PRs that touch frontend components, pages, or styles
  • User asks for screenshots, before/after comparisons, or PR body enrichment
  • Skip for backend-only, test-only, or non-visual changes

Prerequisites

These scripts require the following npm packages. Install them as dev dependencies in your project:

PackagePurposeInstall
playwrightBrowser automation for screenshot capturenpm add -D playwright
sharpImage annotation (labels, borders, stitching)npm add -D sharp
tsxTypeScript runner for scriptsnpm add -D tsx

After installing Playwright, download browser binaries: npx playwright install chromium

Create workflow tasks (first action)

Before starting any work, create a task for each step using TaskCreate with addBlockedBy to enforce ordering. Derive descriptions and completion criteria from each step's own workflow text.

  1. Screengrabs: Identify affected pages
  2. Screengrabs: Explore target pages (/browser)
  3. Screengrabs: Capture with pre-scripts
  4. Screengrabs: Verify captures and validate sensitive data
  5. Screengrabs: Annotate, upload, and embed in PR

Mark each task in_progress when starting and completed when its step's exit criteria are met. On re-entry, check TaskList first and resume from the first non-completed task.


Workflow

Most screenshots require understanding the target page before capture — what state it's in, what popups appear, what content needs to be visible. The default workflow is explore → capture → verify → iterate.

  1. Identify affected pages from the PR diff
  2. Explore target pages — visit each page with the browser to understand layout, state, and interaction needs before writing any capture logic
  3. Plan & write pre-scripts — based on what you observed, write pre-scripts for interaction needed before capture
  4. Capture screenshots — run scripts/capture.ts with --pre-script
  5. Verify captures — look at each captured image to confirm it shows what was expected
  6. Iterate if needed — if a capture is wrong (spinner, overlay, wrong state, missing content), adjust and re-capture
  7. Validate no sensitive data — run scripts/validate-sensitive.ts
  8. Annotate — run scripts/annotate.ts (labels, borders, side-by-side)
  9. Upload & embed — update PR body with images

Simple captures (no interaction needed): For static pages where goto + wait is sufficient, skip step 3 and omit --pre-script. Steps 2 (explore) and 5 (verify) still apply — always understand what you're capturing and confirm you got it right.


Step 1: Identify Affected Pages

Analyze the PR diff to determine which UI routes are impacted. Map changed component/page files to their corresponding URLs. If the diff only touches backend code, tests, or non-visual files, skip screenshot capture.


Step 2: Explore Target Pages

Before writing any pre-scripts or capture commands, visit each target page to understand what you're capturing. For quick page exploration, use agent-browser (agent-browser open <url>, agent-browser screenshot) — it's faster for simple navigation and screenshots. Load /browser skill (Playwright scripts) only when you need pre-script capture, batch routes, or masking in Steps 3-4.

What to observe

For each page, note:

  • Current layout and content — what's visible above the fold, key sections, data states
  • Popups and overlays — cookie banners, modals, onboarding tours, notification prompts
  • Loading behavior — spinners, skeleton screens, lazy-loaded content, how long until stable
  • Auth requirements — login walls, permission gates, session-dependent content
  • Dynamic state — tabs, accordions, expandable sections, content that requires interaction to reveal
  • What the PR changed — which specific elements or areas the screenshot needs to highlight

Decide what to capture

Based on exploration, decide:

  • Which view states each page needs (e.g., default tab vs. specific tab, collapsed vs. expanded)
  • Whether multiple captures per route are needed (e.g., before/after a user action)
  • What viewport and scroll position will frame the relevant change
  • What interaction is needed before each capture (popups to dismiss, elements to click, sections to scroll to)

Do not proceed to pre-script writing until you understand each page's behavior. Exploration often reveals interaction needs that aren't obvious from the diff alone (popups that appear on first visit, content behind tabs, lazy loading delays).


Step 3: Plan & Write Pre-Scripts

Load /browser skill for writing pre-scripts. A pre-script is a JS file that receives the Playwright page object and runs interaction before masking + screenshot. Use your findings from Step 2 to write targeted pre-scripts.

Pre-script contract

The file must export an async function that receives {page, url, route}:

// /tmp/pw-pre-dashboard.js
module.exports = async function({ page, url, route }) {
  // Dismiss cookie banner
  await page.click('button:has-text("Accept")').catch(() => {});

  // Click the "Analytics" tab
  await page.click('[data-tab="analytics"]');
  await page.waitForTimeout(500);
};

Common pre-script patterns

Dismiss popups / modals:

module.exports = async function({ page }) {
  // Cookie banner
  await page.click('button:has-text("Accept all")').catch(() => {});
  // Marketing popup
  await page.click('[data-testid="close-modal"]').catch(() => {});
};

Navigate through a login flow:

module.exports = async function({ page }) {
  await page.fill('input[name="email"]', 'test@example.com');
  await page.fill('input[name="password"]', 'password123');
  await page.click('button[type="submit"]');
  await page.waitForURL('**/dashboard');
};

Scroll to a specific section:

module.exports = async function({ page }) {
  await page.locator('#pricing-section').scrollIntoViewIfNeeded();
  await page.waitForTimeout(300);
};

Expand collapsed content:

module.exports = async function({ page }) {
  await page.click('button:has-text("Show more")');
  await page.waitForSelector('.expanded-content', { state: 'visible' });
};

One pre-script per route — if routes need different interaction, write separate scripts and run capture once per route. If all routes share the same interaction (e.g., dismiss the same cookie banner), one script covers all.


Step 4: Capture Screenshots

Environment setup

EnvironmentBase URLNotes
Local devhttp://localhost:3000 (or your dev server port)Start your dev server first
Preview deploymentYour preview URL (e.g., Vercel, Netlify, etc.)Available after PR push
Playwright serverConnect via --connect ws://localhost:3001See "Reusable server" below

Capture command

# With pre-script (default for most captures)
npx tsx scripts/capture.ts \
  --base-url http://localhost:3000 \
  --routes "/dashboard,/settings" \
  --pre-script /tmp/pw-pre-dashboard.js \
  --output-dir tmp/screengrabs

# Simple capture (no interaction needed)
npx tsx scripts/capture.ts \
  --base-url http://localhost:3000 \
  --routes "/landing,/about" \
  --output-dir tmp/screengrabs

# Preview deployment with pre-script
npx tsx scripts/capture.ts \
  --base-url https://your-preview-url.example.com \
  --routes "/dashboard" \
  --pre-script /tmp/pw-pre-dismiss-popups.js \
  --output-dir tmp/screengrabs

All capture options

OptionDefaultDescription
--base-url <url>*required*Target URL (local dev or preview)
--routes <paths>*required*Comma-separated route paths
--pre-script <path>—JS file to run on page before capture (for interaction)
--output-dir <dir>tmp/screengrabsWhere to save PNGs and DOM text
--viewport <WxH>1280x800Browser viewport size
--connect <ws-url>—Connect to existing Playwright server
--mask-selectors <s>—Additional CSS selectors to blur
--wait <ms>2000Wait after page load before capture
--full-pagefalseCapture full scrollable page
--auth-cookie <value>—Session cookie for authenticated pages

Reusable Playwright server

Start a server once, reuse across multiple captures:

# Terminal 1: start server
npx tsx scripts/capture.ts --serve --port 3001

# Terminal 2+: connect and capture
npx tsx scripts/capture.ts \
  --connect ws://localhost:3001 --base-url http://localhost:3000 \
  --routes "/..." --pre-script /tmp/pw-pre-script.js --output-dir tmp/screengrabs

Step 5: Verify Captures

Do not skip this step. After capturing, look at each screenshot to confirm it captured what you intended.

Verification checklist

For each captured image, read the PNG file and check:

  • Correct page/route — the screenshot shows the intended page, not a redirect, error page, or login wall
  • Expected content visible — the elements or sections that the PR changed are visible in the frame
  • Stable state — no spinners, skeleton loaders, or partially-rendered content
  • No unexpected overlays — cookie banners, modals, notification toasts, or tooltips aren't blocking the content
  • Proper framing — the viewport and scroll position highlight the relevant change (not cut off, not too zoomed out)
  • Redaction intact — sensitive data masking was applied correctly (passwords blurred, tokens replaced)

How to verify

Use the Read tool to view each captured PNG — it renders images visually. Compare what you see against what you observed during exploration (Step 2).

# Read the captured image to verify
Read tool → tmp/screengrabs/<route-name>.png

If all captures pass verification, proceed to Step 7 (validate sensitive data). If any capture is wrong, go to Step 6.


Step 6: Iterate (if verification fails)

When a capture doesn't match expectations, diagnose and re-capture. Do not upload incorrect screenshots.

Common issues and fixes

ProblemLikely causeFix
Spinner or skeleton visibleInsufficient wait timeIncrease --wait (e.g., --wait 5000) or add waitForSelector in pre-script
Cookie banner or modal blocking contentPre-script didn't dismiss itAdd dismiss logic to pre-script (.catch(() => {}) for optional popups)
Wrong tab or section visiblePre-script didn't navigate to correct stateUpdate pre-script to click the right tab/accordion/section
Login wall or auth errorMissing auth cookie or expired sessionUse --auth-cookie or add login flow to pre-script
Content cut off or wrong scroll positionDefault viewport insufficientAdjust --viewport, add scrollIntoViewIfNeeded() in pre-script, or use --full-page
Partially loaded images or assetsNetwork still loadingAdd waitForLoadState('networkidle') in pre-script after interaction

Iteration process

  1. Identify which captures failed verification and why
  2. Adjust the pre-script, capture parameters, or both
  3. Re-run scripts/capture.ts for the affected routes only
  4. Re-verify (Step 5) — read the new images and confirm they're correct
  5. Repeat if needed — maximum 3 iterations per route before stopping to reassess the approach

When to stop iterating

  • After 3 failed attempts for the same route, reconsider whether the page is in a capturable state (is the dev server running correctly? is the feature complete?)
  • If the issue is environmental (server not running, deployment not ready), fix the environment rather than adjusting capture parameters

Step 7: Validate Sensitive Data

Always run before uploading to GitHub.

npx tsx scripts/validate-sensitive.ts \
  --dir ./screengrabs

The script checks .dom-text.txt files (saved by capture) for:

  • API keys (sk-, sk-ant-, AKIA, sk_live_)
  • Tokens (Bearer, JWT, GitHub PATs)
  • PEM private keys
  • Connection strings with credentials

Exit code 1 = sensitive data found. Re-capture with additional --mask-selectors or fix the source before proceeding.

Pre-capture masking (automatic)

The capture script automatically masks these before taking screenshots:

Selector / PatternWhat it catches
input[type="password"]Password fields
Text matching sk-, Bearer, eyJ, ghp_, PEM headersIn-page tokens/keys

Add more with --mask-selectors "selector1,selector2".


Step 8: Annotate Images

# Add "Before" label with red border
npx tsx scripts/annotate.ts \
  --input before.png --label "Before" --border "#ef4444" --output before-labeled.png

# Add "After" label with green border
npx tsx scripts/annotate.ts \
  --input after.png --label "After" --border "#22c55e" --output after-labeled.png

# Side-by-side comparison
npx tsx scripts/annotate.ts \
  --stitch before.png after.png --labels "Before,After" --output comparison.png

Step 9: Upload & Embed in PR

Images in PR markdown need permanent URLs.

Primary: Bunny Edge Storage via /media-upload skill (programmatic, permanent CDN URLs):

Load the /media-upload skill, then use uploadToBunnyStorage():

const result = await uploadToBunnyStorage(
  './tmp/screengrabs/dashboard-labeled.png',
  `pr-${prNumber}/dashboard-before.png`
);
// result.url → "https://{cdn-hostname}/pr-123/dashboard-before.png" (permanent)

Requires BUNNY_STORAGE_API_KEY, BUNNY_STORAGE_ZONE_NAME, BUNNY_STORAGE_HOSTNAME env vars. Setup: ./secrets/setup.sh --skill media-upload.

Fallback: GitHub drag-and-drop — drag images into the PR description editor on GitHub. GitHub generates permanent CDN URLs automatically.

Update PR body

gh pr edit {pr-number} --body "$(cat pr-body.md)"

PR body templates

Use the templates in references/pr-templates.md for consistent formatting. Include:

  1. Visual Changes section with before/after screenshots
  2. Test URLs section with links to preview deployment pages
  3. Summary of what changed and why

Additional Resources

平台分布

Codex

36%
按下载量换算25

Claude

32.34%
按下载量换算23

Cursor

18.73%
按下载量换算13

Gemini CLI

9.77%
按下载量换算7

安全审计

Gen Agent Trust Hub

可疑

Socket

通过

Snyk

未通过

权限和风险

操作浏览器

该 Skill 可能涉及浏览器控制能力,使用时可能读取或操作网页内容,需要在受控环境中确认权限边界。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在提醒或未通过项,安装前请自行复核。目前只有一个公开来源,建议同时核对源仓库。

继续浏览同类 Skills