Delegates tasks to Gemini or Qwen with quota tracking and error handling. Use when tasks exceed context window or need cheaper processing.
npx skills add https://github.com/athola/claude-night-market --skill delegation-core
delegation-core:task-assessed)delegation-core:delegation-suitability)delegation-core:handoff-planned)delegation-core:results-integrated)A method for deciding when and how to delegate tasks to external LLM services. Core principle: delegate execution, retain high-level reasoning.
Delegate execution, retain reasoning. Claude handles architecture, strategy, design, and review. External LLMs perform data processing, pattern extraction, bulk operations, and summarization.
| Complexity | Context | Recommendation |
|------------|---------|----------------|
| High | Any | Keep local |
| Low | Large | Delegate |
| Low | Small | Either |
High Complexity: Architecture, design decisions, trade-offs, creative problem solving.
Low Complexity: Pattern counting, bulk extraction, boilerplate generation, summarization.
delegation-core:task-assessed)Classify the task:
modules/task-assessment.md for classification criteria.Exit Criteria: Task classified with complexity level, context size, and delegation recommendation.
delegation-core:delegation-suitability)Verify prerequisites:
modules/handoff-patterns.md for checklist.modules/cost-estimation.md.Exit Criteria: Service authenticated, quotas verified, cost justified.
delegation-core:handoff-planned)Create a delegation plan:
modules/handoff-patterns.md for request template.Exit Criteria: Delegation plan documented.
delegation-core:results-integrated)Execute and validate results:
Exit Criteria: Results validated and integrated, usage logged.
For MCP servers that don't support Dynamic Client Registration (e.g., Slack), pre-configured OAuth client credentials can be provided:
claude mcp add <server-name> --client-id <id> --client-secret <secret>
This enables delegation workflows through MCP servers that require pre-configured OAuth, expanding the range of external services available for task delegation.
As an alternative to manual OAuth setup, users can configure MCP servers directly in claude.ai at claude.ai/settings/connectors. These connectors are automatically available in Claude Code when logged in with a claude.ai account: no claude mcp add or credential management required. This provides a browser-based auth flow that may be simpler for services with complex OAuth requirements.
When delegating tasks that modify files to subagents, use isolation: worktree in the agent frontmatter to run each agent in a temporary git worktree. This prevents file conflicts when multiple delegated agents operate in parallel on overlapping paths. The worktree is auto-cleaned if no changes are made; preserved with commits if the agent produces changes.
# Agent frontmatter for isolated delegation
isolation: worktree
Conjure uses leyline infrastructure:
| Leyline Skill | Used For |
|---------------|----------|
| quota-management | Track service quotas and thresholds. |
| usage-logging | Session-aware audit trails. |
| service-registry | Unified service configuration. |
| error-patterns | Consistent error handling. |
| authentication-patterns | Auth verification. |
See modules/cost-estimation.md for leyline integration examples.
For detailed service workflows:
Skill(conjure:gemini-delegation): Gemini CLI specifics.Skill(conjure:qwen-delegation): Qwen MCP specifics.When delegating to multiple agents, choose the appropriate
execution mode:
| Mode | When to Use | How It Works |
|------|-------------|--------------|
| single-session | Sequential tasks, same-file edits | Claude works through tasks in order |
| subagents | Parallel independent tasks | Agents work independently, report back |
| agent-team | Parallel coordinated tasks | Agents can communicate with each other |
See references/execution-modes.md for the selection decision
matrix, mode compatibility notes, and anti-patterns to avoid.
Create new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an existing skill, run evals to test a skill, benchmark skill performance with variance analysis, or optimize a skill's description for better triggering accuracy.
Guide for creating effective skills. This skill should be used when users want to create a new skill (or update an existing skill) that extends Claude's capabilities with specialized knowledge, workflows, or tool integrations.
Guide for creating effective skills. This skill should be used when users want to create a new skill (or update an existing skill) that extends Claude's capabilities with specialized knowledge, workflows, or tool integrations.
Replace with description of the skill and when Claude should use it.
Use when facing 2+ independent tasks that can be worked on without shared state or sequential dependencies
This skill should be used when the user wants to "create a skill", "add a skill to plugin", "write a new skill", "improve skill description", "organize skill content", or needs guidance on skill structure, progressive disclosure, or skill development best practices for Claude Code plugins.
Helps users discover and install agent skills when they ask questions like "how do I do X", "find a skill for X", "is there a skill that can...", or express interest in extending capabilities. This skill should be used when the user is looking for functionality that might exist as an installable skill.
Use when creating new skills, editing existing skills, or verifying skills work before deployment
Take athola/delegation-core from the repository into ~/.claude/skills for personal
use, or into .claude/skills inside a project.
The agent identifies a skill by the name field in its header. Two skills with the
same name cannot sit side by side — one of them will be ignored.