ax-signature

ax-signature is a skill for Claude Code, Codex from ax-llm/ax. It costs 57 tokens per session (4,619 once invoked), scanned A, original, Apache-2.0.

A reference guide for writing DSPy signatures with the @ax-llm/ax TypeScript library. Signatures describe the inputs and outputs an AI program should use, including types such as strings, numbers, dates, files, and JSON.

In plain words
What is it for?
Creating and checking signature strings, fluent signature builders, field types, and validation rules.
Why use it?
It helps prevent incorrectly formatted signatures and type mismatches when defining AI program inputs and outputs.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Creating and checking signature strings, fluent signature builders, field types, and validation rules.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/ax-llm/ax/ax-signature
About the project

Ax is a TypeScript-first programming framework for building applications with large language models through typed generation, agents, workflows, and optimization tools. It is intended for developers who want one model for LLM programs across TypeScript, Python, Java, C++, Go, Rust, and other runtimes.

ax-llm/ax · 2,895 stars · on GitHub · axllm.dev

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add ax-llm/ax --skill ax-signature
Clone the repo
git clone --depth 1 https://github.com/ax-llm/ax

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for ax-signature

README.md
[![agentmods](https://agentmods.dev/badge/skills/ax-llm/ax/ax-signature/github.svg)](https://agentmods.dev/skills/ax-llm/ax/ax-signature)
Your own site
<a href="https://agentmods.dev/skills/ax-llm/ax/ax-signature"><img src="https://agentmods.dev/badge/skills/ax-llm/ax/ax-signature/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for ax-signature

Your own site · 80×15
<a href="https://agentmods.dev/skills/ax-llm/ax/ax-signature"><img src="https://agentmods.dev/badge/skills/ax-llm/ax/ax-signature.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 57 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 4,619 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00057 $0.04619
Opus 5 $0.00028 $0.02309
Sonnet 5 $0.00011 $0.00924
Haiku 4.5 $0.00006 $0.00462

Measured 4d ago against content hash 8b471adf89d8, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade A, and why

ax-signature scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 4d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

website/static/typescript/.well-known/agent-skills/ax-signature/SKILL.md · 422 lines

How it starts

The opening of the file, as written. The whole thing — 422 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Ax Signature Reference

Signature Syntax

[description] input1:type, input2:type -> output1:type, output2:type

Field Types

Type Syntax TypeScript Example
String :string string userName:string
Number :number number score:number
Boolean :boolean boolean isValid:boolean
JSON :json any metadata:json
Date :date Date birthDate:date
DateTime :datetime Date timestamp:datetime
DateRange :dateRange { start: Date; end: Date } travelDates:dateRange
DateTimeRange :datetimeRange { start: Date; end: Date } meetingWindow:datetimeRange
Image :image {mimeType, data} photo:image (input only)
Audio :audio input: AxAudioInput; output: AxChatAudioOutput recording:audio, speech:audio
File :file {mimeType, data} document:file (input only)
URL :url string website:url
Code :code string pythonScript:code
Class :class "a, b, c" "a" | "b" | "c" mood:class "happy, sad"

Date, datetime, and range fields are AI-friendly but strict. They accept ISO-style values, trim minor whitespace/casing issues, and parse ranges as { "start": "...", "end": "..." }, [start, end], start/end, or natural delimiters like start to end; invalid values and reversed ranges should fail validation rather than being silently autocorrected.

Arrays, Optional, and Internal Fields

'tags:string[] -> processedTags:string[]'  // arrays
'query:string, context?:string -> response:string'  // optional with ?
'problem:string -> reasoning!:string, solution:string'  // internal with !

Extended String Grammar (Modifier Bags + Nested Objects)

The string form is constraint-complete: everything the fluent API expresses (except Standard Schema fields) can be written in the string. A type takes an optional comma-separated, order-free modifier bag in parentheses, and objects declare structured fields inline.

Read the full file on GitHub · 422 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 4d ago Changed 8b471adf89d8
  2. 7d ago First seen · 422 lines · 57 tokens per session scan A 07a9aad0b016

Subscribe to this mod's changes

ax-signature is a skill published in the GitHub repository ax-llm/ax (2,895 stars, last pushed yesterday), licensed Apache-2.0. It adds 57 tokens to every session and 4,619 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.

Related

Other skills, from other repositories

migrate-from-ai-sdk

Use when porting an app from the Vercel AI SDK (ai, @ai-sdk/) to @deuz-sdk/core. Triggers include "migrate from the AI SDK", "replace ai with @deuz-sdk/core", "we use streamText/generateText/useChat and want to switch", removing @ai-sdk/openai or @ai-sdk/anthropic, porting a toUIMessageStreamResponse route, converting…

Deuz-AI/Deuz-SDK · 118 tokens

model-context

MCP (Model Context Protocol) - Build AI-native servers with tools, resources, and prompts. TypeScript/Python SDKs for Claude Desktop integration.

bobmatnyc/claude-mpm-skills · 34 tokens

build-mcp-server

MCP (Model Context Protocol) - Build AI-native servers with tools, resources, and prompts. TypeScript/Python SDKs for Claude Desktop integration.

bobmatnyc/claude-mpm · 36 tokens

claude-api

Anthropic Claude API patterns for Python and TypeScript. Covers Messages API, streaming, tool use, vision, extended thinking, batches, prompt caching, and Claude Agent SDK. Use when building applications with the Claude API or Anthropic SDKs.

hashgraph-online/awesome-codex-plugins · 53 tokens

output-dev-prompt-file

Create .prompt files for LLM operations in Output SDK workflows. Use when designing prompts, configuring LLM providers, or using Liquid.js templating.

growthxai/output · 36 tokens

output-dev-eval-testing

Create offline evaluation tests for Output SDK workflows using @outputai/evals. Use when implementing test evaluators with verify(), creating dataset YAML files, building eval workflows, or running workflow tests via CLI.

growthxai/output · 46 tokens