tevm: Command for Claude Code

.claude/commands/add-gitmoji.md

add-gitmoji is a command for Claude Code from evmts/tevm. It costs 0 tokens per session (306 once invoked), scanned A, original, MIT.

A command that installs a Git hook for Gitmoji, a tool that adds an emoji to commit messages, in the current worktree.

In plain words
What is it for?
Use it to create the hook directory, install the prepare-commit-msg script, and make that script executable.
Why use it?
It makes the emoji-selection prompt run automatically when creating a commit, without setting up the hook by hand.

Command for Claude Code

Written for Claude Code: installed under .claude/. Also seen: positional $N argument.

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

Reuse

Borrowing it

Nothing to install: this file belongs to evmts/tevm. 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/evmts/tevm/main/.claude/commands/add-gitmoji.md
Clone the repo
git clone --depth 1 https://github.com/evmts/tevm

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 add-gitmoji

README.md
[![agentmods](https://agentmods.dev/badge/commands/evmts/tevm/add-gitmoji/github.svg)](https://agentmods.dev/commands/evmts/tevm/add-gitmoji)
Your own site
<a href="https://agentmods.dev/commands/evmts/tevm/add-gitmoji"><img src="https://agentmods.dev/badge/commands/evmts/tevm/add-gitmoji/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 add-gitmoji

Your own site · 80×15
<a href="https://agentmods.dev/commands/evmts/tevm/add-gitmoji"><img src="https://agentmods.dev/badge/commands/evmts/tevm/add-gitmoji.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 0 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 306 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.00306
Opus 5.5 $0.00000 $0.00122
Sonnet 5.5 $0.00000 $0.00061
Haiku 4.5 $0.00000 $0.00031

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

Security

Grade A, and why

add-gitmoji 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.

.claude/commands/add-gitmoji.md · 41 lines

What it actually says

Add Gitmoji Hook

This command will install gitmoji in the current worktree by:

  1. Creating the hooks directory if needed
  2. Setting up the prepare-commit-msg hook for gitmoji
  3. Making the hook executable

The gitmoji hook allows you to select emoji for your commits using an interactive prompt.

Do you want to proceed with installing the gitmoji commit hook?

#!/usr/bin/env bash

# Get .git directory for current worktree
GIT_DIR=$(git rev-parse --git-dir)
echo "Installing gitmoji hook to $GIT_DIR/hooks..."

# Create hooks directory if it doesn't exist
mkdir -p "$GIT_DIR/hooks"

# Create the prepare-commit-msg hook file
cat > "$GIT_DIR/hooks/prepare-commit-msg" << 'EOF'
#!/usr/bin/env bash
# gitmoji as a commit hook
if npx -v >&/dev/null
then
  exec < /dev/tty
  npx -c "gitmoji --hook $1 $2"
else
  exec < /dev/tty
  gitmoji --hook $1 $2
fi
EOF

# Make sure the hook is executable
chmod +x "$GIT_DIR/hooks/prepare-commit-msg"

echo "✅ Gitmoji hook installed successfully!"
echo "You can now use gitmoji in your commits with: npx gitmoji-cli -c"
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 · 41 lines · 0 tokens per session scan A 979eeff619e2

Subscribe to this mod's changes

add-gitmoji is a command published in the GitHub repository evmts/tevm (449 stars, last pushed 1mo ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 306 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-08-31.