agent-tools

agent-tools is a skill for Claude Code, Codex from ithinkihaveacat/dotfiles. It costs 175 tokens per session (11,457 once invoked), scanned C, original, Apache-2.0.

A set of command-line AI tools and context helpers for tasks such as image analysis, screenshot comparison, text counting, research, Android automation, receipt extraction, and GitHub formatting.

In plain words
What is it for?
Use its scripts to analyze images, compare screenshots, crop media, count tokens, evaluate conditions, automate Android interfaces, extract receipt details, format GitHub data, and support research.
Why use it?
It removes repeated setup work for sending files or structured data to analysis tools and handling their results.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: mentions Codex.

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is ./photos/.

Good fit Use its scripts to analyze images, compare screenshots, crop media, count tokens, evaluate conditions, automate Android interfaces, extract receipt details, format GitHub data, and support research.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.

Clone the repo
git clone --depth 1 https://github.com/ithinkihaveacat/dotfiles
agentmods
npx agentmods add skills/ithinkihaveacat/dotfiles/agent-tools

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 agent-tools

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/ithinkihaveacat/dotfiles/agent-tools"><img src="https://agentmods.dev/badge/skills/ithinkihaveacat/dotfiles/agent-tools.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 175 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 11,457 The whole file, excluding the scripts and references it only reads on demand.
Security scan C 2 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.00175 $0.11457
Opus 5.5 $0.00070 $0.04583
Sonnet 5.5 $0.00035 $0.02291
Haiku 4.5 $0.00017 $0.01146

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

Security

Grade C, and why

agent-tools scanned grade C with 2 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 2d 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.

Reaches for credential fileshighPrivilege escalation

SSH keys, cloud credentials, git-credentials, .npmrc, /etc/shadow: reading these is how a config file becomes a credential leak.

`.git-credentials`, and patterns such as `*.pem`, `*.key` and `id_rsa*`.

Makes network callslowCapability

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

Requires curl, jq, and uv. Image tools also need base64 and magick (ImageMagick).
skills/agent-tools/SKILL.md · 1,028 lines

How it starts

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

Agent Tools

Using Helper Scripts vs. Raw API Calls

Use the scripts in scripts/ as the primary interface for AI-delegated analysis and context gathering. References to scripts/... in this skill are relative to this skill directory. They encapsulate API boilerplate and formatting logic:

  • Proper image encoding (WebP conversion, alpha removal)
  • Task-tuned default model selection
  • Structured output handling (e.g. boolean responses mapped to shell exit codes)
  • Formatting structured data (like GitHub PRs and issues) into LLM-friendly Markdown

When to inspect script source: If a script lacks a specific parameter or fails due to a local dependency, inspect the script in scripts/. They demonstrate correct API schemas, request structures, and retry behaviors that you can adapt for custom calls.

Quick Start

Environment: AI commands require a Gemini API key (reads from GEMINI_API_KEY). Scripts will report clear errors if no key is found. gh-markdown requires GITHUB_TOKEN in the environment for GitHub API access.

Model selection: Every Gemini-backed script accepts --model MODEL and honors the GEMINI_MODEL environment variable (--model wins; each script's built-in default applies when neither is set). Defaults vary per tool and are tuned for its task; only override when you have a reason.

Dependencies: curl, jq, uv (all tools); base64, magick (image tools only)

# Gather context and analyze
scripts/context show gemini-api | scripts/emerson "Explain the key features"

# Transform an entire directory of documents or code
scripts/caxton "Translate the guides into French" --edit docs/

# Fetch a GitHub PR, Issue, or Workflow Run as Markdown
scripts/gh-markdown https://github.com/owner/repo/pull/123

# Describe an image (generate alt-text)
scripts/screenshot-describe screenshot.png

# Compare two images for visual differences
scripts/screenshot-compare before.png after.png

# Smart crop image around the detected primary subject
scripts/photo-smart-crop photo.jpg cropped.jpg

# Check if a photo prominently features people (exit code = answer)
scripts/photo-query @people photo.jpg

# Generic image query with a JSON schema
scripts/photo-query "Is there a fireplace?" \
  --schema "has_fireplace bool" photo.jpg

# Generate essay-length analysis from text
scripts/emerson "Summarize the key changes" < documentation.md

# Fast, low-risk Google-grounded web reconnaissance
scripts/scout "What is the official Python documentation URL for argparse?"

# Evaluate a boolean condition against text
echo "Hello world" | scripts/satisfies "is a greeting"

# Extract a structured purchase record from a receipt email
scripts/pacioli < order.eml

# Count tokens in text
cat document.md | scripts/token-count

# Interact with an Android UI via AI
scripts/popper "start an exercise"

Read the full file on GitHub · 1,028 lines

Files

What ships with it

60 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 2d ago Changed 1e584c0b85a3
  2. 7d ago Changed · +97 lines · +42 tokens per session 47f769f8a560
  3. 9d ago Changed · +8 lines 2766a366f776
  4. 14d ago Changed · +32 lines · +20 tokens per session 19501920e9b7
  5. 20d ago Changed 95ee9f569007
  6. 23d ago Changed · +23 lines 089e6c41c0c7
  7. 24d ago Changed · +8 lines 933c8e50239e
  8. 1mo ago Changed · +4 lines 23bf20b31ba8
  9. 1mo ago Changed · +11 lines 159ada7897ba
  10. 1mo ago First seen · 845 lines · 113 tokens per session scan C 2e56dc4b623a

Subscribe to this mod's changes

agent-tools is a skill published in the GitHub repository ithinkihaveacat/dotfiles (46 stars, last pushed today), licensed Apache-2.0. It adds 175 tokens to every session and 11,457 once invoked, about $0.0007 per session on Opus 5.5. A static security scan graded it C with 2 findings (reaches for credential files, makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

agent-tools compared with skills from other repositories

agent-tools next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
agent-toolsithinkihaveacat/dotfilesSkill46todayApache-2.0C175Claude Code, Codex
aish-add-skillsAI-Shell-Team/aishSkill5905d agoApache-2.0A32Claude Code, Codex
diagnose_system_lagAI-Shell-Team/aishSkill5905d agoApache-2.0A78Claude Code
remote-fleet-opsAI-Shell-Team/aishSkill5905d agoApache-2.0A88Claude Code
devops-platform-engineeringAI-Shell-Team/aishSkill5905d agoApache-2.0A47Claude Code, Codex
dns-diagnoseAI-Shell-Team/aishSkill5905d agoApache-2.0A66Claude Code
devops-docker-patternsAI-Shell-Team/aishSkill5905d agoApache-2.0A43Claude Code, Codex