← BugBugCONTENT HISTORY
WHAT CHANGED
Update to BugBug
Snapshot Dec 1, 2026 · 18:15 UTC · version 14.27.0
Collection source: downloaded plugin package.
First saved snapshot
No earlier snapshot is available to establish a change.
Save BugBug and check future changes in Following.
Up to 3 plugins free · no card required.
Compare saved observations
Download comparison JSONFull technical diff · 0 changed fields
Full snapshot data
{
"description": "Explains how to call the BugBug API through the `bugbug_run_code_in_sandbox` MCP tool, which runs a short JavaScript function body against the global `bugbug` object. Use before the first `bugbug_run_code_in_sandbox` call, whenever a task needs several BugBug reads or writes in a row, only a few fields of large payloads, a project-wide scan, or no typed `bugbug_*` tool covers the operation.",
"included_files": [
{
"relative_path": "agents/openai.yaml",
"size_in_bytes": 464
},
{
"relative_path": "assets/bugbug-icon.png",
"size_in_bytes": 5119
},
{
"relative_path": "references/authoring.md",
"size_in_bytes": 10506
},
{
"relative_path": "references/project.md",
"size_in_bytes": 20880
},
{
"relative_path": "references/runs-and-debugging.md",
"size_in_bytes": 9485
},
{
"relative_path": "references/runtime.md",
"size_in_bytes": 5252
},
{
"relative_path": "references/suites.md",
"size_in_bytes": 17511
},
{
"relative_path": "references/tests.md",
"size_in_bytes": 15307
}
],
"name": "bugbug-use-bugbug",
"skill_md_contents": "---\nname: bugbug-use-bugbug\ndescription: Explains how to call the BugBug API through the `bugbug_run_code_in_sandbox` MCP tool, which runs a short JavaScript function body against the global `bugbug` object. Use before the first `bugbug_run_code_in_sandbox` call, whenever a task needs several BugBug reads or writes in a row, only a few fields of large payloads, a project-wide scan, or no typed `bugbug_*` tool covers the operation.\n---\n\n# Use BugBug\n\n## Preflight\n\n1. Confirm the target BugBug project (see `bugbug-context-discovering`). User and\n organization tokens need `projectId` on every call, except for\n `bugbug.projects.list()` and `bugbug.docs.ask()`.\n2. Look up every function you have not used yet in `references/`. Signatures,\n argument names, and return types are not discoverable at runtime; do not\n guess them.\n3. Prefer a typed `bugbug_*` tool when one call does the job. Use\n `bugbug_run_code_in_sandbox` when the work needs several calls or only part of a large\n payload.\n\n## Inputs\n\n- `code` (required): the body of an async function. Use `await` and `return` a\n JSON-serializable value.\n- `projectId` (optional): project UUID applied to every `bugbug.*` call in the\n script.\n- Identifiers from the user or from earlier calls: test, suite, run, step, group,\n and component ids.\n\n## Safety\n\n- Mutations (`create`, `update`, `import`, `insert*`, `upload`, `startRun`) take\n effect immediately and can overwrite data. Run only what the user asked for.\n- `startRun` drives a real browser against the tested application and can submit\n forms, send messages, or change data. Start runs only with user authorization\n for the test and target environment.\n- Deletes, stopping runs, removing or detaching components, converting components\n to groups, and visual-regression baseline resolution are not available in a\n script. Use the dedicated tools after the user confirms: `bugbug_delete_test`,\n `bugbug_delete_suite`, `bugbug_delete_group`, `bugbug_delete_steps`,\n `bugbug_remove_component_from_test`, `bugbug_detach_component_from_test`,\n `bugbug_delete_visual_regression_reference_screenshot`,\n `bugbug_resolve_visual_regression_review`, `bugbug_stop_run`.\n- An error mid-script does not undo earlier calls. Check what already happened\n before repeating a mutation.\n- Never pass secret values to `bugbug.variables.*`; the user sets them in the\n BugBug webapp.\n- Do not return raw payloads, credentials, or tokens; return the fields the next\n step needs.\n\n## Workflow\n\n1. Pick the namespaces you need and read their reference (see `Resources`).\n2. Read `references/runtime.md` once per task for limits, pagination, value\n conventions, and error handling.\n3. Write one script per logical step. Batch related reads with `Promise.all` and\n return a compact summary:\n\n ```js\n const { results } = await bugbug.tests.listRuns({ status: 'failed', pageSize: 10 });\n const runs = await Promise.all(results.map((run) => bugbug.tests.getRun(run.id)));\n return runs.map((run) => ({ id: run.id, name: run.name, errorCode: run.errorCode }));\n ```\n\n4. For long collections use the list-all helpers (`bugbug.tests.getAll()`,\n `bugbug.suites.getAll()`, `bugbug.groups.getAll()`) or page with\n `cursor` / `nextToken`.\n5. Use the exact input and output types in the references; each file ends with\n a `Types` section defining every named type. When a field is still unclear,\n run a small script that returns one trimmed item, then continue.\n6. Read the result. On `script_*` errors fix the script following\n `references/runtime.md`; do not retry unchanged.\n\n### Starting and watching a run\n\n```js\nconst run = await bugbug.tests.startRun(testId, { profileName: 'Default' });\nconst finished = await bugbug.runs.watch({ runType: 'test', runId: run.id });\nreturn { status: finished.status, timedOut: finished.timedOut, url: run.webappUrl };\n```\n\n`runs.watch` streams progress to the client. If it returns `timedOut: true`, call\nit again to keep waiting. Then debug failures with the\n`bugbug-test-run-debugging` skill.\n\n## Output\n\n- A short answer built from the script result, with BugBug links\n (`webappUrl`) when the result includes them.\n- For mutations: what changed, with ids.\n- Any limit hit, truncation, or error and the next step taken.\n\n## Resources\n\nResolve bundled resource paths relative to this skill directory.\n\n- Read `references/runtime.md` before the first script of a task: sandbox rules,\n limits, pagination, projectId, errors, and excluded operations.\n- Read `references/tests.md` for `bugbug.tests.*`.\n- Read `references/suites.md` for `bugbug.suites.*` and `bugbug.schedules.*`.\n- Read `references/runs-and-debugging.md` for `bugbug.runs.*`,\n `bugbug.debug.*`, and `bugbug.stepRuns.*`.\n- Read `references/authoring.md` for `bugbug.groups.*`,\n `bugbug.components.*`, `bugbug.steps.*`, and `bugbug.variables.*`.\n- Read `references/project.md` for `bugbug.projects.*`, `bugbug.project.*`,\n `bugbug.profiles.*`, `bugbug.files.*`, `bugbug.projectArtifacts.*`,\n `bugbug.visualRegression.*`, and `bugbug.docs.*`.\n- `assets/bugbug-icon.png` is the OpenAI UI icon for this skill.\n"
}SHA-256 of public snapshot: 2967c57372cca7a267204af35f8318e09a723db8526964fe03cf9f1ec2a99606