flyte-migrate-troubleshoot

flyte-migrate-troubleshoot is a skill for Claude Code from flyteorg/flyte-agent-plugins. It costs 304 tokens per session (6,155 once invoked), scanned A, original, Apache-2.0.

A troubleshooting guide for moving Flyte code from version 1 to version 2. Flyte is a system for defining and running data-processing tasks and workflows, and this guide covers errors found after migration.

In plain words
What is it for?
Use it to debug migrated flytekit or Flyte 2 Python code, starting with checks such as compiling the module and running it locally.
Why use it?
A version change can cause import, data, dependency, notebook, and exception-handling problems that are difficult to diagnose from the error alone. The guide links symptoms to causes and verified fixes.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Not installable: its command points at a path on the author’s own machine, so it runs nowhere else. The line is /home/flyte/<package>/<file>.ipynb.

Part of the flyte plugin — 25 skills, 2 MCP servers shipped together

Good fit Use it to debug migrated flytekit or Flyte 2 Python code, starting with checks such as compiling the module and running it locally.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

This one installs as part of its plugin. Adding the marketplace and installing the plugin brings it with everything else the plugin ships.

Claude Code
/plugin marketplace add flyteorg/flyte-agent-plugins
Claude Code
/plugin install flyte

Made for: Claude Code.

Or install flyte, the plugin that ships this one along with the rest of its 25 skills, 2 MCP servers.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for flyte-migrate-troubleshoot

README.md
[![agentmods](https://agentmods.dev/badge/skills/flyteorg/flyte-agent-plugins/flyte-migrate-troubleshoot/github.svg)](https://agentmods.dev/skills/flyteorg/flyte-agent-plugins/flyte-migrate-troubleshoot)
Your own site
<a href="https://agentmods.dev/skills/flyteorg/flyte-agent-plugins/flyte-migrate-troubleshoot"><img src="https://agentmods.dev/badge/skills/flyteorg/flyte-agent-plugins/flyte-migrate-troubleshoot/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for flyte-migrate-troubleshoot

Your own site · 80×15
<a href="https://agentmods.dev/skills/flyteorg/flyte-agent-plugins/flyte-migrate-troubleshoot"><img src="https://agentmods.dev/badge/skills/flyteorg/flyte-agent-plugins/flyte-migrate-troubleshoot.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 304 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 6,155 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00304 $0.06155
Opus 5.5 $0.00122 $0.02462
Sonnet 5.5 $0.00061 $0.01231
Haiku 4.5 $0.00030 $0.00615

Measured 1mo ago against content hash 0c5219fc70c7, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

flyte-migrate-troubleshoot scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

plugins/flyte/skills/flyte-migrate-troubleshoot/SKILL.md · 542 lines

How it starts

The opening of the file, as written. The whole thing — 542 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Flyte 1 to 2 Migration: Troubleshooting

This skill covers errors observed when running migrated code, not how to write it. Each entry gives the exact symptom, the cause, and a verified fix. Start with the debug loop below, then find the error in the index.

Every entry here was reproduced by migrating the flytesnacks examples (153 entrypoints) to Flyte 2 (SDK 2.12.1) and running them on a cluster. About one entrypoint in five failed on its first run because of the migration; entries 1-11 are those causes. Entries 12-17 come from a second run with these skills (2026-10-29), where 7% still failed for new reasons.

Grounding References

Resource URL
Migration guide https://www.union.ai/docs/v2/flyte/user-guide/migration/flyte-2/
Official docs https://www.union.ai/docs/v2/flyte
SDK API reference https://www.union.ai/docs/v2/union/api-reference/flyte-sdk/
Flyte MCP tools Available via flyte-mcp server

Debug loop

Run the cheapest check that can catch the error first:

  1. Compile: python -m py_compile my_module.py catches syntax errors left over from the rewrite.
  2. Run locally: flyte run --local my_module.py main --arg value runs every task in-process. Import errors and Python-level errors (entries 3, 4, 5, and 8 below) reproduce here, with a full traceback, in seconds.
  3. Run remotely: flyte run my_module.py main --arg value, then flyte get logs <run_name> for the task's output. For runs and logs in depth, see the flyte-sdk-run skill. Errors about images, environments, and files missing from the pod (entries 2, 6, and 7) only show up here.

Note at which stage the error appears. A failure before a run is created (no Created Run: line) is a load-time error in your module, not a cluster problem.

Error index

Error text (or symptom) Stage Entry
ImportError: attempted relative import with no known parent package submit 1
Environment '...' not found in image cache ... depends_on runtime 2
RuntimeSystemError: Task ... has no parent environment name submit 2
Type conversion failed ... Value received: [RuntimeUserError(...)] after flyte.map runtime 2
Type conversion failed ... Did you forget to wrap your dataframe in a DataFrame instance? runtime 3
An except SomeError: around a task call never matches runtime 4
'builtins.Bytes' object has no attribute 'decode' runtime 5
ValueError: Cannot add additional layers to a non-extendable image submit 6
'_LazyModule' object has no attribute 'DataFrame', Unable to find a usable engine runtime 6
FileNotFoundError: /home/flyte/<package>/<file>.ipynb (or another non-.py file) runtime 7
argument should be a str or an os.PathLike object ..., not 'File' submit 8
HTTPFileSystem requires "requests" and "aiohttp" to be installed runtime 8
Timeout context manager should be used inside a task runtime 8
'latte' is not one of 'ESPRESSO', 'AMERICANO', 'LATTE', ... submit 9
Got unexpected extra argument (true) for a bool input submit 9
AttributeError: '<type>' object has no attribute '<field>' on a NamedTuple output runtime 10
Shell task fails with exit code (1) and an empty message runtime 11
Execution failed: maximum recursion depth exceeded submit 12
Sync task '...' was called in a blocking way from async code runtime 13
Expected value of type <class '...'> but got '<coroutine object ...>' runtime 14
Partial function must leave exactly one parameter unspecified for mapping runtime 15
Inputs exceed max_bytes limit of 10.0 MB runtime 16
Error converting input ... No module named '<lib>' in the calling task runtime 17

Read the full file on GitHub · 542 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 1mo ago First seen · 542 lines · 304 tokens per session scan A 0c5219fc70c7

Subscribe to this mod's changes

flyte-migrate-troubleshoot is a skill published in the GitHub repository flyteorg/flyte-agent-plugins (6 stars, last pushed 1mo ago), licensed Apache-2.0. It adds 304 tokens to every session and 6,155 once invoked, about $0.0012 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-10-30.

Related

flyte-migrate-troubleshoot compared with skills from other repositories

flyte-migrate-troubleshoot next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
flyte-migrate-troubleshootflyteorg/flyte-agent-pluginsSkill61mo agoApache-2.0A304Claude Code
idapythonmrexodia/ida-pro-mcpSkill14k2d agoMITA77Claude Code
plugin-architecture-patternsxberg-io/xbergSkill9.7ktodayMITA15Claude Code
test-corpusxberg-io/xbergSkill9.7ktodayMITA15Claude Code, Codex
stack-trace-python-probeopensquilla/opensquillaSkill7.2k7d agoApache-2.0A40Claude Code
python-debug-execution-911f17HKUDS/OpenSpaceSkill8.1k21d agoMITA23Claude Code, Codex
scenario-3dsmax-scriptingscenario-labs/skillsSkill4.7kyesterdayMITA188Claude Code