Skip to content
Skill

Inject

Adds Apps in Toss devtools, debugger client or Tossface font wiring to an existing

Inject 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 Inject

This skill patches the build setup of an existing Apps in Toss mini-app rather than creating a new project. It offers three independent entry points: adding the devtools unplugin for browser-based development with the bundler the project already uses, installing the on-device debugger client as a devDependency behind a build flag so release builds exclude it, and wiring the Tossface emoji web font through a CDN link or a bundled subset.

The workflow reads package.json and the bundler config, detects the package manager from the lockfile, checks for existing setup so it can skip work already done, and then makes minimal edits. For devtools, the registration follows the instructions in the installed package's README rather than bundler code stored in the skill. For the debugger client, the entry file gets a build-time gate import and the bundler gets a define that is true only when AIT_DEBUG_BUILD=1 is set. Each facet ends by running builds to verify the result, and it does not check that the panel actually appears in a browser.

The project needs an existing Apps in Toss setup with the web framework package. The skill asks the user before guessing at a bundler it cannot identify, and it does not diagnose a running app; that belongs to a separate debugging skill.

When your agent uses it

Patch an existing Apps in Toss mini-app's build setup. Three facets: `/ait:inject-devtools` adds the `@apps-in-toss/devtools` unplugin for browser dev, registered for whichever bundler the project uses ("기존 Vite 프로젝트에 devtools 붙여줘", "Rspack 쓰는 기존 프로젝트에 devtools 붙여줘"); `/ait:inject-debugger-client` installs `@apps-in-toss/debugger-client` (on-device attach) as a devDependency behind an opt-in build flag so release builds do not contain it; `/ait:inject-tossface` wires the Tossface emoji web font (CDN link or subset bundling) into the project's global stylesheet. Idempotent, minimal edits. This skill only INSTALLS packages/assets into a build setup — it never diagnoses a running app. "폰에서 이상하게 동작하는데 디버깅하고 싶어" / "라이브 상태를 보고 싶어" is `debug`, not this.

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 4 files (60 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/inject:

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

For one project only, put the folder in .claude/skills/inject inside it instead.

Claude Code docs on skills

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

For one repository only, put the folder in .agents/skills/inject inside it instead.

Codex docs on skills

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

For one project only, put the folder in .cursor/skills/inject 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/inject

Or copy the folder to ~/.gemini/skills/inject yourself.

Gemini CLI docs on skills

For GitHub Copilot in VS Code, copy the skill folder to ~/.copilot/skills/inject:

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

For one project only, put the folder in .github/skills/inject 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/inject into your agent's skills folder as inject. Agents that support SKILL.md read one folder per skill.

The SKILL.md format

What it does

Browser devtools setup
Adds the devtools unplugin to the project's bundler config for mock-SDK development in a browser.
Debugger client install
Installs the on-device attach package as a devDependency and gates its import behind a debug build flag.
Relay key wiring
Adds a bundler define that supplies relay public keys only to debug builds.
Tossface font wiring
Adds the Tossface emoji font through a CDN link or a bundled subset in the global stylesheet.
Idempotent minimal edits
Checks for existing configuration first and skips steps that are already in place.
Build verification
Runs dev and release builds afterward to confirm the changes compile without errors.

Good for

  • Add browser devtools to my existing Vite mini-app
  • Set up the on-device debugger client so debug builds include it but release builds do not
  • Wire the Tossface emoji font into my app's global stylesheet
  • Add devtools to a project that uses Rspack

Inject FAQ

Does Inject create a new Apps in Toss project?

No. It is for existing mini-app projects that already use the web framework package. New projects are handled by a separate new-miniapp skill.

Will the debugger client end up in my release build?

The debugger client is gated by a build-time flag that is false by default, so release builds drop the package. Only a build run with AIT_DEBUG_BUILD=1 includes it.

Does Inject diagnose a running app?

No. It only installs packages and assets into the build setup. Diagnosing live app behavior is covered by a separate debug skill.

What happens if the bundler is not clear from the project?

The skill asks the user rather than guessing. For devtools, it also stops if the package README does not cover that bundler.

How do I install Inject in Claude Code?

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

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 Inject?

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

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. Pre-launch checks and review requests for Apps in Toss mini-apps

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

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

    • Open source
    • 195 GitHub stars
    • Developer tools