supercli: Instructions file for Codex

AGENTS.md

supercli AGENTS.md is an instructions file for Codex, OpenCode from javimosch/supercli. It costs 3,100 tokens per session, scanned D, original, MIT.

A set of AGENTS.md instructions for choosing among SuperCLI's command-line implementations and using them in an agent workflow.

In plain words
What is it for?
It is for deciding when to use sc-zig, the Node.js sc tool, or sc-machin, and for selecting commands for plugin discovery, execution, and agent integration.
Why use it?
It helps an agent choose the appropriate executable when it needs plugin commands, an MCP server, an HTTP adapter, or a single binary. MCP is a standard way for AI tools to expose and use external commands.

Instructions file for CodexOpenCode

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

This is javimosch/supercli's own configuration. It tells Codex and OpenCode how to work on supercli 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 supercli configures →

Reuse

Borrowing it

Nothing to install: this file belongs to javimosch/supercli. 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/javimosch/supercli/master/AGENTS.md
Clone the repo
git clone --depth 1 https://github.com/javimosch/supercli

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 supercli AGENTS.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/javimosch/supercli/agents-md/github.svg)](https://agentmods.dev/instructions/javimosch/supercli/agents-md)
Your own site
<a href="https://agentmods.dev/instructions/javimosch/supercli/agents-md"><img src="https://agentmods.dev/badge/instructions/javimosch/supercli/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 supercli AGENTS.md

Your own site · 80×15
<a href="https://agentmods.dev/instructions/javimosch/supercli/agents-md"><img src="https://agentmods.dev/badge/instructions/javimosch/supercli/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 3,100 This file is loaded in full into every session.
When invoked 3,100 The same file — it is already loaded in full.
Security scan D 3 findings. 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.03100 $0.03100
Opus 5.5 $0.01240 $0.01240
Sonnet 5.5 $0.00620 $0.00620
Haiku 4.5 $0.00310 $0.00310

Measured today against content hash 73e31b5fa91c, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade D, and why

supercli AGENTS.md scanned grade D with 3 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 today.

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.

Asks for rootmediumPrivilege escalation

A mod that escalates privileges can change anything on the machine, not only the project.

**Agent install (no sudo required):**

Downloads and executes remote codehighSupply chain

curl | sh runs whatever the server returns today, which is not necessarily what it returned when this was reviewed.

curl -sSL https://github.com/javimosch/supercli/releases/download/v0.1.0-zig/install.sh | bash -s -- --path ~/.local/bin

Makes network callslowCapability

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

curl -sSL https://github.com/javimosch/supercli/releases/download/v0.1.0-zig/install.sh | bash -s -- --path ~/.local/bin
AGENTS.md · 343 lines

How it starts

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

supercli Agent Instructions

Choosing the right sc binary

There are three implementations of sc. Pick the one that fits your use case:

Feature sc-zig sc (Node.js) sc-machin
Language Zig Node.js MFL (machin)
Plugin discover / explore ✅ ✅ ✅
Execute plugin commands ✅ ✅ ✅
Plugin install ✅ (delegates to sc) ✅ native ✅ (delegates to sc)
MCP server (mcp serve) ❌ ✅ ✅
MCP client adapter ❌ ✅ ❌
HTTP adapter ❌ ✅ ❌
Built-in skills.match tool ❌ ❌ ✅
Built-in rtk passthrough ❌ ❌ ✅
Single binary, no runtime ✅ ❌ (needs Node.js) ✅
Startup speed fastest moderate fast

When to use which:

  • sc-zig — default for plugin discovery and command execution. Fastest, single binary, no runtime needed.
  • sc (Node.js) — when you need MCP client adapter, HTTP adapter, or plugin installs (sc-zig delegates to it).
  • sc-machin — when you need an MCP server exposing all SuperCLI commands to AI agents (Claude Code, Claude Desktop). Also has built-in skills.match (semantic skill discovery) and rtk passthrough (token-reduced directory/git ops). See skill: sc-machin-mcp.

If stuck on one implementation, try another:

  • sc-zig crashes or missing feature → fall back to sc (Node.js), the reference implementation
  • sc too slow for repeated calls → switch to sc-zig
  • Need to expose SuperCLI to an MCP client → use sc-machin mcp serve
  • sc-machin missing a feature → fall back to sc (Node.js), which has the full adapter set

Agent install (no sudo required):

# sc-zig (recommended default)
curl -sSL https://github.com/javimosch/supercli/releases/download/v0.1.0-zig/install.sh | bash -s -- --path ~/.local/bin
# or manual:
curl -sL https://github.com/javimosch/supercli/releases/download/v0.1.0-zig/sc-zig-linux-amd64 -o ~/.local/bin/sc-zig && chmod +x ~/.local/bin/sc-zig

# sc-machin (MCP server)
cd supercli-machin-cli && bash build.sh
# Then register with Claude Code:
# claude mcp add supercli -s user -- "$(pwd)/sc-machin" mcp serve

Read the full file on GitHub · 343 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. today First seen · 343 lines · 3,100 tokens per session scan D 73e31b5fa91c

Subscribe to this mod's changes

supercli AGENTS.md is an instructions file published in the GitHub repository javimosch/supercli (56 stars, last pushed today), licensed MIT. It adds 3,100 tokens to every session, about $0.0124 per session on Opus 5.5. A static security scan graded it D with 3 findings (asks for root, downloads and executes remote code, makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-10-29.

Related

Other instructions, from other repositories

vscode buildNext.instructions.md

Working notes and architecture documentation for the new esbuild-based build system in build/next. Use when making changes to the new build pipeline (transpile/bundle commands, NLS plugin, source-map handling, resource copying, or self-hosting watch tasks).

microsoft/vscode · 9,715 tokens

next.js AGENTS.md

AGENTS.md instructions for vercel/next.js, covering next.js development guide, codebase structure, monorepo overview, core package: packages/next and other important packages.

vercel/next.js · 7,461 tokens

vscode oss-third-party-notices.instructions.md

Instructions for microsoft/vscode, covering vs code oss third-party-notices pipeline, architecture, pipeline flow in ci, cache eligibility and rollout and applying the notice (cutover).

microsoft/vscode · 5,262 tokens

langchain AGENTS.md

AGENTS.md instructions for langchain-ai/langchain, covering global development guidelines for the langchain monorepo, corridor security analysis, project architecture and context, monorepo structure and development tools & commands.

langchain-ai/langchain · 4,680 tokens

vscode copilot-instructions.md

Copilot instructions for microsoft/vscode, covering vs code copilot instructions, project overview, root folders, core architecture (src/ folder) and built-in extensions (extensions/ folder).

microsoft/vscode · 2,750 tokens

deno copilot-instructions.md

Copilot instructions for denoland/deno, covering deno development guide for github copilot, network access, high level overview, key directories and key files to understand first.

denoland/deno · 3,077 tokens