ax-python-llm

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

A reference for writing Python programs with axllm, a package for connecting applications to language models and building generated Ax programs. It explains the package's Python APIs, examples, and supported capabilities.

In plain words
What is it for?
Use it to create Ax programs, configure language-model providers, use package entry points, and follow the available Python examples and documentation.
Why use it?
It reduces the risk of using the wrong language-specific API or relying on TypeScript examples when writing Python.

Skill for Claude CodeCodex

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

Good fit Use it to create Ax programs, configure language-model providers, use package entry points, and follow the available Python examples and documentation.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/ax-llm/ax/ax-python-llm
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,998 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-python-llm
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-python-llm

README.md
[![agentmods](https://agentmods.dev/badge/skills/ax-llm/ax/ax-python-llm/github.svg)](https://agentmods.dev/skills/ax-llm/ax/ax-python-llm)
Your own site
<a href="https://agentmods.dev/skills/ax-llm/ax/ax-python-llm"><img src="https://agentmods.dev/badge/skills/ax-llm/ax/ax-python-llm/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-python-llm

Your own site · 80×15
<a href="https://agentmods.dev/skills/ax-llm/ax/ax-python-llm"><img src="https://agentmods.dev/badge/skills/ax-llm/ax/ax-python-llm.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 36 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 609 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.00036 $0.00609
Opus 5.5 $0.00014 $0.00244
Sonnet 5.5 $0.00007 $0.00122
Haiku 4.5 $0.00004 $0.00061

Measured yesterday against content hash f396e24e7504, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

ax-python-llm 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 yesterday.

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.

packages/python/skills/ax-python-llm/SKILL.md · 38 lines

How it starts

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

Ax For Python

Use this entry point when working with axllm. Read the guides relevant to the task before writing code. The guides are bundled locally; no additional skill installation is needed. Load more guides when a task crosses into another area.

Choose A Guide

Task Read
Start a program, choose native factories, or find package docs and examples Quick reference
provider clients and model routing AxAI Providers
decision signatures and native questions Typesafe / Jev
audio and realtime provider mappings Ax Audio And Realtime
signatures, fields, schemas, and validation Ax Signatures
structured generation and tools AxGen Structured Generation
RLM agents and tools AxAgent
runtime sessions and actor-code execution AxAgent RLM Runtime
memory, recall, and dynamic skill loading AxAgent Memory And Skills
traces, logs, usage, and diagnostics AxAgent Observability
agent evaluation and optimization artifacts AxAgent Optimize
choosing context maps, policy, optimization, and recall AxAgent Context Selection
workflow graphs and orchestration AxFlow
Pareto optimization and prompt evolution Ax GEPA
evolving context playbooks Ax Playbook
candidate improvement and evaluation feedback Ax Refinement Patterns

For an agent with persistent recall, read the agent and memory guides. For a provider-backed workflow, read the AI, generation, and flow guides.

Read the full file on GitHub · 38 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. yesterday Changed f396e24e7504
  2. 2d ago Changed 210804d16652
  3. 12d ago Changed 60ef2ff37d89
  4. 14d ago Changed b549501185c5
  5. 18d ago Changed 208c43c993ba
  6. 24d ago Changed 41f9253ec7c6
  7. 27d ago Changed 2ff331f1da4f
  8. 1mo ago Changed e1cb895bd7ea
  9. 1mo ago Changed 0c7381efde1f
  10. 1mo ago First seen · 38 lines · 36 tokens per session scan A 8310b39f2df4

Subscribe to this mod's changes

ax-python-llm is a skill published in the GitHub repository ax-llm/ax (2,998 stars, last pushed today), licensed Apache-2.0. It adds 36 tokens to every session and 609 once invoked, about $0.0001 per session on Opus 5.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-08-30.

Related

ax-python-llm compared with skills from other repositories

ax-python-llm next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
ax-python-llmax-llm/axSkill3.0ktodayApache-2.0A36Claude Code, Codex
claude-apihashgraph-online/awesome-codex-pluginsSkill1.6ktodayApache-2.0A53Claude Code, Codex
migrating-llm-gateway-callersPostHog/posthogSkill41ktodaynoneA102Claude Code, Codex
migrate-from-ai-sdkDeuz-AI/Deuz-SDKSkill5047d agoMITA118Claude Code, Codex
model-contextbobmatnyc/claude-mpm-skillsSkill794mo agoMITA34Claude Code
build-mcp-serverbobmatnyc/claude-mpmSkill1603mo agononeA36Claude Code
pytorch-patternsaffaan-m/ECCSkill314kyesterdayMITA32Claude Code, Kiro