From bbd787048346fd80790b98482a750455556d0cc3 Mon Sep 17 00:00:00 2001 From: Hugo Nijhuis Date: Sun, 11 Jan 2026 00:05:40 +0100 Subject: [PATCH] Configure model settings for commands, agents, and skills Set explicit model preferences to optimize for speed vs capability: - haiku: 11 commands, 2 agents (issue-worker, pr-fixer), 10 skills Fast execution for straightforward tasks - sonnet: 4 commands (groom, improve, plan-issues, review-pr), 1 agent (code-reviewer) Better judgment for analysis and review tasks - opus: 2 commands (arch-refine-issue, arch-review-repo), 1 agent (software-architect) Deep reasoning for architectural analysis Co-Authored-By: Claude Opus 4.5 --- agents/issue-worker/agent.md | 1 + agents/pr-fixer/agent.md | 1 + commands/arch-refine-issue.md | 1 + commands/arch-review-repo.md | 1 + commands/create-issue.md | 1 + commands/create-repo.md | 1 + commands/groom.md | 1 + commands/improve.md | 1 + commands/manifesto.md | 1 + commands/plan-issues.md | 1 + commands/retro.md | 1 + commands/review-pr.md | 1 + commands/spawn-issues.md | 1 + commands/spawn-pr-fixes.md | 1 + commands/update-claude-md.md | 1 + commands/vision.md | 1 + commands/work-issue.md | 1 + skills/backlog-grooming/SKILL.md | 1 + skills/capability-writing/SKILL.md | 4 ++-- skills/claude-md-writing/SKILL.md | 1 + skills/code-review/SKILL.md | 1 + skills/gitea/SKILL.md | 1 + skills/issue-writing/SKILL.md | 1 + skills/repo-conventions/SKILL.md | 1 + skills/roadmap-planning/SKILL.md | 1 + skills/software-architecture/SKILL.md | 1 + skills/vision-management/SKILL.md | 1 + 27 files changed, 28 insertions(+), 2 deletions(-) diff --git a/agents/issue-worker/agent.md b/agents/issue-worker/agent.md index ac47049..fa05623 100644 --- a/agents/issue-worker/agent.md +++ b/agents/issue-worker/agent.md @@ -1,5 +1,6 @@ --- name: issue-worker +model: haiku description: Autonomous agent that implements a single issue in an isolated git worktree # Model: sonnet provides balanced speed and capability for implementation tasks. # Implementation work benefits from good code understanding without requiring diff --git a/agents/pr-fixer/agent.md b/agents/pr-fixer/agent.md index aec0adb..84d824b 100644 --- a/agents/pr-fixer/agent.md +++ b/agents/pr-fixer/agent.md @@ -1,5 +1,6 @@ --- name: pr-fixer +model: haiku description: Autonomous agent that addresses PR review feedback in an isolated git worktree # Model: sonnet provides balanced speed and capability for addressing feedback. # Similar to issue-worker, pr-fixer benefits from good code understanding diff --git a/commands/arch-refine-issue.md b/commands/arch-refine-issue.md index 5922bcc..6d0d2f7 100644 --- a/commands/arch-refine-issue.md +++ b/commands/arch-refine-issue.md @@ -1,5 +1,6 @@ --- description: Refine an issue with architectural perspective. Analyzes existing codebase patterns and provides implementation guidance. +model: opus argument-hint: --- diff --git a/commands/arch-review-repo.md b/commands/arch-review-repo.md index 01e2246..9f4074f 100644 --- a/commands/arch-review-repo.md +++ b/commands/arch-review-repo.md @@ -1,5 +1,6 @@ --- description: Perform a full architecture review of the current repository. Analyzes structure, patterns, dependencies, and generates prioritized recommendations. +model: opus argument-hint: context: fork --- diff --git a/commands/create-issue.md b/commands/create-issue.md index ebe1c80..d2d2653 100644 --- a/commands/create-issue.md +++ b/commands/create-issue.md @@ -1,5 +1,6 @@ --- description: Create a new Gitea issue. Can create single issues or batch create from a plan. +model: haiku argument-hint: [title] or "batch" --- diff --git a/commands/create-repo.md b/commands/create-repo.md index 317f799..6914a97 100644 --- a/commands/create-repo.md +++ b/commands/create-repo.md @@ -1,5 +1,6 @@ --- description: Create a new repository with standard structure. Scaffolds vision.md, CLAUDE.md, and CI configuration. +model: haiku argument-hint: context: fork --- diff --git a/commands/groom.md b/commands/groom.md index d3e7b45..c8e1e36 100644 --- a/commands/groom.md +++ b/commands/groom.md @@ -1,5 +1,6 @@ --- description: Groom and improve issues. Without argument, reviews all open issues. With argument, grooms specific issue. +model: sonnet argument-hint: [issue-number] --- diff --git a/commands/improve.md b/commands/improve.md index 2cbe9ed..94c1123 100644 --- a/commands/improve.md +++ b/commands/improve.md @@ -1,5 +1,6 @@ --- description: Identify improvement opportunities based on product vision. Analyzes gaps between vision goals and current backlog. +model: sonnet argument-hint: context: fork --- diff --git a/commands/manifesto.md b/commands/manifesto.md index 21adaa2..b463c14 100644 --- a/commands/manifesto.md +++ b/commands/manifesto.md @@ -1,5 +1,6 @@ --- description: View and manage the organization manifesto. Shows identity, personas, beliefs, and principles. +model: haiku argument-hint: --- diff --git a/commands/plan-issues.md b/commands/plan-issues.md index 85c7bce..8fa0bab 100644 --- a/commands/plan-issues.md +++ b/commands/plan-issues.md @@ -1,5 +1,6 @@ --- description: Plan and create issues for a feature or improvement. Breaks down work into well-structured issues with vision alignment. +model: sonnet argument-hint: context: fork --- diff --git a/commands/retro.md b/commands/retro.md index 5adfff4..1d6b8b9 100644 --- a/commands/retro.md +++ b/commands/retro.md @@ -1,5 +1,6 @@ --- description: Run a retrospective on completed work. Captures insights as issues for later encoding into skills/commands/agents. +model: haiku argument-hint: [task-description] --- diff --git a/commands/review-pr.md b/commands/review-pr.md index 6e2c8b2..53c1002 100644 --- a/commands/review-pr.md +++ b/commands/review-pr.md @@ -1,5 +1,6 @@ --- description: Review a Gitea pull request. Fetches PR details, diff, and comments. Includes both code review and software architecture review. +model: sonnet argument-hint: --- diff --git a/commands/spawn-issues.md b/commands/spawn-issues.md index 3a8779b..fde6343 100644 --- a/commands/spawn-issues.md +++ b/commands/spawn-issues.md @@ -1,5 +1,6 @@ --- allowed-tools: Bash, Task, Read, TaskOutput +model: haiku description: Orchestrate parallel issue implementation with review cycles argument-hint: [...] --- diff --git a/commands/spawn-pr-fixes.md b/commands/spawn-pr-fixes.md index 47304e5..6fcee5e 100644 --- a/commands/spawn-pr-fixes.md +++ b/commands/spawn-pr-fixes.md @@ -1,5 +1,6 @@ --- allowed-tools: Bash, Task, Read +model: haiku description: Spawn parallel background agents to address PR review feedback argument-hint: [pr-number...] --- diff --git a/commands/update-claude-md.md b/commands/update-claude-md.md index 07c8104..efe16aa 100644 --- a/commands/update-claude-md.md +++ b/commands/update-claude-md.md @@ -1,5 +1,6 @@ --- description: Update or create CLAUDE.md with current project context. Explores the project and ensures organization context is present. +model: haiku argument-hint: context: fork --- diff --git a/commands/vision.md b/commands/vision.md index e528430..065d5e1 100644 --- a/commands/vision.md +++ b/commands/vision.md @@ -1,5 +1,6 @@ --- description: View the product vision and goal progress. Manages vision.md and Gitea milestones. +model: haiku argument-hint: [goals] --- diff --git a/commands/work-issue.md b/commands/work-issue.md index d9c705e..77d1823 100644 --- a/commands/work-issue.md +++ b/commands/work-issue.md @@ -1,5 +1,6 @@ --- description: Work on a Gitea issue. Fetches issue details and sets up branch for implementation. +model: haiku argument-hint: --- diff --git a/skills/backlog-grooming/SKILL.md b/skills/backlog-grooming/SKILL.md index 2c55dcd..5da3993 100644 --- a/skills/backlog-grooming/SKILL.md +++ b/skills/backlog-grooming/SKILL.md @@ -1,5 +1,6 @@ --- name: backlog-grooming +model: haiku description: Review and improve existing issues for clarity and actionability. Use when grooming the backlog, reviewing issue quality, cleaning up stale issues, or when the user wants to improve existing issues. user-invocable: false --- diff --git a/skills/capability-writing/SKILL.md b/skills/capability-writing/SKILL.md index 6c3bdb8..d515947 100644 --- a/skills/capability-writing/SKILL.md +++ b/skills/capability-writing/SKILL.md @@ -133,7 +133,7 @@ Location: `commands/.md` --- description: What this command does (one-line summary) argument-hint: [optional] -model: sonnet +model: haiku --- # Command Title @@ -165,7 +165,7 @@ Location: `agents//AGENT.md` --- name: agent-name description: What this agent does and when to spawn it -model: sonnet +model: haiku skills: skill1, skill2 disallowedTools: - Edit diff --git a/skills/claude-md-writing/SKILL.md b/skills/claude-md-writing/SKILL.md index 2804b88..5089e85 100644 --- a/skills/claude-md-writing/SKILL.md +++ b/skills/claude-md-writing/SKILL.md @@ -1,5 +1,6 @@ --- name: claude-md-writing +model: haiku description: Write effective CLAUDE.md files that give AI assistants the context they need. Use when creating new repos, improving existing CLAUDE.md files, or setting up projects. user-invocable: false --- diff --git a/skills/code-review/SKILL.md b/skills/code-review/SKILL.md index f2feda7..09a319e 100644 --- a/skills/code-review/SKILL.md +++ b/skills/code-review/SKILL.md @@ -1,5 +1,6 @@ --- name: code-review +model: haiku description: Review code for quality, bugs, security, and style issues. Use when reviewing pull requests, checking code quality, looking for bugs or security vulnerabilities, or when the user asks for a code review. user-invocable: false --- diff --git a/skills/gitea/SKILL.md b/skills/gitea/SKILL.md index 53441ed..1cc3fe9 100644 --- a/skills/gitea/SKILL.md +++ b/skills/gitea/SKILL.md @@ -1,5 +1,6 @@ --- name: gitea +model: haiku description: View, create, and manage Gitea issues and pull requests using tea CLI. Use when working with issues, PRs, viewing issue details, creating pull requests, adding comments, merging PRs, or when the user mentions tea, gitea, issue numbers, or PR numbers. user-invocable: false --- diff --git a/skills/issue-writing/SKILL.md b/skills/issue-writing/SKILL.md index c1371a6..2e2fe71 100644 --- a/skills/issue-writing/SKILL.md +++ b/skills/issue-writing/SKILL.md @@ -1,5 +1,6 @@ --- name: issue-writing +model: haiku description: Write clear, actionable issues with proper structure and acceptance criteria. Use when creating issues, writing bug reports, feature requests, or when the user needs help structuring an issue. user-invocable: false --- diff --git a/skills/repo-conventions/SKILL.md b/skills/repo-conventions/SKILL.md index 55f476c..4dd2d1f 100644 --- a/skills/repo-conventions/SKILL.md +++ b/skills/repo-conventions/SKILL.md @@ -1,5 +1,6 @@ --- name: repo-conventions +model: haiku description: Standard structure and conventions for Flowmade repositories. Use when creating new repos, reviewing repo structure, or setting up projects. user-invocable: false --- diff --git a/skills/roadmap-planning/SKILL.md b/skills/roadmap-planning/SKILL.md index 6bd6512..4690b47 100644 --- a/skills/roadmap-planning/SKILL.md +++ b/skills/roadmap-planning/SKILL.md @@ -1,5 +1,6 @@ --- name: roadmap-planning +model: haiku description: Plan features and break down work into implementable issues. Use when planning a feature, creating a roadmap, breaking down large tasks, or when the user needs help organizing work into issues. user-invocable: false --- diff --git a/skills/software-architecture/SKILL.md b/skills/software-architecture/SKILL.md index 99db4ee..d6f4f60 100644 --- a/skills/software-architecture/SKILL.md +++ b/skills/software-architecture/SKILL.md @@ -1,5 +1,6 @@ --- name: software-architecture +model: haiku description: > Architectural patterns for building systems: DDD, Event Sourcing, event-driven communication. Use when implementing features, reviewing code, planning issues, refining architecture, diff --git a/skills/vision-management/SKILL.md b/skills/vision-management/SKILL.md index ea5518d..8705ed9 100644 --- a/skills/vision-management/SKILL.md +++ b/skills/vision-management/SKILL.md @@ -1,5 +1,6 @@ --- name: vision-management +model: haiku description: Create, maintain, and evolve organization manifesto and product visions. Use when working with manifesto.md, vision.md, milestones, or aligning work with organizational direction. user-invocable: false ---