Welcome to Athens

Configuring your client

GOPROXY=https://hub.skillsgo.ai,direct

How to use the Athens API

Use the catalog endpoint to get a list of all modules in the proxy

List of versions

This endpoint returns a list of versions that Athens knows about for acidburn/htp:

GET https://hub.skillsgo.ai/mod/github.com/acidburn/htp/@v/list

Version info

This endpoint returns information about a specific version of a module:

GET https://hub.skillsgo.ai/mod/github.com/acidburn/htp/@v/v1.0.0.info

This returns JSON with information about v1.0.0. It looks like this:

{
	"Name": "v1.0.0",
	"Short": "v1.0.0",
	"Version": "v1.0.0",
	"Time": "1972-07-18T12:34:56Z"
}

Skill metadata

This endpoint returns the YAML frontmatter from SKILL.md for a specific version:

name: my-skill\ndescription: Example Skill

Module sources

GET https://hub.skillsgo.ai/mod/github.com/acidburn/htp/@v/v1.0.0.zip

This is what it sounds like — it sends back a zip file with the source code for the module in version v1.0.0.

Latest

GET https://hub.skillsgo.ai/mod/github.com/acidburn/htp/@latest

This endpoint returns the latest version of the module. If the version does not exist it should retrieve the hash of latest commit.