tool-selection-framework
БесплатноБез исполняемых скриптовНе проверенDesign systematic decision frameworks for selecting appropriate AI tools (Claude Code vs Gemini CLI) based on context requirements, codebase size, reasoning…
от aiskillstore★ 509 звёзд на GitHubОб этом скилле
Tool Selection Framework
Purpose
Enable developers to select the right AI tool for each development task through systematic evaluation of context requirements, codebase characteristics, and task complexity. This skill helps:
- Match tool capabilities (context window, reasoning depth, cost) to task requirements
- Design multi-phase workflows that leverage tool-specific strengths
- Optimize context utilization by choosing appropriate tool for codebase size
- Balance cost, performance, and reasoning depth based on project constraints
- Avoid wasting context with mismatched tool selection
- Create extensible decision frameworks that adapt to new tools
When to Activate
Use this skill when:
- Starting new project with uncertain tool requirements
- Codebase size approaches/exceeds Claude Code context limits (200K tokens)
- Task requires broad exploration (large codebase analysis, pattern discovery)
- Task requires deep reasoning (architectural decisions, security analysis)
- Multi-phase workflow needed (exploration → implementation)
- Optimizing cost/performance balance for long-term project
- Team asks "Should we use Claude Code or Gemini CLI for this?"
- Students learning context-aware development tool selection
Persona
"Think like a resource optimization engineer allocating specialized tools to tasks where each tool excels. Your goal is to maximize development productivity by matching tool capabilities—context window size, reasoning depth, cost efficiency—to specific task characteristics such as codebase size, complexity, and phase (exploration vs implementation)."
Questions (Analysis Framework)
Before selecting a tool or designing a multi-tool workflow, analyze through these questions:
Question 1: Codebase Size Assessment
"How many lines of code does this project have?"
Size Categories:
< 50K lines → Claude Code sufficient
- Rationale: 200K context window handles full codebase + conversation
- Action: Use Claude Code exclusively
- Example: Small web app, CLI tool, microservice
50K-500K lines → Evaluate task type
- Rationale: Codebase fits in Gemini (2M context) but may fit Claude Code with selective loading
- Decision depends on: Task type (exploration vs focused), reasoning depth needed
- Action: Apply Task Type Analysis (Question 2)
- Example: Medium web application, API backend, data processing system
> 500K lines → Gemini for exploration, Claude Code for implementation
- Rationale: Full codebase exceeds Claude Code context; Gemini handles broad analysis
- Action: Multi-phase workflow (Gemini → Claude Code)
- Example: Large monolith, multi-service platform, legacy system
How to measure:
# Count lines of code (excluding comments, blank lines)
cloc . --exclude-dir=node_modules,venv
Question 2: Task Type Evaluation
"Is this an exploration task or focused implementation?"
Exploration Tasks (Broad understanding, pattern discovery):
- Understanding unknown codebase architecture
- Finding all instances of pattern X across system
- Analyzing how feature Y is implemented everywhere
- Discovering dependencies and relationships
- Mapping data flow through large system
- Tool recommendation: Gemini CLI (2M context for broad scan)
Focused Implementation (Specific feature, bounded scope):
- Implementing one feature in known module
- Fixing specific bug in identified component
- Refactoring isolated function/class
- Adding unit tests for existing code
- Writing documentation for single module
- Tool recommendation: Claude Code (200K context sufficient, deep reasoning)
Hybrid Tasks (Both exploration and implementation):
- Feature spanning multiple unfamiliar modules
- Refactoring across unknown codebase
- Performance optimization requiring system understanding
- Tool recommendation: Multi-phase (Gemini explore → Claude Code implement)
Question 3: Reasoning Depth Requirements
"Does this task need deep architectural reasoning or surface-level pattern matching?"
Deep Reasoning Tasks (Architectural decisions, tradeoffs, security):
- System design decisions (choosing architecture)
- Security analysis (finding vulnerabilities)
- Performance optimization (algorithmic improvements)
- Complex refactoring (maintaining correctness)
- Architectural decision records (weighing tradeoffs)
- Tool recommendation: Claude Code (superior reasoning, latest models)
Pattern Matching Tasks (Applying known solutions, generating boilerplate):
- Generating CRUD operations
- Creating standard API endpoints
- Writing boilerplate configuration
- Finding code duplication
- Applying consistent formatting
- Tool recommendation: Either tool (pattern matching doesn't require deepest reasoning)
Exploration Tasks (Understanding existing patterns):
- Reading unf
Установить tool-selection-framework в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл tool-selection-framework?
Design systematic decision frameworks for selecting appropriate AI tools (Claude Code vs Gemini CLI) based on context requirements, codebase size, reasoning depth needs, and task complexity. Use this skill when starting projects with unclear tool requirements, optimizing context-constrained workflows, or designing multi-phase strategies that leverage multiple tools' strengths. This skill helps match tool capabilities to task characteristics, preventing wasted context and ensuring optimal resource allocation.
Как установить скилл tool-selection-framework?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл tool-selection-framework запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
mcp-builder
Guide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when…
от Anthropicclaude-api
Reference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER…
от Anthropicalgorithmic-art
Creating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code…
от Anthropicmcp-integration
This skill should be used when the user asks to "add MCP server", "integrate MCP", "configure MCP in plugin", "use .mcp.json", "set up Model Context…
от Anthropic