Agent skill

CLI Guideline

by archibate in archibate/dotfiles-opencode

Implement CLI tools in Python, JS/TS, Bash, or Go following clig.dev standards.

No licenceAuto-check: notes

Install CLI Guideline

skills CLI
$ npx skills add archibate/dotfiles-opencode --skill cli-guideline -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install archibate/dotfiles-opencode cli-guideline --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/archibate/dotfiles-opencode.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/cli-guideline .claude/skills/cli-guideline && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
cli-guideline
GitHub stars
108
Token cost
~1.4k tokens
SKILL.md length
645 words
Files
5 (incl. references)
Skills in repo
34
Repo updated
First seen
Licence
None found

At a glance

Implement CLI tools in Python, JS/TS, Bash, or Go following clig.dev standards.

  • Works in 8 steps: Human-first design — CLIs are for… → Simple parts that work together —… → Consistency — Follow established… → …
  • Reviewing CLI code
  • SKILL.md covers Core Philosophy, Essential Rules, Quick Reference and Language-Specific Notes
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

CLI Guideline is an agent skill from archibate/dotfiles-opencode. Implement CLI tools in Python, JS/TS, Bash, or Go following clig.dev standards. Use when writing or reviewing CLI code.

Its SKILL.md is about 1.4k tokens, which your agent loads only when the skill is triggered. The skill folder holds 5 other files, including reference files (for example `references/High-Level Concepts.md`, `references/checklist.md` and `references/full-guidelines.md`).

It works with Bash and Python. The repository describes itself as: Archibate's personal configuration for OpenCode.

When your agent uses it

  • Reviewing CLI code

Example prompts

  • “/cli-guideline”

Requirements

  • Python 3

Workflow steps

8 steps, taken from the first numbered list in SKILL.md.

  1. Human-first design — CLIs are for humans, not just scripts
  2. Simple parts that work together — Composable via pipes, stdin/stdout, exit codes
  3. Consistency — Follow established conventions (flags, env vars, behavior)
  4. Say just enough — Not too verbose, not too silent
  5. Ease of discovery — Help, examples, suggestions
  6. Conversation as norm — Trial-and-error is expected; guide the user
  7. Robustness — Handle errors gracefully, feel solid
  8. Empathy — Delight users, exceed expectations

What it can do on your machine

Read from SKILL.md and the folder at commit 46b6b23. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md.

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    Links to these hosts (documentation or services it may open):

    • clig.dev

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

CLI Guideline loads about 1.4k tokens when it runs, and up to ~21k if it reads all its reference files. Until then it costs about 33 tokens; SKILL.md has 645 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~33
When it runs · the whole SKILL.md, loaded when a task matches
~1.4k
With references · SKILL.md plus every file in references/, read only if the agent opens them
~21k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check: notes

The automated check noted patterns worth knowing about, such as sudo or a known installer.

  • NoteMentions a .env fileSKILL.md:117
    - Read `.env` for project context (not as full config)

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

Without a licence we can't republish the file, so here is its outline and opening line. It has 645 words (~1,444 tokens).

“Modern CLI design principles based on clig.dev — human-first design while maintaining composability.”

— opening of SKILL.md by archibate
name
cli-guideline

Read the full SKILL.md on GitHub

Files

SKILL.md and 4 other files (references) in skills/cli-guideline of archibate/dotfiles-opencode.

  • SKILL.md
  • references/High-Level Concepts.md
  • references/checklist.md
  • references/full-guidelines.md
  • references/index.md

Open the folder on GitHubat commit 46b6b23

Compare with similar skills

CLI Guideline next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

CLI Guideline compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
CLI Guideline this skillarchibate/dotfiles-opencode108—~1.4kAutomated safety check: NotesNone
CLI DeveloperJeffallan/claude-skills12k2 repos~1.2kAutomated safety check: PassMIT
Alloc ProfileClickHouse/ClickHouse50k—~4.3kAutomated safety check: PassApache-2.0
Create Experkfly/ex-skill2.5k—~3.7kAutomated safety check: NotesMIT
Hugging Face API Tool Builderhuggingface/skills11k5 repos~1.5kAutomated safety check: PassApache-2.0
Markdown Exporterbowenliang123/markdown-exporter2711 repos~5.3kAutomated safety check: PassApache-2.0

Similar skills

  • CLI Developer

    Jeffallan/claude-skills

    Walks through designing, building and polishing a command-line tool: user workflow and command hierarchy, implementation in commander, click, typer or cobra, completions and cross-platform testing.

    12k GitHub starsUsed in 2 repos~1.2k tokens
    DevelopmentAuto-check passed
  • Alloc Profile

    ClickHouse/ClickHouse

    Analyze a jemalloc (or other) allocation profile in collapsed stack format.

    50k GitHub stars~4.3k tokensUpdated today
    DatabasesAuto-check passed
  • Create Ex

    perkfly/ex-skill

    Distill an ex-girlfriend into an AI Skill. An agent skill from perkfly/ex-skill.

    2.5k GitHub stars~3.7k tokensUpdated 6 mo ago
    Productivity & AutomationAuto-check: notes
  • Official

    Builds reusable command line scripts that fetch, enrich or process data from the Hugging Face API, aimed at chained, repeated or automated tasks.

    11k GitHub starsUsed in 5 repos~1.5k tokens
    AI & LLM EngineeringAuto-check passed
  • Markdown Exporter

    bowenliang123/markdown-exporter

    Convert Markdown text to DOCX, PPTX, XLSX, PDF, PNG, SVG, HTML, IPYNB, MD, CSV, JSON, JSONL, XML files, and extract code blocks in Markdown to Python, Bash,JS and etc files.

    271 GitHub starsUsed in 1 repo~5.3k tokens
    Documents & OfficeAuto-check passed
  • K8e Sandbox

    xiaods/k8e

    Run a goal end to end inside an isolated K8E sandbox pod (gVisor / Kata / Firecracker) instead of on the host: exec bash / Python / Node / TypeScript, install packages, move files in and out, reuse…

    500 GitHub stars~6k tokensUpdated 10 days ago
    Backend & APIsAuto-check passed

