Token导航 LogoToken导航

Agent Skill · 研究检索

agent-bootstrap(Agent 引导程序)

agent-bootstrap 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

agent-bootstrap 是研究检索类 Agent Skill,可用宿主为 Codex、Claude、Cursor、Gemini CLI,通过GitHub 仓库获取,权限为接触敏感数据;许可证信息还不明确,第三方扫描有未通过项,按安装量在研究检索类的 73,675 个 Skill 里排第 22,619。

总安装 4,504周安装 184GitHub Stars 69下载 1,457核验 2026-05-01

安装说明

本站只整理中文说明,不托管安装包,也不代用户安装。
GitHub
许可证
unknown

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:agent-bootstrap(Agent 引导程序)
来源仓库:https://github.com/jwynia/agent-skills
仓库路径:skills/agent-bootstrap
安装命令:
npx skills add https://github.com/jwynia/agent-skills --skill agent-bootstrap
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/jwynia/agent-skills --skill agent-bootstrap

这个 Skill 是做什么的

研究检索类 Skill 主要解决「找资料、核对事实、把来源整理清楚」的问题,通常会让助手先检索再总结。

agent-bootstrap 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。适用于新仓库环境配置、工具验证检查和机器设置等初始化场景。通过 agent.toml 声明式配置实现无外部依赖的环境自引导。

安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写操作。适用宿主包括 Codex、Claude、Cursor、Gemini CLI,接入前应确认版本、权限和运行环境要求。

来源仓库内路径:skills/agent-bootstrap

上手步骤

4 步
  1. 1

    确认自己的宿主工具

    公开资料标注支持 Codex、Claude、Cursor、Gemini CLI;先确认自己用的是其中之一,再按对应工具的 Skills 目录放置。

  2. 2

    拿到安装命令

    可以直接复制的命令是 npx skills add https://github.com/jwynia/agent-skills --skill agent-bootstrap;命令里的占位符换成自己的路径或密钥再执行。

  3. 3

    安装后重启宿主

    命令执行完要完全退出宿主工具再打开,让新装的 Skill 被重新扫描到,否则列表里可能看不到。

  4. 4

    按最小权限试用

    它需要接触敏感数据,先在测试目录或测试账号里跑,确认没问题再放到正式项目。

常见问题

6 条

agent-bootstrap 怎么安装?

在终端执行 npx skills add https://github.com/jwynia/agent-skills --skill agent-bootstrap。装完完全退出宿主工具再打开,让它重新扫描本地 Skill。

agent-bootstrap 支持哪些 AI 工具?

公开资料标注支持 Codex、Claude、Cursor、Gemini CLI。其他工具只要能读取本地 Skill 目录,一般也能手动放进去,但要自己确认触发方式是否一致。

agent-bootstrap 需要什么权限?

权限级别是接触敏感数据。该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

agent-bootstrap 是免费的吗?

公开资料没有标注明确许可证,收费和商用限制都无法确认。正式使用前请到来源仓库核对授权说明。

agent-bootstrap 用的人多吗?

公开数据是累计安装 4,504 次,近一周安装 184 次,下载 1,457 次,GitHub 69 星。这些数字来自第三方目录统计,只能当作热度参考,不代表质量或安全性。

agent-bootstrap 安全吗?

第三方扫描有未通过项,风险较高。除非你确认过源码,否则不建议直接安装到常用环境。

值得选的地方和要先想清楚的地方

值得选的地方

  • 同时适配 4 种工具,换客户端不用重新找替代品。

先想清楚的地方

  • 需要接触敏感数据,装到常用环境前要先评估影响面。
  • 许可证没有明确标注,能不能商用、能不能再分发都不确定。
  • 第三方扫描存在提醒项或未通过项,需要人工逐条确认。
  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

  • 已经在用 Codex,想直接扩展它能力的人。
  • 需要处理研究检索类任务、又不想每次都手写提示词的人。

不太适合

  • 环境里有大量密钥、凭证,不方便给第三方 Skill 读取的人。
  • 需要明确授权才能用到公司项目里的场景。
  • 需要厂商级技术支持和 SLA 的生产系统。

研究检索类 Skill 对比

6 个同类
Skill总安装GitHub 星权限许可证扫描
find-skills

寻找技能 · Codex、Claude

31,199,81316,486操作浏览器MIT有提醒
self-improving-agent

