echo

echo is a command for Claude Code from wangke19/gemini-ai-helpers. It costs 4 tokens per session (436 once invoked), scanned A, a copy of echo, Apache-2.0.

A minimal example command that prints “Hello world” or greets a supplied name. It demonstrates the basic structure and argument handling of a plugin command.

In plain words
What is it for?
Use it as a teaching example when building or testing a simple command plugin.
Why use it?
It provides a small reference for learning how a working command plugin is assembled.

Command for Claude Code

Written for Claude Code: argument-hint in frontmatter. Also seen: positional $N argument; mentions Gemini CLI.

Good fit Use it as a teaching example when building or testing a simple command plugin.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/wangke19/gemini-ai-helpers/echo
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.

Clone the repo
git clone --depth 1 https://github.com/wangke19/gemini-ai-helpers

Made for: Claude Code.

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 echo

README.md
[![agentmods](https://agentmods.dev/badge/commands/wangke19/gemini-ai-helpers/echo/github.svg)](https://agentmods.dev/commands/wangke19/gemini-ai-helpers/echo)
Your own site
<a href="https://agentmods.dev/commands/wangke19/gemini-ai-helpers/echo"><img src="https://agentmods.dev/badge/commands/wangke19/gemini-ai-helpers/echo/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 echo

Your own site · 80×15
<a href="https://agentmods.dev/commands/wangke19/gemini-ai-helpers/echo"><img src="https://agentmods.dev/badge/commands/wangke19/gemini-ai-helpers/echo.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 4 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 436 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 92% copy Near-identical to another mod 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.00004 $0.00436
Opus 5 $0.00002 $0.00218
Sonnet 5 $0.00001 $0.00087
Haiku 4.5 $0.00000 $0.00044

Measured 7d ago against content hash 992fc5f8facf, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-10, from the pricing page.

Security

Grade A, and why

echo 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 7d 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.

Origin

This is a copy

92% identical to echo — 4 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

extensions/hello-world/commands/echo.md · 76 lines

What it actually says

Name

hello-world:echo

Synopsis

/hello-world:echo [name]

Description

The hello-world:echo command prints a greeting message to the console. By default, it prints "Hello world", but when provided with a name argument hello-world:echo $1, it prints "Hello ${1}". This command serves as a basic example of a Gemini CLI plugin implementation, demonstrating the minimal structure required for a functional plugin command.

It provides a reference implementation for plugin developers. It demonstrates:

  • Basic command structure
  • Shell command execution within a plugin
  • Handling arguments
  • Minimal configuration requirements

The spec sections is inspired by https://man7.org/linux/man-pages/man7/man-pages.7.html#top_of_page

Implementation

  • The command executes a simple bash echo statement
  • Accepts an optional name argument ($1)
  • If $1 is provided, outputs "Hello $1"
  • If no argument is provided, outputs "Hello world"
  • Output is sent directly to standard output
  • The command is stateless and has no side effects

Implementation logic:

if [ -n "$1" ]; then
  echo "Hello $1"
else
  echo "Hello world"
fi

Return Value

  • Gemini agent text: "Hello world" (default) or "Hello $1" (when name is provided)

Examples

  1. Basic usage (no arguments):

    /hello-world:echo
    

    Output:

    Hello world
    
  2. With a name argument:

    /hello-world:echo Alice
    

    Output:

    Hello Alice
    
  3. With multiple words as name:

    /hello-world:echo "John Doe"
    

    Output:

    Hello John Doe
    

Arguments:

  • $1: The name to be printed "Hello ${1}"
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. 7d ago First seen · 76 lines · 4 tokens per session scan A 992fc5f8facf

Subscribe to this mod's changes

echo is a command published in the GitHub repository wangke19/gemini-ai-helpers (2 stars, last pushed 5mo ago), licensed Apache-2.0. It adds 4 tokens to every session and 436 once invoked, about $0.0000 per session on Opus 5. A static security scan graded it A with 0 findings. It is 92% identical to echo, differing in 4 lines, and is treated as a copy.