More from archibate/dotfiles-opencode

All 34 skills in this repo
  • Pueue

    archibate/dotfiles-opencode

    This skill should be used before running non-interactive long-running tasks, computation intensive tasks, background tasks, or needs guidance on the pueue CLI tool usage.

    108 GitHub starsUsed in 1 repo~637 tokens
    Auto-check passed
  • Show Image

    archibate/dotfiles-opencode

    Show images in terminal using the Kitty image protocol. An agent skill from archibate/dotfiles-opencode.

    108 GitHub starsUsed in 1 repo~596 tokens
    Auto-check passed
  • Glm Vision

    archibate/dotfiles-opencode

    This skill should be used when the user sends an image and asks to "analyze this image", "describe this picture", "what's in this image", or any request requiring visual understanding of images.

    108 GitHub stars~795 tokensUpdated 5 mo ago
    Auto-check passed
  • Show Image

    archibate/dotfiles-opencode

    Show images in terminal using the Kitty image protocol. An agent skill from archibate/dotfiles-opencode.

    108 GitHub starsUsed in 1 repo~622 tokens
    Auto-check passed
  • Tmux

    archibate/dotfiles-opencode

    Remote control tmux sessions for interactive CLIs (python, gdb, etc.) by sending keystrokes and scraping pane output.

    108 GitHub starsUsed in 1 repo~1.4k tokens
    Auto-check passed
  • Bilibili API

    archibate/dotfiles-opencode

    This skill should be used when the user asks to "use bilibili API", "download bilibili video", "get bilibili user info", "list bilibili favorites", "send bilibili danmaku", "upload video to…

    108 GitHub stars~2.1k tokensUpdated 5 mo ago
    Auto-check: warnings

Works with

Questions about CLI Guideline

What does CLI Guideline do?

Implement CLI tools in Python, JS/TS, Bash, or Go following clig.dev standards. CLI Guideline is an agent skill from archibate/dotfiles-opencode.dev standards.

When should I use CLI Guideline?

CLI Guideline fits situations like: reviewing CLI code.

How do I install CLI Guideline in Claude Code?

Run `npx skills add archibate/dotfiles-opencode --skill cli-guideline -a claude-code`. Or copy the skill folder (skills/cli-guideline in archibate/dotfiles-opencode) into .claude/skills/cli-guideline in your project. Claude Code loads it when a task matches its description.

How do I install CLI Guideline in Codex?

Run `npx skills add archibate/dotfiles-opencode --skill cli-guideline -a codex`. Or copy the skill folder (skills/cli-guideline in archibate/dotfiles-opencode) into .agents/skills/cli-guideline in your project. Codex loads it when a task matches its description.

Can I use CLI Guideline in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add archibate/dotfiles-opencode --skill cli-guideline -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/cli-guideline, .gemini/skills/cli-guideline, .github/skills/cli-guideline and .opencode/skills/cli-guideline in your project.

What does CLI Guideline need to run?

SKILL.md names no scripts, command-line tools or credentials: CLI Guideline is instructions for the agent only. Our summary lists: Python 3.

Does CLI Guideline access the network?

SKILL.md names 1 domain. As links in the text: clig.dev. This is read from the text; nothing was executed.

Is CLI Guideline safe to install?

Our automated static check of SKILL.md found notes only (mentions a .env file), nothing it rates as a warning. It is not a guarantee. Review the folder before installing.

What licence does CLI Guideline use?

No licence was found for CLI Guideline or its repository. Without one, default copyright applies: ask the author before reusing or redistributing it.

How many tokens does CLI Guideline use?

About 1.4k tokens (SKILL.md is roughly 5.8k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 20k tokens, read only when the agent opens those files.

What are the alternatives to CLI Guideline?

Skills that share tags, products or a category with CLI Guideline: CLI Developer (Jeffallan/claude-skills, 12k stars), Alloc Profile (ClickHouse/ClickHouse, 50k stars), Create Ex (perkfly/ex-skill, 2.5k stars) and Hugging Face API Tool Builder (huggingface/skills, 11k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains CLI Guideline?

archibate (a GitHub user) maintains it in archibate/dotfiles-opencode, which has 108 GitHub stars. The repository holds 34 skills in this directory. The repository was last updated on April 29, 2026.

Source: archibate/dotfiles-opencode on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.