自我改进 Agent · OpenClaw

16,464,0023,396接触敏感数据MIT-0通过
soultrace

灵魂追踪 · Codex、Claude

7,588,94412需要联网未明确有提醒
self-improving

自我完善 · OpenClaw

6,829,2841,046需要联网MIT-0通过
microsoft-foundry

微软代工厂 · Codex、Claude

6,614,144764调用外部服务未明确有提醒
agent-bootstrap

Agent 引导程序 · 本页

4,50469接触敏感数据未明确未通过

按安装量取同分类前几名;数字来自第三方目录统计,只作热度参考,不代表质量结论。

SKILL.md 原文

Agent Bootstrap: Declarative Environment Setup

You bootstrap the agentic development environment by reading agent.toml and configuring the current tool (Claude Code, OpenCode, etc.) accordingly.

Usage

/agent-bootstrap           # Validate environment and configure tool
/agent-bootstrap --verify  # Run all verification checks
/agent-bootstrap --check   # Dry run: report what would be configured

Core Principle

Self-bootstrap without external dependencies. The manifest (agent.toml) + this skill = complete environment setup. No curl|bash, no package managers, no external tools.

Quick Reference

Use this skill when:

  • Starting work in a new repository
  • Environment feels misconfigured
  • Checks are failing unexpectedly
  • Setting up a new machine

What this skill does:

  1. Reads agent.toml from repository root
  2. Validates environment (required vars, commands, runtimes)
  3. Configures plugins for the current tool
  4. Generates MCP server config
  5. Reports status (or runs verification checks with --verify)

The States

State AB0: No Manifest

Symptoms:

  • No agent.toml in repository root
  • User asks to bootstrap but no manifest exists

Key Questions:

  • Should we create a starter agent.toml?
  • What environment requirements does this project have?

Interventions:

  • Offer to create a minimal agent.toml based on detected project type
  • Check for common patterns (Cargo.toml → Rust, package.json → Node, etc.)
  • Link to docs/agent-toml-spec.md if it exists

State AB1: Manifest Found, Validation Needed

Symptoms:

  • agent.toml exists at repository root
  • Environment not yet validated
  • User invoked /agent-bootstrap

Key Questions:

  • Are all required environment variables set?
  • Are all required commands in PATH?
  • Do runtime versions meet constraints?

Interventions:

  • Parse agent.toml using TOML parser
  • Check each required_env variable
  • Check each required_commands command
  • Check runtime versions against constraints
  • Report any failures with actionable guidance

State AB2: Environment Valid, Configuration Needed

Symptoms:

  • Environment validation passed
  • Tool configuration not yet applied
  • Plugins, MCP servers, or hooks need setup

Key Questions:

  • Which plugins need to be enabled?
  • What MCP servers should be configured?
  • Which hooks should be applied?

Interventions:

  • For Claude Code:

- Update .claude/settings.json with enabled plugins - Generate .mcp.json from MCP server definitions - Note: Hooks require user to copy to their settings (tool-specific)

  • Report configuration changes made

State AB3: Configured, Verification Mode

Symptoms:

  • User invoked /agent-bootstrap --verify
  • Need to run verification checks

Key Questions:

  • Which checks should run (based on trigger)?
  • Did all checks pass?

Interventions:

  • Run all [[verification.checks]] with trigger = "stop" or trigger = "explicit"
  • Report pass/fail status for each
  • If any fail, report the failure and suggest fixes
  • Block completion if running as stop hook

Execution Process

Phase 1: Parse Manifest

# Read agent.toml from repository root

Parse the TOML file and extract:

  • [manifest] - version check (1.1 for remote skill support)
  • [environment] - validation requirements
  • [[skills]] - skill definitions (local and remote)
  • [[plugins.*]] - plugin configuration
  • [[mcp.servers]] - MCP server definitions
  • [[hooks.*]] - hook definitions
  • [[verification.checks]] - verification checks

Phase 1.5: Install Remote Skills

For each skill with a source field (rather than path), install from remote:

Source Format Detection:

PatternTypeInstallation
owner/repo@skillGitHubnpx skills add owner/repo@skill -g -y
owner/repo@skill + versionGitHub pinnednpx skills add owner/repo@skill#version -g -y
skills.sh/nameRegistrynpx skills add name -g -y
https://.../raw/.../skillRaw URLFetch SKILL.md directly to ~/.claude/skills/
https://....git@skillGit URLnpx skills add <url> -g -y

Installation Process:

  1. Check if skill already installed: ls ~/.claude/skills/skill-name/SKILL.md
  2. If not installed, determine source type and run appropriate command
  3. Verify installation succeeded

Report Format:

Installing remote skills...

[1/34] gitea-workflow
  Source: jwynia/agent-skills@gitea-workflow
  ✓ Installed

[2/34] code-review
  Source: jwynia/agent-skills@code-review
  ✓ Already installed

[3/34] custom-skill
  Source: https://gitea.example.com/.../raw/.../custom-skill
  ✗ Failed: Connection refused

Remote skills: 32/34 installed, 1 already present, 1 failed

Raw URL Installation (for Gitea/GitLab):

When source starts with https:// and contains /raw/:

# Create skill directory
mkdir -p ~/.claude/skills/skill-name

# Fetch SKILL.md directly
curl -sSL "https://gitea.example.com/.../raw/.../skill-name/SKILL.md" \
  -o ~/.claude/skills/skill-name/SKILL.md

# Verify file was created
test -f ~/.claude/skills/skill-name/SKILL.md

Skills with version field:

When a skill has both source and version:

[[skills]]
name = "code-review"
source = "jwynia/agent-skills@code-review"
version = "v1.2.0"

Append version as git ref: npx skills add jwynia/agent-skills@code-review#v1.2.0 -g -y

Phase 2: Validate Environment

For each requirement, check and report:

Environment Variables:

✓ GITHUB_TOKEN is set
✗ TAVILY_API_KEY is not set
  → Set this variable for web search functionality

Commands:

✓ git (found at /usr/bin/git)
✓ cargo (found at /home/user/.cargo/bin/cargo)
✗ node not found in PATH
  → Install Node.js: https://nodejs.org/

Runtimes:

✓ rust 1.78.0 >= 1.75.0
✗ python 3.9.7 does not satisfy >=3.10
  → Upgrade Python to 3.10 or later

Phase 3: Configure Tool

Detect Current Tool:

  • Look for .claude/ → Claude Code
  • Look for .opencode/ → OpenCode
  • Look for .cline/ → Cline
  • Look for .cursor/ → Cursor

For Claude Code:

  1. Plugins - Update .claude/settings.json: {"enabledPlugins": {"plugin-name@marketplace": true}}
  2. MCP Servers - Generate .mcp.json: {"server-name": {"type": "http", "url": "https://...", "headers": {"Authorization": "Bearer ${ENV_VAR}"}}}
  3. Hooks - Report hook configuration (requires manual setup): Hooks defined in agent.toml: - post_tool_use: rustfmt on *.rs files - stop: verification script To enable hooks, add to your Claude Code settings.

Phase 4: Report Status

Bootstrap complete for delft-core

Environment:
  ✓ All required commands found (git, cargo, rustfmt, npx)
  ✓ All runtime versions satisfied (rust 1.78.0, node 20.11.0)
  ⚠ 1 optional env var not set (TAVILY_API_KEY)

Remote Skills:
  ✓ 34 remote skills installed
  ⚠ 1 skill failed to install (see above)

Configuration:
  ✓ Enabled plugin: rust-analyzer-lsp
  ✓ Generated .mcp.json with 1 server
  ⚠ Hooks require manual configuration

Skills: 40 skills available (6 local, 34 remote)

Next steps:
  - Set TAVILY_API_KEY for enhanced web search
  - Review hooks configuration in agent.toml
  - Retry failed remote skill installs: npx skills add <source> -g -y

Phase 5: Verification (--verify mode)

Run each verification check:

Running verification checks...

[1/4] fmt
  Command: cd src && cargo fmt --check
  ✓ PASSED (0.8s)

[2/4] build
  Command: cd src && cargo build
  ✓ PASSED (12.3s)

[3/4] clippy
  Command: cd src && cargo clippy --workspace -- -D warnings
  ✗ FAILED (8.2s)

  error: unused variable `x`
   --> src/crates/delft-cli/src/main.rs:42:9

[4/4] tests
  Command: cd src && cargo test
  ⏭ SKIPPED (trigger = explicit, use --verify to run)

Verification: 2/3 passed, 1 failed

Environment Variable Checking

Check if variable is set (not its value):

