Chuyển đến nội dung
Skillpedia
Lập trình chung48k · #4093

busybox-on-windows

Skill này làm gì

Công cụ này cho phép bạn dùng các lệnh kiểu Unix trên Windows. Nó tải về một chương trình tên BusyBox, chứa nhiều công cụ dòng lệnh Unix phổ biến.

Khi nào nên dùng

  • ✓Khi bạn cần dùng lệnh Unix trên Windows mà không cần cài thêm công cụ.
  • ✓Để thực hiện các tác vụ cần công cụ dòng lệnh Unix quen thuộc.
  • ✓Khi bạn quen với môi trường Unix và muốn dùng các lệnh tương tự trên Windows.

Liên kết skill

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

Sao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.

Cách dùng

Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.

Tin nhắn có sẵn để dán

Hãy dùng skill này để giúp tôi: https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/busybox-on-windows/SKILL.md Đọc tệp SKILL.md tại liên kết đó và làm theo hướng dẫn cho việc của tôi.
Bạn muốn AI tự tìm những skill như thế này?Cài MCP Skillpedia miễn phí: chỉ một dòng, và AI sẽ tìm trong 15.000+ skill trước mỗi việc.Cài đặt trong 1 phút →

Ví dụ cách nhờ AI

“Làm thế nào để dùng lệnh Unix 'ls' trên Windows với BusyBox?”

5 skill mới mỗi tuần. Đọc chỉ 1 phút.

Cách hoạt động

Công cụ trước tiên kiểm tra xem bạn đã có BusyBox chưa. Nếu chưa, nó tải về phiên bản tương thích với máy tính Windows của bạn. Sau đó, bạn có thể dùng các lệnh Unix bằng cách thêm 'busybox.exe' phía trước.

Nội dung kỹ thuật (SKILL.md gốc)

Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.

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.
Câu hỏi thường gặp

BusyBox là gì?

BusyBox là chương trình gộp nhiều tiện ích Unix phổ biến vào một tệp thực thi duy nhất, nên nhẹ và tiện dụng.

Tôi có cần cài đặt gì trước không?

Công cụ sẽ tự động tải BusyBox nếu không tìm thấy. Bạn chỉ cần đảm bảo đang dùng Windows.

Tôi có thể dùng mọi lệnh Unix không?

BusyBox có nhiều lệnh Unix phổ biến, nhưng có thể không có mọi lệnh hay mọi tính năng của một hệ thống Unix đầy đủ.

Chi tiết

Mô tả gốc của tác giả

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

Độ phổ biến

Sao GitHub
48k
Vị trí xếp hạng
#4093
Giấy phép
MIT
Cập nhật
15/10/2026

Skill này có hữu ích không?

0

Đăng nhập để bình chọn.

Bình luận

  • …

Thêm skill từ kho mã này

Skill tương tự