unicli-oneshot

unicli-oneshot is a skill for Claude Code, Codex from olo-dot-io/Uni-CLI. It costs 37 tokens per session (335 once invoked), scanned A, original, Apache-2.0.

A four-step guide for creating a one-off Uni-CLI command for a website by finding the site's data API and describing it in YAML. YAML is a human-readable configuration format; an API is an interface that lets software request data from a service.

In plain words
What is it for?
Use it to inspect a URL, find its JSON-producing network request, create a fetch-and-map adapter, and test a command that lists the desired fields.
Why use it?
It turns a small website data task into one configuration file instead of custom program code. Testing the command in normal and JSON output modes helps confirm that the extracted data is correct.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

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 skills/olo-dot-io/uni-cli/unicli-oneshot
Any agent
npx skills add olo-dot-io/Uni-CLI --skill unicli-oneshot
Clone the repo
git clone --depth 1 https://github.com/olo-dot-io/Uni-CLI

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for unicli-oneshot

README.md
[![agentmods](https://agentmods.dev/badge/skills/olo-dot-io/uni-cli/unicli-oneshot.svg)](https://agentmods.dev/skills/olo-dot-io/uni-cli/unicli-oneshot)
Your own site
<a href="https://agentmods.dev/skills/olo-dot-io/uni-cli/unicli-oneshot"><img src="https://agentmods.dev/badge/skills/olo-dot-io/uni-cli/unicli-oneshot.svg" alt="Measured on agentmods" height="20"></a>
Per session 37 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 335 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.1 $0.00037 $0.00335
Opus 5 $0.00018 $0.00168
Sonnet 5 $0.00007 $0.00067
Haiku 4.5 $0.00004 $0.00034

Measured 6d ago against content hash 5f261dd6bee0, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-05, from the pricing page.

Security

Grade A, and why

unicli-oneshot 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 6d ago.

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.

skills/unicli-oneshot/SKILL.md · 60 lines

What it actually says

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.

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. 6d ago First seen · 60 lines · 37 tokens per session scan A 5f261dd6bee0

Subscribe to this mod's changes

unicli-oneshot is a skill published in the GitHub repository olo-dot-io/Uni-CLI (270 stars, last pushed 3d ago), licensed Apache-2.0. It adds 37 tokens to every session and 335 once invoked, about $0.0002 per session on Opus 5. 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.

Related

Other skills, from other repositories

x402

Set up Browser Use Cloud payments with x402 — pay per request from a crypto wallet (USDC on Base mainnet), no signup or API key. Two setups it works out up front — "just use it" (set up a wallet so you or Claude Code can run cloud browser tasks paid from the wallet — Claude writes and runs throwaway scripts, nothing…

browser-use/browser-use · 175 tokens

browser-use

Direct browser control via CDP for web interaction: automation, scraping, testing, screenshots, and site/app work.

browser-use/browser-use · 26 tokens

open-source

Documentation reference for writing Python code using the browser-use open-source library. Use this skill whenever the user needs help with Agent, Browser, or Tools configuration, is writing code that imports from browseruse, asks about @sandbox deployment, supported LLM models, Actor API, custom tools, lifecycle…

browser-use/browser-use · 137 tokens

opencli-autofix

Automatically fix broken OpenCLI adapters when commands fail. Load this skill when an opencli command fails — it guides you through collecting a trace artifact, patching the adapter, retrying, and filing an upstream GitHub issue after a verified fix. Works with any AI agent.

jackwener/OpenCLI · 61 tokens

opencli-usage

Use at the start of any OpenCLI session — this is the top-level map of what opencli can do, how to discover adapters, what flags and output formats are universal, and which specialized skill to load next. Point here when an agent asks "what can opencli do?" or "how do I find the right command?".

jackwener/OpenCLI · 74 tokens

opencli-sitemap-author

Use when creating or maintaining OpenCLI site sitemaps: agent-facing navigation, page-state, action, workflow, API-reference, pitfall, and fallback knowledge for a website. Use after browser exploration discovers durable site context, when a sitemap is stale, or when promoting local site knowledge into the repo.

jackwener/OpenCLI · 67 tokens