thrifty
Thrifty Task Delegation
Use this skill to delegate tasks to opencode/glm-5, a cost-effective model ideal for:
- Simple research and information gathering
- Code exploration and file searches
- Document processing and summarization
- Routine automation tasks
- Parallel processing of independent subtasks
Usage Pattern
Invoke glm-5 via the task tool:
task({
description: "Brief task summary",
prompt: "Detailed instructions for the agent",
subagent_type: "general" // glm-5 is the default model
})
Cost Guidelines
| Task Type | Recommended Model | Est. Cost |
|---|---|---|
| Simple search/explore | glm-5 (default) | Low |
| Code review | code-review-a | Low |
| Complex architecture | oracle | Medium |
| Deep debugging | code-review-c | Higher |
Best Practices
- Break large tasks into smaller chunks - glm-5 handles focused tasks well
- Provide clear, specific instructions - reduces iteration and context usage
- Use for parallel work - delegate multiple independent tasks simultaneously
- Verify complex outputs - have a stronger model review critical results
- Batch similar operations - group related file operations together
Example Delegations
File exploration:
task({
description: "Find auth-related files",
prompt: "Search the codebase for all files related to authentication. Return a list of file paths and brief descriptions of what each does.",
subagent_type: "general"
})
Documentation summarization:
task({
description: "Summarize API docs",
prompt: "Read docs/api.md and provide a 3-bullet summary of the main endpoints and their purposes.",
subagent_type: "general"
})
Parallel processing:
// Delegate multiple independent tasks concurrently
const tasks = [
task({ description: "Analyze utils.ts", prompt: "...", subagent_type: "general" }),
task({ description: "Analyze helpers.ts", prompt: "...", subagent_type: "general" }),
task({ description: "Analyze constants.ts", prompt: "...", subagent_type: "general" })
];
await Promise.all(tasks);
When NOT to Use glm-5
- Complex multi-step architectural decisions
- Security-critical code review
- Novel problem-solving requiring creativity
- Tasks requiring deep contextual understanding
For these, use oracle, code-review-c, or other specialized subagents instead.
More from ajoslin/dot
kimaki-expert
Provide expert support for Kimaki setup, Discord bot wiring, OpenCode session orchestration, slash-command troubleshooting, and automation workflows. Use when users mention Kimaki, kimaki.xyz, Discord-controlled coding agents, or channel-to-project mapping.
18init-review-policy
Initialize repo-scoped code review policy files under .opencode/review. Use when setting up project-specific review rules for /code-review.
18kimaki-tools
Run common Kimaki project/session operations from OpenCode, especially linking an existing OpenCode session into Discord and Kimaki session listings. Use when users ask to manage Kimaki projects, sessions, or thread mappings from CLI.
18index-knowledge
Generate hierarchical AGENTS.md knowledge base for a codebase. Creates root + complexity-scored subdirectory documentation.
17tmux
Manage long-running terminal jobs in a dedicated tmux-opencode session using wrapper scripts for run/wait, health checks, and crash-recovery cleanup.
16video-understand
|
16