qq-url-guard

qq-url-guard is a skill for Claude Code, Codex from Peiiii/nextclaw. It costs 42 tokens per session (338 once invoked), scanned A, original, MIT.

A message-safety guide for QQ, a Chinese messaging platform, that detects text QQ may mistake for a web address. It rewrites risky URLs, file names, and links into plain text when needed.

In plain words
What is it for?
Preparing private, group, or guild replies; replacing links with safe placeholders; and retrying a failed message with sanitized text.
Why use it?
It helps prevent QQ error 40034028, which blocks outgoing messages containing URL-like text.

Skill for Claude CodeCodex

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

Good fit Preparing private, group, or guild replies; replacing links with safe placeholders; and retrying a failed message with sanitized text.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/peiiii/nextclaw/qq-url-guard
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 Peiiii/nextclaw --skill qq-url-guard
Clone the repo
git clone --depth 1 https://github.com/Peiiii/nextclaw

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 qq-url-guard

README.md
[![agentmods](https://agentmods.dev/badge/skills/peiiii/nextclaw/qq-url-guard/github.svg)](https://agentmods.dev/skills/peiiii/nextclaw/qq-url-guard)
Your own site
<a href="https://agentmods.dev/skills/peiiii/nextclaw/qq-url-guard"><img src="https://agentmods.dev/badge/skills/peiiii/nextclaw/qq-url-guard/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 qq-url-guard

Your own site · 80×15
<a href="https://agentmods.dev/skills/peiiii/nextclaw/qq-url-guard"><img src="https://agentmods.dev/badge/skills/peiiii/nextclaw/qq-url-guard.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 42 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 338 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 1 finding, up to high

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • high System Prompt Leakage · line 23
    Skill contains instructions that could directly expose system prompts, internal rules, or hidden instructions to users or external parties.
    Fix: Remove any instructions that reveal, print, or output system prompts or internal rules. System instructions should never be exposed to end users.
How audits are shown
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.00042 $0.00338
Opus 5.5 $0.00017 $0.00135
Sonnet 5.5 $0.00008 $0.00068
Haiku 4.5 $0.00004 $0.00034

Measured 3mo ago against content hash 96a1c7ef077a, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

qq-url-guard 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 3mo 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/nextclaw-core/src/features/agent/shared/skills/qq-url-guard/SKILL.md · 41 lines

What it actually says

QQ URL Guard

Use this skill for QQ outbound replies (private/group/guild) when content may contain URL-like tokens.

Why

QQ may reject messages with:

  • code(40034028)
  • 请求参数不允许包含url

Common risky patterns:

  • xx.xx (domain-like text)
  • USER.md / README.md (file-like token treated as URL)
  • markdown links: [text](https://...)
  • plain URLs: https://... / www...

Output Rules

  1. Prefer plain text over markdown for QQ replies.
  2. Avoid raw URL-like strings in final QQ message.
  3. Replace risky parts with safe placeholders when needed:
    • URL -> [link]
    • .md token -> [file]
  4. Keep the sentence readable after replacement.

Safe Rewrite Examples

  • Source: USER.md -> Source: [file]
  • 详情见 https://example.com -> 详情见 [link]
  • [文档](https://example.com) -> 文档(链接已省略)

Operator Hint

If QQ send fails with 40034028, retry with sanitized plain text immediately.

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. 3mo ago First seen · 41 lines · 42 tokens per session scan A 96a1c7ef077a

Subscribe to this mod's changes

qq-url-guard is a skill published in the GitHub repository Peiiii/nextclaw (266 stars, last pushed today), licensed MIT. It adds 42 tokens to every session and 338 once invoked, about $0.0002 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.

Related

qq-url-guard compared with skills from other repositories

qq-url-guard next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
qq-url-guardPeiiii/nextclawSkill266todayMITA42Claude Code, Codex
ha-skill-creatorshiwenwen/hope-agentSkill1.9ktodayMITA106Claude Code
ha-browsershiwenwen/hope-agentSkill1.9ktodayMITA140Claude Code
ha-logsshiwenwen/hope-agentSkill1.9ktodayMITA183Claude Code, Codex
ha-pet-importshiwenwen/hope-agentSkill1.9ktodayMITA109Codex
ha-skill-installershiwenwen/hope-agentSkill1.9ktodayMITA82Claude Code, Codex
email-draftshiwenwen/hope-agentSkill1.9ktodayMITA46Claude Code, Codex