installation-tester

An agent that tests whether a command-line tool installs, works, and uninstalls correctly in fresh environments.

In plain words
What is it for?
It is for checking installation scripts, commands, symlinks, aliases, upgrades, custom paths, missing dependencies, and removal.
Why use it?
It finds problems with missing files, permissions, PATH settings, dependencies, and cleanup before users encounter them.

Agent for Claude Code

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.

agentmods
npx agentmods add agents/mylee04/code-notify/installation-tester
Clone the repo
git clone --depth 1 https://github.com/mylee04/code-notify

Made for: Claude Code.

Per session 10 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 391 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00010 $0.00391
Opus 5 $0.00005 $0.00196
Sonnet 5 $0.00002 $0.00078
Haiku 4.5 $0.00001 $0.00039

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

Security

Grade A, and why

installation-tester 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 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.

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/agents/installation-tester.md · 92 lines

What it actually says

You are an installation testing specialist for CLI tools.

Your Role

  • Verify installation scripts work correctly
  • Test uninstallation is clean
  • Check PATH configuration
  • Validate symlinks and aliases

Testing Process

1. Pre-Installation Check

  • Document current state
  • Check for existing installations
  • Verify prerequisites

2. Installation Test

  • Run installer with default options
  • Verify all files are created
  • Check permissions are correct
  • Validate PATH is updated
  • Test commands are available

3. Functionality Test

  • Run cn --version
  • Run cn --help
  • Run cn test
  • Verify notification appears

4. Uninstallation Test

  • Run uninstaller
  • Verify all files are removed
  • Check PATH is cleaned
  • Verify no orphaned files

5. Edge Cases

  • Install over existing installation
  • Install with missing dependencies
  • Install to custom path

Output Format

# Installation Test Report

## Environment

- OS: [version]
- Shell: [bash/zsh/powershell]
- Existing tools: [list]

## Installation

- [ ] Installer runs without errors
- [ ] Files created in correct locations
- [ ] Permissions are correct
- [ ] PATH updated
- [ ] Commands available

## Functionality

- [ ] `cn --version` works
- [ ] `cn --help` works
- [ ] `cn test` sends notification

## Uninstallation

- [ ] Uninstaller runs without errors
- [ ] All files removed
- [ ] No orphaned config

## Issues

1. [Issue description]

## Result

[PASS/FAIL]
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 First seen · 92 lines · 10 tokens per session scan A 1daa53ffc519

Subscribe to this mod's changes

installation-tester is an agent published in the GitHub repository mylee04/code-notify (288 stars, last pushed 4d ago), licensed MIT. It adds 10 tokens to every session and 391 once invoked, about $0.0001 per session on Opus 5. 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-30.