Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Use when writing Go code with `github.com/ax-llm/ax/packages/go` for string signatures, field descriptors, JSON schema output, validation, and typed tool argument shapes.
| Test case | Without → With | Effect | Δ tokens | Δ turns |
|---|---|---|---|---|
| case-03 | ✗→✓ | ▲ Improved | -18% | 0% |
| case-01 | ✗→✓ | ▲ Improved | 16% | 0% |
| case-02 | ✗→✓ | ▲ Improved | 6% | 0% |
| case-06 | ✗→✓ | ▲ Improved | -23% | 0% |
| case-07 | ✗→✓ | ▲ Improved | -43% | 0% |
This skill helps an agent write Go code with the generated Ax package github.com/ax-llm/ax/packages/go. Use the generated package API, examples, and manifests; do not import TypeScript-only APIs unless you are editing the TypeScript package.
github.com/ax-llm/ax/packages/go.API.md and axir-api.json.axir-capabilities.json.examples/.javascript-goja.goimport ax "github.com/ax-llm/ax/packages/go" sig := ax.NewSignature("question:string -> answer:string") schema := sig.ToJSONSchema(nil)
Use the string form when field names and types are enough.
goprogram := ax.NewAx("questionText:string -> answerText:string", nil)
A class field constrains the model to a known label set.
gorouter := ax.NewAx( "messageText:string -> routeClass:class \"support, sales, engineering\"", nil, )
Go exposes generated signature and field records directly.
gosignature := ax.AxSignature{ Inputs: []ax.Field{{ Name: "contactEmail", Type: ax.FieldType{Name: "string", Format: "email"}, }}, Outputs: []ax.Field{{ Name: "partySize", Type: ax.FieldType{Name: "number", Minimum: 1, Maximum: 12}, }}, }
Render the native signature for tools, validators, or external consumers.
goschema := signature.ToJSONSchema(nil)
Attach the native signature to AxGen before the forward call.
goprogram := ax.NewAx("contactEmail:string -> partySize:number", nil) program.Signature = signature output, err := program.Forward(ctx, client, inputs, nil)
Start from the complete programs under examples/, then browse the larger gallery at https://axllm.dev/go/subsystems/s/.
axllm.S, axllm.FieldType, axllm.AxSignatureaxllm.Fn, axllm.Toolprovider-api examples only when the user explicitly has provider credentials available.no-key examples for deterministic local checks and provider request mapping.tools/*/skills/ into user packages.Other measured skills in the registry, with their headline benchmark lift.