dsh plugins中文
← Back to popular plugin directory

Dsh Python Tempfile Shim

AngelosZou/dsh-python-tempfile-shim · skills

It is not published to npm

★ 2GitHub stars
0Forks
2026-08-25Last updated
JavaScriptLanguage
MITLicense

Key features

  • No extra tools to remember — python, pytest, pip, tox, nox, venvs, and any child Python process all get the fix automatically.
  • All 0o700 directory creation routes through os.mkdir: tempfile.mkdtemp, tempfile.TemporaryDirectory, os.makedirs(mode=0o700), pathlib.Path.mkdir(mode=0o700), pytest, tox/nox (the shim propagates to subprocesses via PYTHONPATH).
  • EnvironmentWindows, DSH workspace-write sandbox, Python 3.11.15 / 3.13.14, pytest 9.1.1.
  • No extra model context — the agent just runs Python normally through pwsh.
  • A compact always-on system-prompt section tells it the fix is automatic so it never reaches for workarounds.

Install command

dsh plugin --profile web add github:AngelosZou/dsh-python-tempfile-shim
View GitHub repository ↗Back to popular plugin directory