Night Market Skill — ported from claude-night-market/conjure. For the full experience with agents, hooks, and commands, install the Claude Code plugin.
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.
ComplexityContextRecommendationHighAnyKeep localLowLargeDelegateLowSmallEither
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:
bash
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.
yaml
# Agent frontmatter for isolated delegation
isolation: worktree
Conjure uses leyline infrastructure:
Leyline SkillUsed Forquota-managementTrack service quotas and thresholds.usage-loggingSession-aware audit trails.service-registryUnified service configuration.error-patternsConsistent error handling.authentication-patternsAuth 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:
ModeWhen to UseHow It Workssingle-sessionSequential tasks, same-file editsClaude works through tasks in ordersubagentsParallel independent tasksAgents work independently, report backagent-teamParallel coordinated tasksAgents can communicate with each other
See references/execution-modes.md for the selection decision
matrix, mode compatibility notes, and anti-patterns to avoid.