Agent skill
ck:use-mcp
Utilize MCP server tools with intelligent discovery and execution.
Install this agent skill to your Project
npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/other/other/use-mcp-jorgezuloaga-audio-dev-mcps
SKILL.md
MCP Tool Execution
Execute MCP operations via Gemini CLI to preserve context budget.
Execution Steps
-
Execute task via Gemini CLI (using stdin pipe for MCP support):
bash# IMPORTANT: Use stdin piping, NOT -p flag (deprecated, skips MCP init) # Read model from .claude/.ck.json: gemini.model (default: gemini-3-flash-preview) echo "$ARGUMENTS. Return JSON only per GEMINI.md instructions." | gemini -y -m <gemini.model> -
Fallback to mcp-manager subagent (if Gemini CLI unavailable):
- Use
mcp-managersubagent to discover and execute tools - If the subagent got issues with the scripts of
ck:mcp-managementskill, useck:mcp-builderskill to fix them - DO NOT create ANY new scripts
- The subagent can only use MCP tools if any to achieve this task
- If the subagent can't find any suitable tools, just report it back to the main agent to move on to the next step
- Use
Important Notes
- MUST use stdin piping - the deprecated
-pflag skips MCP initialization - Use
-yflag to auto-approve tool execution - GEMINI.md auto-loaded: Gemini CLI automatically loads
GEMINI.mdfrom project root, enforcing JSON-only response format - Parseable output: Responses are structured JSON:
{"server":"name","tool":"name","success":true,"result":<data>,"error":null}
Anti-Pattern (DO NOT USE)
# BROKEN - deprecated -p flag skips MCP server connections!
gemini -y -m <gemini.model> -p "..."
# ALSO BROKEN - --model flag with -p
gemini -y -p "..." --model gemini-3-flash-preview
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
Didn't find tool you were looking for?