Uni-CLI: Instructions file for Codex

AGENTS.md

Uni-CLI AGENTS.md is an instructions file for Codex, OpenCode from olo-dot-io/Uni-CLI. It costs 1,974 tokens per session, scanned A, original, Apache-2.0.

A set of instructions for Uni-CLI, a command-line tool that lets AI agents use services across many websites. It explains how to find commands, handle login requirements, read results, and repair supported adapters.

In plain words
What is it for?
Using Uni-CLI to search available services, run commands, request JSON or Markdown output, set up site authentication, and manage automatic updates.
Why use it?
It gives agents a consistent way to choose and run website operations, including structured errors and authentication steps. This reduces guesswork when a site requires cookies or an adapter needs repair.

Instructions file for CodexOpenCode

Written for Codex and OpenCode: the file is AGENTS.md. Also seen: mentions Codex.

This is olo-dot-io/Uni-CLI's own configuration. It tells Codex and OpenCode how to work on Uni-CLI itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything Uni-CLI configures →

Reuse

Borrowing it

Nothing to install: this file belongs to olo-dot-io/Uni-CLI. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/olo-dot-io/Uni-CLI/main/AGENTS.md
Clone the repo
git clone --depth 1 https://github.com/olo-dot-io/Uni-CLI

Made for: Codex, OpenCode.

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 Uni-CLI AGENTS.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/olo-dot-io/uni-cli/agents-md/github.svg)](https://agentmods.dev/instructions/olo-dot-io/uni-cli/agents-md)
Your own site
<a href="https://agentmods.dev/instructions/olo-dot-io/uni-cli/agents-md"><img src="https://agentmods.dev/badge/instructions/olo-dot-io/uni-cli/agents-md/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for Uni-CLI AGENTS.md

Your own site · 80×15
<a href="https://agentmods.dev/instructions/olo-dot-io/uni-cli/agents-md"><img src="https://agentmods.dev/badge/instructions/olo-dot-io/uni-cli/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 1,974 This file is loaded in full into every session.
When invoked 1,974 The same file — it is already loaded in full.
Security scan A 1 finding. A grade says what 26 rules found in the file — not that it is safe.
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.01974 $0.01974
Opus 5.5 $0.00790 $0.00790
Sonnet 5.5 $0.00395 $0.00395
Haiku 4.5 $0.00197 $0.00197

Measured 3d ago against content hash 8a8b9acdfe10, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

Uni-CLI AGENTS.md scanned grade A with 1 finding 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 3d 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.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

Before raw browser tools, OpenCLI, curl, computer-use, or an external CLI, run
AGENTS.md · 147 lines

How it starts

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

Uni-CLI

AI agents: install with npm install -g @zenalexa/unicli. Discover with unicli search "intent". Run with unicli <site> <command>. Output is Markdown when piped, JSON via -f json. Errors are structured envelopes on stderr. An auth_required envelope means the site needs cookies — run unicli auth setup <site> once and retry. Adapter is broken? Read unicli repair <site> <command>.

Every structured response can carry meta.update. unicli upgrade is the current public wrapper around the package manager install path. Confirm the result with unicli --version before retrying version-sensitive work.

Agent Routing Rule

Before raw browser tools, OpenCLI, curl, computer-use, or an external CLI, run unicli search "<intent>" or unicli list --site <site>. Read structured errors and run unicli repair <site> <command> before changing tools.

For auth and browser failures, read unicli browser profiles --json and unicli browser doctor --json. Browser work starts in the background. Foreground control requires unicli browser --focus start. CDP uses a Uni-CLI automation profile because Chrome 136 and managed policy can block the default profile. Empty profiles require an explicit ephemeral session. Follow checks[*].next_step from doctor. Use unicli browser doctor --repair only for the windowless broker.

Always-on writing rule

Read skills/human-writing/SKILL.md before every user-facing reply and prose artifact. It is the primary Chinese and English writing policy. Its current discussion scan and hard bans are mandatory. Load references only when the task calls for them. Run npm run prose:check -- <path> on authored files and apply the same scan manually to chat replies.

Static adapter catalog: 338 sites, 1896 registered commands; fixed core and host-discovered commands join at runtime. 113 built-in actions (58 registered + 55 transport-native), BM25 bilingual search. npm install -g @zenalexa/unicli

Read the full file on GitHub · 147 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. 3d ago Changed · +2 tokens per session 8a8b9acdfe10
  2. 4d ago Changed 3c1dc424a52e
  3. 27d ago Changed · +1 lines · +6 tokens per session 76a655964129
  4. 1mo ago Changed · +20 tokens per session ca85fe65046f
  5. 2mo ago Changed · -14 lines · -83 tokens per session 0978c7279044
  6. 2mo ago First seen · 160 lines · 2,029 tokens per session scan A 25b5d0ae3e39

Subscribe to this mod's changes

Uni-CLI AGENTS.md is an instructions file published in the GitHub repository olo-dot-io/Uni-CLI (228 stars, last pushed 3d ago), licensed Apache-2.0. It adds 1,974 tokens to every session, about $0.0079 per session on Opus 5.5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Uni-CLI AGENTS.md compared with instructions from other repositories

Uni-CLI AGENTS.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
Uni-CLI AGENTS.mdolo-dot-io/Uni-CLIInstructions file2283d agoApache-2.0A1,974Codex, OpenCode
vscode buildNext.instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA9,719GitHub Copilot
next.js AGENTS.mdvercel/next.jsInstructions file143kyesterdayMITA7,461Codex, OpenCode
langchain AGENTS.mdlangchain-ai/langchainInstructions file149kyesterdayMITA4,680Codex, OpenCode
vscode oss-third-party-notices.instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA5,516GitHub Copilot
vscode copilot-instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA3,093GitHub Copilot
deepseek-harness AGENTS.mddeepseek-ai/deepseek-harnessInstructions file274k2d agoMITA4,313Codex, OpenCode