mojiemoji-github

mojiemoji-github is a cursor rule for Cursor from jozobeer/mojiemoji-plugin. It costs 0 tokens per session (653 once invoked), scanned A, original, MIT.

A Cursor rule that adds mojiemoji stamps to Japanese Markdown before it is posted to GitHub. It covers issues, pull requests, reviews, comments, and release notes.

In plain words
What is it for?
Use it when preparing Japanese GitHub text with the mojiemoji command. It also checks repository merge settings before decorating pull request bodies.
Why use it?
It avoids manually creating the stamps and helps prevent them from being copied into merge commits when a repository uses the pull request body as the commit message.

Cursor rule for Cursor

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.

agentmods
npx agentmods add rules/jozobeer/mojiemoji-plugin/mojiemoji-github
Clone the repo
git clone --depth 1 https://github.com/jozobeer/mojiemoji-plugin

Made for: Cursor.

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 mojiemoji-github

README.md
[![agentmods](https://agentmods.dev/badge/rules/jozobeer/mojiemoji-plugin/mojiemoji-github.svg)](https://agentmods.dev/rules/jozobeer/mojiemoji-plugin/mojiemoji-github)
Your own site
<a href="https://agentmods.dev/rules/jozobeer/mojiemoji-plugin/mojiemoji-github"><img src="https://agentmods.dev/badge/rules/jozobeer/mojiemoji-plugin/mojiemoji-github.svg" alt="Measured on agentmods" height="20"></a>
Per session 0 Nothing until a file matches its globs; then the whole rule loads.
When invoked 653 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00000 $0.00653
Opus 5 $0.00000 $0.00327
Sonnet 5 $0.00000 $0.00131
Haiku 4.5 $0.00000 $0.00065

Measured 3d ago against content hash b2f1f6eaac93, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

mojiemoji-github scanned grade A with 0 findings 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 3d ago.

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.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

harnesses/cursor/.cursor/rules/mojiemoji-github.mdc · 67 lines

How it starts

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

mojiemoji-github (Cursor Rule)

For Japanese GitHub Markdown, Cursor should call the shared mojiemoji core before submitting an issue, PR, review, comment, or release note.

Run the published core before posting:

uvx mojiemoji < body.md > decorated.md

uvx resolves the mojiemoji distribution from PyPI on first use, so no repository checkout and no manual install are involved. Paste or pipe the decorated output into the GitHub command. Do not hand-build stamp URLs when the core can render them.

PR bodies need one check the core does not perform: GitHub can copy the PR body into squash / merge commit messages, and stamps must not leak into commit history. Before decorating a PR body, run

gh api 'repos/{owner}/{repo}' --jq '(.allow_squash_merge and .squash_merge_commit_message == "PR_BODY") or (.allow_merge_commit and .merge_commit_message == "PR_BODY")'

from inside the target repository, and when it prints true, post the PR body undecorated — only an explicit user request overrides this. Every other surface (issue body, review body, comment, release note) is decorated unconditionally.

Every rendered stamp should use /emoji/<encoded-text> with font, color, animation, background, outline, and outline_width. Inline output should use background=transparent and outline_width=2.

Recommended values: colors a855f7, 22c55e, f59e0b, 06b6d4, f472b6; animations bane, bure, kirari, yoko_scroll, zairu.

If a Japanese body is intentionally plain, wrap the plain region with <!-- mojiemoji:off --> and <!-- mojiemoji:on -->.

Canonical Policies

These policies mirror the canonical skill and are not automated in this harness, so apply them by hand:

  • Color-shifting animations (kira / disco / psycho) must omit outline and outline_width; a fixed-color outline fights the hue cycle. All other animations keep the full six-parameter set.
  • Skip decoration entirely for English-only bodies and for apology, security, legal, compliance, and acceptance-criteria text.
  • Keep shields.io badge rows as the first line of the body; stamps start below them.
  • prestamp output is the mechanical first pass (catalog hits only). Add inline decoration for the remaining phrases afterwards, then show the decorated body to the user and get confirmation before posting.

Read the full file on GitHub · 67 lines

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. 3d ago First seen · 67 lines · 0 tokens per session scan A b2f1f6eaac93

Subscribe to this mod's changes

mojiemoji-github is a cursor rule published in the GitHub repository jozobeer/mojiemoji-plugin (4 stars, last pushed 6d ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 653 tokens. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.