Per agent skill listing dedupe

From ychampion/cskill-agents · View interactive version

Per agent skill listing dedupe is an AI agent skill from the GitHub repository ychampion/cskill-agents. Keep skill-listing deltas scoped per agent or thread so each agent gets its own first-turn announcement surface.

How to use this skill

Skill file

SKILL: Per-Agent Skill Listing Dedupe

Domain: attachment-pipeline

Trigger: Use when a multi-agent runtime must announce new skills or capabilities without one thread's deltas erasing another thread's initial listing.

Source Pattern: Distilled from reviewed per-agent capability-announcement tracking implementations.

Core Method

Track which skill names were already sent to each agent separately rather than globally. Each agent or thread gets its own seen-set keyed by a stable agent identity, so the main thread announcing a listing does not make every subagent believe it already saw the same surface. When building the delta list for a given agent, compare only against that agent's set and update that set after sending.

Key Rules

Example Application

If a subagent is spawned in the middle of a long-running coding session, start it with its own empty seen-set. Even though the main thread already announced the skill surface, the subagent still gets a proper first-turn listing because its own history starts blank.

Anti-Patterns (What NOT to do)

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.