Skip skill listing without skill tool

From ychampion/cskill-agents · View interactive version

Skip skill listing without skill tool is an AI agent skill from the GitHub repository ychampion/cskill-agents. Omit skill-listing attachments for agents that do not expose the Skill tool, so discoverability context is only sent where it can be acted on.

How to use this skill

Skill file

SKILL: Skip Skill Listing Without Skill Tool

Domain: command-surfaces

Trigger: Apply when an attachment or context injector is about to advertise capabilities to an agent that may not have the tool needed to use them.

Source Pattern: Distilled from reviewed command-surface and listing-control patterns.

Core Method

Before generating capability-discovery context, verify that the receiving agent actually exposes the execution surface for it. If the agent lacks the Skill tool, return no skill-listing attachment at all rather than spending tokens on a catalog it cannot invoke. This keeps the prompt focused on actionable affordances and avoids confusing agents with instructions they have no mechanism to execute.

Key Rules

Example Application

If a background helper agent is configured only with file and shell tools, skip injecting a skill catalog even if the parent session supports skills. The helper sees only the tools it can actually use, while the main agent continues receiving skill-listing updates normally.

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.