Skip to content
Back to skills

Offline Packaging

ASecurity

为隔离网或内网 Windows 机器准备项目分发包

  • 52 stars
  • 0 votes
  • 0 copies
  • 3 views
  • Added September 2, 2026
ai-agentspythongoshellnode

Works with

  • mcp

Security analysis

A92/100
  • mediumInstalls packages at runtime which could introduce malicious dependencies

Pro shows the line behind each finding and how to fix it

Scanned November 9, 2026

npx -y skills add wangzhe04/ruyi-workbench-oss --skill offline-packaging --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Offline Packaging?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Offline Packaging
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/wangzhe04-offline-packaging/badge)](https://www.skillsdirectory.com/skills/wangzhe04-offline-packaging)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: 离线打包
description: 为隔离网或内网 Windows 机器准备项目分发包
---

# Offline Packaging

Use this skill when preparing a project for an air-gapped or intranet Windows machine.

Checklist:

1. Identify every runtime dependency and whether it is already bundled.
2. Avoid commands that fetch from the public internet during install.
3. Prefer vendored runtimes, local package caches, portable binaries, and explicit version manifests.
4. Generate a `doctor` or `verify` script that checks paths, versions, config files, and write permissions.
5. Produce a zip with the executable, resources, config templates, installer scripts, and human-readable deployment notes.
6. Include rollback instructions and a way to run without global installation.

For this workbench repository (PowerShell scripts, Windows only; run in `ruyi-workbench`):

- `npm run package:offline` (same as `package:offline:full`): Ruyi.exe plus the desktop control runtime. It refuses to run unless a verified runtime already exists in `mcp/ai-computer-control/build_offline`.
- `npm run package:offline:full:fresh`: rebuilds that runtime first (`-BuildAccOffline`), which needs Python and internet on the packaging machine.
- `npm run package:offline:slim`: no desktop control runtime.
- Every variant first runs `node app/build.js --check` and stops if `app/server.js` is stale. The exe build also runs `npm install` when `pkg` is not installed yet. Internet is only ever needed on the packaging machine; the resulting zip (`dist/Ruyi-<variant>.zip`) must install and run without it.
- Packaging deletes the previous `dist/Ruyi-<variant>` folder and overwrites the zip: say which variant and output you are about to produce and get the user's go-ahead before running it.
- On the target machine, use `Ruyi.exe doctor --human` and `resources/scripts/install-workbench.ps1` as the baseline verification and install flow.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.