openclaw-quickstart

A quick-start guide for connecting AINL workflows to OpenClaw, an AI automation system. AINL is a language for defining compiled workflows that can be run repeatedly.

In plain words
What is it for?
It helps install AINL for OpenClaw, check its status, run diagnostics and tests, and follow the required implementation preflight.
Why use it?
It gives operators a defined setup and verification path before implementation begins. It also points to checks for installation, adapter behavior, tests, and token-budget data.

Agent

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 agents/sbhooley/ainativelang/openclaw-quickstart
Clone the repo
git clone --depth 1 https://github.com/sbhooley/ainativelang
Per session 0 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 2,393 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 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 $0.00000 $0.02393
Opus 5 $0.00000 $0.01196
Sonnet 5 $0.00000 $0.00479
Haiku 4.5 $0.00000 $0.00239

Measured yesterday against content hash 9d1fe166630a, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

openclaw-quickstart 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.

docs/agents/openclaw-quickstart.md · 245 lines

How it starts

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

AI Agent Quickstart: Integrating AINL with OpenClaw

This guide gets you from zero to generating OpenClaw automations in AINL within one session.

Before implementation work: Follow docs/BOT_ONBOARDING.md and complete the implementation preflight in docs/OPENCLAW_IMPLEMENTATION_PREFLIGHT.md (inspect files, confirm not duplicate, verify adapter semantics, emit required output structure). Machine-readable pointers: tooling/bot_bootstrap.json.


OpenClaw operator path (≈5 minutes)

Use ainl install openclaw, then ainl status / ainl doctor --ainl. The Weekly budget remaining line may reflect weekly_remaining_tokens from memory_records (workflow / budget.aggregate / weekly_remaining_v1) when the legacy weekly_remaining_v1 SQLite table has no non-null row — see openclaw-operator.md and ../operations/OPENCLAW_AINL_GOLD_STANDARD.md (Weekly Token Trends).


1. Environment Setup (One-Time)

# Clone and install
cd /Users/clawdbot/.openclaw/workspace/AI_Native_Lang
python -m pip install -e ".[dev,web]"

# Verify installation
ainl-validate --version
ainl-tool-api --help

# Run core tests
.venv/bin/python scripts/run_test_profiles.py --profile core

If tests pass, you're ready.


2. Understand the AINL Landscape (15 min)

Read in order:

  1. docs/BOT_ONBOARDING.md — bot entrypoint; points to preflight (required before implementation)
  2. README.md — project overview
  3. docs/DOCS_INDEX.md — map to all docs
  4. docs/AINL_SPEC.md (sections 0-3 only) — core syntax and execution model
  5. examples/openclaw/daily_digest.lang — a monitor workflow example
  6. agent_reports/AI_CONSULTANT_REPORT_APOLLO.md — OpenClaw integration strategy
  7. agent_reports/README.md — indexed field reports from agents running AINL in production (continuity narratives)
  8. docs/INTELLIGENCE_PROGRAMS.mdintelligence/*.lang monitors + scripts/run_intelligence.py runner
  9. docs/OPENCLAW_IMPLEMENTATION_PREFLIGHT.md — required before coding (steps + output structure)
  10. docs/ainl_openclaw_unified_integration.md — unified integration (current v1.8.0; includes v1.3.0/v1.2.8): token-aware startup, bridge, cron, and gold-standard deployment

Read the full file on GitHub · 245 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 First seen · 245 lines · 0 tokens per session scan A 9d1fe166630a

Subscribe to this mod's changes

openclaw-quickstart is an agent published in the GitHub repository sbhooley/ainativelang (674 stars, last pushed 2mo ago), licensed Apache-2.0. It costs nothing until one of its globs matches a file; then it loads 2,393 tokens. 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.