跳到正文
Skillpedia
通用编程48k · #4093

busybox-on-windows

它能做什么

这个工具让你在 Windows 上使用类 Unix 命令。它会下载一个名为 BusyBox 的程序,里面包含许多常用的 Unix 命令行工具。

适用场景

  • ✓当你需要在 Windows 上使用 Unix 命令,又不想额外安装其他工具时。
  • ✓当你要完成一些需要熟悉的 Unix 命令行工具才能做的任务时。
  • ✓如果你习惯了 Unix 环境,想在 Windows 上使用类似的命令时。

技能链接

https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/busybox-on-windows/SKILL.md

复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。

使用方法

最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。

可直接粘贴的消息

请用这个技能帮我:https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/busybox-on-windows/SKILL.md 阅读该链接中的 SKILL.md 文件,并在我的任务中按照它的说明来做。
想让你的 AI 自己找到这样的技能吗?安装免费的 Skillpedia MCP:只需一行,每次任务前它都会在 15,000+ 个技能中搜索。1 分钟完成安装 →

可以这样问 AI

“我怎样在 Windows 上用 BusyBox 运行 Unix 的 'ls' 命令?”

每周 5 个新技能,1 分钟读完。

工作原理

这个工具会先检查你是否已经有 BusyBox。如果没有,它会下载一个适合你 Windows 电脑的版本。之后,你只要在 Unix 命令前面加上 'busybox.exe' 就能使用了。

技术内容(原始 SKILL.md)

作者在 GitHub 上的英文原文。

BusyBox is a single binary that implements many common Unix tools.

Use this skill only on Windows. If you are on UNIX, then stop here.

Run the following steps only if you cannot find a busybox.exe file in the same directory as this document is. These are PowerShell commands, if you have a classic cmd.exe terminal, then you must use powershell -Command "..." to run them.

  1. Print the type of CPU: Get-CimInstance -ClassName Win32_Processor | Select-Object Name, NumberOfCores, MaxClockSpeed
  2. Print the OS versions: Get-ItemProperty "HKLM:\SOFTWARE\Microsoft\Windows NT\CurrentVersion" | Select-Object ProductName, DisplayVersion, CurrentBuild
  3. Download a suitable build of BusyBox by running one of these PowerShell commands:
    • 32-bit x86 (ANSI): $ProgressPreference = 'SilentlyContinue'; Invoke-WebRequest -Uri https://frippery.org/files/busybox/busybox.exe -OutFile busybox.exe
    • 64-bit x86 (ANSI): $ProgressPreference = 'SilentlyContinue'; Invoke-WebRequest -Uri https://frippery.org/files/busybox/busybox64.exe -OutFile busybox.exe
    • 64-bit x86 (Unicode): $ProgressPreference = 'SilentlyContinue'; Invoke-WebRequest -Uri https://frippery.org/files/busybox/busybox64u.exe -OutFile busybox.exe
    • 64-bit ARM (Unicode): $ProgressPreference = 'SilentlyContinue'; Invoke-WebRequest -Uri https://frippery.org/files/busybox/busybox64a.exe -OutFile busybox.exe

Before executing a downloaded binary, obtain the expected release digest from an independently verified publisher channel and compare Get-FileHash -Algorithm SHA256. A computed hash alone does not authenticate the download. If the publisher evidence cannot be checked, report that installation is unverified and do not execute it. Save outside the immutable skill bundle and do not overwrite an existing binary.

PowerShell does not implicitly execute a file in the current directory; use ./busybox.exe or & "C:\approved\path\busybox.exe". Review the applet's filesystem effects before running it.

Useful commands:

  • Help: ./busybox.exe --list
  • Available UNIX commands: ./busybox.exe --list

Usage: Prefix the UNIX command with busybox.exe, for example: ./busybox.exe ls -1

If you need to run a UNIX command under another CWD, then use the absolute path to busybox.exe.

Documentation: https://frippery.org/busybox/ Original BusyBox: https://busybox.net/

When to Use

Use when an authorized Windows task needs Unix-style applets without WSL, and an architecture-compatible reviewed BusyBox binary is available.

Example

User request:

Use @busybox-on-windows for this task: How to use a Win32 build of BusyBox to run many of the standard UNIX command line tools on Windows.

Limitations

  • Use this skill only when the task clearly matches the scope described above.
  • Do not treat the output as a substitute for environment-specific validation, testing, or expert review.
  • Stop and ask for clarification if required inputs, permissions, safety boundaries, or success criteria are missing.
常见问题

什么是 BusyBox?

BusyBox 是一个把许多常用 Unix 工具整合到单个可执行文件里的程序,体积小巧,用起来也很方便。

我需要事先安装什么吗?

如果没有找到 BusyBox,这个工具会尝试自动下载。你只需要确保自己用的是 Windows 系统。

我可以使用任何 Unix 命令吗?

BusyBox 包含许多常用的 Unix 命令,但不一定涵盖所有命令,也不一定具备完整 Unix 系统的全部功能。

详情

作者的原始描述

How to use a Win32 build of BusyBox to run many of the standard UNIX command line tools on Windows.

repo: sickn33/agentic-awesome-skills

热度

GitHub 星标
48k
排名
#4093
许可证
MIT
更新时间
2026/10/15

这个技能有用吗?

0

登录 后即可投票。

评论

  • …

同一仓库的更多技能

相似技能