plugins/conjure/skills/delegation-core/SKILL.md
Delegates tasks to Gemini or Qwen with quota tracking and error handling. Use when tasks exceed context window or need cheaper processing.
npx skillsauth add athola/claude-night-market delegation-coreInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
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.
tools
Detect friction signals; graduate patterns into rules. Use for session retrospectives.
testing
Use when you need a diff-derived test plan for an MR — reads the diff, groups changes by area, runs targeted verifications, and proves revert-tests are genuine guards, not dead assertions.
development
Curate the web-capture index. Use when the capture backlog grows, captures sit unprocessed at seedling/pending, or to surface stored research during work.
testing
Probe memory/summary clarity via dual anchor questions: task progress, info gaps. Use when verifying session state or summary before handoff or compression.