← 返回 Skills 市场
auto-dog

Software List Export

作者 auto-Dog · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ✓ 安全检测通过
44
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install software-list-export
功能描述
Export installed software to CSV with versions and likely download URLs. Invoke when the user wants a machine inventory or reinstall list for a new computer.
使用说明 (SKILL.md)

Software List Export

Use for software inventory and migration prep. Output one CSV the user can review and use as a reinstall checklist on a new computer.

Workflow

  1. Detect the operating system first: Windows, macOS, or Linux.
  2. Ask the user first where to save the CSV file and the possible filename (both are optional), otherwise use the current directory, and default name is software-list-{timestamp}.csv. Use current time as the {timestamp}.
  3. Collect installed software from native sources:
    • Windows: Use scripts/export-software-list.ps1. If fail, prefer winget list, then supplement with uninstall registry entries for software not covered by winget. The checked-in script already implements this Windows workflow and prints raw structured records to stdout.
    • macOS: prefer brew list and brew list --cask, include mas list if available, then supplement with /Applications and ~/Applications.
    • Linux: prefer the distro package manager (apt, dnf, pacman, zypper), then include flatpak and snap when present.
  4. Normalize software names, merge duplicates, and keep the most useful version/source details.
  5. Rank results by yourself, not in the script, you should think, sort and edit the csv directly. The model should place the most user-oriented software first. End-user apps should come before runtimes, redistributables, drivers, SDKs, language packs, browser helpers, and other support components. End user apps often has meanful names.
  6. For each item, add a likely download or package home URL when it can be determined with reasonable confidence. Do not fabricate URLs. If the URL is not provided directly by CLI or package-manager output, note in comments that the URL may not be a real download URL.
  7. After processing the raw records, export the final results to a CSV with the columns name,version,download_url,comments.
  8. Tell the user the path to the CSV file.

Platform Notes

  • Windows PowerShell 5 compatibility matters. Avoid newer syntax such as ?? that is only available in later PowerShell versions.
  • scripts/export-software-list.ps1 is Windows-only. Do not run it on macOS or Linux.
  • scripts/export-software-list.ps1 is a raw collector, not a full exporter. It prints structured CLI output and does not write the final CSV file.
  • On Windows, winget list output is column-aligned text and may contain wrapped or localized content. Prefer parsing by header column positions instead of splitting on repeated spaces.
  • Use uninstall registry entries as the conservative fallback on Windows when winget data is incomplete or ambiguous.
  • If a URL comes from registry metadata, heuristics, or other non-CLI sources, treat it as a likely vendor or product URL rather than a guaranteed installer link.
  • If terminal output shows PSReadLine rendering errors but the export command still reports a valid CSV path and successful completion, treat the export as successful and report the file path to the user.
  • When encoding may affect non-ASCII app names, prefer UTF-8 output for the CSV.
  • On Windows, common non-user-facing items include Microsoft Visual C++ Redistributable, .NET, SDK runtimes/targeting packs, drivers, updates, WebView runtimes, and OEM helper components. Push these behind user-facing apps instead of showing them first.

Output Example

name,version,download_url,comments
"TRAE","1.0.0","https://trae.com/","Detected from local installation. Likely reinstallable manually from vendor site."
"Git","2.49.0","https://git-scm.com/downloads","Detected from package manager. Likely reinstallable automatically."

Scripts

  • Primary helper: scripts/export-software-list.ps1
  • Scope: Windows only
  • Expected usage: run the script on Windows, capture its structured CLI output, then let the model rank/filter the records and write the final CSV separately.

Rules

  • Use the language that the user asked for.
  • DO NOT read, delete, or modify any files except the CSV file you are creating or editing.
  • If there is any agreement required, ask the user first.
  • On Windows, prefer running the checked-in helper script before inventing new export logic during the task.
  • On macOS and Linux, do not use the Windows helper script.
  • Prefer system-native inventory sources before heuristics.
  • Keep the helper script focused on collection. Let the model handle ranking, user-facing ordering, and final CSV writing.
  • Mark uncertainty in comments when version, source, or reinstall path is incomplete.
  • If the URL is not provided in CLI or package-manager output, state in comments that the URL may not be real or may be a vendor/product page instead of a direct download.
  • If a package manager export is available, note in comments whether the app is likely reinstallable automatically or only manually.
  • On Windows, prefer reliability over coverage: avoid aggressive matching that creates false duplicates between registry entries and winget results.
  • Prefer a user-friendly ordering. Sort user-facing apps first, and de-prioritize infrastructure entries such as redistributables, runtimes, frameworks, patches, drivers, SDKs, and similar dependencies.
安全使用建议
Install only if you want an agent to inspect your installed applications and produce a CSV. Review the CSV before sharing it, because a software inventory can reveal personal, workplace, or security-sensitive details about the machine.
能力评估
Purpose & Capability
The skill's purpose is to collect installed application names, versions, and likely reinstall URLs, then create a reviewable CSV. The PowerShell helper only collects Windows uninstall registry and winget list data and emits JSON.
Instruction Scope
The runtime instructions are scoped to user-requested inventory export and say to ask for the CSV location and avoid unrelated file changes. The Windows helper uses winget with source-agreement acceptance for listing, which users should be aware of, but this is still tied to the inventory workflow.
Install Mechanism
The artifact contains only SKILL.md and one non-executable PowerShell helper script; no package dependencies, installers, or autorun setup are declared.
Credentials
OS detection, package-manager listing, application-folder listing, and Windows registry uninstall-key reading are proportionate for building an installed-software list.
Persistence & Privilege
No persistence, background worker, privilege escalation, credential access, or destructive behavior is present; the expected durable output is only the user-directed CSV file.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install software-list-export
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /software-list-export 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Initial release – exports a user-focused software inventory to CSV with smart ranking and install sources. - Detects OS (Windows, macOS, or Linux) and selects platform-native inventory sources. - Asks user for CSV save location and filename, otherwise defaults to a timestamped name. - Gathers installed software and versions, merges and ranks list with user-facing apps prioritized over support components. - Attempts to add likely download URLs where possible; notes uncertainties in comments. - Outputs results as a reviewable CSV with columns: name, version, download_url, comments, and tells the user the CSV path. - Special handling and workflow on Windows using the included PowerShell script and `winget`.
元数据
Slug software-list-export
版本 1.0.0
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 1
常见问题

Software List Export 是什么?

Export installed software to CSV with versions and likely download URLs. Invoke when the user wants a machine inventory or reinstall list for a new computer. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 44 次。

如何安装 Software List Export?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install software-list-export」即可一键安装,无需额外配置。

Software List Export 是免费的吗?

是的,Software List Export 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

Software List Export 支持哪些平台?

Software List Export 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 Software List Export?

由 auto-Dog(@auto-dog)开发并维护,当前版本 v1.0.0。

💬 留言讨论