client-compatibility

Detect host environments to adapt agent spawning and tool availability.

Updated Apr 16, 2026
One-click install
npx skills add https://github.com/Quintenps/contactswap-agents --skill client-compatibility-quintenps
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: client-compatibility
Source: https://github.com/Quintenps/contactswap-agents/tree/main/.copilot/skills/client-compatibility
Command: npx skills add https://github.com/Quintenps/contactswap-agents --skill client-compatibility-quintenps

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill resolves platform-specific limitations when running AI agents across different environments like CLI, VS Code, and JetBrains, ensuring consistent behavior regardless of the host surface.

Core Features & Use Cases

  • Platform Detection: Automatically identifies the host environment to select the optimal spawning tool.
  • Adaptive Spawning: Switches between CLI-based task execution and VS Code-native subagent spawning.
  • Use Case: When a user triggers an agent from VS Code, the skill automatically bypasses CLI-only tools like SQL and optimizes parallel execution to ensure the agent functions correctly within the editor's constraints.

Quick Start

Use the client-compatibility skill to detect the current environment and adapt the agent spawning strategy accordingly.

Frequently Asked Questions about client-compatibility

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I handle cross-platform AI agent spawning across CLI and VS Code environments?

Cross-platform AI agent spawning requires detecting the host environment to dynamically adjust agent logic. This ensures functional parity by mapping CLI-specific features to VS Code-compatible subagent patterns and bypassing unsupported tools like SQL in editor environments.

Why does my AI agent fail when executing tasks from VS Code instead of the CLI?

AI agents fail in VS Code when they attempt to use CLI-only tools or unsupported features. Platform detection identifies the host environment and bypasses these constraints, optimizing parallel execution to ensure the agent functions correctly within the editor.

Can I use CLI-specific tools like SQL when running subagents inside VS Code?

Using CLI-specific tools like SQL inside VS Code is restricted to ensure functional parity. The system enforces platform-appropriate tool usage by avoiding unsupported features and switching to VS Code-native subagent spawning patterns instead.

What's the best way to ensure consistent AI agent behavior across different host surfaces like JetBrains and CLI?

Consistent AI agent behavior across host surfaces like JetBrains and CLI is achieved through adaptive spawning. This mechanism detects the current platform and automatically selects the optimal task execution tool to bypass surface-specific limitations.

Do I need to manually configure platform detection logic for cross-platform orchestration?

Manual configuration for platform detection is unnecessary. The system automatically identifies the host environment to dynamically adjust agent spawning logic, mapping CLI features to compatible subagent patterns without manual intervention.