Borrowing it
Nothing to install: this file belongs to frkdrgt/ferox. 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/frkdrgt/ferox/main/CLAUDE.mdgit clone --depth 1 https://github.com/frkdrgt/feroxWrote 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/instructions/frkdrgt/ferox/claude-md)<a href="https://agentmods.dev/instructions/frkdrgt/ferox/claude-md"><img src="https://agentmods.dev/badge/instructions/frkdrgt/ferox/claude-md/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/instructions/frkdrgt/ferox/claude-md"><img src="https://agentmods.dev/badge/instructions/frkdrgt/ferox/claude-md.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.04419 | $0.04419 |
| Opus 5.5 | $0.01768 | $0.01768 |
| Sonnet 5.5 | $0.00884 | $0.00884 |
| Haiku 4.5 | $0.00442 | $0.00442 |
Grade A, and why
ferox CLAUDE.md 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 9d 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 — 207 lines — stays where its author put it; the contents beside it link to each section on GitHub.
pgclient — CLAUDE.md
Proje Özeti
Hafif bir masaüstü PostgreSQL client uygulaması. Rust + egui/eframe ile yazılmış. Hedef: DBeaver/DataGrip'e alternatif, <50MB RAM, <200ms startup.
Gerçek ölçümler (v0.2.3): ~45–47 MB RAM, 6.9 MB binary (release LTO)
v-next: binary 9.86 MB'a çıktı (+%43) — sebebi keyring crate'in Windows backend'i
(windows-native-keyring-store), beklenenin aksine security-framework/zbus gibi zaten
linkli bir şeyin üstüne binmiyor, tam bir regex motoru (regex+aho-corasick+regex-automata)
getiriyor. Bilinçli bir trade-off olarak kabul edildi (gerçek şifre şifrelemesinin güvenlik
değeri arttı) — ama gelecekte RAM/boyut bütçesi tekrar gündeme gelirse ilk bakılacak yer burası.
Not: Cargo paket adı ferox-pg (crates.io yayını için, v0.2.9'da yeniden adlandırıldı); binary adı hâlâ ferox.
Tech Stack
- GUI: egui 0.29 + eframe (immediate-mode, pure Rust;
accesskitdevre dışı) - DB Driver: tokio-postgres 0.7 (async, pure Rust;
simple_querytext protokol) - Async: tokio (current-thread runtime, ayrı std::thread içinde)
- TLS: native-tls + postgres-native-tls
- SSH: russh 0.44
- Config: serde + toml
- Export: serde_json + manuel CSV + INSERT (
db/query.rs::insert_statements) - File Dialog: rfd 0.14 (native OS diyaloğu)
- SQL Highlighting: sıfırdan yazılmış tokenizer —
src/ui/syntax.rs(syntect yok) - i18n: sıfırdan yazılmış —
src/i18n.rs(sıfır bağımlılık)
Mimari — Kritik Kural
UI thread (eframe) ↔ DB thread arası haberleşme SADECE mpsc kanalları ile:
Sender<DbCommand>→ UI'dan DB'ye komutSender<DbEvent>→ DB'den UI'a sonuç- DB thread kendi
current_threadtokio runtime'ınıstd::thread::spawniçinde oluşturur spawn_blockingile sync recv, sonra async tokio-postgres
Bu pattern'i ASLA değiştirme. eframe main thread'i bloke eden hiçbir şey yapma.
Modül Yapısı
src/
├── main.rs — eframe init, current_thread tokio runtime
├── app.rs — PgClientApp, eframe::App impl, event loop
├── config.rs — ConnectionProfile, AppConfig (TOML)
├── history.rs — QueryHistory (kalıcı, max 500)
├── snippets.rs — Saved queries (Ctrl+Shift+S, name+SQL, TOML-persisted)
├── i18n.rs — Lang enum (En|Tr), I18n(pub Lang) newtype, ~100+ method
├── logger.rs — crash log (panic hook)
├── secrets.rs — OS keychain (DB/SSH şifreleri, AI API key) — `keyring` crate
├── dbeaver.rs — DBeaver bağlantı import'u (data-sources.json + AES ile şifreli credentials-config.json)
├── update.rs — GitHub releases güncelleme kontrolü (ayrı thread, mpsc, sadece sürüm karşılaştırır)
├── db/
│ ├── mod.rs
│ ├── connection.rs — DbCommand/DbEvent, db_worker, execute_query (simple_query)
│ ├── query.rs — CellValue enum, QueryResult
│ ├── metadata.rs — Schema/table/column/index/FK introspection
│ ├── dump.rs — Şema dump'ı (.sql, yapı ± veri) — katalogdan üretilir, pg_dump gerekmez
│ └── ssh.rs — SSH tunnel (russh)
└── ui/
├── mod.rs
├── sidebar.rs — SidebarAction, schema tree, context menu
├── query_panel.rs — SQL editör, BrowseState, sayfalama
├── result_table.rs — egui_extras::TableBuilder, sort, inline edit
├── tab_manager.rs — Tab lifecycle, yönlendirme, sağ-tık menüsü
├── connection_dialog.rs
├── dashboard.rs — DB dashboard (tablo boyutları, bağlantılar, index)
├── explain.rs — EXPLAIN ANALYZE ağaç görünümü
├── er_diagram.rs — ER diyagramı
├── autocomplete.rs — Tablo/sütun otomatik tamamlama
├── import_dialog.rs — CSV import onay diyaloğu (kolon isimleri CSV header'ından)
├── dbeaver_dialog.rs — DBeaver import önizleme/seçim diyaloğu
├── home.rs — Karşılama ekranı (bağlantı yokken): sayaç kartları, Quick Start, kısayollar, son sorgular
├── theme.rs — Renk token'ları, card_frame/card_header/empty_state, ikon fontu kurulumu
└── syntax.rs — Sıfırdan SQL/JSON tokenizer (keyword/type/string/comment)
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.
- 9d ago Changed · +30 lines · +907 tokens per session 0291cf56a5b1
- 13d ago Changed · +17 lines · +606 tokens per session a030131fc1b4
- 1mo ago Changed · +19 lines · +622 tokens per session ddf08f9d9a6e
- 2mo ago First seen · 141 lines · 2,284 tokens per session scan A 50107dc0f4fe
ferox CLAUDE.md is an instructions file published in the GitHub repository frkdrgt/ferox (96 stars, last pushed 9d ago), licensed MIT. It adds 4,419 tokens to every session, about $0.0177 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.
ferox CLAUDE.md compared with instructions from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| ferox CLAUDE.mdfrkdrgt/ferox | Instructions file | 96 | 9d ago | MIT | A | 4,419 | Claude Code |
| vscode buildNext.instructions.mdmicrosoft/vscode | Instructions file | 195k | yesterday | MIT | A | 9,719 | GitHub Copilot |
| next.js AGENTS.mdvercel/next.js | Instructions file | 143k | yesterday | MIT | A | 7,461 | Codex, OpenCode |
| langchain AGENTS.mdlangchain-ai/langchain | Instructions file | 149k | yesterday | MIT | A | 4,680 | Codex, OpenCode |
| vscode oss-third-party-notices.instructions.mdmicrosoft/vscode | Instructions file | 195k | yesterday | MIT | A | 5,516 | GitHub Copilot |
| vscode copilot-instructions.mdmicrosoft/vscode | Instructions file | 195k | yesterday | MIT | A | 3,093 | GitHub Copilot |
| deepseek-harness AGENTS.mddeepseek-ai/deepseek-harness | Instructions file | 274k | 2d ago | MIT | A | 4,313 | Codex, OpenCode |