Agent skill

Qq Group Speaker Distinction

by Peiiii in Peiiii/nextclaw

A skill your agent uses when integrating QQ group chat where users want one shared group session, but the assistant must still distinguish who said each message.

MITAuto-check passed

Install Qq Group Speaker Distinction

skills CLI
$ npx skills add Peiiii/nextclaw --skill qq-group-speaker-distinction -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install Peiiii/nextclaw qq-group-speaker-distinction --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/Peiiii/nextclaw.git skills-src && mkdir -p .claude/skills && cp -r skills-src/packages/nextclaw-core/src/features/agent/shared/skills/qq-group-speaker-distinction .claude/skills/qq-group-speaker-distinction && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
qq-group-speaker-distinction
GitHub stars
260
Token cost
~415 tokens
SKILL.md length
163 words
Files
1
Skills in repo
70
Repo updated
First seen
Licence
MIT

At a glance

A skill your agent uses when integrating QQ group chat where users want one shared group session, but the assistant must still distinguish who said each message.

  • Works in 4 steps: Log group_id, user_id, final… → Send two messages from different users… → Confirm both messages hit the same… → …
  • Integrating QQ group chat where users want one shared group session
  • SKILL.md covers Core Rule, Minimal Implementation, Anti-Patterns and Validation Checklist, plus 1 more section
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Qq Group Speaker Distinction is an agent skill from Peiiii/nextclaw. Use when integrating QQ group chat where users want one shared group session, but the assistant must still distinguish who said each message.

Its SKILL.md is about 420 tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

The repository describes itself as: A human-centered long-term AI partner—not a task-centered assistant. The licence is MIT.

When your agent uses it

  • Integrating QQ group chat where users want one shared group session
  • But the assistant must still distinguish who said each message

Example prompts

  • “/qq-group-speaker-distinction”

Workflow steps

4 steps, taken from the first numbered list in SKILL.md.

  1. Log group_id, user_id, final session_key, and final model input.
  2. Send two messages from different users in the same group.
  3. Confirm both messages hit the same session_key.
  4. Confirm each model input line has the correct speaker:user_id=... tag.

What it can do on your machine

Read from SKILL.md and the folder at commit 4d9d500. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md (its code samples are typescript).

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Qq Group Speaker Distinction loads about 415 tokens when it runs. Until then it costs about 43 tokens; SKILL.md has 163 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~43
When it runs · the whole SKILL.md, loaded when a task matches
~415

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from Peiiii/nextclaw at commit 4d9d500, republished under its MIT licence (© Peiiii). 163 words, ~415 tokens.

