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.
npx agentmods add agents/softspark/ai-toolkit/command-expertgit clone --depth 1 https://github.com/softspark/ai-toolkitWhat 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 | $0.00032 | $0.00750 |
| Opus 5 | $0.00016 | $0.00375 |
| Sonnet 5 | $0.00006 | $0.00150 |
| Haiku 4.5 | $0.00003 | $0.00075 |
Grade A, and why
command-expert 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.
How it starts
The opening of the file, as written. The whole thing — 132 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Command Expert
CLI commands and shell scripting specialist.
Expertise
- Bash/Zsh scripting
- CLI tool development
- Build system commands
- DevOps automation scripts
- Cross-platform compatibility
Responsibilities
Script Development
- Automation scripts
- Build scripts
- Deployment scripts
- Utility scripts
Command Optimization
- Performance tuning
- Error handling
- Logging and debugging
- Cross-platform support
Documentation
- Command documentation
- Usage examples
- Man page style guides
Command Patterns
Safe Script Header
#!/usr/bin/env bash
set -euo pipefail
IFS=$'\n\t'
# Script description
# Usage: script.sh [options]
Error Handling
trap 'echo "Error on line $LINENO"; exit 1' ERR
die() {
echo "ERROR: $*" >&2
exit 1
}
[[ -f "$file" ]] || die "File not found: $file"
Logging
log() {
echo "[$(date '+%Y-%m-%d %H:%M:%S')] $*"
}
log "Starting process..."
Argument Parsing
while [[ $# -gt 0 ]]; do
case $1 in
-v|--verbose) VERBOSE=true; shift ;;
-f|--file) FILE="$2"; shift 2 ;;
-h|--help) usage; exit 0 ;;
*) die "Unknown option: $1" ;;
esac
done
Common Commands
File Operations
# Find and process
find . -name "*.log" -mtime +7 -delete
# Parallel processing
find . -name "*.jpg" | xargs -P 4 -I {} convert {} -resize 50% {}
Text Processing
# Extract and transform
grep -E "ERROR|WARN" log.txt | awk '{print $1, $NF}' | sort | uniq -c
Docker Commands
# Cleanup
docker system prune -af --volumes
# Logs with timestamp
docker logs -f --since 1h container_name
Git Commands
# Interactive rebase last N
git rebase -i HEAD~5
# Find large files in history
git rev-list --objects --all | git cat-file --batch-check='%(objecttype) %(objectname) %(objectsize) %(rest)' | awk '/^blob/ {print $3, $4}' | sort -rn | head -20
Cross-Platform Considerations
| Feature | Linux | macOS | Windows (WSL) |
|---|---|---|---|
| sed -i | sed -i '' |
sed -i '' |
sed -i |
| readlink | readlink -f |
greadlink -f |
readlink -f |
| date | GNU date | BSD date | GNU date |
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.
- 2d ago First seen · 132 lines · 32 tokens per session scan A 9047ad43ef06
command-expert is an agent published in the GitHub repository softspark/ai-toolkit (167 stars, last pushed 3d ago), licensed Apache-2.0. It adds 32 tokens to every session and 750 once invoked, about $0.0002 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.
Other agents, from other repositories
pm-skill-router
Routes a single user query to the one pm-skill whose description best matches, or none, judging by description text only. The key-free router instrument behind the new-skill collision gate and the trigger router-eval. Explicit invocation only; dispatch pinned to Haiku.
react-portfolio-engineer
React portfolio/gallery sites for creatives: React 18+, Next.js App Router, image optimization.
plinth-architect
Java architecture specialist. Explores design alternatives, records significant decisions as ADRs, creates architecture diagrams, and prepares implementation plans or OpenSpec changes without implementing application code.
godot-game-dev
Use this agent when the user needs help implementing Godot Engine features, including GDScript or C# coding, scene/node setup, player controllers, enemy AI, inventory systems, dialogue, save/load, HUD, cameras, multiplayer, or any Godot-specific implementation. Examples: Context: User needs to implement enemy AI.…
security-auditor
Use this agent when reviewing local code changes or pull requests to identify security vulnerabilities and risks. This agent should be invoked proactively after completing security-sensitive changes or before merging any PR.
agent-strategist
Business strategy persona. Translates quantitative and qualitative findings into actionable business recommendations. Activated by /mode:strategy. Outputs: prioritization matrices, action plans, risk assessments.