AINL

AINL is a skill for Claude Code, Codex from sbhooley/ainativelang. It costs 21 tokens per session (1,123 once invoked), scanned D, original, Apache-2.0.

A workflow tool for ZeroClaw that turns AINL files into deterministic graphs: repeatable workflow plans with a fixed structure. It can import, compile, run, and expose these workflows through MCP, a standard way for agents to call tools.

In plain words
What is it for?
Use it to import and compile .ainl workflows, run them in ZeroClaw, create repeatable briefings, and connect AINL validation or compilation tools through MCP.
Why use it?
It gives ZeroClaw a repeatable workflow format instead of relying only on ad-hoc prompts. It also makes compiled workflows and validation tools available to the agent.

Skill for Claude CodeCodex

Which agent this was written for is unclear — built for openclaw. Also seen: mentions AGENTS.md; built for openclaw.

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.

agentmods
npx agentmods add skills/sbhooley/ainativelang/ainl
Any agent
npx skills add sbhooley/ainativelang --skill ainl
Clone the repo
git clone --depth 1 https://github.com/sbhooley/ainativelang

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 AINL

README.md
[![agentmods](https://agentmods.dev/badge/skills/sbhooley/ainativelang/ainl.svg)](https://agentmods.dev/skills/sbhooley/ainativelang/ainl)
Your own site
<a href="https://agentmods.dev/skills/sbhooley/ainativelang/ainl"><img src="https://agentmods.dev/badge/skills/sbhooley/ainativelang/ainl.svg" alt="Measured on agentmods" height="20"></a>
Per session 21 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,123 The whole file, excluding the scripts and references it only reads on demand.
Security scan D 2 findings. Scan, not verified.
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.00021 $0.01123
Opus 5 $0.00010 $0.00562
Sonnet 5 $0.00004 $0.00225
Haiku 4.5 $0.00002 $0.00112

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

Security

Grade D, and why

AINL scanned grade D with 2 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 7d ago.

The scan reads SKILL.md. This mod also ships 1 executable file (install.sh), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

Asks for rootmediumPrivilege escalation

A mod that escalates privileges can change anything on the machine, not only the project.

This skill is designed for environments with **PEP 668 externally-managed Python** (Python 3.13+, sudo blocked).

Recursive force deletehighDestructive command

rm -rf with a variable or a broad path is one typo away from removing the wrong tree.

rm -rf /tmp/ainl-repo /data/.openclaw/workspace/skills/ainl /data/.local/lib/python3.13/site-packages/*ainl*
skills/ainl/SKILL.md · 80 lines

How it starts

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

AINL for ZeroClaw

AINL is an AI-native language that compiles deterministic graphs. In ZeroClaw, use it to import workflows, compile them, run them, and expose ainl-mcp tools to the agent.

Package: ainativelang v1.8.0 (this tree; PyPI after publish — docs/RELEASING.md). Optional extras: [mcp], [solana].

Agent instructions

Follow this skill when the user is on ZeroClaw (or wants deterministic .ainl graphs with import / compile / run / MCP). Prefer ./install.sh after zeroclaw skills install …, or the manual pip install 'ainativelang[mcp]' && ainl install-mcp --host zeroclaw path (alias ainl install-zeroclaw). After bootstrap, suggest the morning briefing prompt example below when it fits.

When to use this skill

  • The user wants portable, compiled workflows (.ainl) instead of ad-hoc prompts.
  • They mention import, compile, morning briefing, clawflows, ecosystem, or deterministic graphs.
  • They need MCP access to validation / compile / ecosystem listing (ainl-mcp).

Install (pick one)

  1. From this skill directory (recommended with zeroclaw skills install): run ./install.sh
    That upgrades ainl[mcp] and runs ainl install-mcp --host zeroclaw (pip self-upgrade, MCP registration hints, ~/.zeroclaw/bin/ainl-run shim).

  2. Manual:
    pip install 'ainativelang[mcp]' && ainl install-mcp --host zeroclaw

Restricted environments (OpenClaw, Clawbot, webchat sandboxes)

This skill is designed for environments with PEP 668 externally-managed Python (Python 3.13+, sudo blocked).

  • Preferred no-root order is: python -m venv first, then --user, then --break-system-packages as a last resort.
  • The installer automatically uses compatible fallback modes when default pip fails.
  • Clean uninstall (if needed):
pip3 uninstall -y ainl mcp aiohttp langgraph temporalio
rm -rf /tmp/ainl-repo /data/.openclaw/workspace/skills/ainl /data/.local/lib/python3.13/site-packages/*ainl*

Read the full file on GitHub · 80 lines

Files

What ships with it

2 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 7d ago First seen · 80 lines · 21 tokens per session scan D 8f22b3107faf

Subscribe to this mod's changes

AINL is a skill published in the GitHub repository sbhooley/ainativelang (671 stars, last pushed 3d ago), licensed Apache-2.0. It adds 21 tokens to every session and 1,123 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it D with 2 findings (asks for root, recursive force delete). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.