unicode

unicode is a cursor rule for Cursor from pr-pm/prpm. It costs 217 tokens per session, scanned A, original, MIT.

A small set of multilingual coding rules covering naming, comments, error handling, and avoiding unexplained numeric values.

In plain words
What is it for?
Use it as a general code-quality reference when writing variables, comments, and error-handling code in multilingual projects.
Why use it?
It provides the same basic coding reminders in Japanese, French, and Chinese, while also checking that non-English text and emoji remain usable.

Cursor rule for Cursor

Written for Cursor: a Cursor rule (.mdc).

Good fit Use it as a general code-quality reference when writing variables, comments, and error-handling code in multilingual projects.

Compare 6 cursor rules from other repositories ↓
Install with agentmods
npx agentmods add rules/pr-pm/prpm/unicode
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.

Clone the repo
git clone --depth 1 https://github.com/pr-pm/prpm

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 unicode

README.md
[![agentmods](https://agentmods.dev/badge/rules/pr-pm/prpm/unicode.svg)](https://agentmods.dev/rules/pr-pm/prpm/unicode)
Your own site
<a href="https://agentmods.dev/rules/pr-pm/prpm/unicode"><img src="https://agentmods.dev/badge/rules/pr-pm/prpm/unicode.svg" alt="Measured on agentmods" height="20"></a>
Per session 217 This file is loaded in full into every session.
When invoked 217 The same file — it is already loaded in full.
Security scan A 0 findings. 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.00217 $0.00217
Opus 5 $0.00109 $0.00109
Sonnet 5 $0.00043 $0.00043
Haiku 4.5 $0.00022 $0.00022

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

Security

Grade A, and why

unicode 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 4d 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.

packages/cli/test-fixtures/integration/edge-cases/unicode/files/unicode.mdc · 40 lines

What it actually says

Unicode Test Rule 🎉

日本語セクション

コードを書くときは以下のガイドラインに従ってください:

  1. 変数名は意味のある名前を使用する
  2. コメントは明確に書く
  3. テストを忘れずに書く

Section Française

Suivez ces bonnes pratiques:

  • Utilisez des noms de variables descriptifs
  • Écrivez des commentaires clairs
  • N'oubliez pas les tests

中文部分

编写代码时请遵循以下准则:

  • 使用有意义的变量名
  • 编写清晰的注释
  • 不要忘记编写测试

Emoji Support 🚀

  • ✅ Use meaningful variable names
  • ✅ Write clear comments
  • ✅ Don't forget tests
  • ❌ Don't use magic numbers
  • ❌ Don't skip error handling
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. 4d ago First seen · 40 lines · 217 tokens per session scan A 4e41a28a26d4

Subscribe to this mod's changes

unicode is a cursor rule published in the GitHub repository pr-pm/prpm (120 stars, last pushed 2mo ago), licensed MIT. It adds 217 tokens to every session, about $0.0011 per session on Opus 5. 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-09-03.