Agent Skillsboshu2/agentops › bootstrap

bootstrap

GitHub

用于初始化缺失的 AgentOps 文档(如 PRODUCT.md)及可选的 verdict 存储。遵循最小化原则,仅创建请求的文件,绝不覆盖现有内容,避免过度脚手架化,确保操作幂等且安全。

images/gemini/skills/bootstrap/SKILL.md boshu2/agentops

Trigger Scenarios

bootstrap AgentOps initialize AgentOps docs

Install

npx skills add boshu2/agentops --skill bootstrap -g -y
More Options

Non-standard path

npx skills add https://github.com/boshu2/agentops/tree/main/images/gemini/skills/bootstrap -g -y

Use without installing

npx skills use boshu2/agentops@bootstrap

指定 Agent (Claude Code)

npx skills add boshu2/agentops --skill bootstrap -a claude-code -g -y

安装 repo 全部 skill

npx skills add boshu2/agentops --all -g -y

预览 repo 内 skill

npx skills add boshu2/agentops --list

SKILL.md

Frontmatter
{
    "name": "bootstrap",
    "context": {
        "intent": {
            "mode": "task"
        },
        "window": "fork"
    },
    "consumes": [
        "fitness",
        "product",
        "doc"
    ],
    "metadata": {
        "tier": "session",
        "effects": [
            "write_project_docs"
        ],
        "graph_root": true,
        "disposition": "keep_specialist",
        "capabilities": [
            "bootstrap"
        ],
        "dependencies": [],
        "canonical_status": "canonical"
    },
    "produces": [],
    "practices": [
        "hermetic-builds",
        "code-complete"
    ],
    "context_rel": [],
    "description": "Initialize explicitly requested, missing AgentOps documentation and optional verdict storage without taking over repository workflow. Triggers: \"bootstrap AgentOps\", \"initialize AgentOps docs\".",
    "hexagonal_role": "driving-adapter",
    "user-invocable": true,
    "output_contract": "explicitly requested missing project docs and optional .agents\/ao\/verdicts directory",
    "skill_api_version": 1
}

Bootstrap — minimal project setup

Bootstrap fills only explicitly requested, missing AgentOps entry documents and, when requested, the durable verdict directory. It does not initialize Git, install hooks, create tracker state, start runtimes, or impose a delivery workflow.

Never-overwrite is what makes bootstrap safe to run on any repository: a setup step that can only add is idempotent by construction, while one that can replace must first prove it understands what it is replacing.

Named failure mode — scaffold sprawl: creating files the caller never requested because a "complete" setup feels more helpful than a minimal one.

Anti-pattern: inferring product intent from directory names and READMEs to avoid asking the caller. Corrective: ask for the missing content; a wrong PRODUCT.md written confidently is worse than a question.

Prompt

Bootstrap missing AgentOps docs for fleet-router (ao is installed). Create only PRODUCT.md and GOALS.md since they're missing; AGENTS.md already exists, so leave it untouched. Also create .agents/ao/verdicts/sha256/. Report created, skipped, and failed paths.

It's working if

  • The report lists PRODUCT.md and GOALS.md as created and AGENTS.md as skipped because it already exists.
  • A path collision with an existing document, e.g. AGENTS.md already present, gets reported as skipped rather than overwritten.
  • .agents/ao/verdicts/sha256/ gets created only when the caller explicitly requested durable verdict storage.
  • The report ends with created, skipped, and failed paths only, carrying no next action and no git command.

Procedure

  1. Inspect the target directory and report which canonical files already exist.
  2. Ask the caller for missing product intent or goal content when it cannot be inferred safely.
  3. Create only missing, explicitly requested files. Never overwrite an existing document.
  4. Create .agents/ao/verdicts/sha256/ when durable local verdict storage is requested.
  5. Validate filesystem existence and report created, skipped, and failed paths.
  6. Stop.

Typical documents are PRODUCT.md, GOALS.md, AGENTS.md, and a README section that explains the RPI traversal. Generated product copy starts from the operations-layer category and preserves the ownership boundary. Repositories remain free to use their own Git, CI, tracker, release, and deployment policies.

Naming. Three surfaces share the word "bootstrap"; they are distinct. This skill authors missing entry documents. ao init is the CLI command that creates the local evidence and verdict directories (.agents/ao/**). ao session bootstrap is a read-only session command that reports which local orientation files are present. This skill invokes neither.

Non-goals

  • installing or invoking ao, br, bd, NTM, Agent Mail, or another runtime;
  • creating .git, worktrees, branches, commits, hooks, or CI workflows;
  • choosing work or claiming that repository setup is complete beyond the paths actually inspected;
  • running RPI automatically.

Output

Return target path, requested files, created files, existing files left intact, failed writes, and validation observations. Do not include a next action.

References

Version History

  • 8061085 Current 2026-09-09 05:15

    新增 'It's working if' 验收标准章节,明确报告格式与跳过逻辑;细化命名说明以区分 CLI 命令与技能功能。

  • d9f9c50 2026-08-27 19:40
  • 7b07a7d 2026-08-19 21:58

    对齐技能契约与操作规范,明确 Bootstrap 仅创建显式请求的项目文档和可选的判决存储,防止意外仓库变更。

  • 3f402e5 2026-07-24 22:06

Same Skill Collection

images/gemini/skills/account-rotation/SKILL.md
images/gemini/skills/agent-mail/SKILL.md
images/gemini/skills/agent-native/SKILL.md
images/gemini/skills/agy-native/SKILL.md
images/gemini/skills/anti-ceremony/SKILL.md
images/gemini/skills/automation-shape-routing/SKILL.md
images/gemini/skills/cass/SKILL.md
images/gemini/skills/cc-hooks/SKILL.md
images/gemini/skills/codebase-recon/SKILL.md
images/gemini/skills/codex-exec/SKILL.md
images/gemini/skills/converter/SKILL.md
images/gemini/skills/council/SKILL.md
images/gemini/skills/craft-goal/SKILL.md
images/gemini/skills/crank/SKILL.md
images/gemini/skills/dcg/SKILL.md
images/gemini/skills/doc/SKILL.md
images/gemini/skills/domain/SKILL.md
images/gemini/skills/fitness/SKILL.md
images/gemini/skills/goals/SKILL.md
images/gemini/skills/handoff/SKILL.md
images/gemini/skills/human-only-skills/SKILL.md
images/gemini/skills/idea-genie/SKILL.md
images/gemini/skills/implement/SKILL.md
images/gemini/skills/learn/SKILL.md
images/gemini/skills/ms/SKILL.md
images/gemini/skills/ntm/SKILL.md
images/gemini/skills/one-way-door/SKILL.md
images/gemini/skills/operationalize/SKILL.md
images/gemini/skills/pattern-mining/SKILL.md
images/gemini/skills/plan/SKILL.md
images/gemini/skills/postmortem/SKILL.md
images/gemini/skills/premortem/SKILL.md
images/gemini/skills/product/SKILL.md
images/gemini/skills/rch/SKILL.md
images/gemini/skills/reality-check/SKILL.md
images/gemini/skills/refactor/SKILL.md
images/gemini/skills/research/SKILL.md
images/gemini/skills/reverse-engineer/SKILL.md
images/gemini/skills/route/SKILL.md
images/gemini/skills/rpi/SKILL.md
images/gemini/skills/sbh/SKILL.md
images/gemini/skills/scaffold/SKILL.md
images/gemini/skills/scope/SKILL.md
images/gemini/skills/security/SKILL.md
images/gemini/skills/shared/SKILL.md
images/gemini/skills/skill-builder/SKILL.md
images/gemini/skills/skill-eval/SKILL.md
images/gemini/skills/standards/SKILL.md
images/gemini/skills/status/SKILL.md

Metadata

Files
0
Version
8061085
Hash
621ab2de
Indexed
2026-07-24 22:06

Home - Wiki
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-09-16 02:28
浙ICP备14020137号-1 $Map of visitor$