Skip to main content
When you ask Fliiq to do something it can’t do, it doesn’t say “I can’t do that.” It offers to build the capability.

How It Works

1

Gap Detection

The agent scans its available skills and detects no existing skill matches the request.
2

Permission

The agent asks: “I don’t have a Spotify integration. Want me to build one?”
3

Research

Using web_search and web_fetch, the agent reads the target API’s documentation.
4

Template

The agent reads an existing skill (like web_search) as a reference for the 3-file format.
5

Generation

The agent generates SKILL.md, fliiq.yaml (with test_example), main.py, and test_main.py for the new skill.
6

Installation

The skill is validated and registered into the live session via the install_skill tool.
7

Verification

The agent runs pytest on test_main.py and calls the skill as a tool with the test_example params from fliiq.yaml. Both must pass before the skill is considered ready.
8

Usage

The agent uses the verified skill to complete your original request.

Real Example: Spotify Integration

A user asked Fliiq to create a workout playlist on Spotify. Here’s what happened:

The conversation

What the agent generated

SKILL.md — metadata and LLM instructions:
fliiq.yaml — schema with actions, parameters, and credentials:
main.py — async handler with httpx calls to Spotify Web API:
test_main.py — pytest tests to verify the skill works:

The result

After generating, installing, and verifying the skill, the agent:
  1. Searched for “chill jazz” tracks
  2. Created a playlist named “Chill Jazz”
  3. Added 15 tracks to the playlist
  4. Returned the playlist URL
The entire process — gap detection, API research, skill generation, installation, and playlist creation — happened in a single conversation.

Skill Persistence

Generated skills are saved to .fliiq/skills/<name>/. They persist across sessions — the next time you ask anything Spotify-related, the skill is already there.

What Can the Agent Build?

Any HTTP-based API integration:
  • SaaS APIs — Slack, Notion, Linear, Jira, GitHub
  • Data services — weather, stocks, news, currency conversion
  • Media — Spotify, YouTube, podcast feeds
  • Communication — WhatsApp, Discord, custom webhooks
  • Internal APIs — Your company’s REST endpoints
The constraint is that the skill must be an async Python function using httpx. If the API has an HTTP endpoint, Fliiq can build a skill for it.

Promoting Generated Skills

Once you’ve validated a generated skill, promote it to core so it ships with your project:
This moves the skill from .fliiq/skills/ to skills/core/ — it’s now a permanent part of your Fliiq installation. See Promoting Skills.