← 返回 Skills 市场
sysundy

Skill Preflight Bootstrap

作者 sysundy · GitHub ↗ · v0.1.0
cross-platform ⚠ suspicious
345
总下载
0
收藏
2
当前安装
1
版本数
在 OpenClaw 中安装
/install skill-preflight-bootstrap
功能描述
为新仓库一键初始化“任务前先查技能”的工作流。适用于初始化技能预检新仓库、给新仓库装技能工作流、迁移 skill preflight、把当前流程封装到另一个仓库,或把技能预检、项目级 hooks、`.learnings/` 和团队使用说明快速落到目标仓库时。
安全使用建议
This skill appears to do what it says: it will copy scripts and docs into the target repository and merge project-level hook settings. Before running: 1) use `--dry-run` to preview changes; 2) inspect the bundled scripts (they are included) to confirm you accept the writes and merge behavior; 3) be aware that running the included skill-preflight will scan ~/.codex, ~/.agents, and ~/.claude (read-only) and may call `npx -y skills find`, which fetches and executes code from npm — only run remote searches if you trust that network action; 4) if you run with `--force` it will overwrite existing template files, so back up important files first. No secrets or cloud credentials are requested by the skill itself.
功能分析
Type: OpenClaw Skill Name: skill-preflight-bootstrap Version: 0.1.0 The skill bundle automates the setup of a workflow by performing high-privilege modifications to the agent's environment. Specifically, `scripts/bootstrap-skill-preflight.py` installs persistent hooks in `.codex/settings.json` and `.claude/settings.json` that execute shell scripts on every prompt and tool use, and it injects mandatory instructions into `AGENTS.md` using forceful language ('must', 'mandatory') to override default agent behavior. Additionally, `scripts/skill-preflight.py` executes remote code via `npx -y skills`. While these actions are consistent with the stated purpose of initializing a 'skill-first' workflow, the use of persistent hooks and mandatory prompt injection represents a significant attack surface for controlling agent behavior.
能力评估
Purpose & Capability
Name/description match the included scripts and documents: bootstrap script copies scaffold files, merges project-level hook settings, and appends an AGENTS.md fragment. The files present (Python and shell) are appropriate for this repo-bootstrap purpose. Minor note: the tooling expects Python and (optionally) npx to be available at runtime but the registry metadata declared no required binaries.
Instruction Scope
SKILL.md and the scripts stay within project-level bootstrapping scope. The included skill-preflight.py will scan both project and user-level skill directories (~/.codex, ~/.agents, ~/.claude) when searching local skills (read-only), and will invoke an external search via `npx -y skills find` when --remote is used (or when no local match). These behaviors are consistent with the stated purpose but do involve reading user home skill dirs and executing a network-installed npm tool.
Install Mechanism
No install specification (instruction-only) and scaffolded files are bundled in the skill — low static install risk. However, runtime behavior includes calling `npx -y skills find`, which will fetch and run code from the npm ecosystem; that is a network operation and executes third-party code at runtime (expected for remote skill discovery but worth noting).
Credentials
The skill declares no required environment variables or credentials. Hooks reference CLAUDE_TOOL_OUTPUT to inspect tool output (a non-secret runtime variable common in agent environments). The scripts read user skill directories for discovery, which is proportional to finding local skills; they do not request unrelated secrets or cloud credentials.
Persistence & Privilege
always is false and the skill does not demand permanent/global privileges. The bootstrap writes project-level files and merges project-level settings only. It does not modify other skills' configurations beyond per-project settings or the project's AGENTS.md.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install skill-preflight-bootstrap
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /skill-preflight-bootstrap 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v0.1.0
Initial public release
元数据
Slug skill-preflight-bootstrap
版本 0.1.0
许可证
累计安装 2
当前安装数 2
历史版本数 1
常见问题

Skill Preflight Bootstrap 是什么?

为新仓库一键初始化“任务前先查技能”的工作流。适用于初始化技能预检新仓库、给新仓库装技能工作流、迁移 skill preflight、把当前流程封装到另一个仓库,或把技能预检、项目级 hooks、`.learnings/` 和团队使用说明快速落到目标仓库时。 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 345 次。

如何安装 Skill Preflight Bootstrap?

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

Skill Preflight Bootstrap 是免费的吗?

是的,Skill Preflight Bootstrap 完全免费(开源免费),可自由下载、安装和使用。

Skill Preflight Bootstrap 支持哪些平台?

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

谁开发了 Skill Preflight Bootstrap?

由 sysundy(@sysundy)开发并维护,当前版本 v0.1.0。

💬 留言讨论