ai-delegation/skills/delegate-to-ai/SKILL.md
Route tasks to external AI models via Bifrost and PAL MCP multi-model tools
npx skillsauth add jacobpevans/claude-code-plugins delegate-to-aiInstall 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.
Routes tasks to specialized models based on task type using Bifrost (single-model) or PAL MCP (multi-model).
Delegate when Claude is not the best tool:
consensusclink (when you need multiple model perspectives simultaneously)Plan subagent type)Local models are named by capability role, not physical id. Roles resolve to the
resident model via the ai-stack registry (~/.config/ai-stack/registry.json, written by
nix-ai); never hardcode a physical model id here — when the resident model changes, only
the registry changes. Cloud tiers are capability classes; PAL/Bifrost auto-routes each to
a current model.
| Task Type | Cloud tier | Local role | Route |
| --- | --- | --- | --- |
| Research (single) | large-context | large-context | Bifrost |
| Research (multi) | multiple | large-context¹ | PAL clink |
| Complex Coding | Claude Opus | coding | native subagent |
| Fast Tasks | Claude Sonnet | quickest | Bifrost |
| Code Review | multi-model | most-capable | PAL consensus |
| Architecture | Claude Opus | most-capable | native subagent |
Bifrost endpoint: http://localhost:30080/v1/chat/completions (OpenAI-compatible)
¹ In local-only mode, PAL clink (multi-model) falls back to the single resident local model (every role resolves to it).
clink - Parallel queries across multiple modelsconsensus - Multi-model agreement for critical decisionsAll other PAL tools have native Claude Code equivalents — use Bifrost or native subagents instead.
curl/Bash; PAL via MCP tool call; native subagent via Agent toolWhen localOnlyMode is enabled or --local flag is passed, route all tasks through
Bifrost to the local MLX inference server (overrides native subagent rows). No cloud API calls are made.
tools
Use when installing or choosing CLI tools in a Nix flake repo, editing flake.nix or home-manager config, or when tempted to pip/pipx/uv/brew/npm install anything. Tools come from the dev shell or nix shell — never ad-hoc package managers.
testing
Use when creating or editing GitHub Actions workflows that call reusable workflows (uses: OWNER/repo/.github/workflows/...) — org owner references must be the literal current org, and shared-CI homes are under dryvist.
development
Use when adding or editing .pre-commit-config.yaml, wiring pre-commit hooks into a repo, scaffolding a new repo's lint/hook setup, or deciding where a hook or shared lint config should live. Covers the canonical nix-devenv/dryvist-.github architecture, profiles, and consumer patterns.
testing
Check PR merge readiness, sync local repo, cleanup stale worktrees; optional cross-repo sweep and stale-branch prune modes