agentleFS
PinWPinW/whisper-key-local/.agents/skills/manage-pyapp-venv/SKILL.md

manage-pyapp-venv

Skill203 starsChanged 51 days agoMITView on GitHub

Manage local pyapp venv (status, editable install, reset)

  • Installs packages

The file

We split this skill into the rules it gives an agent

5 rules. About 0 are common, 2 are distinctive, and 3 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈2

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 3

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Read pyapp-build/build-config.json to get dist_path for the exe location

    line 15
  2. Distinctive:

    Check if editable: Location field shows source path if editable, site-packages if normal install

    line 18
  3. Distinctive:

    If worktree-path given in [ACTION]: use it

    line 25
  4. Very specific:

    Delete the venv: powershell.exe -Command 'Remove-Item -Path "$env:LOCALAPPDATA\pyapp\data\whisper-key-local" -Recurse -Force'

    line 34
  5. Very specific:

    Verify deleted: powershell.exe -Command 'Test-Path "$env:LOCALAPPDATA\pyapp\data\whisper-key-local"' should return False

    line 35

≈ “Common” is an estimate: at least 1 in 5 of the 364,980 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

[ACTION]=$ARGUMENTS

Pyapp venv lives at: %LOCALAPPDATA%\pyapp\data\whisper-key-local\<hash>\<version>\ The exe path comes from pyapp-build/build-config.json → dist_path field (append \whisper-key.exe). Convert Windows path to WSL: C:\Users\... → /mnt/c/Users/.../

Actions

status (default if no action given)

  1. Read pyapp-build/build-config.json to get dist_path for the exe location
  2. Find venv: powershell.exe -Command "Get-ChildItem -Path \"$env:LOCALAPPDATA\pyapp\data\whisper-key-local\" -Recurse -Directory | Where-Object { Test-Path (Join-Path $_.FullName 'Scripts\python.exe') } | Select-Object -ExpandProperty FullName"
  3. Show installed package info: run "<exe-wsl-path>" self pip show whisper-key-local
  4. Check if editable: Location field shows source path if editable, site-packages if normal install
  5. Report: venv path, installed version, editable or not, which source path if editable

install [worktree-path]

Installs current worktree (or specified path) as editable into the pyapp venv.

  1. Read pyapp-build/build-config.json to get dist_path for the exe location
  2. Determine source path:
    • If worktree-path given in [ACTION]: use it
    • Otherwise: use current working directory
  3. Convert to Windows path if needed (WSL /home/... → \\wsl.localhost\Ubuntu\home\...)
  4. Run: "<exe-wsl-path>" self pip install -e <windows-source-path>
  5. Verify with "<exe-wsl-path>" self pip show whisper-key-local

reset

Nukes the pyapp venv so next launch re-creates it from PyPI.

  1. Confirm with user before proceeding
  2. Delete the venv: powershell.exe -Command 'Remove-Item -Path "$env:LOCALAPPDATA\pyapp\data\whisper-key-local" -Recurse -Force'
  3. Verify deleted: powershell.exe -Command 'Test-Path "$env:LOCALAPPDATA\pyapp\data\whisper-key-local"' should return False
  4. Report completion — next exe launch will bootstrap fresh

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.