custom-emoji

custom-emoji is a skill for Claude Code, Codex from yc-software/qm. It costs 39 tokens per session (1,704 once invoked), scanned A, original, MIT.

A workflow for adding or using custom emoji in Slack, including finding an existing emoji, downloading one, or generating an image for a specific reaction. Slack is a team messaging service where custom emoji can be used in message reactions.

In plain words
What is it for?
Use it to react to messages with an existing or newly sourced custom emoji, or to create an emoji for a joke, meme, logo, or team moment.
Why use it?
It provides a way to use a fitting reaction when the workspace has no suitable built-in or custom emoji, and it covers refreshing Slack sign-in when needed.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to react to messages with an existing or newly sourced custom emoji, or to create an emoji for a joke, meme, logo, or team moment.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/yc-software/qm/custom-emoji
About the project

QM is a shared work environment for coding agents that gives each employee and conversation an isolated workspace while allowing collaboration in Slack and on the web. Startups use it to run agents for individuals, teams, and company operations, with selectable harnesses and models. The catalogue entries extend QM with skills, instructions, and settings.

yc-software/qm · 16,126 stars · on GitHub · labs.ycombinator.com

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add yc-software/qm --skill custom-emoji
Clone the repo
git clone --depth 1 https://github.com/yc-software/qm

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for custom-emoji

README.md
[![agentmods](https://agentmods.dev/badge/skills/yc-software/qm/custom-emoji/github.svg)](https://agentmods.dev/skills/yc-software/qm/custom-emoji)
Your own site
<a href="https://agentmods.dev/skills/yc-software/qm/custom-emoji"><img src="https://agentmods.dev/badge/skills/yc-software/qm/custom-emoji/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for custom-emoji

Your own site · 80×15
<a href="https://agentmods.dev/skills/yc-software/qm/custom-emoji"><img src="https://agentmods.dev/badge/skills/yc-software/qm/custom-emoji.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 39 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,704 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00039 $0.01704
Opus 5.5 $0.00016 $0.00682
Sonnet 5.5 $0.00008 $0.00341
Haiku 4.5 $0.00004 $0.00170

Measured 11d ago against content hash 11ed91ade3cd, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

custom-emoji scanned grade A with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 11d ago.

The scan reads SKILL.md. This mod also ships 1 executable file (scripts/slack-emoji-normalize.py), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

find it on Slackmojis (https://slackmojis.com) or the web with `curl` (their emoji pages are
skills-seed/custom-emoji/SKILL.md · 118 lines

How it starts

The opening of the file, as written. The whole thing — 118 lines — stays where its author put it; the contents beside it link to each section on GitHub.

When the right reaction to a message is a custom emoji — a meme, an inside joke, something with more personality than a stock Unicode emoji — you can reach for one even if it isn't in the workspace yet. This is mostly for when a person asks ("react with something funny", "make an emoji of X", "we need a :shipit:"), but use your judgment when a custom emoji would genuinely land better than a plain one.

The flow, cheapest first:

  1. Reuse what's already here. If a custom emoji that fits is already in the workspace, just react with it — [[react: name]] — and you're done. No browser, instant. (The workspace's custom emoji are in your reaction vocabulary.)

  2. Fetch a fitting one. If nothing in the workspace fits but you know the emoji that would (you know meme culture — "this is fine", "coffin dance", "lolsob", "party parrot"…), get its image: find it on Slackmojis (https://slackmojis.com) or the web with curl (their emoji pages are plain HTML — grep the image URL out), then download it with curl -L -o /tmp/<name>.png "<url>". Step 4 sizes it for Slack.

  3. Generate one. For an original or specific picture ("our logo on fire"), or when someone asks you to make, draw or animate an emoji, make the picture with an image model you have access to (for example OpenAI's image generation or edit API when OPENAI_API_KEY is set), asking for a square image on a transparent or simple background. If it should move, animate that one image in code with Pillow (pan, zoom, pulse, shake, spin, fade) and save a looping GIF; don't ask the image model for one picture per frame, since the frames won't line up.

  4. Size it for Slack, then add it to the workspace. Slack caps a custom emoji at 128×128 and 128KB, so first normalize the image (this preserves aspect ratio and keeps GIFs animated):

    /opt/browser-engine/venv/bin/python <skill dir>/scripts/slack-emoji-normalize.py \
      --file /tmp/<name>.png --out /tmp/<name>.emoji.png
    

    Then base64 the normalized file and POST it to the emoji endpoint ($AGENT_API_URL and $AGENT_API_TOKEN are already in your environment). The upload runs core-side under your own Slack session, or a configured fallback account if you don't have one — you don't touch any browser yourself:

    B64=$(base64 -w0 /tmp/<name>.emoji.png)
    curl -sS -X POST "$AGENT_API_URL/v1/emoji" \
      -H "x-agent-capability: $AGENT_API_TOKEN" -H 'content-type: application/json' \
      -d "{\"name\":\"<name>\",\"image\":\"$B64\"}"
    

    Pick a clean, lowercase short name (letters, digits, _ - +). On success you get {"ok":true,"name":"<name>",...}; if the emoji already exists that's still success — it's ready to use. An {"ok":false,"error":...} says what went wrong in plain words; fix what you can and tell the person the rest. If it says the Slack session expired or there's no saved session, follow When the upload says the Slack session expired below, then retry.

  5. Use it. React with [[react: <name>]], or write :<name>: in a message.

When the upload says the Slack session expired (or there is none)

The uploader adds emoji as a real Slack user, using a browser sign-in QM keeps for that person. Slack has no emoji API outside Enterprise Grid, so when that sign-in expires the fix is for the person you're helping to sign in to Slack once more, and for you to save it. It takes them about a minute; you do everything else.

Use the browse skill's browser with the person's own profile (read it and its provider doc first; same sandbox_id and credentials throughout). The sign-in lands in their profile too, so next time this usually needs no one.

  1. Create the browser exactly as the provider doc says for a sign-in that should be kept. Workspace host: the one from the upload error, or the connected workspace (WS=acme.slack.com).
  2. Open Slack and see whether they're already signed in. This opens the workspace and exports its cookies to a file (never print them):

Read the full file on GitHub · 118 lines

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 11d ago First seen · 118 lines · 39 tokens per session scan A 11ed91ade3cd

Subscribe to this mod's changes

custom-emoji is a skill published in the GitHub repository yc-software/qm (16,126 stars, last pushed today), licensed MIT. It adds 39 tokens to every session and 1,704 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-11-20.

Related

custom-emoji compared with skills from other repositories

custom-emoji next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
custom-emojiyc-software/qmSkill16ktodayMITA39Claude Code, Codex
node-inspect-debuggeropenclaw/openclawSkill395ktodayMITA28Claude Code, Codex
lobsteropenclaw/openclawSkill395ktodayMITA16Claude Code, Codex
knowledge-captureopenclaw/openclawSkill395ktodayMITA60Claude Code, Codex
knowledge-ingestopenclaw/openclawSkill395ktodayMITA80Claude Code, Codex
knowledge-recallopenclaw/openclawSkill395ktodayMITA40Claude Code, Codex
migrating-openai-agents-sdk-to-pydantic-aipydantic/pydantic-aiSkill21ktodayMITA87Codex