================================================================== GearScope sandbox test skill: anthropics-skills variant: functional script: /Users/openclaw/gearscope/sandbox/skills/anthropics-skills/functional.sh sandbox: gs-anthropics-skills-functional-20260516-215314 started: 2026-05-16T20:53:17Z sbx: Client Version: v0.29.0 7055fecde6b84aeb963d1680879e5620af15c119 unknown ================================================================== [run-test] creating sandbox... c70a7d044afb: Already exists e07454cc05d8: Already exists 81438aaf4f82: Already exists Digest: sha256:c70a7d044afbb8b6fc0ab6a41e0cd3c704df9c61c68906e6bfef68e49e4215fb Status: Image is up to date for docker/sandbox-templates:shell-docker INFO: Configuring Docker ✓ Created sandbox 'gs-anthropics-skills-functional-20260516-215314' Workspace: /Users/openclaw/gearscope (direct mount) Agent: shell To connect to this sandbox, run: sbx run gs-anthropics-skills-functional-20260516-215314 [run-test] executing test script in sandbox... INFO: Starting Docker daemon ================================================================== anthropics/skills functional tests date: 2026-05-16T20:53:32Z uname: Linux 7.0.3 aarch64 python: Python 3.13.7 ================================================================== ------------------------------------------------------------------ PRE-INSTALL: deps required for skill-creator to run at all ------------------------------------------------------------------ installed: pyyaml ------------------------------------------------------------------ SETUP: shallow clone https://github.com/anthropics/skills ------------------------------------------------------------------ Cloning into 'skills'... ------------------------------------------------------------------ FUNCTIONAL TEST 1: package_skill produces a syntactically valid archive asserts: output .skill file exists and unzip -t reports no errors cmd: bash -c set -e cd skills/skill-creator rm -f frontend-design.skill python3 -m scripts.package_skill ../frontend-design > /tmp/pkg-out.txt 2>&1 [[ -f frontend-design.skill ]] || { echo "no output file produced"; cat /tmp/pkg-out.txt; exit 1; } # The file should be a valid ZIP (since .skill = zip archive per README) if command -v unzip >/dev/null 2>&1; then unzip -t frontend-design.skill > /dev/null 2>&1 || { echo "produced file is not a valid ZIP"; exit 1; } else # If no unzip, fall back: check ZIP magic bytes head -c 4 frontend-design.skill | od -An -c | grep -q "P K" || { echo "no ZIP magic bytes"; exit 1; } fi echo "produced: $(ls -la frontend-design.skill)" ------------------------------------------------------------------ produced: -rw-r--r-- 1 agent agent 5967 May 16 21:53 frontend-design.skill ✅ PASS — output .skill file exists and unzip -t reports no errors ------------------------------------------------------------------ FUNCTIONAL TEST 2: packaged .skill contains SKILL.md asserts: unzip listing shows SKILL.md inside the archive cmd: bash -c set -e cd skills/skill-creator if command -v unzip >/dev/null 2>&1; then unzip -l frontend-design.skill | grep -q "SKILL.md" || { echo "SKILL.md missing from archive"; unzip -l frontend-design.skill; exit 1; } else # Without unzip: use python zipfile python3 -c "import zipfile; z=zipfile.ZipFile(\"frontend-design.skill\"); print(z.namelist()); assert any(\"SKILL.md\" in n for n in z.namelist()), \"SKILL.md missing\"" fi ------------------------------------------------------------------ ✅ PASS — unzip listing shows SKILL.md inside the archive ------------------------------------------------------------------ FUNCTIONAL TEST 3: quick_validate accepts a shipped example skill (frontend-design) asserts: validator returns exit 0 on a known-good skill cmd: bash -c cd skills/skill-creator python3 scripts/quick_validate.py ../frontend-design ------------------------------------------------------------------ Skill is valid! ✅ PASS — validator returns exit 0 on a known-good skill ------------------------------------------------------------------ FUNCTIONAL TEST 4: quick_validate rejects a skill with no frontmatter asserts: validator returns nonzero exit on a broken skill cmd: bash -c set -uo pipefail cd skills/skill-creator BROKEN_DIR=$(mktemp -d) # Create a minimal "skill" missing the required SKILL.md frontmatter cat > "$BROKEN_DIR/SKILL.md" <&1) EXIT=$? echo "validator output:" echo "$OUTPUT" | sed "s/^/ /" echo "validator exit code: $EXIT" rm -rf "$BROKEN_DIR" [[ $EXIT -ne 0 ]] ------------------------------------------------------------------ validator output: No YAML frontmatter found validator exit code: 1 ✅ PASS — validator returns nonzero exit on a broken skill ================================================================== FUNCTIONAL SUMMARY total: 4 passed: 4 failed: 0 Functional verification: skill-creator outputs match the documented claims. (docx/validate.py and mcp-builder/evaluation.py NOT tested — see the script header for why.) ================================================================== ================================================================== finished: 2026-05-16T20:53:37Z exit: 0 ==================================================================