chore: import upstream snapshot with attribution

This commit is contained in:
wehub-resource-sync
2026-07-13 12:55:23 +08:00
commit bc7eac8151
1701 changed files with 376767 additions and 0 deletions
+26
View File
@@ -0,0 +1,26 @@
$ErrorActionPreference = "Stop"
$scriptDir = Split-Path -Parent $MyInvocation.MyCommand.Path
$skillDir = Split-Path -Parent $scriptDir
$hermesHome = if ($env:HERMES_HOME) {
$env:HERMES_HOME
} elseif ($env:USERPROFILE) {
Join-Path $env:USERPROFILE ".hermes"
} else {
throw "HERMES_HOME is not set and USERPROFILE is unavailable."
}
$destRoot = Join-Path $hermesHome "skills"
$destDir = Join-Path $destRoot "cli-anything-hermes"
New-Item -ItemType Directory -Path $destRoot -Force | Out-Null
if (Test-Path $destDir) {
Write-Error "Refusing to overwrite existing skill: $destDir`nRemove it manually if you want to reinstall."
}
Copy-Item -Path $skillDir -Destination $destDir -Recurse
Write-Host "Installed Hermes skill to: $destDir"
Write-Host "Restart Hermes Agent to pick up the new skill."
+21
View File
@@ -0,0 +1,21 @@
#!/usr/bin/env bash
set -euo pipefail
SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
SKILL_DIR="$(cd "${SCRIPT_DIR}/.." && pwd)"
DEST_ROOT="${HERMES_HOME:-$HOME/.hermes}/skills"
DEST_DIR="${DEST_ROOT}/cli-anything-hermes"
mkdir -p "${DEST_ROOT}"
if [[ -e "${DEST_DIR}" ]]; then
echo "Refusing to overwrite existing skill: ${DEST_DIR}" >&2
echo "Remove it manually if you want to reinstall." >&2
exit 1
fi
cp -R "${SKILL_DIR}" "${DEST_DIR}"
echo "Installed Hermes skill to: ${DEST_DIR}"
echo "Restart Hermes Agent to pick up the new skill."