Additive agent tool surface construction

From ychampion/cskill-agents · View interactive version

Additive agent tool surface construction is an AI agent skill from the GitHub repository ychampion/cskill-agents. Merge agent-specific tool sets (MCP clients + fetched tools) into the parent context without disrupting the parent’s existing pool.

How to use this skill

Skill file

SKILL: Additive Agent Tool Surface Construction

Domain: tool-surface

Trigger: Use this when bringing tools from newly connected MCP servers into the agent’s tool pool while preserving the parent context.

Source Pattern: Distilled from reviewed subagent orchestration, isolation, and lifecycle implementations.

Core Method

When a child agent connects extra integrations, treat those capabilities as additions layered over the parent surface rather than as a replacement. Keep the parent client handles intact, append the agent-owned clients, and merge the newly discovered tool definitions alongside the inherited tool pool. Pass the merged clients, merged tools, and the child-owned cleanup handle downstream as one package so later stages can use the expanded surface without mutating the parent session.

Key Rules

Example Application

When a sub-agent launches with extra MCP servers, use this pattern so it keeps the parent integrations it inherited while also gaining the newly connected agent-specific tools.

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.