From 2689a0ab025a4e60e55a5c9f428129226e00ee4a Mon Sep 17 00:00:00 2001 From: James Date: Wed, 22 Jul 2026 07:59:45 -0700 Subject: [PATCH] skills-fetch: default to anthropics + lambdatest; drop nvidia/trailofbits Comment out the nvidia and trailofbits sources in scripts/fetch_skills.sh so `fetch_skills.sh all` pulls only the Anthropic and LambdaTest skill sets. Both disabled sources are retained (commented) in lookup() and the header with a re-enable note; the usage example now references a live source. Also fix a stale lite-mode docstring in optimize/langfuse_available(): the miner no longer consults it or falls back to a local path (it fails loud), so the docstring now describes only the A/B gate's use. Claude-Session: https://claude.ai/code/session_01URfKaRsuJqkcVQPkHzxKfP --- optimize/__init__.py | 3 ++- scripts/fetch_skills.sh | 11 ++++++----- 2 files changed, 8 insertions(+), 6 deletions(-) diff --git a/optimize/__init__.py b/optimize/__init__.py index eee269e..35cc94a 100644 --- a/optimize/__init__.py +++ b/optimize/__init__.py @@ -63,7 +63,8 @@ def is_openrouter(url: str) -> bool: def langfuse_available() -> bool: """True when the configured Langfuse answers its health endpoint (3s probe). The A/B gate - and the miner use this to choose between experiment-logged runs and the local lite path.""" + uses this to decide whether to log the holdout run as a Langfuse experiment or run it + locally without experiment logging. (The miner has no local fallback: it fails loud.)""" import urllib.request base = os.environ.get("LANGFUSE_BASE_URL", "http://langfuse-web:3000").rstrip("/") try: diff --git a/scripts/fetch_skills.sh b/scripts/fetch_skills.sh index 8809970..c4100b7 100755 --- a/scripts/fetch_skills.sh +++ b/scripts/fetch_skills.sh @@ -5,12 +5,13 @@ # # Usage: # scripts/fetch_skills.sh all # every source below -# scripts/fetch_skills.sh anthropics trailofbits # just these +# scripts/fetch_skills.sh anthropics lambdatest # just these # # Sources (curated from https://github.com/VoltAgent/awesome-agent-skills): # anthropics anthropics/skills document skills (pdf, docx, …) per-skill license (frontmatter) -# nvidia nvidia/skills GPU / infra / data / imaging Apache-2.0 # lambdatest LambdaTest/agent-skills testing frameworks MIT +# Disabled sources (uncomment in SOURCES and lookup() to re-enable): +# nvidia nvidia/skills GPU / infra / data / imaging Apache-2.0 # trailofbits trailofbits/skills security analysis CC-BY-SA-4.0 set -euo pipefail @@ -36,13 +37,13 @@ fetch() { # repo cap license # source lookup as a case statement (not `declare -A`): macOS ships bash 3.2, which has no # associative arrays -SOURCES="anthropics nvidia lambdatest trailofbits" +SOURCES="anthropics lambdatest" lookup() { # source -> "repo cap license" ("" if unknown) case "$1" in anthropics) echo "anthropics/skills 0 per-skill(frontmatter)" ;; - nvidia) echo "nvidia/skills 30 Apache-2.0" ;; lambdatest) echo "LambdaTest/agent-skills 12 MIT" ;; - trailofbits) echo "trailofbits/skills 12 CC-BY-SA-4.0" ;; + # nvidia) echo "nvidia/skills 30 Apache-2.0" ;; + # trailofbits) echo "trailofbits/skills 12 CC-BY-SA-4.0" ;; esac }