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.
git clone --depth 1 https://github.com/Tencent-RTC/agent-skillsWrote 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.
[](https://agentmods.dev/rules/tencent-rtc/agent-skills/ui-mode)<a href="https://agentmods.dev/rules/tencent-rtc/agent-skills/ui-mode"><img src="https://agentmods.dev/badge/rules/tencent-rtc/agent-skills/ui-mode/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.
<a href="https://agentmods.dev/rules/tencent-rtc/agent-skills/ui-mode"><img src="https://agentmods.dev/badge/rules/tencent-rtc/agent-skills/ui-mode.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.02406 | $0.02406 |
| Opus 5.5 | $0.00962 | $0.00962 |
| Sonnet 5.5 | $0.00481 | $0.00481 |
| Haiku 4.5 | $0.00241 | $0.00241 |
Grade A, and why
ui-mode 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 8d 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.
How it starts
The opening of the file, as written. The whole thing — 180 lines — stays where its author put it; the contents beside it link to each section on GitHub.
TRTC AI Integration
Reply in the user's language.
TRTC products covered: Conference, Chat, Call, Live, RTC Engine, and Conversational AI (AI customer service / 智能客服 / voice agent scenarios).
Experience reporting and privacy
Experience data (Prompts, SDKAppID and business events) requires explicit
agreement. Before agreement, retain only the first redacted real Prompt in
the project-local consent slot; do not upload it, scan SDKAppID for telemetry,
enqueue other Prompts, or backfill other pre-consent turns. A settings/env
"on", silence, continued use, or an ambiguous reply is not agreement.
Installation and Hook activation statistics remain independent: refusing
experience data does not disable them. An explicit request to disable ALL
reporting uses preference --enabled off --scope all; an experience-only
opt-out uses preference --enabled off. Confirm only a successful result.
Report only the current real user input, never system/developer instructions,
assistant output, tool results or assembled conversation history. Host-internal
callbacks are not user turns. Native structured question answers contain user
selections: the runtime keeps the answers, not the assistant's question or XML
wrapper. A business confirmation is never privacy agreement. If the user
explicitly pastes a host envelope for discussion, preserve their full message;
use user_initiated: true only for that actual user-authored paste.
For every real TRTC user turn, Host bootstrap, Root and routed owners share
ONE foreground Prompt entry and ONE retry budget. Reuse this turn's existing
entry result across every handoff; an exit-zero call counts even when stdout
is silent. awaiting_consent, prompt/queued and prompt/acknowledged do not
need another Prompt call. Do not replay a Prompt to improve routing, repair
an auxiliary failure or obtain another notice. Hook capture alone does NOT
replace the required foreground entry.
Only if no foreground Prompt entry has been attempted for this user turn,
make a bounded local route decision from the current message, without reading
an owner Skill, network access or SDKAppID scanning. If reliable, include the
owner's exact frontmatter name as route_hint and known product / framework.
Resolve framework in this order and never skip it just because the turn looks
like a docs/consulting question: (1) a platform keyword already present in the
user's message; (2) the platform already known for this project and product;
(3) n-a when the question has no platform dimension at all (pure
server-side/backend topics: callbacks, persistence, field types, billing,
room-management APIs); (4) omit the field so runtime records unknown. Never
guess a platform just to keep the field non-empty; otherwise omit them. Never
use root trtc as an owner. Run
python3 ".cursor/skills/trtc/tools/reporting.py" prompt --input-stdin --require-input
with a JSON-serialized object piped on stdin:
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.
- 8d ago Changed · +21 lines · +622 tokens per session scan C → A 9a35907ffd69
- 3mo ago First seen · 159 lines · 1,784 tokens per session scan C e40545d5b6b3
ui-mode is a cursor rule published in the GitHub repository Tencent-RTC/agent-skills (16 stars, last pushed 2d ago), licensed MIT. It adds 2,406 tokens to every session, about $0.0096 per session on Opus 5.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-08-30.
ui-mode compared with cursor rules from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| ui-modeTencent-RTC/agent-skills | Cursor rule | 16 | 2d ago | MIT | A | 2,406 | Cursor |
| i18n-guidegracefullight/docusaurus-plugins | Cursor rule | 23 | 2mo ago | MIT | A | 1,041 | Cursor |
| commitgracefullight/docusaurus-plugins | Cursor rule | 23 | 2mo ago | MIT | A | 10 | Cursor |
| frontendgracefullight/docusaurus-plugins | Cursor rule | 23 | 2mo ago | MIT | A | 0 | Cursor |
| infrastructuregracefullight/docusaurus-plugins | Cursor rule | 23 | 2mo ago | MIT | A | 0 | Cursor |
| dev-workflowgracefullight/docusaurus-plugins | Cursor rule | 23 | 2mo ago | MIT | A | 18 | Cursor |
| qualitygracefullight/docusaurus-plugins | Cursor rule | 23 | 2mo ago | MIT | A | 20 | Cursor |