helix-pyinstaller-packager
Package the helix repository into PyInstaller onefile executables with the built-in skills tree embedded.
Skill by Piagari
Chalk Labs
Need help deploying helix-pyinstaller-packager?
Chalk Labs sets up agents like this inside real teams: connected to your tools, tested on your data, with a human in the loop where it matters.
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/piagari-helix-pyinstaller-packager
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: documents, agent-building
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/helix-pyinstaller-packager
What's inside
- Skill name
helix-pyinstaller-packager- Description
- Package the helix repository into PyInstaller onefile executables with the built-in skills tree embedded. Use when Codex needs to build, repair, validate, or document Windows, Linux, or macOS helix release artifacts; create platform-tagged release archives; explain PyInstaller's per-OS build requirement; or verify that packaged helix can load bundled skills.
- License
- Apache-2.0
- Instructions
- 97 lines in SKILL.md · view on GitHub
Agent Skills spec issues
- files: referenced but missing: scripts/build-pyinstaller.py
Files (3)
- SKILL.md
- openai.yaml · agents/
- platform-builds.md · references/
SKILL.md (first lines)
# Helix PyInstaller Packager ## Core Rule PyInstaller is not a cross-compiler. Build Windows artifacts on Windows, Linux artifacts on Linux, and macOS artifacts on macOS. Do not claim that one host can produce native executables for every OS unless a separate VM/container/CI runner for each target OS is actually used. ## Expected Repository Shape Use this skill for a `helix` repository that has: - `pyproject.toml` managed by `uv` - CLI entrypoint `helix.cli:main` - source under `src/helix/` - a top-level `skills/` directory that must be bundled as runtime data - a PyInstaller build script at `scripts/build-pyinstaller.py` - a PyInstaller spec at `packaging/helix.spec`; if it is missing, the build script can create a default one ## Packaging Mode Build onefile executables by default. The release output should expose a single executable in each platform artifact directory, for example: ```text dist/pyinstaller/helix-windows-x86_64/helix.exe ``` The built-in `skills/` tree must still be included as PyInstaller data. In onefile mode, do not expect a visible `_internal/skills` directory in the release output. PyInstaller extracts embedded data to a temporary `_MEI*` directory while the process is running, and `src/helix/resources.py` must resolve frozen resources through `sys._MEIPASS`. This mode reduces source exposure in the distributed artifact, but it is not encryption or a hard reverse-engineering boundary. ## Workflow 1. Inspect the repository before editing: - `pyproject.toml` - `packaging/helix.spec` - `src/helix/resources.py` - current resource path usage for `skills/` 2. Ensure `pyinstaller` is available through `uv`: - If missing, add it as a dev dependency with `uv add --dev pyinstaller`. 3. Ensure runtime resource lookup supports both source and frozen execution: - Source mode should resolve the repository root. - Frozen mode should resolve PyInstaller bundle resources. - All runtime access to bundled `skills/` should flow through one resource helper. 4. Ensure the spec recursively includes `skills/` as data: - If `packaging/helix.spec` is missing, let the build script create its default spec or create an equivalent spec before building. - Include `SKILL.md`, `references/`, `scripts/`, `.json`, and other non-cache skill files. - Exclude `__pycache__` and `.pyc`. - Build a onefile `EXE` by passing `a.binaries` and `a.datas` into `EXE`; do not create a `COLLECT` onedir bundle for the default release path. 5. Build the current OS executable with the repository build script: - `uv run python scripts/build-pyinstaller.py --clean` 6. Validate the artifact: - Run packaged `helix --help`. - Confirm the platform artifact directory contains the onefile executable. - Run one command that loads bundled skill resources, such as `compare-perf` with tiny temp perf files. - For agent-backed commands, use `--verbose` to confirm skill staging into `.codex/skills`, `.claude/skills`, or the selected backend directory. 7. Report produced executable and release archive paths, validation results, and remaining environment limitations. ## Build Script Use the repository-owned `scripts/build-pyinstaller.py` for the normal build path. The skill does not keep a second packaging implementation; keeping one script avoids drift between manual packaging, CI packaging, and skill-guided packaging. The script: - detects the current OS and CPU architecture - creates a default `packaging/helix.spec` when the requested spec is missing - invokes `uv run pyinstaller` - writes platform-tagged output under `dist/pyinstaller/` - validates the expected onefile executable - creates a release archive unless `--no-archive` is used: `.zip` on Windows, `.tar.gz` on Linux and macOS - includes the onefile executable and `README.md` in the release directory and archive Examples: ```bash uv run python scripts/build-pyinstaller.py --clean uv run python scripts/build-pyinstaller.py --clean --no-archive uv run python scripts/build-pyinstaller.py --clean --platform-tag linux-aarch64 ``` ## Multi-OS Release Procedure For a release that needs Windows, Linux, and macOS artifacts: 1. Run the same script on a Windows host. 2. Run the same script on a Linux host. 3. Run the same script on a macOS host. 4. Collect the generated release archives from `dist/pyinstaller/`. Read `references/platform-builds.md` when explaining this limitation to users or designing CI jobs. ## Validation Notes - A packaged CLI can be validated without NPU hardware by checking `--help`, bundled skills, and pure parser/comparison commands. - Real `run-test`, `run-bench`, `verify`, and `optimize` validation requires a Python environment with the target dependencies, often including `torch`, `torch_npu`, `triton`, and Ascend/CANN runtime. - A packaged executable does not include external agent CLIs. Users still need `codex`, `claude`, `opencode`, `pi`, or other selected backend tools available on `PATH`. - If generated tests or benchmarks are executed by a frozen app, ensure local execution uses an external Python interpreter, typically through `HELIX_PYTHON`.
From Piagari/helix, Apache-2.0.
More from Piagari/helix
- 0.479score
create-pr
Piagari
Use when opening a new pull request for this repository requires the repo's branch, validation, and skill-script checking gates to run before PR creation.
SkillCFreshness: CClaude Code +9 - 0.479score
ascend-npu-run-eval
Piagari
Execute and evaluate generated operator artifacts.
SkillCFreshness: CClaude Code +9 - 0.479score
managing-gitcode-prs
Piagari
Create, list, and inspect GitCode pull requests for the current project.
SkillCFreshness: CClaude Code +9 - 0.479score
ascend-npu-gen-test
Piagari
Generate correctness test code for an Ascend NPU operator from source code and task context.
SkillCFreshness: CClaude Code +9 - 0.479score
ascend-npu-gen-bench
Piagari
Generate benchmark code for an Ascend NPU operator.
SkillCFreshness: CClaude Code +9 - 0.479score
ascend-npu-report
Piagari
Generate a Chinese optimization report from an existing optimize workspace.
SkillCFreshness: CClaude Code +9 - 0.479score
ascend-npu-plan-git-operator-workspaces
Piagari
Use when a Git branch must be analyzed to plan Ascend NPU operator workspaces for downstream distillation or optimization across Triton, TileLang, or similar…
SkillCFreshness: CClaude Code +9 - 0.479score
tilelang-npu-analyze-ir
Piagari
Use when an agent needs to inspect generated AscendC source code from a TileLang compiled operator, reason about likely performance issues from the generated…
SkillCFreshness: CClaude Code +9 - 0.476score
ascend-npu-optimize-state
Piagari
Manage temporary optimize workflow state in an Ascend NPU optimize workspace, including baseline acceptance, round start, same-round strategy-state updates…
SkillCFreshness: CClaude Code +9 - 0.475score
ascend-npu-profile-operator
Piagari
Get and analyze Ascend NPU operator performance data.
SkillCFreshness: CClaude Code +9 - 0.475score
ascend-npu-analyze-round-performance
Piagari
Use when an optimize round needs deep performance diagnosis from round-local profile and optional IR evidence, especially to explain scalar/vector/cube…
SkillCFreshness: CClaude Code +9 - 0.475score
ascend-npu-run-eval
Piagari
Execute and evaluate generated operator artifacts.
SkillCFreshness: CClaude Code +9
Signals
- Stars
- 0
- Forks
- 0
- Open issues
- 0
- Last commit (this folder)
- Jul 13, 2026 (3 months ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- Apache-2.0
- Repository
- github.com/Piagari/helix
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from Piagari
- 0.479score
ascend-npu-plan-git-operator-workspaces
Piagari
Use when a Git branch must be analyzed to plan Ascend NPU operator workspaces for downstream distillation or optimization across Triton, TileLang, or similar…
SkillCFreshness: CClaude Code +9 - 0.479score
ascend-npu-report
Piagari
Generate a Chinese optimization report from an existing optimize workspace.
SkillCFreshness: CClaude Code +9 - 0.479score
managing-gitcode-prs
Piagari
Create, list, and inspect GitCode pull requests for the current project.
SkillCFreshness: CClaude Code +9 - 0.479score
ascend-npu-gen-bench
Piagari
Generate benchmark code for an Ascend NPU operator.
SkillCFreshness: CClaude Code +9 - 0.479score
create-pr
Piagari
Use when opening a new pull request for this repository requires the repo's branch, validation, and skill-script checking gates to run before PR creation.
SkillCFreshness: CClaude Code +9 - 0.479score
ascend-npu-run-eval
Piagari
Execute and evaluate generated operator artifacts.
SkillCFreshness: CClaude Code +9
Done for you
Rather not set it up yourself?
Chalk Labs scopes, builds and runs agents for your team: the task audit, the eval harness, the integrations and the weekly ops report. Fixed scope, priced before we start.
See how we build AI agents →Read the case studies
Chalk Labs is a two-founder AI and growth studio. We build AI agents, CRMs and MVPs for Web3 and AI companies, and have shipped 50+ product and token launches.
- launches shipped
- 50+
- launches shipped
- media placements
- 500+
- media placements
- founders on every account
- 2
- founders on every account
Press we've placed: Forbes · CoinDesk · Decrypt · Cointelegraph · The Block
Rahil Jain, Co-founder, Chalk Labs. Ex-Goldman Sachs engineer. You talk to the person who builds it.
Get helix-pyinstaller-packager running in your business
Tell us what you want to automate. A founder replies within one working day with a plan, not a pitch deck.
Cite this page
helix-pyinstaller-packager skill. Agent Mart. https://agentmart.dev/skills/piagari-helix-pyinstaller-packager (last updated 2026-10-24)