DRAFT — Preliminary version, do not share. · Version préliminaire, ne pas partager.

AI agents and skills

An AI agent can operate Fundamentum for you in plain language: it runs the fun CLI on your behalf, guided by the Fundamentum skills. This guide shows you how to install the skills, what each one covers, and the guardrails they set.

An AI agent drives the fun CLI with Fundamentum skills

A skill is a folder of instructions and reference files that an AI coding agent loads when your request matches its description. The Fundamentum skills teach the agent how to use the fun CLI, which API to call for what, and which mistakes to avoid. The agent then runs fun commands in your terminal, with your context and your token. It acts as you: it can do exactly what your role allows, nothing more. See Roles and permissions.

Before you begin

1. Install the skills

The skills ship with the CLI. Install them with:

fun install-skills

The command copies the skills to ~/.claude/skills if ~/.claude exists, otherwise to ~/.agents/skills, and prints the directory it used. Run it again after you upgrade the CLI to get the latest version of the skills.

You get these skills:

Skill Lets you…
fun-api Manage the whole cloud side through every Public API v1 and v2 operation: organizations, projects, users and invitations, service accounts and tokens, roles, licenses, registries, devices and device types, actions and commands, alerts, states and heartbeats, encoders, connectors, file transfers, functions and Insight. Also covers signing in and diagnosing 401 and 403 errors
fun-api-refresh Refresh the cached OpenAPI specs behind fun api
fun-api-device Get device-integration guidance for your firmware team: provisioning with the Devices API, device credentials, the Edge daemon and the MCU library
atoms3-lite Explore and extend the AtomS3 Lite starter kit: its states, LED colours, colour and Wi-Fi actions, alerts, and building and flashing its firmware

The skills hand work to each other: a cloud task that turns into a device task moves from fun-api to fun-api-device.

2. Refresh the API specs

The fun-api skill works through fun api, which needs the cached specs. Download them once:

fun api refresh

You can also ask the agent: "refresh the Fundamentum API specs".

3. Ask in plain language

Start your agent in a terminal where fun works, then ask. You don't need to name the CLI or the skill. For example:

The agent discovers the right operation with fun api … --help instead of answering from memory, then runs it and returns the result.

Guardrails

The skills set rules that the agent follows:

You stay responsible for what you approve. For write operations, ask the agent to run the command with --dry-run first and review the request.

What's next