* Improve senior-fullstack skill description and workflow validation - Expand frontmatter description with concrete actions and trigger clauses - Add validation steps to scaffolding workflow (verify scaffold succeeded) - Add re-run verification step to audit workflow (confirm P0 fixes) * chore: sync codex skills symlinks [automated] * fix(skill): normalize senior-fullstack frontmatter to inline format Normalize YAML description from block scalar (>) to inline single-line format matching all other 50+ skills. Align frontmatter trigger phrases with the body's Trigger Phrases section to eliminate duplication. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> * fix(ci): add GITHUB_TOKEN to checkout + restore corrupted skill descriptions - Add token: ${{ secrets.GITHUB_TOKEN }} to actions/checkout@v4 in sync-codex-skills.yml so git-auto-commit-action can push back to branch (fixes: fatal: could not read Username, exit 128) - Restore correct description for incident-commander (was: 'Skill from engineering-team') - Restore correct description for senior-fullstack (was: '>') * fix(ci): pass PROJECTS_TOKEN to fix automated commits + remove duplicate checkout Fixes PROJECTS_TOKEN passthrough for git-auto-commit-action and removes duplicate checkout step in pr-issue-auto-close workflow. * fix(ci): remove stray merge conflict marker in sync-codex-skills.yml (#221) Co-authored-by: Leo <leo@leo-agent-server> * fix(ci): fix workflow errors + add OpenClaw support (#222) --------- Co-authored-by: Baptiste Fernandez <fernandez.baptiste1@gmail.com> Co-authored-by: alirezarezvani <5697919+alirezarezvani@users.noreply.github.com> Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com> Co-authored-by: Leo <leo@leo-agent-server>
45 lines
1.1 KiB
Bash
Executable File
45 lines
1.1 KiB
Bash
Executable File
#!/usr/bin/env bash
|
|
# Install claude-skills into OpenClaw's workspace skills directory
|
|
# Usage: ./scripts/openclaw-install.sh [--dry-run]
|
|
|
|
set -euo pipefail
|
|
|
|
SKILLS_DIR="${HOME}/.openclaw/workspace/skills"
|
|
REPO_DIR="$(cd "$(dirname "$0")/.." && pwd)"
|
|
DRY_RUN=false
|
|
|
|
[[ "${1:-}" == "--dry-run" ]] && DRY_RUN=true
|
|
|
|
# Find all SKILL.md files and install each skill
|
|
installed=0
|
|
skipped=0
|
|
|
|
while IFS= read -r skill_md; do
|
|
skill_dir="$(dirname "$skill_md")"
|
|
skill_name="$(basename "$skill_dir")"
|
|
target="${SKILLS_DIR}/${skill_name}"
|
|
|
|
if [[ -e "$target" ]]; then
|
|
skipped=$((skipped + 1))
|
|
continue
|
|
fi
|
|
|
|
if $DRY_RUN; then
|
|
echo " [dry-run] would install: $skill_name"
|
|
else
|
|
mkdir -p "$SKILLS_DIR"
|
|
ln -sf "$skill_dir" "$target"
|
|
echo " ✅ installed: $skill_name"
|
|
fi
|
|
installed=$((installed + 1))
|
|
done < <(find "$REPO_DIR" -name "SKILL.md" -not -path "*/.git/*")
|
|
|
|
if $DRY_RUN; then
|
|
echo ""
|
|
echo "Dry run complete. Would install $installed skill(s). ($skipped already exist)"
|
|
else
|
|
echo ""
|
|
echo "Done. Installed $installed skill(s). ($skipped already existed)"
|
|
echo "Restart OpenClaw (openclaw gateway restart) to pick up new skills."
|
|
fi
|