← 返回 Skills 市场
164
总下载
0
收藏
0
当前安装
2
版本数
在 OpenClaw 中安装
/install repomix
功能描述
Pack and analyze codebases into AI-friendly single files using Repomix. Use when the user wants to explore repositories, analyze code structure, find pattern...
安全使用建议
This skill appears coherent for packing and analyzing repositories, but take these precautions before installing or running it: 1) npx repomix@latest will download and execute the package code from the npm registry at runtime — only run it if you trust the package and maintainer, or consider installing a pinned, reviewed version instead of @latest. 2) Do not assume the tool removed secrets — verify the generated output (or run it against a cloned repository with secrets removed) to ensure no sensitive files were included. 3) Prefer outputting to a temporary directory as recommended and inspect file permissions. 4) If you need stronger assurance, review the repomix package source/release on its homepage or install from a pinned release/checked source before running. If you want, I can list specific commands to run safely (e.g., how to pin a version, audit the package, or run it in a disposable environment).
功能分析
Type: OpenClaw Skill
Name: repomix
Version: 1.0.1
The repomix skill is a legitimate tool integration for packing and analyzing codebases. It uses the official Repomix CLI via npx and provides clear, safe instructions for the AI agent, including best practices like using temporary directories and respecting security exclusions for sensitive files. No malicious patterns, data exfiltration, or prompt injection attempts were found in SKILL.md or _meta.json.
能力评估
Purpose & Capability
Name/description (pack/analyze repositories) align with required binaries (npx) and the declared node install of the repomix npm package. Asking for npx and offering a repomix CLI is expected and proportionate.
Instruction Scope
SKILL.md instructs the agent to run npx repomix@latest against local or remote repos and to inspect the generated output with grep. This stays within the scope of repository analysis. However, the doc asserts that Repomix "automatically excludes potentially sensitive files (.env, API keys)" — that is a behavioural claim the instructions do not show how to verify. Users should not assume secrets are always excluded without validating output.
Install Mechanism
Install spec uses the npm package 'repomix' which is a common delivery path for CLI tools. Running 'npx repomix@latest' executes code fetched from the npm registry at runtime; this is normal for npm-based CLIs but carries moderate risk if the package or registry account is compromised. There is no use of arbitrary download URLs or obscure hosts.
Credentials
No environment variables, credentials, or config paths are requested. The permissions requested are minimal and consistent with the skill's purpose.
Persistence & Privilege
The skill does not request always:true, does not persist elevated privileges, and is user-invocable only. It does not attempt to modify other skills or system-wide settings.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install repomix - 安装完成后,直接呼叫该 Skill 的名称或使用
/repomix触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.1
- Updated instructions to recommend using a temporary directory for output on both Unix (`/tmp`) and Windows (`%TEMP%`) instead of only `/tmp`.
- Clarified and standardized command examples and output file paths to match this guidance.
- No changes to functionality; documentation updates only.
v1.0.0
Initial release of Repomix — Codebase Packer & Analyzer
- Packs and analyzes entire codebases into a single AI-friendly file.
- Supports both local directories and remote GitHub repositories.
- Includes options for output format (XML, Markdown, Plain, JSON), file inclusion/exclusion, compression, and custom output location.
- Provides metrics on files, size, and estimated token count.
- Built-in security checks to exclude sensitive files by default.
- Optimized default workflow and best practices for preparing codebases for AI analysis.
元数据
常见问题
Repomix 是什么?
Pack and analyze codebases into AI-friendly single files using Repomix. Use when the user wants to explore repositories, analyze code structure, find pattern... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 164 次。
如何安装 Repomix?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install repomix」即可一键安装,无需额外配置。
Repomix 是免费的吗?
是的,Repomix 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
Repomix 支持哪些平台?
Repomix 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 Repomix?
由 yamadashy(@yamadashy)开发并维护,当前版本 v1.0.1。
推荐 Skills