Token导航 LogoToken导航TokenDH.com
开发操作浏览器unknown未标认证来源可访问许可证需确认审计未展示

fix修复

Agent Skill

fix 用于补充开发相关能力,适合在 Local Agent 中需要让 Agent 承接开发相关任务时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

269

周安装

11

下载量

86
Local Agent

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

请帮我安装这个 Agent Skill:fix(修复)
来源仓库:https://smithery.ai
仓库路径:fix
安装命令:
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。当前暂无明确安装命令,请以来源页面说明为准。

简介

用于补充开发相关能力,适合在 Local Agent 中承接开发任务。

  • 适用于 Local Agent,可增强代码修复和问题排查能力。
  • 可结合来源仓库和原始 README 核验具体用法和功能细节。
  • 安装前建议确认权限范围、维护状态及是否触发联网或命令执行。
  • 注意维护频率和仓库稳定性,避免依赖长期未更新的技能模块。

SKILL.md

Fix Automation Skill

Guide Claude through debugging and fixing failing browser automations.

When to Use

Use this skill when:

  • A Browserbase Function is failing in production
  • An automation stopped working (site changed)
  • User reports errors from their automation
  • CI/CD pipeline failures related to browser functions

Prerequisites

Requires the browse CLI and Chrome/Chromium:

browse --version  # Check if installed
bash scripts/setup-browse.sh  # Install if needed

Install manually: pnpm add -g @browserbasehq/browse-cli

Context Sources

Before debugging, gather context from:

  1. Error messages - What the user reported or CI logs show
  2. Function code - The automation script itself
  3. Recent changes - Did the site update recently?
  4. Last success - When did it last work?

Debugging Workflow

1. Reproduce the Issue

Start a Browserbase session to see what's happening:

browse session create
browse session live  # Open in browser to watch

Navigate to the target URL:

browse goto <target-url>

2. Compare Expected vs Actual State

Take a snapshot of the current page:

browse snapshot

Compare with what the automation expects:

  • Are the expected elements present?
  • Have selectors changed?
  • Is there a login wall or CAPTCHA?
  • Has the page structure changed?

3. Common Failure Patterns

Selector Changes

The site updated their HTML:

browse snapshot
# Look for similar elements with new selectors
browse eval "document.querySelector('.new-class')?.textContent"

Fix: Update selectors in the function code.

Timing Issues

Elements load slower than expected:

browse network on
browse goto <url>
browse network list
# Check if resources are slow to load

Fix: Add explicit waits or increase timeouts.

Authentication Expired

Session cookies no longer valid:

browse snapshot
# Look for login prompts

Fix: Re-authenticate or update auth flow. See /auth skill.

Rate Limiting / Bot Detection

Site is blocking automated access:

browse network list
# Look for 403, 429 status codes
browse screenshot -o blocked.png

Fix: Add delays, use proxies, or contact site owner.

Site Redesign

Major structural changes:

browse snapshot
browse screenshot -o current.png

Fix: Rewrite affected portions of the automation.

4. Test the Fix

Make changes to the function code, then test locally.

For Browserbase Functions (using bb CLI):

cd my-function
pnpm bb dev index.ts  # Start local dev server

# Test with curl
curl -X POST http://127.0.0.1:14113/v1/functions/my-function/invoke \
  -H "Content-Type: application/json" \
  -d '{"params": {}}'

For local scripts:

node my-script.js

5. Deploy the Fix

For Browserbase Functions:

pnpm bb publish index.ts

6. Verify Fix is Complete

After fixing:

  1. Run the function multiple times to ensure stability
  2. Check that all expected data is returned
  3. Verify edge cases still work

Diagnostic Commands Reference

CommandPurpose
browse session createStart debug session
browse session liveOpen visual debugger
browse goto <url>Navigate to target
browse snapshotInspect DOM structure
browse screenshotCapture visual state
browse network onEnable request capture
browse network listView captured requests
browse network show <id>Inspect specific request
browse eval <js>Run diagnostic JS

Example Debug Session

User: My price-monitor function stopped working yesterday

Claude: Let me investigate. First, let me start a debug session:

> browse session create
> browse session live
> browse goto https://example.com/product/123

Opening in browser so you can watch. Let me check the page structure:

> browse snapshot

I can see the price element now uses a different class `.product-price` instead of `.price`. The site appears to have been redesigned.

Let me verify:
> browse eval "document.querySelector('.product-price')?.textContent"

Yes, that returns "$29.99". I'll update the selector in your function:

[edits price-monitor/index.ts to use '.product-price']

Testing locally:
> cd price-monitor
> pnpm bb dev index.ts

[In another terminal]
> curl -X POST http://127.0.0.1:14113/v1/functions/price-monitor/invoke \
    -H "Content-Type: application/json" \
    -d '{"params": {"productUrl": "https://example.com/product/123"}}'

Works! Deploying fix:
> pnpm bb publish index.ts

The function should work now. Would you like me to commit this fix?

Commit and Deploy

Once fixed, use git to commit changes:

git add <function-file>
git commit -m "fix(<function-name>): <description of fix>"
git push

If this is a PR workflow:

gh pr create --title "Fix <function-name>" --body "..."

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Local Agent

87.69%
按下载量换算75

安全审计

暂无安全审计结果可展示。

权限和风险

操作浏览器

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

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills