Token导航 LogoToken导航

Agent Skill · 研究检索

buildgit(buildgit 搜索)

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

buildgit 是研究检索类 Agent Skill,可用宿主为 Codex、Claude、Cursor、Gemini CLI,通过GitHub 仓库获取,权限为需要联网;许可证信息还不明确,第三方扫描已通过,按安装量在研究检索类的 73,675 个 Skill 里排第 55,495。

总安装 475周安装 20GitHub Stars 公开资料未说明下载 166核验 2026-05-01

安装说明

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

安装方式

通过对话安装

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

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

命令行安装

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

skills.shnpx skills
npx skills add https://github.com/gclayburg/skills --skill buildgit

这个 Skill 是做什么的

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

buildgit 提供 Git 操作与 Jenkins CI/CD 构建管道的集成管理能力。适合在自动化部署流程中替代 git push,自动触发构建并监控执行状态。支持分析构建耗时、资源利用和排队情况,用于优化流水线性能。所有未知命令会委托给原生 git 处理,需确保 Jenkins REST API 可访问。

buildgit 属于研究检索类 Skill,可作为该场景下的辅助能力补充。

来源仓库内路径:skills/buildgit

上手步骤

4 步
  1. 1

    确认自己的宿主工具

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

  2. 2

    拿到安装命令

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

  3. 3

    安装后重启宿主

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

  4. 4

    按最小权限试用

    它需要需要联网,先在测试目录或测试账号里跑,确认没问题再放到正式项目。

常见问题

6 条

buildgit 怎么安装?

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

buildgit 支持哪些 AI 工具?

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

buildgit 需要什么权限?

权限级别是需要联网。该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

buildgit 是免费的吗?

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

buildgit 用的人多吗?

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

buildgit 安全吗?

第三方扫描结果为通过,但这只覆盖已知的静态检查项,不能替代自己读一遍源码和安装命令。

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

值得选的地方

  • 同时适配 4 种工具,换客户端不用重新找替代品。
  • 第三方扫描已通过,常见的高风险行为没有命中。

先想清楚的地方

  • 许可证没有明确标注,能不能商用、能不能再分发都不确定。
  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

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

不太适合

  • 需要明确授权才能用到公司项目里的场景。
  • 需要厂商级技术支持和 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调用外部服务未明确有提醒
buildgit

buildgit 搜索 · 本页

475—需要联网未明确通过

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

SKILL.md 原文

buildgit

A CLI for git operations and monitoring Jenkins CI/CD build pipelines.

What this skill does

  • replacement for git push command. Instead of git push use buildgit push
  • uses git to push changes then expects a Jenkins build to automatically start, then monitors it
  • shows Jenkins build status in many different ways
  • analyzes build timing, executor capacity, pipeline structure, and queue contention to enable build optimization
  • uses Jenkins REST api to monitor and track a Jenkins pipeline build job
  • any command unknown to buildgit is delegated to git, e.g. buildgit log would run git log

All paths in this document are relative to this SKILL.md file's directory, not the project root.

How to use

what is the build status
push the staged changes and monitor the build.  fix any errors you find.

Commands

CommandPurpose
scripts/buildgit statusJenkins build status snapshot
scripts/buildgit status <build#>Status of one build (31, 0, -1, -2)
scripts/buildgit status --lineOne-line status for latest build
scripts/buildgit status -n <N> --lineOne-line status for latest N builds (oldest first)
scripts/buildgit status --prior-jobs <N>Snapshot with N prior one-line builds before target build
scripts/buildgit status -n <N>Full snapshot output for latest N builds (oldest first)
scripts/buildgit status -n <N> --jsonJSONL snapshot output for latest N builds
scripts/buildgit status -n <N> --no-testsOne-line status while skipping test-report API calls
scripts/buildgit status --format '<fmt>'One-line status with custom format string (implies --line)
scripts/buildgit status --allForce full snapshot output
scripts/buildgit -v status --allFull snapshot with untruncated failed-test details and stdout
scripts/buildgit status --console-text [stage]Raw build console or one stage's console text; empty parent stages recurse into descendant substages
scripts/buildgit status --list-stages [--json]List stage names or emit the raw stage array
scripts/buildgit status -f --onceFollow current/next build to completion, then exit (10s timeout)
scripts/buildgit status -f --once=NSame, but wait up to N seconds for a build to start
scripts/buildgit status -f --probe-allFollow the next build that starts on any multibranch branch
scripts/buildgit status -f --probe-all --onceFollow one multibranch branch build, then exit
scripts/buildgit status -n <N> -f --onceShow N prior builds then follow once with timeout
scripts/buildgit status -f --line --onceFollow builds with compact one-line output (TTY shows progress bar)
scripts/buildgit status -f --prior-jobs <N>Follow with N prior one-line builds + estimate preamble
scripts/buildgit status -n <N> -f --line --onceShow N prior one-line rows then follow in one-line mode
scripts/buildgit --threads '[%a] %S %p' status -f --lineFollow with custom live per-stage row formatting on TTY
scripts/buildgit status --jsonMachine-readable Jenkins build status
scripts/buildgit pushgit push + monitor Jenkins build until complete
scripts/buildgit push --prior-jobs <N>git push + preamble with N prior builds + estimate
scripts/buildgit push --no-followgit push only, no build monitoring
scripts/buildgit push --linegit push + compact one-line monitoring (TTY shows progress bar)
scripts/buildgit push --format '<fmt>'git push + compact one-line monitoring with custom format
scripts/buildgit buildTrigger a new build + monitor until complete
scripts/buildgit build --prior-jobs <N>Trigger + preamble with N prior builds + estimate
scripts/buildgit build --no-followTrigger only, no monitoring
scripts/buildgit build --lineTrigger + compact one-line monitoring (TTY shows progress bar)
scripts/buildgit build --format '<fmt>'Trigger + compact one-line monitoring with custom format
scripts/buildgit agentsShow Jenkins executor capacity by label
scripts/buildgit agents --jsonEmit executor capacity and node details as JSON
scripts/buildgit agents --label <name>Show executor capacity for one Jenkins label
scripts/buildgit agents --nodesPivot to one row per Jenkins node with all labels and busy/idle counts
scripts/buildgit timingShow per-stage timing for the latest successful build
scripts/buildgit timing --testsInclude slowest test suites and test counts in timing output
scripts/buildgit timing --tests --by-stageGroup test suites under the pipeline stages that published them
scripts/buildgit timing --compare <a> <b>Compare two builds side by side with signed per-stage deltas
scripts/buildgit timing -n <N>Show a compact stage timing table across the latest N builds
scripts/buildgit timing --tests --jsonEmit timing, parallel bottlenecks, and test suite timing as JSON
scripts/buildgit timing -n <N> --jsonEmit timing JSON for the latest N builds
scripts/buildgit pipelineShow pipeline structure, stage hierarchy, and parallel branches
scripts/buildgit pipeline --jsonEmit pipeline graph, stage types, agent labels, and per-stage testSuites as JSON
scripts/buildgit queueShow the current Jenkins queue and wait reasons
scripts/buildgit queue --jsonEmit queued items, wait reasons, and queue duration as JSON
scripts/buildgit --console auto statusShow default console log on failure
scripts/buildgit --console <N> statusShow last N raw console lines on failure
`scripts/buildgit --job <namename/branch> `
scripts/buildgit --versionShow version number and exit

Default one-line format (status --line, push --line, build --line) is: %s #%n id=%c Tests=%t Took %d on %I (%r)

Default threads format (--threads on TTY monitoring) is: [%-14a] %S %g %p %e / %E

Threads placeholders are separate from --format placeholders: %a=agent %S=stage %g=progress-bar %p=percent %e=elapsed %E=estimate %%=literal% Use width/alignment like %14a or %-14a. BUILDGIT_THREADS_FORMAT sets the default when --threads has no explicit format argument.

Interpreting Output

Exit codes:

CodeMeaning
0Success (build passed, or git command succeeded)
1Build failed, or an error occurred
2Build is currently in progress

Build states: as reported by Jenkins

  • SUCCESS — build passed, all tests green
  • FAILURE — build failed; output includes failed stage and error details
  • BUILDING — build is still running
  • ABORTED — build was manually cancelled
  • UNSTABLE — build completed with test failures or marked warnings (common for flaky tests)
  • NOT_BUILT — build was skipped or not executed (e.g., due to upstream failure or explicit skip)
  • UNKNOWN — the state could not be determined (e.g., API error, incomplete data)
  • QUEUED — build is waiting in the Jenkins queue and hasn't started running yet
  • Tests=!err! in line output means Jenkins test-report data could not be retrieved due to a communication failure (network/sandbox/API connectivity), not a test result.

For failures, summarize the failed stage name, error logs, and test failure details for the user. When a failure needs more detail, prefer scripts/buildgit -v status --json for structured failed-test stdout and scripts/buildgit status --console-text <stage> after scripts/buildgit status --list-stages. --console-text <stage> accepts exact, case-insensitive, and unique partial stage matches. If the requested parent stage has no direct log text, it walks descendant substages and emits their logs in pipeline order. Normal build/status output goes to stdout, including queue updates, stage progress, completion summaries, and verbose diagnostics. stderr is reserved for invalid input, Jenkins communication failures, and transient TTY redraw sequences. Full header output is condensed: Trigger: merges cause plus user (Manual by …, SCM change, Timer, Upstream), Commit: includes the subject line when available, and Agent: is a top-level field instead of a boxed Build Info section. For jobs that trigger downstream builds, full output now shows a hierarchical === Test Results === tree with parent and child rows, while one-line output aggregates the Tests= counts across the whole tree. In --json, the top-level test_results totals match the line output and multi-job builds add a breakdown array with one entry per parent/downstream build; missing reports are represented as null counts.

For snapshot mode defaults, scripts/buildgit status prints one-line output by default on both TTY and non-TTY stdout (TTY adds color).

  • Monitoring commands (push, build, status -f) print prior-jobs + estimated build time before monitoring starts
  • scripts/buildgit status -f --probe-all only applies to multibranch jobs, waits on the top-level job, then switches to the detected job/branch build once Jenkins starts it
  • Parallel branches with local stages {} blocks print as Branch->Substage rows under the branch, reuse the branch ║ marker and agent, expose parallel_path plus parent_branch_stage in --json, and --threads now shows the active Branch->Substage row live while follow-mode monitoring is running.

Build reference rules:

  • 0 and -0 mean latest/current build
  • Negative values (-1, -2) are relative offsets from latest build
  • Build reference and -n are mutually exclusive

Console log (--console): On failed builds, buildgit shows a curated error summary by default.

  • --console auto — force the default error log display even when test failures are present
  • --console N — show last N raw console lines instead of curated summary (useful for troubleshooting)

For agent-safe follow mode, prefer:

  • scripts/buildgit status -f --once to follow exactly one build and exit
  • scripts/buildgit status -f --probe-all --once when the next multibranch build may start on a different branch than the current checkout

Build Optimization

Use this workflow when the user wants to reduce build time or understand Jenkins contention:

  1. Run scripts/buildgit queue to see whether builds are waiting on capacity or blocked by quiet periods.
  2. Run scripts/buildgit agents to identify which executor labels are saturated or offline, then scripts/buildgit agents --nodes to see which physical nodes overlap those labels.
  3. Run scripts/buildgit timing --tests on a recent successful build to find slow stages, parallel bottlenecks, and expensive test suites.
  4. Run scripts/buildgit timing --tests --by-stage to map those suites back to the stages that published them, or scripts/buildgit timing --compare <a> <b> / scripts/buildgit timing -n <N> to measure whether a rebalance actually helped.
  5. Run scripts/buildgit pipeline to understand stage ordering, parallel branches, agent-label placement, and per-stage test suite summaries, then use references/build-optimization.md for the full workflow and constraints.

Dynamic Context

To inject live build state into context before reasoning about build issues:

`scripts/buildgit status --json 2>/dev/null`

References

See references/buildgit-setup.md for setup instructions (required tools, fixing permission errors,project setup, needed network access, docker sandbox instructions) See references/reference.md for real-world output examples (push failures, parallel pipelines, progress bars, live follow mode).

平台分布

Codex

37.55%
按下载量换算62

Claude

29.39%
按下载量换算49

Cursor

20.71%
按下载量换算34

Gemini CLI

8.61%
按下载量换算14

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

需要联网

该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

安装前确认

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

继续浏览同类 Skills