/vfx-core:qwen-delegatefrom vfx-core
Delegates tasks to a local Qwen model on Ollama for NDA-safe file analysis, large-file summaries, boilerplate, and BlinkScript drafts. File content stays on-machine, only the model's reply enters Claude.
Ships in vfx-core. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them; scripts run unread.
Routes a task to the local Qwen model served by Ollama (localhost by default).
Pointed at localhost, the prompt, any files the model reads, and the answer never
leave the machine, and the file content never enters Claude's context - only
the model's reply comes back. That reply CAN quote input content, so review what
returns before it lands in a hosted session. A remote --url or LOCAL_LLM_URL
sends the inputs off-machine: then it is not NDA-safe, whatever the model.
The team Qwen installer created ONE of these tags, chosen by GPU memory:
| Tag | Card | Context | Vision | Tools |
|---|---|---|---|---|
vfx-qwen38-27b-262k | 24 GB+ (workstation) | 262K | yes | yes |
vfx-qwen3-14b-16k | under 24 GB | 16K | no | yes |
The scripts auto-detect whichever is present, so the commands below are the
same on every machine. Override with --model <tag> or the LOCAL_LLM_MODEL
env var. A different server (vLLM, llama-server, LM Studio) works via
--url / LOCAL_LLM_URL with --model local.
On the 14B variant: no --image (the script refuses with a clear message),
and one file read is capped at roughly 24K characters so it fits the 16K
context. Point the agent at a folder and ask about ONE file at a time.
| Delegate to Qwen | Keep in Claude |
|---|---|
| NDA-protected files (comp scripts, shot files, pipeline code on studio drives) | Multi-step reasoning, planning, architecture decisions |
| Summarizing large .nk / .py / .hip files | Tasks needing MCP tools (Nuke / Houdini / Unreal control) |
| Boilerplate and first-draft code | Complex debugging needing full conversation context |
| First-draft BlinkScript kernels | Editing files in the workspace |
| Text transformation, batch reformatting | Web search, library docs |
| Reference-image first pass (27B variant only) | Anything needing several MCP servers |
python <skill-dir>/scripts/query_local.py --check
Prints the server status, the tag that will be used, its capabilities and
context length. If Ollama is down: ollama serve, then ollama list to confirm
a vfx-qwen* tag exists (if not, run the team Qwen installer).
<skill-dir> is this skill's own directory - resolve the path against it.
Scripts are pure stdlib, no pip installs.
After a reboot check ollama ps shows 100% GPU, not 100% CPU. The
Ollama app can race the NVIDIA driver and silently serve on CPU, which looks
like "the model hangs".
| Script | Reads files? | Use for |
|---|---|---|
scripts/query_local.py | No. Prompt text, --stdin pipe, optional --image. | One-shot prompts, drafts, image analysis |
scripts/agent_local.py | Yes. Tool loop with read / list / search confined to --dir. | Anything where the model must open a file |
Neither script has a --file flag. To summarize a file, give agent_local.py
the folder via --dir and name the file in the prompt. To transform text,
pipe it into query_local.py on stdin.
agent_local.py resolves file-tool paths before checking that they are inside
--dir. Outside paths and symlink targets are rejected; glob filters must be
relative without parent components or drive prefixes. Recursive ** skips
directory links, including junctions, to avoid escape and cycles. Explicit
in-root links remain usable. Outside links are omitted from listings/searches.
This is an application-level boundary for a stable filesystem, not an OS
sandbox against concurrent file/link replacement. Use OS isolation when other
processes can change an untrusted tree. Explicit operator-supplied --image
attachments are separate inputs and are not restricted by the file-tool root.
python <skill-dir>/scripts/query_local.py "Write a Python function that parses a Nuke .nk file for Read node paths"
cat notes.txt | python <skill-dir>/scripts/query_local.py --stdin "Rewrite as a numbered checklist"
--stdin is required for piped input; without it the script never touches
stdin (an idle pipe from a harness would otherwise block it forever).
python <skill-dir>/scripts/agent_local.py --dir "path/to/shot/comp" \
"Read shot_040.nk and summarize: inputs, main operations, final output"
python <skill-dir>/scripts/agent_local.py --verbose --max-tokens 12000 --dir "path/to/pipeline" \
'Use search_files with file_pattern "*.py" and pattern "[A-Za-z]:[/\\]" to find lines holding an absolute path, then output a table of file:line and the path found'
--verbose shows each tool call on stderr so you can see what it did.
search_files) and give the regex. A "list every
file, read each one fully and report every line containing X" prompt exited 0
over a folder of about 15 scripts and printed only (no content returned):
the model spent its budget reading and never answered. The search-shaped
prompt finished in ONE tool call and returned a 26-row table.--verbose and a raised --max-tokens (default 4096) for
multi-file jobs.(no content returned) with exit 0 is a FAILED run, never "nothing
found". Re-prompt in the search shape. Spot-check the table against a
ripgrep count of the same folder before trusting it.python <skill-dir>/scripts/query_local.py --image "ref_plate.png" \
"Describe the camera angle, lighting, and key subjects"
Accepts png / jpg / webp. Convert EXR or TIFF plates to PNG first (Nuke or ffmpeg).
python <skill-dir>/scripts/query_local.py --model qwen3:8b --max-tokens 8000 "..."
search_files and the regex (see Multi-file analysis above).--think to query_local.py
for harder reasoning (BlinkScript, tricky refactors).--dir and their results go to the configured server; that says nothing
about the server's own network or storage behaviour. Claude does the editing.For BlinkScript drafts: hand the output to the nuke-blinkscript skill for a
GPU-correctness review.
The same PreToolUse hook that guards Claude's own tools guards these scripts.
--dir and --image may point at C: / D:, the approved sandbox subtree, and
any active job grant. Anything else on the network is blocked before the model
ever sees it - rephrase inside the allowed paths rather than working around it.
agent_local.py stops after 10 tool turns (--max-turns to raise).Run offline with synthetic fixtures (no model or credentials required):
python -m unittest discover -s <skill-dir>/tests -v
Tests cover valid paths and globs, outside/parent paths, sibling-prefix paths, symlinks, recursive cycles, missing files, and read truncation. macOS: 7 passed (2026-09-07). Windows: 5 passed, the 2 symlink cases skip unless the account holds the create-symbolic-link privilege (2026-09-08).
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub sideshowroberto/vfx-agent-toolkit --plugin vfx-core14 skills in this plugin
/brave-searchResearches VFX topics with Brave Search - MCP web search for filtered URL lists, an LLM Context script for deep research with extracted page content, and image search for references. Use when searching for tutorials, docs, errors, plugins or software updates./development-managementRuns Specification-Driven Development (spec-kit) workflows - agent creation, constitutional governance, roadmaps, specs and validation. Use when creating or auditing agents, writing a constitution, or validating compliance./gap-checkAudits Claude's own knowledge gaps against a settled plan before building - sorts confident from guessed, researches public gaps, and lists unknowns for the user. Use after /grill-me, before a build session, or on 'gap-check' or 'check your assumptions'./git-guardrails-claude-codeSets up a Claude Code PreToolUse hook that blocks destructive git commands (push, reset --hard, clean -f, branch -D, checkout/restore .) before they run, with a Python hook that fails closed. Use when the user wants git safety hooks or to block git push/reset in Claude Code./grill-meInterview the user relentlessly about a plan or design until reaching shared understanding, resolving each branch of the decision tree. Use when user wants to stress-test a plan, get grilled on their design, or mentions "grill me"./loop-gauntletRuns a build-until-it-matches loop in a DCC - an agent rebuilds a scene from reference images, scoring renders against a human-authored rubric until a stop rule fires. Use for 'iterate until it matches', Blender set rebuilds from refs, or writing or judging such a loop prompt.Other plugins' skills for the same job