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.
git clone --depth 1 https://github.com/komunite/kalfaWrote 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/commands/komunite/kalfa/drift-detect)<a href="https://agentmods.dev/commands/komunite/kalfa/drift-detect"><img src="https://agentmods.dev/badge/commands/komunite/kalfa/drift-detect/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/commands/komunite/kalfa/drift-detect"><img src="https://agentmods.dev/badge/commands/komunite/kalfa/drift-detect.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.00028 | $0.01096 |
| Opus 5.5 | $0.00011 | $0.00438 |
| Sonnet 5.5 | $0.00006 | $0.00219 |
| Haiku 4.5 | $0.00003 | $0.00110 |
Grade A, and why
drift-detect 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 3mo 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 — 99 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Öz-izleme komutu. Tüm Claude Code yapılandırmanızı sapma açısından tarar — eski kurallar, çelişkiler, sahipsiz dosyalar ve yapılandırma tutarsızlıkları.
Adımlar
Adım 1: Sistem dosyalarını tara (paralel)
Tüm yapılandırma kaynaklarını eşzamanlı oku:
CLAUDE.md— proje talimatları.claude/memory.md— aktif hafıza.claude/knowledge-base.md— öğrenilmiş kurallar.claude/settings.json— hook yapılandırması.claude/command-index.md— komut kaydı (varsa)
Adım 2: Çelişkileri kontrol et
CLAUDE.md içinde:
- Çelişkili talimatlar var mı? (örn. "her zaman X yap" ve "asla X yapma")
- Var olmayan dosya veya dizinlere referanslar var mı?
- Tanımlanmamış komut veya agent'lara referanslar var mı?
CLAUDE.md ve Bilgi Tabanı arasında:
- Bilgi Tabanı, CLAUDE.md ile çelişen kurallar içeriyor mu?
- Her iki dosyada tekrarlanan kurallar var mı?
Hafıza ve gerçeklik arasında:
- Hafıza, artık var olmayan görevlere, dosyalara veya durumlara referans veriyor mu?
- Açıkça eski olan "mevcut odak" öğeleri var mı?
Adım 3: Sahipsiz dosyaları kontrol et
Şunları tara:
- Sahipsiz komutlar:
.claude/commands/içinde olup command-index.md'de referans verilmeyen dosyalar - Sahipsiz agent'lar: Hiçbir komut veya skill'in çağırmadığı agent tanımları
- Sahipsiz skill'ler: Hiçbir komut, agent veya CLAUDE.md tarafından referans verilmeyen skill'ler
- Ölü referanslar: Var olmayan dosya, URL veya yol isimleri
- Kullanılmayan hook'lar: Var olan ama settings.json'da bağlanmamış hook betikleri
Adım 4: Eskimişliği kontrol et
- Memory.md: "Şimdi" bölümü 3 günden eski mi?
- Bilgi Tabanı girdileri: Güncel olmayan araçlara, API'lere veya kalıplara referans veren var mı?
- Günlük Notlar: Arşivlenmesi gereken 30+ günlük günlük notlar var mı?
- Görev Panosu: Bir haftadan fazla "devam ediyor" durumunda olan görevler var mı?
Adım 5: Yapılandırma sağlığını kontrol et
- settings.json: Geçerli JSON mı? Tüm hook betikleri çalıştırılabilir mi?
- CLAUDE.md boyutu: Çok mu büyüyor? (>500 satır uyarıdır)
- Memory.md boyutu: Sınırlar içinde mi? (<100 satır hedef)
- Bilgi Tabanı boyutu: Sınırlar içinde mi? (<200 satır hedef)
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.
- 3mo ago First seen · 99 lines · 28 tokens per session scan A 42b82efb5622
drift-detect is a command published in the GitHub repository komunite/kalfa (246 stars, last pushed 7mo ago), licensed MIT. It adds 28 tokens to every session and 1,096 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.
drift-detect compared with commands from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| drift-detectkomunite/kalfa | Command | 246 | 7mo ago | MIT | A | 28 | Claude Code |
| optimizersmith-horn/skillsmith | Command | 78 | today | none | A | 0 | Claude Code |
| sniff-bloatersJordanGunn/nunchuck | Command | 9 | 10mo ago | MIT | A | 0 | Claude Code, Cursor |
| checklistgithub/spec-kit | Command | 153k | today | MIT | A | 13 | Claude Code |
| clarifygithub/spec-kit | Command | 153k | today | MIT | A | 27 | Claude Code |
| analyzegithub/spec-kit | Command | 153k | today | MIT | A | 26 | Claude Code |
| specifygithub/spec-kit | Command | 153k | today | MIT | A | 13 | Claude Code |