jonnysteedman683-wq/vorpal/python-non-package-import

Claude Code and agent skill by jonnysteedman683-wq/vorpal

Trust tier 3
  • community
Source check pending

Checking that the SKILL.md file is still in the repository.

Import Python modules from any file path.

Install

npx vskill@latest install jonnysteedman683-wq/vorpal/python-non-package-import

SKILL.md

The same SKILL.md was published earlier as jonnysteedman683-wq/vorpal/python-non-package-import.

Python Non-Package Module Import

When to Use

  • Module file exists at known path but isn't in sys.path
  • Building verification harnesses hermes_verify_*.py
  • Importing workspace-level modules from tests

Core Pattern

python
import importlib.util
from pathlib import Path
def load_module(name: str, path: Path):
"""Load a module from arbitrary file path."""
spec = importlib.util.spec_from_file_location(name, path)
module = importlib.util.module_from_spec(spec)
spec.loader.exec_module(module)
return module

Example: Verification Harness

python
#!/usr/bin/env python3
ROOT = Path(__file__).resolve().parent.parent.parent
spec = importlib.util.spec_from_file_location("syscalls", ROOT / "syscalls.py")
syscalls = importlib.util.module_from_spec(spec)
spec.loader.exec_module(syscalls)

Path Resolution

From EVOLVE/SKILLHUB/tests: ROOT = Path(__file__).resolve().parent.parent.parent

Security

  • Security scanPassed, 90 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

7-day trend score
5

Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/jonnysteedman683-wq/vorpal/python-non-package-import/badge)](https://verified-skill.com/skills/jonnysteedman683-wq/vorpal/python-non-package-import)

Something wrong with this skill or its page? Tell us.