Skip to content
Skill

Test on device

Builds a mini-app bundle, uploads it to the Toss console and opens it on a real phone

Test on device is an open-source agent skill for developer tools. It is available on Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose.

Scripts
None
Platforms
Claude Code, Codex, Cursor
GitHub stars
195
Last commit
License
BSD-3-Clause
Listing updated

Similar skills

About Test on device

This skill takes the mini-app in the current project through the standard device-testing path: it builds the .ait bundle, uploads it through the console MCP server, checks that the console finished compiling it, and then hands over a test link that opens the build in the Toss app. A release build is the default. A debug build is produced only when the user is debugging on-device, and the skill records that deployment locally so it is not submitted for review.

The workflow starts by confirming the project root and that the app name in the bundle config matches the app registered in the console, so a mismatch is caught before upload. It also warns about in-app payment and server calls before testing. Build steps depend on the stack: web and React Native projects use their package.json scripts, while Unity projects are built through the SDK's build menu or a batch entry point when one exists. Build outputs are checked for leftover debug markers before upload.

The skill expects the console MCP server to be authorized through the agent's MCP settings and an existing app in the console. It does not submit reviews, release, roll back or promote builds.

When your agent uses it

Put the current mini-app on a real phone through the standard path — build the `.ait` bundle (release variant by default; debug variant only when the user is debugging on-device), upload it with console MCP (`bundle_upload` → `bundle_upload_complete`), confirm the compile with `miniapp_get_status`, and hand over the entry link the tools returned so it opens in the Toss app. Debug-build deployments are recorded locally and must not be submitted for review. Review submission, release, rollback, and promotion are out of scope. Triggered by `/ait:test-on-device`, no args.

From the skill's SKILL.md. Your agent reads this description to decide when to load the skill.

What it can access

From a static check of its 2 files (29 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-toss

Or copy only this skill to ~/.claude/skills/test-on-device:

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/test-on-device &&
cp -R "$tmp/packages/agent-plugin/shared/skills/test-on-device" ~/.claude/skills/test-on-device &&
rm -rf "$tmp"

For one project only, put the folder in .claude/skills/test-on-device inside it instead.

Claude Code docs on skills

Copy the skill folder to ~/.agents/skills/test-on-device 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/test-on-device &&
cp -R "$tmp/packages/agent-plugin/shared/skills/test-on-device" ~/.agents/skills/test-on-device &&
rm -rf "$tmp"

For one repository only, put the folder in .agents/skills/test-on-device inside it instead.

Codex docs on skills

Copy the skill folder to ~/.cursor/skills/test-on-device 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/test-on-device &&
cp -R "$tmp/packages/agent-plugin/shared/skills/test-on-device" ~/.cursor/skills/test-on-device &&
rm -rf "$tmp"

For one project only, put the folder in .cursor/skills/test-on-device inside it instead.

Cursor docs on skills

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/test-on-device

Or copy the folder to ~/.gemini/skills/test-on-device yourself.

Gemini CLI docs on skills

For GitHub Copilot in VS Code, copy the skill folder to ~/.copilot/skills/test-on-device:

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/test-on-device &&
cp -R "$tmp/packages/agent-plugin/shared/skills/test-on-device" ~/.copilot/skills/test-on-device &&
rm -rf "$tmp"

For one project only, put the folder in .github/skills/test-on-device inside it instead.

VS Code docs on skills

Get the folder:

git clone --depth 1 https://github.com/toss/apps-in-toss-harness.git

Then copy apps-in-toss-harness/packages/agent-plugin/shared/skills/test-on-device into your agent's skills folder as test-on-device. Agents that support SKILL.md read one folder per skill.

The SKILL.md format

What it does

Bundle build step
Builds the .ait bundle for web, React Native or Unity projects, choosing the release or debug variant.
Console upload flow
Uploads the bundle through the console MCP tools and completes the upload so the console compiles it.
Compile status check
Polls build status and reports whether the uploaded deployment compiled successfully or failed.
On-phone test link
Sends a test push or console QR option so the build opens in the Toss app on a real device.
Appname mismatch guard
Compares the bundle config app name with the console app before uploading to avoid build failures.
Debug build tracking
Records debug deployments locally and warns they must not be submitted for review.

Good for

  • Put my mini-app on my phone to test it in the Toss app
  • Upload the current build to the console and check it compiled
  • Get a link to open this build in the Toss app for testing
  • Build a debug version so I can attach a debugger on a real device

Test on device FAQ

What does Test on device need before it runs?

The project root must contain a package.json and bundle config file, or a Unity Packages/manifest.json, and the console MCP server must be authorized with an existing app registered in the console.

Does Test on device submit my app for review?

No. It stops after upload, compile check and handing over a test link. Review submission, release, rollback and promotion are out of scope.

Which build variant does Test on device use?

It uses a release build by default. A debug build is produced only when the user is debugging on-device, and that deployment is recorded locally and must not be submitted for review.

How do I install Test on device in Claude Code?

Copy the skill folder from GitHub to ~/.claude/skills/test-on-device to use it in all your projects, or to .claude/skills/test-on-device 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 Test on device 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 Test on device?

Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose. Each reads skills in the SKILL.md format from its own folder; the install steps on this page list them.

What are the best alternatives to Test on device?

The closest alternatives to Test on device are Launch, Inject, Debug, New miniapp and Server.

Where this comes from

  • Description: from the skill's own SKILL.md.

More from toss/apps-in-toss-harness

  1. Debugs an Apps in Toss mini-app in a local browser or on a real Toss device

    • Open source
    • 195 GitHub stars
    • Developer tools
  2. Builds and fixes mini-app screens in your project, enforcing hard UI rules and store image

    • Open source
    • 195 GitHub stars
    • Design and media
  3. Adds Apps in Toss SDK features like ads, IAP, share and haptics to your project

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

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

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

    • Open source
    • 195 GitHub stars
    • Developer tools