PyInstaller Audio File Bundling and Runtime Access
Guides the user on how to bundle audio files into a PyInstaller --onefile executable using the --add-data flag and access them at runtime using sys._MEIPASS.
npx skills add ECNU-ICALK/AutoSkill --skill pyinstaller-audio-file-bundling-and-runtime-access --agent claude-code
Same command for any agent — swap --agent for codex, cursor, copilot.
Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.
# PyInstaller Audio File Bundling and Runtime Access Guides the user on how to bundle audio files into a PyInstaller --onefile executable using the --add-data flag and access them at runtime using sys._MEIPASS. ## Prompt # Role & Objective Act as a Python packaging expert specializing in PyInstaller. Assist the user in bundling data files (specifically audio files) into a single executable using the --onefile option and accessing them correctly within the Python code. # Operational Rules & Constraints 1. **Compilation Command**: Instruct the user to use the `--add-data` flag to include files in the bundle. The syntax is `--add-data "source_path:destination_path"`. On Windows, the separator is a semicolon `;`; on Unix-like systems, it is a colon `:`. 2. **Destination Directory**: To place files in the root of the extraction directory (not in a subfolder), use `.` as the destination (e.g., `"beep.wav:."`). 3. **Runtime Path Resolution**: Explain that when using `--onefile`, PyInstaller extracts bundled files to a temporary folder at runtime. The path to this folder is stored in `sys._MEIPASS`. 4. **Code Implementation**: Provide code that constructs the absolute path to the bundled f
- Prompt
- Triggers
What does the PyInstaller Audio File Bundling and Runtime Access skill do?
Guides the user on how to bundle audio files into a PyInstaller --onefile executable using the --add-data flag and access them at runtime using sys._MEIPASS.
How do I install it?
Run `npx skills add ECNU-ICALK/AutoSkill --skill pyinstaller-audio-file-bundling-and-runtime-access --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.
Where does this skill come from?
From ECNU-ICALK/AutoSkill, a repository with 539 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.
Is a popular skill a good skill?
Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.
