Skip to content
AI & Agents
Skill

/unicli-oneshot

Quick single-command adapter generation for unicli. Use when you need to create a one-off command for a specific URL and goal — 4 steps done.

BOOST
From plugin
uni-cli
23512 skills3 commands
Install
$ npx -y skills add olo-dot-io/Uni-CLI --skill unicli-oneshot --agent claude-code

How it fires

How this skill gets triggered: by you, by Claude, or both.

  • Fires itselfAuto-invocation. Claude auto-loads it when your prompt matches the work.Auto-invocation is when the right skill fires by itself at the right moment, driven by a FLOW.md router and a hook, instead of you invoking it by name. It is the difference between a skill being installed and a skill actually getting used.Read the full definition →
  • You can call itInvoke it directly when you want it.
  • Slash command/unicli-oneshot

Context preview

The summary Claude sees to decide when to auto-load this skill.

Quick single-command adapter generation for unicli. Use when you need to create a one-off command for a specific URL and goal — 4 steps done.

SKILL.md

unicli-oneshot.SKILL.md
name: unicli-oneshot
description: >
  Quick single-command adapter generation for unicli. Use when you need to
  create a one-off command for a specific URL and goal — 4 steps done.

unicli One-Shot Adapter

Generate a single unicli command from a URL + goal in 4 steps.

Process

Step 1: Open the Page

unicli operate open "<URL>"
unicli operate state

Step 2: Discover the API

Open browser DevTools Network tab. Look for XHR/Fetch requests that return JSON data matching your goal.

Key signals:

  • `/api/` or `/v1/` in URL → REST endpoint
  • JSON response with array of items → listable data
  • Query parameters → filterable

Step 3: Write the YAML

Create `src/adapters/<site>/<command>.yaml`:

site: <site-name>
name: <command>
description: <what it does>
type: web-api
strategy: public # or cookie if auth needed
pipeline:
  - fetch:
      url: <discovered-api-url>
      params: <query-params>
  - select: <path.to.data>
  - map:
      title: ${{ item.title }}
      # ... map fields
columns: [title, ...]

Step 4: Test

npm run dev -- <site> <command>
npm run dev -- <site> <command> -f json

Done. One YAML file, one command, zero code.

Ships withuni-cli

One command for every interface—search, run, and inspect real software across APIs, browsers, desktops, local tools, and MCP.

Get the whole plugin

Other skills on uni-cli.