clawker: Skill for Claude Code

.agents/skills/cli-output/SKILL.md

cli-output is a skill for Claude Code, Codex from schmitthub/clawker. It costs 0 tokens per session (11,050 once invoked), scanned A, original, MIT.

Guidance for changing the text and visual output of clawker command-line tools, including standard output, error output, tables, filters, prompts, progress, and trees.

In plain words
What is it for?
Use it when adding or changing command output, formatting options, colour settings, prompts, progress displays, or output tests.
Why use it?
It helps keep command output consistent and ensures output changes are covered by tests.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: installed under .agents/ (shared by several agents).

This is schmitthub/clawker's own configuration. It tells Claude Code and Codex how to work on clawker 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 clawker configures →

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is GOLDEN_UPDATE=1 go test ./internal/cmd/image/list/... -run TestImageList_Golden -v.

Reuse

Borrowing it

Nothing to install: this file belongs to schmitthub/clawker. 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/schmitthub/clawker/main/.agents/skills/cli-output/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/schmitthub/clawker

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 cli-output

README.md
[![agentmods](https://agentmods.dev/badge/skills/schmitthub/clawker/cli-output/github.svg)](https://agentmods.dev/skills/schmitthub/clawker/cli-output)
Your own site
<a href="https://agentmods.dev/skills/schmitthub/clawker/cli-output"><img src="https://agentmods.dev/badge/skills/schmitthub/clawker/cli-output/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 cli-output

Your own site · 80×15
<a href="https://agentmods.dev/skills/schmitthub/clawker/cli-output"><img src="https://agentmods.dev/badge/skills/schmitthub/clawker/cli-output.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 0 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 11,050 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 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.00000 $0.11050
Opus 5.5 $0.00000 $0.04420
Sonnet 5.5 $0.00000 $0.02210
Haiku 4.5 $0.00000 $0.01105

Measured 1mo ago against content hash 08bc2f0fd2a4, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

cli-output 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 1mo 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.

.agents/skills/cli-output/SKILL.md · 1,296 lines

How it starts

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

cli-output

Read this reference for CLI output examples. The output rules in the Serena cli/core memory define stream placement; examples below apply those rules.

1. Core Principle

Follow GitHub CLI (gh) conventions: fmt.Fprintf with ios.ColorScheme() directly. No output wrappers, no abstraction layers — just formatted writes to the correct stream.

cs := ios.ColorScheme()
fmt.Fprintf(ios.Out, "%s Built image %s\n", cs.SuccessIcon(), cs.Bold(imageTag))

2. Stream Conventions

Base Rules

Stream Field Purpose
stdout ios.Out Data, status, success, and next steps
stderr ios.ErrOut Warnings, errors, diagnostics, and progress

Per output type:

  • Data (tables, IDs, JSON, command results) → ios.Out (stdout) — always
  • Status ("Created container X", "Removed 3 volumes") → ios.Out (stdout)
  • Errors → ios.ErrOut (stderr) — via printError() in Main(), or pre-printed before SilentError
  • Warnings → ios.ErrOut (stderr) — always visible regardless of piping
  • Next steps → ios.Out (stdout)
  • Prompts → ios.ErrOut (stderr) — visible even when stdout is piped

With --format, formatted data goes to stdout and status/progress goes to stderr.

These base rules apply to static (non-TUI) output. Live/interactive scenarios have their own rendering strategy — see per-scenario stream rules in Section 3.

Machine-Readable Output (Format/Filter Flags)

Format/filter flags are for static list commands only (Scenario 1). They produce one-shot tabular data that users pipe, grep, or script against. Do NOT add these to live-display or live-interactive commands — streaming output has its own --progress flag.

When to add format/filter flags:

  • * list / * ls commands — container list, image list, volume list, network list, worktree list
  • Any command whose primary output is a table of resources

When NOT to add:

  • * build, * run, * start — these are live-display (Scenario 3) with streaming progress
  • * inspect, * logs — single-resource detail or streaming logs, not tabular lists
  • * remove, * prune — action commands, not data queries
  • Live-interactive commands (Scenario 4) — BubbleTea owns the terminal

Read the full file on GitHub · 1,296 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. 1mo ago First seen · 1,296 lines · 0 tokens per session scan A 08bc2f0fd2a4

Subscribe to this mod's changes

cli-output is a skill published in the GitHub repository schmitthub/clawker (58 stars, last pushed today), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 11,050 tokens. 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-09-08.