Loading...
Loading...
Delegate tasks to the cost-effective opencode/glm-5 model. Use when you need inexpensive task execution, simple research, or delegating work that doesn't require the most powerful models.
npx skill4agent add ajoslin/dot thriftytask({
description: "Brief task summary",
prompt: "Detailed instructions for the agent",
subagent_type: "general" // glm-5 is the default model
})| Task Type | Recommended Model | Est. Cost |
|---|---|---|
| Simple search/explore | glm-5 (default) | Low |
| Code review | code-review-glm | Low |
| Complex architecture | oracle | Medium |
| Deep debugging | code-review-opus | Higher |
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"
})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"
})// 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);oraclecode-review-opus