Switch embedded weather skill to keyless wttr.in endpoint#354
Open
zaidoskate wants to merge 1 commit into
Open
Switch embedded weather skill to keyless wttr.in endpoint#354zaidoskate wants to merge 1 commit into
zaidoskate wants to merge 1 commit into
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Type of Change
Description
The embedded weather skill was dead on arrival: it only allowed egress to
api.openweathermap.organdapi.weatherapi.com, both of which require an API key, while the skill declared noenv.requiredkey. On top of that, the tool sections were prose-only with no runnable command — nothing was actually wired to make a request.This switches the skill to
wttr.in, which needs no API key for reasonable free traffic, and adds runnablecurlcommands to both tools.General Checklist
go test ./...)gofmt -w)golangci-lint run)go vetreports no issuesSkill Contribution Checklist
forge skills validatepasses with no errorsforge skills auditreports no policy violationsegress_domainslists every domain the skill contacts## Tool:sections with input/output tablesRelated Issues
Closes #349
Notes
forge skills validateexpects a project-levelforge.yaml/skills/layout rather than the embedded skills path, so I validated viaforge skills audit --embeddedand--dirinstead — both reportweatherat low risk (3/100) with no violations.SKILL.md, since wttr.in's free JSON endpoint caps at 3 days (today + 2).forge skills audit, I noticed egress domains aren't reported correctly forweather(and pre-existing, forgithubtoo, which I didn't touch) — seems unrelated to this fix. Happy to open a separate issue if useful.