搜索

PythonReactSEOPDF
GitHub Skill

agentpack-operator

Operate agentpack safely (doctor/update/preview/diff/deploy/status/explain/evolve/rollback). Prefer --json.

liqiongyu☆ 16 仓库 Stars3 仓库 Forks

安装与使用

请根据来源仓库和你的 AI 工具说明安装此技能。先阅读技能文件和依赖要求,再添加到工作流。

查看来源 ↗使用指南

技能说明

agentpack-operator

Operate Agentpack safely and reproducibly.

What you can do

  • Self-check environment: agentpack doctor --json
  • Update sources: agentpack update --yes --json
  • Preview changes: agentpack preview --json (or agentpack plan --json + agentpack diff --json)
  • Apply changes: agentpack deploy --apply --yes --json
  • Verify drift: agentpack status --json
  • Explain why things look the way they do: agentpack explain plan|diff|status --json
  • Record outcomes and score modules: agentpack record + agentpack score
  • Propose overlay updates from drift: agentpack evolve propose --yes --json
  • Roll back: agentpack rollback --to <snapshot_id>

Safety rules

  1. Never run deploy --apply unless the user explicitly asked to apply.
  2. Always show the plan + (optional) diff summary first.
  3. Prefer --json for machine parsing; keep outputs small and scoped.
  4. Use --repo, --profile, --target when operating outside defaults.

Typical workflow

0) Doctor
agentpack doctor --json
0.5) Update (optional)
agentpack update --yes --json
1) Plan
agentpack plan --json
2) Diff (optional)
agentpack diff --json
3) Apply (only with user approval)
agentpack deploy --apply --yes --json
4) Status
agentpack status --json

AI-first feedback loop (optional)

Explain (optional)
agentpack explain status --json
Record + score (optional)

Record a lightweight execution event (example):

echo '{"module_id":"command:ap-deploy","success":true}' | agentpack record
agentpack score
Evolve overlays (optional)

Capture drifted deployed files into overlays (creates a local git branch):

agentpack evolve propose --yes --json

使用示例

查看来源仓库中的使用示例与配置说明。

查看来源 ↗

来源历史

收录时间
2026-01-20
索引更新时间
2026-01-28
Branch
main

收录与同步日期属于本站记录。源码修改历史请查看来源仓库。

GitHub ↗

chat Comments (0)

chat_bubble_outline

No comments yet. Be the first to share your thoughts!