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 commands/keepyaoung/artifact-organizer/diffgit clone --depth 1 https://github.com/keepYaoung/artifact-organizerWhat 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.00037 | $0.01586 |
| Opus 5 | $0.00018 | $0.00793 |
| Sonnet 5 | $0.00007 | $0.00317 |
| Haiku 4.5 | $0.00004 | $0.00159 |
Grade A, and why
diff 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.
Step 0 — theme + renderer preference (run first, every invocation)
When PREF is empty below, you MUST prompt the user for theme + renderer via AskUserQuestion BEFORE writing the preference file — theme options: notion (warm cream + Notion Blue), linear (dark-native + indigo), vercel (gallery white + Geist), stripe (weight-300 luxury + deep navy), supabase (dark-native + emerald), apple (SF + Apple Blue + true-black dark), tailwind (Inter + slate + indigo-600); renderer options: auto / canvas / page. Use the answer to set THEME and RENDERER. If the user skips or the tool is unavailable, fall back silently to notion + auto. Color mode is not a setting — every output inlines both light and dark; the toggle button + prefers-color-scheme switch them at view time.
PREF=""
for p in ./.artifact-organizer/preference.md ~/.artifact-organizer/preference.md; do
[ -f "$p" ] && { PREF="$p"; break; }
done
if [ -z "$PREF" ]; then
# See the instruction above — populate from AskUserQuestion or fall back.
THEME=notion; RENDERER=auto
mkdir -p ~/.artifact-organizer; PREF=~/.artifact-organizer/preference.md
printf -- '---\ntheme: %s\nrenderer: %s\ncreated_at: %s\n---\n' \
"$THEME" "$RENDERER" "$(date -u +%Y-%m-%dT%H:%M:%SZ)" > "$PREF"
fi
THEME=$(awk -F': *' '/^theme:/{print $2; exit}' "$PREF")
RENDERER=$(awk -F': *' '/^renderer:/{print $2; exit}' "$PREF")
[ -z "$THEME" ] && THEME=notion
[ -z "$RENDERER" ] && RENDERER=auto
You are invoking Artifact Organizer's diff review. The user's input:
$ARGUMENTS
Source detection
- Git range (like
main..HEAD,HEAD~5..HEAD, orabc123..def456) — rungit diff <range>to get the unified diff. - PR URL (e.g.
https://github.com/owner/repo/pull/123) — usegh pr diff 123 -R owner/repoorgh api repos/owner/repo/pulls/123.diff. - No args or "diff" — assume the user will paste or already has the diff in context. Ask if unclear.
Envelope structure
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 · 37 tokens per session scan A aee80856733b
diff is a command published in the GitHub repository keepYaoung/artifact-organizer (2 stars, last pushed 2mo ago), licensed MIT. It adds 37 tokens to every session and 1,586 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-31.
Other commands, from other repositories
volume-stats
Returns a volume-wide overview including status, capacity, garbage percentage, and fill ratio.
tick
Returns a monotonically increasing 64-bit integer.
session-close
Closes the current session and resets all session state while keeping the connection open.
bucket-locate
Returns the routing information for a bucket, showing which shards hold its data and the addresses of primary and standby replicas.
review
Cold re-quiz on code that already shipped — your own session commits, not the change in front of you.
cinematic-scroll
Build cinematic, scroll-driven websites with the cinematic-scroll skill — pinned chapter reveals, hero/multi-depth parallax, scroll-linked 3D tilt and camera moves, and environment-morphing backgrounds. From a single self-contained .html scroll section (Mode A) to a full Next.js release site with optional AI-generated…