
Debug
Debugs an Apps in Toss mini-app in a local browser or on a real Toss device
Debug is an open-source agent skill for developer tools. It is available on Claude Code.
- Scripts
- None
- Platforms
- Claude Code
- GitHub stars
- 195
- Last commit
- License
- BSD-3-Clause
- Listing updated
Similar skills
About Debug
This skill guides an agent through debugging an Apps in Toss mini-app in two environments: a local desktop browser with the mock SDK and devtools panel, and a real Toss app WebView on a phone attached through a Chrome DevTools relay. It first checks the project setup, starts the dev server when needed, and picks an observation point such as the panel tabs, window.__ait state, or browser DevTools based on the reported symptom.
When a hypothesis forms, the skill runs an observe, hypothesize, minimal fix, and re-verify loop, changing one variable per cycle and removing failed changes before the next try. It stops and hands back to the user after repeated failures, when the symptom cannot be reproduced, or when deploying or console state changes would be needed. Device-side attach relies on the ait-debugger MCP server and a debug build with the debugger client wired in, and the on-device steps are documented as Claude Code specific.
When your agent uses it
Debug an Apps in Toss mini-app across two environments — local browser (devtools panel, `window.__ait`, browser DevTools) and on-device intoss-private candidate (real Toss WebView via `ait-debugger` MCP relay-staging QR attach). Branches by what it observes, then runs an autonomous observe → hypothesize → minimal-fix → re-verify loop and hands off when it stalls (§6). Triggered by `/ait:debug` (no args). Distinct from `status`/`logs` (console-side, not live device state).
From the skill's SKILL.md. Your agent reads this description to decide when to load the skill.
What it can access
- Instructions only, no scripts(see the files on GitHub)
- License: BSD-3-Clause(see the files on GitHub)
From a static check of its 6 files (75 KB) on GitHub on 1 December 2026. Nothing was run. Read the files before you install a skill: it can tell your agent to run anything its tools allow.
Check another skill before you install it.
Install
This skill ships in the ait plugin. In Claude Code, add the marketplace and install the plugin (it may include other skills too):
/plugin marketplace add toss/apps-in-toss-harness
/plugin install ait@apps-in-tossOr copy only this skill to ~/.claude/skills/debug:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/toss/apps-in-toss-harness.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/debug &&
cp -R "$tmp/packages/agent-plugin/shared/skills/debug" ~/.claude/skills/debug &&
rm -rf "$tmp"For one project only, put the folder in .claude/skills/debug inside it instead.
Copy the skill folder to ~/.agents/skills/debug to use it in every repository:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/toss/apps-in-toss-harness.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/debug &&
cp -R "$tmp/packages/agent-plugin/shared/skills/debug" ~/.agents/skills/debug &&
rm -rf "$tmp"For one repository only, put the folder in .agents/skills/debug inside it instead.
Copy the skill folder to ~/.cursor/skills/debug to use it in every project:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/toss/apps-in-toss-harness.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/debug &&
cp -R "$tmp/packages/agent-plugin/shared/skills/debug" ~/.cursor/skills/debug &&
rm -rf "$tmp"For one project only, put the folder in .cursor/skills/debug inside it instead.
Run in a terminal (add --scope workspace to install it for the current workspace only):
gemini skills install https://github.com/toss/apps-in-toss-harness.git --path packages/agent-plugin/shared/skills/debugOr copy the folder to ~/.gemini/skills/debug yourself.
For GitHub Copilot in VS Code, copy the skill folder to ~/.copilot/skills/debug:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/toss/apps-in-toss-harness.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/debug &&
cp -R "$tmp/packages/agent-plugin/shared/skills/debug" ~/.copilot/skills/debug &&
rm -rf "$tmp"For one project only, put the folder in .github/skills/debug inside it instead.
Get the folder:
git clone --depth 1 https://github.com/toss/apps-in-toss-harness.gitThen copy apps-in-toss-harness/packages/agent-plugin/shared/skills/debug into your agent's skills folder as debug. Agents that support SKILL.md read one folder per skill.
What it does
- Local browser debugging
- Observe mock SDK state through the devtools floating panel, window.__ait, and browser DevTools.
- Device attach via QR
- Attach a real Toss app WebView to a relay with a single start_attach call and a scannable QR code.
- Autonomous debug loop
- Cycle through observing, forming one hypothesis, making a minimal change, and re-verifying the symptom.
- On-device test runs
- Run mini-app test files against the attached device WebView to compare behavior across environments.
- Escalation and hand-off rules
- Stop after repeated failed hypotheses or unreproducible symptoms and ask the user for direction.
Good for
- Find why a login button returns no authorization code in the local browser
- Reproduce a swipe-back crash that only appears on a real Toss app device
- Check mock SDK state while tracing a permission or location bug
- Run mini-app test files on a real device WebView
- Narrow down a symptom that differs between the mock and real SDK
Debug FAQ
Does this skill need a Toss console login for browser debugging?
No. The skill states that browser debugging is local only and does not require console authentication.
What is needed to debug on a real device?
The ait-debugger MCP server must be loaded in the session, and the candidate build must include the debugger client with the debug build flag set, then be uploaded to get a scheme URL.
Will Debug submit my app for review?
No. Review submission, release, rollback, and similar console changes require explicit user approval. The candidate debug build is marked not to be submitted for review.
Which AI clients does the on-device part support?
The on-device attach section is documented as Claude Code specific. The adapter note says it is not supported on Codex or Cursor, while the browser path works there.
How do I install Debug in Claude Code?
Copy the skill folder from GitHub to ~/.claude/skills/debug to use it in all your projects, or to .claude/skills/debug in one project. Or install the ait plugin, which includes it: /plugin marketplace add toss/apps-in-toss-harness, then /plugin install ait@apps-in-toss.
Does Debug run scripts?
No. It is instructions only, with no scripts. This comes from a static check of the files on GitHub; nothing was run. Read the files before you install it.
Which AI agents can use Debug?
Claude Code. It reads skills in the SKILL.md format; the install steps on this page show where to put the folder.
What are the best alternatives to Debug?
The closest alternatives to Debug are Inject, Test on device, Launch, Interactive debugging and New miniapp.
Where this comes from
- Description: from the skill's own SKILL.md.
More from toss/apps-in-toss-harness

Builds and fixes mini-app screens in your project, enforcing hard UI rules and store image
- Open source
- 195 GitHub stars
- Design and media

Adds Apps in Toss SDK features like ads, IAP, share and haptics to your project
- Open source
- 195 GitHub stars
- Developer tools

Adds Apps in Toss devtools, debugger client or Tossface font wiring to an existing
- Open source
- 195 GitHub stars
- Developer tools

Pre-launch checks and review requests for Apps in Toss mini-apps
- Open source
- 195 GitHub stars
- Developer tools

Scaffolds a new Apps in Toss mini-app with devtools wiring and a design guide
- Open source
- 195 GitHub stars
- Developer tools

Turns a vague mini-app idea into a PRD, SDK domain map, permissions and console terms
- Open source
- 195 GitHub stars
- Developer tools


