coding.fix_from_imports
SkillFiles & storageReplace "from X import Y" style imports with "import X" and update usages throughout a file
Available today. Use it from your connected AI after setup.
No other account needed.
Connect ahel once, and every AI you use reads what you have installed.
Then ask your AI: use the coding.fix_from_imports skill
What this skill tells your AI
The instructions your AI receives, as published by causify-ai/helpers in .claude/skills/coding.fix_from_imports/SKILL.md and read by ahel’s review.
-
Replace any Python statement like
from X import Ywith the formimport Xand then replace the uses ofYwithX.Y -
For aliased imports
from X import Y as Z, convert toimport Xand replace all uses ofZwithX.Y -
For nested module imports
from X.Y import Z, convert toimport X.Yand replace all uses ofZwithX.Y.Z -
The only ones that can stay as
from X import Yare:from __future__ import annotations from typing import Any, Dict, List, Optional, Tuple, Union, ... (any typing name) from IPython.display import display from pathlib import Path -
Do not use
# Re-export get_chat_model for backward compatibility. get_chat_model = langchain_API_utils.get_chat_modelbut replace all the callers
Verification
- Confirm no remaining
from X import Ystatements outside the allowed exceptions - Confirm every use of the imported name is updated to
X.Y(orX.Y.Zfor nested modules) - Confirm no backward-compatibility re-export aliases remain
Signals
- GitHub stars
- 145
- Forks
- 160
- Last commit
- Sep 2026
Advanced
- Catalog kind
- skill
- Gateway key
coding-fix-from-imports- Source
- github.com/causify-ai/helpers