Skip to content
Agentmart
Submit a tool

debugging-page-javascript

Executes JavaScript in browser pages, captures console output, and debugs page-side behavior with cdp.

Skill by tmc

IndexedMIT★ 5
Write a review

Install

Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.

npx agentmarket install skill/tmc-debugging-page-javascript

Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

Executes JavaScript in browser pages, captures console output, and debugs page-side behavior with cdp. Use when the task involves console diagnostics, injected collectors, page evaluation, or browser-side debugging during automation.

Use cases: productivity

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions

What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.

Tools
No tools found
Secrets
None asked for
Install scripts
None found

Network hosts it talks to 1

  • codeload.github.com · found in install command

Files it touches

  • ~/.claude/skills/debugging-page-javascript

What's inside

Skill name
debugging-page-javascript
Description
Executes JavaScript in browser pages, captures console output, and debugs page-side behavior with cdp. Use when the task involves console diagnostics, injected collectors, page evaluation, or browser-side debugging during automation.
License
MIT
Instructions
23 lines in SKILL.md · view on GitHub

Files (2)

  • SKILL.md
  • console.md · references/

SKILL.md (first lines)

# Debugging Page JavaScript

Use this skill when the task is about browser-side JavaScript behavior rather than navigation alone.

## Quick start

- Use `eval` in the shell to print a value; in scripts `js` runs code and discards the result
- Use `jsfile` for longer snippets or reusable helpers
- Use collector scripts when the task needs structured console output over time

## Use this skill for

- evaluating expressions in the page context
- enabling and interpreting console output
- capturing page errors or ad hoc telemetry
- debugging page-side state during scripts or interactive sessions

## Read next

- Console and JavaScript execution patterns: [references/console.md](references/console.md)
- CLI-level command surface: [../operating-cdp-cli/SKILL.md](../operating-cdp-cli/SKILL.md)

From tmc/cdp, MIT.

More from tmc/cdp

Signals

Stars
5
Forks
1
Open issues
0
Last commit (this folder)
Sep 22, 2026 (1 month ago)

From GitHub (fetched Oct 24, 2026).

Details

License
MIT
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

More from tmc

Cite this page

debugging-page-javascript skill. Agent Mart. https://agentmart.dev/skills/tmc-debugging-page-javascript (last updated 2026-10-24)