# Inject

> Inject is an open-source agent skill for developer tools. Adds Apps in Toss devtools, debugger client or Tossface font wiring to an existing. It is available on Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose.

- **Kind:** Skill
- **Pricing:** Open source
- **Platforms:** Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf, Goose
- **Website:** https://github.com/toss/apps-in-toss-harness/tree/main/packages/agent-plugin/shared/skills/inject
- **Repository:** https://github.com/toss/apps-in-toss-harness
- **GitHub stars:** 195
- **License:** BSD-3-Clause
- **Skill name:** inject
- **Collection:** https://github.com/toss/apps-in-toss-harness
- **Categories:** [developer tools](https://ai-powered.com/categories/developer-tools)
- **Listing updated:** 2026-12-01

## About

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.

## What it can access

From a static check of the files on GitHub; nothing was run.

- [Instructions only, no scripts](https://github.com/toss/apps-in-toss-harness/tree/HEAD/packages/agent-plugin/shared/skills/inject)
- [License: BSD-3-Clause](https://github.com/toss/apps-in-toss-harness/tree/HEAD/packages/agent-plugin/shared/skills/inject)

## Features

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

## Install

### Claude Code

This skill ships in the `ait` plugin. In Claude Code, add the marketplace and install the plugin (it may include other skills too):

```sh
/plugin marketplace add toss/apps-in-toss-harness
/plugin install ait@apps-in-toss
```

Or copy only this skill to `~/.claude/skills/inject`:

```sh
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.

### Codex

Copy the skill folder to `~/.agents/skills/inject` to use it in every repository:

```sh
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.

### Cursor

Copy the skill folder to `~/.cursor/skills/inject` to use it in every project:

```sh
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.

### Gemini CLI

Run in a terminal (add `--scope workspace` to install it for the current workspace only):

```sh
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.

### VS Code

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

```sh
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.

### Other agents

Get the folder:

```sh
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.

## 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.

## Alternatives

- [New miniapp](https://ai-powered.com/skills/new-miniapp): New miniapp is an open-source agent skill for developer tools.
- [Feature](https://ai-powered.com/skills/feature): Feature is an open-source agent skill for developer tools.
- [Test on device](https://ai-powered.com/skills/test-on-device): Test on device is an open-source agent skill for developer tools.
- [Debug](https://ai-powered.com/skills/debug): Debug is an open-source agent skill for developer tools.
- [Launch](https://ai-powered.com/skills/launch-toss): Launch is an open-source agent skill for developer tools.
- [Server](https://ai-powered.com/skills/server): Server is an open-source agent skill for developer tools.
- [Design](https://ai-powered.com/skills/design-toss): Design is an open-source agent skill for design and media.
- [Setup debugger](https://ai-powered.com/skills/setup-debugger): Setup debugger is an open-source agent skill for developer tools.

---
Source: https://ai-powered.com/skills/inject