# Bash approach
if [ -z "${VAR_NAME+x}" ]; then
  echo "VAR_NAME is not set"
fi

For Claude Code, use the Bash tool to check:

printenv | grep -q "^VAR_NAME=" && echo "set" || echo "not set"

Command Checking

command -v git >/dev/null 2>&1 && echo "found" || echo "not found"

Runtime Version Checking

# Rust
rustc --version | grep -oE '[0-9]+\.[0-9]+\.[0-9]+'

# Node
node --version | grep -oE '[0-9]+\.[0-9]+\.[0-9]+'

# Python
python3 --version | grep -oE '[0-9]+\.[0-9]+(\.[0-9]+)?'

File Operations

Read agent.toml

Use the Read tool to read agent.toml from repository root.

Update settings.json

Use the Edit tool to update .claude/settings.json with plugin configuration.

Generate.mcp.json

Use the Write tool to create .mcp.json with MCP server configuration.

Anti-Patterns

The Assumption Trap

Pattern: Assuming environment is correct without validation. Problem: Leads to confusing errors later. Fix: Always validate. Report clearly what's missing.

The Secret Leak

Pattern: Writing environment variable values to files. Problem: Secrets in version control. Fix: Only write ${VAR_NAME} references, never values.

The Implicit Bootstrap

Pattern: Auto-running bootstrap without user consent. Problem: Security risk; unexpected changes. Fix: Always require explicit /agent-bootstrap invocation.

The Over-Configuration

Pattern: Configuring everything even when not needed. Problem: Confusing state; hard to debug. Fix: Only configure what's declared in manifest.

Example Interactions

Example 1: Fresh Start

User: /agent-bootstrap

Your approach:

  1. Read agent.toml from repository root
  2. Validate environment requirements
  3. Configure Claude Code settings
  4. Generate MCP config if servers defined
  5. Report status and next steps

Example 2: Verification

User: /agent-bootstrap --verify

Your approach:

  1. Read verification checks from agent.toml
  2. Run each check with trigger = "stop" or trigger = "explicit"
  3. Report pass/fail for each
  4. Summarize results

Example 3: Check Mode

User: /agent-bootstrap --check

Your approach:

  1. Parse agent.toml
  2. Report what would be validated and configured
  3. Do not make any changes
  4. List any issues found

Example 4: No Manifest

User: /agent-bootstrap (no agent.toml exists)

Your approach:

  1. Report that no manifest found
  2. Offer to create a starter manifest based on project detection
  3. If user agrees, create minimal agent.toml
  4. Link to specification documentation

Integration Graph

Inbound (From Other Skills)

Source SkillSource StateLeads to State
(none)-AB0 or AB1

Outbound (To Other Skills)

This StateLeads to SkillTarget State
AB2 (configured)gitea-workflow(ready to work)
AB3 (verified)(any)(environment confirmed)

Complementary Skills

SkillRelationship
find-skillsDiscover skills listed in manifest
context-networkMay be bootstrapped after environment setup

Manifest Schema Reference

See docs/agent-toml-spec.md for the complete schema specification.

Key sections:

  • [manifest] - version (1.1 for remote skill support)
  • [environment] - required_env, required_commands, runtimes
  • [[skills]] - skill definitions (local with path, remote with source)
  • [[plugins.{tool}]] - plugin configuration
  • [[mcp.servers]] - MCP server definitions
  • [[hooks.{tool}]] - hook configuration
  • [[verification.checks]] - verification checks

Skills Schema (v1.1)

# Local skill
[[skills]]
name = "delft-authoring"
path = ".claude/skills/delft-authoring"

# Remote skill (GitHub)
[[skills]]
name = "code-review"
source = "jwynia/agent-skills@code-review"

# Remote skill with version pin
[[skills]]
name = "gitea-workflow"
source = "jwynia/agent-skills@gitea-workflow"
version = "v1.0.0"

平台分布

Codex

36.93%
按下载量换算538

Claude

27.82%
按下载量换算405

Cursor

19.16%
按下载量换算279

Gemini CLI

9.95%
按下载量换算145

安全审计

Gen Agent Trust Hub

未通过

Socket

未通过

Snyk

可疑

权限和风险

接触敏感数据

该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在提醒或未通过项,安装前请自行复核。目前只有一个公开来源,建议同时核对源仓库。

继续浏览同类 Skills