Download SKILL.mdSave it as .claude/skills/qq-group-speaker-distinction/SKILL.md (or your agent's skills folder).
name
qq-group-speaker-distinction
description
Use when integrating QQ group chat where users want one shared group session, but the assistant must still distinguish who said each message.
description_zh
用于 QQ 群聊集成:保持一个共享群会话,同时让 AI 能区分每条消息来自哪位群成员。

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

ts
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

  1. Log group_id, user_id, final session_key, and final model input.
  2. Send two messages from different users in the same group.
  3. Confirm both messages hit the same session_key.
  4. Confirm each model input line has the correct speaker:user_id=... tag.

Best-Practice Memory Split

  • Conversation context: keyed by group_id only.
  • Optional profile memory: keyed by group_id + user_id for preference lookup only.

© Peiiii, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in packages/nextclaw-core/src/features/agent/shared/skills/qq-group-speaker-distinction of Peiiii/nextclaw.

Open the folder on GitHubat commit 4d9d500

Compare with similar skills

Qq Group Speaker Distinction next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Qq Group Speaker Distinction compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Qq Group Speaker Distinction this skillPeiiii/nextclaw260—~415Automated safety check: PassMIT
Integration Testingthedaviddias/Front-End-Checklist74k—~514Automated safety check: PassMIT
API Integrationsickn33/agentic-awesome-skills47k1 repos~1.3kAutomated safety check: PassMIT
Labarchive Integrationdavila7/claude-code-templates33k10 repos~2.3kAutomated safety check: PassMIT
Robius Matrix Integrationsickn33/agentic-awesome-skills47k2 repos~3.6kAutomated safety check: PassMIT
API Integration Architectsickn33/agentic-awesome-skills47k1 repos~2.3kAutomated safety check: PassMIT

Similar skills

  • Integration Testing

    thedaviddias/Front-End-Checklist

    A skill your agent uses when reviewing CI coverage, automated checks, or test strategy related to Write integration tests for key workflows.

    74k GitHub stars~514 tokensUpdated 5 days ago
    Testing & QAAuto-check passed
  • API Integration

    sickn33/agentic-awesome-skills

    Designs event-driven architectures, webhook systems, API chaining flows, ETL pipelines, and integration patterns between services.

    47k GitHub starsUsed in 1 repo~1.3k tokens
    Backend & APIsAuto-check passed
  • Labarchive Integration

    davila7/claude-code-templates

    Electronic lab notebook API integration. An agent skill from davila7/claude-code-templates.

    33k GitHub starsUsed in 10 repos~2.3k tokens
    Backend & APIsAuto-check passed
  • Robius Matrix Integration

    sickn33/agentic-awesome-skills

    CRITICAL: Use for Matrix SDK integration with Makepad. An agent skill from sickn33/agentic-awesome-skills.

    47k GitHub starsUsed in 2 repos~3.6k tokens
    Backend & APIsAuto-check passed
  • API Integration Architect

    sickn33/agentic-awesome-skills

    Design, implement, debug, and optimize API integrations with expert-level patterns for REST, GraphQL, webhooks, and authentication flows.

    47k GitHub starsUsed in 1 repo~2.3k tokens
    Backend & APIsAuto-check passed
  • Integrate Context Matic

    github/awesome-copilot

    Official

    Discovers and integrates third-party APIs using the context-matic MCP server.

    40k GitHub starsUsed in 1 repo~1.6k tokens
    Backend & APIsAuto-check: notes

More from Peiiii/nextclaw

All 70 skills in this repo
  • Nextclaw Skin Studio

    Peiiii/nextclaw

    A skill your agent uses when a user wants to browse, apply, inspect, create, refine, switch, or remove a NextClaw skin; wants a personal skin with arbitrary CSS, JavaScript, images, SVG, DOM…

    260 GitHub stars~1.8k tokensUpdated yesterday
    Auto-check passed
  • A skill your agent uses when a development task needs visible phase tracing, task-level or phase-level Token measurement, model/effort comparison, or a deterministic usage report or local dashboard…

    260 GitHub stars~802 tokensUpdated yesterday
    Auto-check passed
  • 当 NextClaw 产品更新后需要生成、替换、挑毛病或检查官网、GitHub README、用户文档或社交传播中的真实截图、AI 宣传视觉、整页 HTML 宣传预览、社区二维码等对外视觉资产时使用;也用于“更新截图”“重新截一批图”“做宣传页”“生成 campaign 页面”“视觉审稿”“五星挑刺法”或发布前检查视觉资产。普通站点布局开发或只写文章不触发。

    260 GitHub stars~801 tokensUpdated yesterday
    Auto-check passed
  • UI UX Pro Max

    Peiiii/nextclaw

    A skill your agent uses when the user wants professional UI/UX design guidance, design-system generation, UX review, or stack-specific frontend guidance through a bundled local UI/UX Pro Max dataset…

    260 GitHub stars~2k tokensUpdated yesterday
    Auto-check passed
  • Impeccable

    Peiiii/nextclaw

    A skill your agent uses when the user wants distinctive, production-grade frontend design, anti-generic AI aesthetics, UX critique, technical UI audits, or final polish through bundled Impeccable…

    260 GitHub stars~2.5k tokensUpdated yesterday
    Auto-check passed
  • Curate NextClaw skill resources, including OpenClaw and community sources.

    260 GitHub stars~479 tokensUpdated yesterday
    Auto-check passed

Questions about Qq Group Speaker Distinction

What does Qq Group Speaker Distinction do?

A skill your agent uses when integrating QQ group chat where users want one shared group session, but the assistant must still distinguish who said each message. Qq Group Speaker Distinction is an agent skill from Peiiii/nextclaw. Use when integrating QQ group chat where users want one shared group session, but the assistant must still distinguish who said each message.

When should I use Qq Group Speaker Distinction?

Qq Group Speaker Distinction fits situations like: integrating QQ group chat where users want one shared group session; but the assistant must still distinguish who said each message.

How do I install Qq Group Speaker Distinction in Claude Code?

Run `npx skills add Peiiii/nextclaw --skill qq-group-speaker-distinction -a claude-code`. Or copy the skill folder (packages/nextclaw-core/src/features/agent/shared/skills/qq-group-speaker-distinction in Peiiii/nextclaw) into .claude/skills/qq-group-speaker-distinction in your project. Claude Code loads it when a task matches its description.

How do I install Qq Group Speaker Distinction in Codex?

Run `npx skills add Peiiii/nextclaw --skill qq-group-speaker-distinction -a codex`. Or copy the skill folder (packages/nextclaw-core/src/features/agent/shared/skills/qq-group-speaker-distinction in Peiiii/nextclaw) into .agents/skills/qq-group-speaker-distinction in your project. Codex loads it when a task matches its description.

Can I use Qq Group Speaker Distinction in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add Peiiii/nextclaw --skill qq-group-speaker-distinction -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/qq-group-speaker-distinction, .gemini/skills/qq-group-speaker-distinction, .github/skills/qq-group-speaker-distinction and .opencode/skills/qq-group-speaker-distinction in your project.

What does Qq Group Speaker Distinction need to run?

SKILL.md names no scripts, command-line tools or credentials: Qq Group Speaker Distinction is instructions for the agent only.

Does Qq Group Speaker Distinction access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Qq Group Speaker Distinction safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Qq Group Speaker Distinction use?

Qq Group Speaker Distinction is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Qq Group Speaker Distinction use?

About 415 tokens (SKILL.md is roughly 1.7k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Qq Group Speaker Distinction?

Skills that share tags, products or a category with Qq Group Speaker Distinction: Integration Testing (thedaviddias/Front-End-Checklist, 74k stars), API Integration (sickn33/agentic-awesome-skills, 47k stars), Labarchive Integration (davila7/claude-code-templates, 33k stars) and Robius Matrix Integration (sickn33/agentic-awesome-skills, 47k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Qq Group Speaker Distinction?

Peiiii (a GitHub user) maintains it in Peiiii/nextclaw, which has 260 GitHub stars. The repository holds 70 skills in this directory. The repository was last updated on October 9, 2026.

Source: Peiiii/nextclaw on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.