model-delegate

Route text-based subtasks to OpenCode lazer models using predefined rules.

Updated May 11, 2025
One-click install
npx skills add https://github.com/rogsme/dotfiles --skill model-delegate
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: model-delegate
Source: https://github.com/rogsme/dotfiles/tree/main/.claude/skills/model-delegate
Command: npx skills add https://github.com/rogsme/dotfiles --skill model-delegate

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires opencode, and includes scripts (resource) and references (resource) and assets (resource) components.

What problem does it solve?

This Skill streamlines task delegation to different OpenCode lazer models, optimizing for speed, cost, and accuracy, and reduces cognitive load for complex workflows.

Core Features & Use Cases

  • Task Delegation: Route subtasks to the most appropriate lazer models based on the task's nature and constraints.
  • Cost Optimization: Select models that balance cost with performance, ensuring cost-effective task execution.
  • Accuracy Enhancement: Leverage model-specific strengths to achieve high accuracy in complex tasks.
  • Use Case: For instance, when processing a large codebase, this Skill can offload certain tasks to faster, cheaper models, optimizing for both time and budget.

Quick Start

Delegate the task of analyzing a large codebase to the 'qwen-3.7-plus' model with the command: model-delegate analyze codebase.

Frequently Asked Questions about model-delegate

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

FAQPage Schema
How do I route code analysis tasks to different OpenCode lazer models?

You can route code analysis tasks to OpenCode lazer models by using predefined rules that delegate subtasks based on task complexity, cost, and model strengths. This ensures tasks are matched to the most appropriate model for execution.

What is the best way to optimize model costs when processing a large codebase?

The best way to optimize model costs when processing a large codebase is to delegate subtasks to faster, cheaper lazer models. This approach balances cost with performance, ensuring cost-effective task execution without sacrificing accuracy.

Do I need the OpenCode CLI to delegate tasks to lazer models?

Yes, you need the OpenCode CLI and lazer model access to delegate tasks. The Skill requires this environment to route text-based subtasks and handle data processing with model-specific optimizations.

How does task delegation improve accuracy for complex code generation?

Task delegation improves accuracy for complex code generation by leveraging model-specific strengths. Routing subtasks to appropriate lazer models ensures high accuracy by matching the task nature with the optimal model capabilities.

Can I automate text generation workflows by delegating subtasks to specific lazer models?

Yes, you can automate text generation workflows by routing text-based subtasks to specific lazer models. The delegation process uses predefined routing rules to handle tasks like text generation and data processing efficiently.

What are the limitations of using predefined routing rules for model delegation?

The limitations of using predefined routing rules for model delegation involve being constrained to the defined task complexity and cost parameters. Deviations from these predefined rules may require manual configuration to route subtasks effectively.