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.
npx skills add Peiiii/nextclaw --skill qq-group-speaker-distinctiongit clone --depth 1 https://github.com/Peiiii/nextclawWrote 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/skills/peiiii/nextclaw/qq-group-speaker-distinction)<a href="https://agentmods.dev/skills/peiiii/nextclaw/qq-group-speaker-distinction"><img src="https://agentmods.dev/badge/skills/peiiii/nextclaw/qq-group-speaker-distinction/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/skills/peiiii/nextclaw/qq-group-speaker-distinction"><img src="https://agentmods.dev/badge/skills/peiiii/nextclaw/qq-group-speaker-distinction.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector pass
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.00032 | $0.00392 |
| Opus 5.5 | $0.00013 | $0.00157 |
| Sonnet 5.5 | $0.00006 | $0.00078 |
| Haiku 4.5 | $0.00003 | $0.00039 |
Grade A, and why
qq-group-speaker-distinction 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.
What it actually says
QQ Group Speaker Distinction
Use this skill when the user says "do not isolate by user in group chat" but still needs speaker separation.
Core Rule
- Keep one session key per group:
qq:group:{group_id}. - Attach speaker identity on each inbound message before it enters model context.
- Speaker identity must include stable
user_id; nickname is only a display field.
Minimal Implementation
const sessionKey = `qq:group:${groupId}`;
const speakerTag = `[speaker:user_id=${userId};name=${displayName ?? "unknown"}]`;
const modelInput = `${speakerTag} ${rawText}`;
Add one system instruction for QQ group sessions:
- "Use
[speaker:...]to distinguish participants. Do not merge different speakers."
Anti-Patterns
- Using
qq:group:{group_id}:user:{user_id}when shared group context is required. - Passing only nickname without stable
user_id. - Stripping speaker tags before session append or model input.
Validation Checklist
- Log
group_id,user_id, finalsession_key, and final model input. - Send two messages from different users in the same group.
- Confirm both messages hit the same
session_key. - Confirm each model input line has the correct
speaker:user_id=...tag.
Best-Practice Memory Split
- Conversation context: keyed by
group_idonly. - Optional profile memory: keyed by
group_id + user_idfor preference lookup only.
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.
- 3mo ago First seen · 45 lines · 32 tokens per session scan A d821a8dd561c
qq-group-speaker-distinction is a skill published in the GitHub repository Peiiii/nextclaw (266 stars, last pushed today), licensed MIT. It adds 32 tokens to every session and 392 once invoked, about $0.0001 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.
qq-group-speaker-distinction compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| qq-group-speaker-distinctionPeiiii/nextclaw | Skill | 266 | today | MIT | A | 32 | Claude Code, Codex |
| ha-skill-creatorshiwenwen/hope-agent | Skill | 1.9k | today | MIT | A | 106 | Claude Code |
| ha-browsershiwenwen/hope-agent | Skill | 1.9k | today | MIT | A | 140 | Claude Code |
| ha-logsshiwenwen/hope-agent | Skill | 1.9k | today | MIT | A | 183 | Claude Code, Codex |
| ha-pet-importshiwenwen/hope-agent | Skill | 1.9k | today | MIT | A | 109 | Codex |
| ha-skill-installershiwenwen/hope-agent | Skill | 1.9k | today | MIT | A | 82 | Claude Code, Codex |
| email-draftshiwenwen/hope-agent | Skill | 1.9k | today | MIT | A | 46 | Claude Code, Codex |