Token导航 LogoToken导航TokenDH.com
开发只读github未标认证来源可访问许可证需确认审计提醒

harness-update线束更新

Agent Skill

harness-update 用于处理 GitHub 仓库、Issue、Pull Request 和代码协作信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要围绕仓库状态、代码变更或协作事项进行整理时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

245

周安装

10

GitHub Stars

598

下载量

79
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

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

命令行安装

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

skills.shnpx skills
npx skills add https://github.com/chachamaru127/claude-code-harness --skill harness-update

简介

用于处理 GitHub 仓库、Issue 和 Pull Request 协作信息。

  • 适合围绕代码变更、仓库状态进行整理和分析。harness-update 属于开发类 Skill,可作为该场景下的辅助能力补充。
  • 通过 GitHub 安装,可结合来源仓库进一步验证用法。
  • 安装前需确认权限范围和维护状态,避免触发不必要操作。
  • 建议核实是否会执行命令或读写文件后再使用。

SKILL.md

Harness Update Skill

Safely update projects with existing harness to the latest harness version. Version detection → Backup → Non-destructive update flow preserves existing settings and tasks while introducing latest features.

Quick Reference

  • "I want to update harness to the latest version"
  • "I want to add new features to existing project"
  • "I want to update config file format to latest version"
  • "I want to fix incorrect permission syntax"
  • "I was notified of template updates"

Deliverables

  • Version detection via .claude-code-harness-version
  • Template update detection and localization judgment
  • Identify files needing update
  • Auto-backup creation
  • Non-destructive settings/workflow file updates
  • No localization → overwrite / Localized → merge support
  • Skills diff detection - Auto-detect and propose new skills
  • Optional: Codex CLI sync (.codex/ + AGENTS.md)
  • Post-update verification

Execution Flow Overview

PhaseReferenceDescription
Phase 1references/version-detection.mdVersion detection and confirmation
Phase 1.5references/breaking-changes.mdBreaking changes detection and fix
Phase 2references/backup-and-update.mdBackup creation and file updates
Phase 3references/verification.mdVerification and completion

Phase Summary

Phase 1: Version Detection

  1. Check .claude-code-harness-version file
  2. Compare with plugin's latest version
  3. Run template-tracker.sh check for content-level updates
  4. Confirm update scope with user

If harness not installed: Suggest using /harness-init instead.

Phase 1.5: Breaking Changes Detection

Detect and fix existing settings issues:

  • Incorrect permission syntax (e.g., Bash(npm run *)Bash(npm run:*))
  • Deprecated settings (e.g., disableBypassPermissionsMode)
  • Old hook settings in project files (should use plugin hooks.json)

Phase 2: Backup and Update

  1. Create backup in .claude-code-harness/backups/{timestamp}/
  2. Update .claude/settings.json (merge permissions, fix syntax)
  3. Update workflow files based on localization status:

- Not localized → overwrite - Localized → merge support with user confirmation

  1. Update rule files with marker/hash method
  2. Skills diff detection and update proposal
  3. Update Cursor commands (always overwrite)
  4. Update version file

Phase 3: Verification

  1. Post-update re-verification with template-tracker.sh check
  2. Syntax check for JSON files
  3. Generate completion report with file-by-file results

Important Preserved Data

These are never overwritten:

  • ✅ Incomplete tasks in Plans.md
  • ✅ Custom settings in.claude/settings.json (hooks, env, model, etc.)
  • ✅ SSOT data in.claude/memory/

Related Commands

  • /harness-init - New project setup
  • /sync-status - Check current project status
  • /setup - Setup development tools

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

40.86%
按下载量换算32

Claude

29.03%
按下载量换算23

Cursor

18.79%
按下载量换算15

Gemini CLI

8.71%
按下载量换算7

安全审计

Gen Agent Trust Hub

可疑

Socket

通过

Snyk

通过

权限和风险

只读

该 Skill 主要提供规则、说明或参考内容,本身偏只读;真正读写文件、联网或执行命令仍取决于宿主 Agent 的任务。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在 warning/failed 结果,不能写成本站确认安全。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills