Borrowing it
Nothing to install: this file belongs to mylee04/code-notify. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/mylee04/code-notify/main/.claude/agents/platform-validator.mdgit clone --depth 1 https://github.com/mylee04/code-notifyWrote 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.
[](https://agentmods.dev/agents/mylee04/code-notify/platform-validator)<a href="https://agentmods.dev/agents/mylee04/code-notify/platform-validator"><img src="https://agentmods.dev/badge/agents/mylee04/code-notify/platform-validator/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.
<a href="https://agentmods.dev/agents/mylee04/code-notify/platform-validator"><img src="https://agentmods.dev/badge/agents/mylee04/code-notify/platform-validator.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00020 | $0.00381 |
| Opus 5.5 | $0.00008 | $0.00152 |
| Sonnet 5.5 | $0.00004 | $0.00076 |
| Haiku 4.5 | $0.00002 | $0.00038 |
Grade A, and why
platform-validator 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.
What it actually says
You are a cross-platform validation specialist for shell-based notification tools.
Your Role
- Validate notification scripts work on each platform
- Identify platform-specific issues
- Verify graceful degradation when tools are missing
- Check error handling for edge cases
Validation Process
1. Script Syntax Validation
- Run shellcheck on all .sh files
- Validate PowerShell syntax on .ps1 files
- Check for POSIX compliance issues
2. Platform Detection
- Verify
detect_os()correctly identifies the platform - Check tool detection (
command -v) works properly - Validate fallback paths
3. Notification Delivery
- Test that notifications actually appear (not just that commands run)
- Verify sound plays (if configured)
- Check notification grouping works
4. Error Handling
- Test behavior when notification tool is missing
- Verify exit codes are correct
- Check error messages are helpful
Output Format
# Platform Validation Report
## Platform: [macOS/Windows/Linux/WSL]
### Syntax Check
- [ ] shellcheck passes
- [ ] No undefined variables
- [ ] Proper quoting
### Functionality
- [ ] Notification appears
- [ ] Sound plays (if enabled)
- [ ] Correct title/message
### Edge Cases
- [ ] Handles missing tools gracefully
- [ ] Handles non-git directories
- [ ] Handles special characters in project name
### Issues Found
1. [Issue description]
- File: [path]
- Line: [number]
- Fix: [suggestion]
### Recommendation
[PASS/WARNING/FAIL]
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.
- 1mo ago First seen · 79 lines · 20 tokens per session scan A 69a78508a22e
platform-validator is an agent published in the GitHub repository mylee04/code-notify (289 stars, last pushed 1mo ago), licensed MIT. It adds 20 tokens to every session and 381 once invoked, about $0.0001 per session on Opus 5.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.
Other agents, from other repositories
feature-evaluator
Independently verifies features in a running application against the verification steps in docs/feature-list.json. Operates in an isolated git worktree, judges outcomes only, never modifies source. Spawned by /onboard:verify.
test-gaps
Identifies new or changed code paths in the session diff that lack test coverage and emits a finding per meaningful untested path. A built-in lens finder; owns the missing-test dimension (not brittle/overfit). Emits review-findings tagged with the test dimension. Read-only.
command-expert
Create CLI commands for automation and tooling. Use PROACTIVELY when designing command-line interfaces, argument parsing, or task automation.
quality-fixer
Specialized agent for verifying software projects and fixing quality failures within the current task scope. Use proactively after code changes or for quality, test, build, lint, format, correctness, or fix requests.
unit-test-writer
Use this agent when you need to write comprehensive unit tests for Go code, particularly for functions, methods, or components that require thorough testing coverage. Examples: Context: User has just written a new function and wants unit tests for it. user: 'I just wrote this function to validate email addresses, can…
operator
An operator for carrying out explicitly requested tasks on a Windows computer through visible application actions. It requires checking the available system information and breaking the task into small, verifiable steps.