debug-failed-action
Skill17 starsChanged 3 days agoApache-2.0View on GitHub
When your last `vs_act` returned an unexpected result (NOT_FOUND, no visible state change, suspected silent failure), run this skill with the action's pre-token. Pulls console errors, network failures, and current performance into one report.
In this repository2 other files it gives its agents.
- docsSkill
- vibesurferSkill
The file
Files
debug-failed-action
When to use
You ran vs_act and one of:
- The next
vs_viewlooks identical to the previous one (no DOM change). - You got
! NOT_FOUND ref=Neven though the ref was in the most recent tree. - A button you clicked appears
disabled/aria-busy/pointer-events: nonein the DOM but not in the semantic tree. - A form submission completed in the UI but the underlying API call returned 4xx/5xx silently.
What it does
Runs three on-demand inspections in sequence against the page that owns the failed action:
vs_inspect console --since=<token> --level=error,warn— every console.error / console.warn / uncaught exception captured since the action's pre-token.vs_inspect network --since=<token> --status=4xx,5xx— every 4xx/5xx network response since the action's pre-token.vs_inspect performance— Web Vitals + heap + DOM-stat block.
The output is concatenated and sectioned by source, prefixed with one-line headers.
Arguments
token— thestate_tokenyou held before issuingvs_act. The skill uses it as--since=<token>for both console and network slices.page— thep_<id>fromvs_status. If omitted, the skill uses the only open page in the active session; if there are multiple, it errors and prompts.
Why this is the canonical use case
Failed-action debugging is the universal pain point with agent-driven browser automation. The semantic tree shows you what the page says it is; the inspection surface shows you what the page actually did in the second between your action and your re-read. If you don't reach for this skill in real failure cases, the M5.7 inspection surface didn't land.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

