Skip to main content

Skills — emotesjs

emotesjs exists to solve a specific problem in Twitch/streaming chat UIs: **rendering 7TV emotes inline in plain text**. When a viewer types an emote name like `Pog` in chat, the raw message is just a string. emotesjs fetches the emote definitions for a channel (plus global emotes) from the 7TV API and replaces those tokens with responsive `<img>` tags — no dependencies, no bundler magic, just a small ESM library you drop in.

v1.0.0New
1

Signing

SignedSLSA L2
Signed by
skills-hub.ai distributor
Method
Distributor-signed by skills-hub.aiCryptographically signed by the skills-hub.ai distributor key at publish time.
Signed

Install this skill

Run this command in your terminal. No account required — it auto-detects your AI tool and installs the skill file.

npx @skills-hub-ai/cli install skills-emotesjs
Or download directly:
Browse all CLI commands →

Setup by platform

Claude Code

~/.claude/skills/<skill>/SKILL.md

Setup guide →

Cursor

~/.cursor/skills/<skill>/SKILL.md

Setup guide →

Codex CLI

~/.codex/skills/<skill>/SKILL.md, or reference via codex.md instructions file

Setup guide →

Windsurf

~/.windsurf/skills/<skill>/SKILL.md, or add to .windsurfrules in your project

Setup guide →

GitHub Copilot

.github/copilot-instructions.md (project-level), paste skill content into instructions

Setup guide →

Cline

~/.cline/skills/<skill>/SKILL.md, or add to .clinerules in your project

Setup guide →

Aider

.aider/skills/<skill>/SKILL.md, or reference via --read flag

Setup guide →

Continue.dev

~/.continue/skills/<skill>/SKILL.md, or add to .continuerules config

Setup guide →

Roo Code

~/.roo/skills/<skill>/SKILL.md, or add to .roorules in your project

Setup guide →

JetBrains AI

.junie/skills/<skill>/SKILL.md, or add to JetBrains AI instructions

Setup guide →

Zed

.zed/skills/<skill>/SKILL.md, or add to Zed AI assistant instructions

Setup guide →

Gemini CLI

GEMINI.md (project-level) or ~/.gemini/skills/<skill>/SKILL.md

Setup guide →

Install

One-click setup for your editor

Run in your project root

npx @skills-hub-ai/cli install skills-emotesjs --target claude-code

Examples

Prompt

How do I replace 'Pog' in chat messages with the emote image?

Output

```ts
import { EmotesJS } from 'emotesjs'

const emotes = new EmotesJS({ channelId: 123456 })
await emotes.isLoading

const message = 'Wow Pog is so cool!'
const rendered = emotes.parse(message)
console.log(rendered)
// Output: 'Wow <img srcset="..." alt="Pog" style="height:1.65rem" crossorigin/ > is so cool!'
```

Prompt

I want to display chat with emotes using colon syntax like :Pog:, how can I do that?

Output

```ts
import { EmotesJS } from 'emotesjs'

const emotes = new EmotesJS({ channelId: 123456, colon: true })
await emotes.isLoading

const chatText = 'Nice move :Pog: and then :KEKW:'
const htmlOutput = emotes.parse(chatText)
console.log(htmlOutput)
// Output: 'Nice move <img srcset="..." alt="Pog" style="height:1.65rem" crossorigin/> and then <img srcset="..." alt="KEKW" style="height:1.65rem" crossorigin/>'
```

Instructions

This skill doesn’t include stateful context yet, instructions only. Learn about stateful skills.

Security

Loading security scan...

Reviews (0)

Frequently asked questions about Skills — emotesjs

What does the Skills — emotesjs skill do?

emotesjs exists to solve a specific problem in Twitch/streaming chat UIs: **rendering 7TV emotes inline in plain text**. When a viewer types an emote name like `Pog` in chat, the raw message is just a string. emotesjs fetches the emote definitions for a channel (plus global emotes) from the 7TV API and replaces those tokens with responsive `<img>` tags — no dependencies, no bundler magic, just a small ESM library you drop in. It's a reusable SKILL.md instruction set that loads into your AI coding assistant on demand, no prompt engineering, no copy-pasting every session.

How do I install the Skills — emotesjs skill?

Run `npx @skills-hub-ai/cli install skills-emotesjs` from your terminal. The CLI writes the SKILL.md to the correct location for your AI tool (e.g. ~/.claude/skills/skills-emotesjs/ for Claude Code or ~/.cursor/skills/ for Cursor with --target cursor) and adds it to your project's .skills.json lockfile.

Which AI tools does Skills — emotesjs work with?

Skills — emotesjs runs in Claude Code, Cursor, Codex CLI, Windsurf, GitHub Copilot, Cline, Aider, OpenCode, Continue.dev, Roo Code, JetBrains AI, Zed, Gemini CLI. It follows the open Agent Skills standard (SKILL.md), so the same skill works in every supported tool without modification.

Is the Skills — emotesjs skill free?

Yes. Every skill on skills-hub.ai is free and open-source. There are no premium tiers, paywalls, or usage limits. You only pay for whatever AI assistant you're already using.

How do I use Skills — emotesjs after installing it?

In Claude Code, type `/skills-emotesjs` (or whatever slash command the skill registers) and the AI follows the skill's instructions immediately. You can also reference it by name in natural language, your AI loads the skill into context when relevant.

Can I share the Skills — emotesjs skill with my team?

Yes. Commit your project's .skills.json lockfile and teammates run `npx @skills-hub-ai/cli install` (no args) to install every skill at the exact version you pinned. Organization-scoped installs work via skills-hub.ai organizations.