---
name: AINL
slug: ainl-3
category: AI Engineering
description: AINL compiles deterministic .ainl graphs for OpenClaw, including import, compile, run, and MCP tool setup. Use it when you need portable workflows instead of ad-hoc prompts.
github: "https://github.com/sbhooley/ainativelang/tree/main/skills/openclaw"
language: Python
stars: 714
forks: 29
install: "npx degit https://github.com/sbhooley/ainativelang/tree/main/skills/openclaw ~/.claude/skills/openclaw"
installs_to: ~/.claude/skills/openclaw
source_path: skills/openclaw/SKILL.md
collection_size: 3
category_size: 2451
collection_url: "https://dirskills.com/collections/sbhooley/ainativelang"
added: 2026-08-23T05:20:20.166Z
last_synced: 2026-08-23T05:20:20.166Z
canonical_url: "https://dirskills.com/skills/ainl-3"
---

# AINL

AINL compiles deterministic .ainl graphs for OpenClaw, including import, compile, run, and MCP tool setup. Use it when you need portable workflows instead of ad-hoc prompts.

**Install:**

```bash
npx degit https://github.com/sbhooley/ainativelang/tree/main/skills/openclaw ~/.claude/skills/openclaw
```

## README

# AINL for OpenClaw

**AINL** is an AI-native language that compiles **deterministic graphs**. In [OpenClaw](https://openclaw.ai/), use it to import workflows, compile them, run them, and expose **`ainl-mcp`** tools to the agent via **`~/.openclaw/openclaw.json`**.

**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 **OpenClaw** (or wants **deterministic `.ainl` graphs** with **import / compile / run / MCP**). Prefer **`./install.sh`** from a checked-out skill folder, or the manual **`pip install 'ainativelang[mcp]' && ainl install-mcp --host openclaw`** path (alias **`ainl install-openclaw`**). OpenClaw does **not** use `zeroclaw skills install <url>` — install via **ClawHub** (if available) or **copy this folder** into **`~/.openclaw/skills`** or **`<workspace>/skills`**. 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 (after ClawHub or manual copy):** run `./install.sh`  
   That optionally refreshes the **OpenClaw CLI** via npm, upgrades **`ainl[mcp]`**, and runs **`ainl install-mcp --host openclaw`** (MCP merge into **`openclaw.json`**, **`~/.openclaw/bin/ainl-run`** wrapper).

2. **Manual (no skill checkout):**  
   `pip install 'ainativelang[mcp]' && ainl install-mcp --host openclaw`

## Commands the user cares about

| Command | Purpose |
|--------|---------|
| `ainl import …` | Import Markdown or ecosystem sources into `.ainl` |
| `ainl compile …` | Compile / validate graphs |
| `ainl run …` | Execute a graph via the CLI runtime where applicable |
| `~/.openclaw/bin/ainl-run <file.ainl>` | After `install-mcp --host openclaw`: wrapper that compiles then runs |

## After install — prompt suggestion

Tell the user they can say in OpenClaw:

> Import the morning briefing using AINL.

(They should point the importer at their Markdown or pack; `ainl import` subcommands match their source type.)

## MCP

Configure the host so **`mcp.servers.ainl`** in **`~/.openclaw/openclaw.json`** runs **`ainl-mcp`** as a stdio MCP server (see AINL docs: *OpenClaw integration* / *External orchestration*). **`ainl install-mcp --host openclaw`** merges that entry when missing.

## References

- AINL: [github.com/sbhooley/ainativelang](https://github.com/sbhooley/ainativelang)
- **Gold standard (profiles, caps, cron, bootstrap, verification):** [docs/operations/OPENCLAW_AINL_GOLD_STANDARD.md](https://github.com/sbhooley/ainativelang/blob/main/docs/operations/OPENCLAW_AINL_GOLD_STANDARD.md) — `openclaw_ainl_gold_standard`
- **Host briefing — AINL v1.8.0 (what ships vs what OpenClaw must wire; doc key `openclaw_host_ainl_1_2_8`):** [docs/operations/OPENCLAW_HOST_AINL_1_2_8.md](https://github.com/sbhooley/ainativelang/blob/main/docs/operations/OPENCLAW_HOST_AINL_1_2_8.md) — `openclaw_host_ainl_1_2_8`
- OpenClaw: [openclaw.ai](https://openclaw.ai/)
- Package: **`ainativelang`** **v1.8.0** (this tree; **PyPI** after publish — **`docs/RELEASING.md`**)
