Skip to content

fix(registry): fall back to default SIN_SKILLS_DIR when env var is unset#78

Merged
Delqhi merged 1 commit into
mainfrom
fix/websearch-default-skills-dir
Jun 14, 2026
Merged

fix(registry): fall back to default SIN_SKILLS_DIR when env var is unset#78
Delqhi merged 1 commit into
mainfrom
fix/websearch-default-skills-dir

Conversation

@Delqhi

@Delqhi Delqhi commented Jun 14, 2026

Copy link
Copy Markdown
Contributor

The registry used os.Getenv(SIN_SKILLS_DIR) directly, which is empty by default. skillmgr installs skills into ~/.local/share/sin-code/skills when SIN_SKILLS_DIR is unset, so the registry now uses the same default path. This makes the websearch Go-native skill discoverable out of the box after 'sin-code skill install websearch' without requiring SIN_SKILLS_DIR to be set.

The registry used os.Getenv(SIN_SKILLS_DIR) directly, which is empty by
default. skillmgr installs skills into ~/.local/share/sin-code/skills when
SIN_SKILLS_DIR is unset, so the registry now uses the same default path.
This makes the websearch Go-native skill discoverable out of the box after
'sin-code skill install websearch' without requiring SIN_SKILLS_DIR to be set.

Adds a test that verifies the default skills dir is used when the env var
is unset and the binary exists there.
@vercel

vercel Bot commented Jun 14, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
sin-code Ready Ready Preview, Comment, Open in v0 Jun 14, 2026 9:31am

@github-actions

Copy link
Copy Markdown

🏆 CEO Audit — A+ (100.0/100)

Metric Value
Grade A+
Score 100.0/100
Critical findings 0
High findings 0
Profile QUICK
Min grade gate B

📥 Download full report (Markdown)
📊 Download SARIF (for Code Scanning)

Run ~/.config/opencode/skills/ceo-audit/scripts/audit.sh . --profile=QUICK locally to reproduce.

@github-actions

Copy link
Copy Markdown

🏆 CEO Audit — A+ (100.0/100)

Metric Value
Grade A+
Score 100.0/100
Critical findings 0
High findings 0
Medium findings 0
Profile QUICK
Min grade gate B

📥 Download full report (Markdown)

Run ID: 27494723829 · Commit: ${github.sha}

Run ~/.config/opencode/skills/ceo-audit/scripts/audit.sh . --profile=QUICK locally to reproduce.

@Delqhi Delqhi merged commit 9ac14e5 into main Jun 14, 2026
4 of 10 checks passed
@Delqhi Delqhi deleted the fix/websearch-default-skills-dir branch June 14, 2026 09:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant