frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Show HN: CCQL – SQL Queries for Claude Code

https://github.com/douglance/ccql
3•douglaswlance•2h ago
I built *CCQL*, a CLI tool that lets you run SQL queries directly against your Claude Code data (history, transcripts, prompts, sessions, etc.).

If you use Claude Code regularly, you quickly accumulate a large amount of interaction data. CCQL makes that data queryable with SQL so you can analyze how you actually use the agent.

*Examples*

```bash # What tools does Claude use most? ccql "SELECT tool_name, COUNT() AS uses FROM transcripts GROUP BY tool_name ORDER BY uses DESC LIMIT 10"

# Find prompts mentioning a topic ccql "SELECT display, timestamp FROM history WHERE display LIKE '%authentication%'"

# Cross-session analysis ccql "SELECT _session_id, COUNT(

) FROM transcripts GROUP BY _session_id" ```

*Built-in commands*

```bash ccql prompts --session ses_123 ccql duplicates --threshold 0.8 ccql search "error" ```

*Interesting technical bit* Claude Code stores its data in a structured local format. CCQL loads that data into an embedded SQL engine (GlueSQL) with a clean, read-first model, so you can safely explore usage patterns without mutating anything.

*Features*

* SQL queries across history, transcripts, prompts, sessions, and todos * Fuzzy duplicate detection (find repeated or near-duplicate prompts) * Full-text search with regex * Safe writes with automatic backups * Output formats: table, JSON, JSONL

*Install*

```bash # macOS brew install douglance/tap/ccql

# npm (any platform) npx @douglance/ccql "SELECT * FROM history LIMIT 10"

# Cargo cargo install ccql ```

Built in Rust using GlueSQL. MIT licensed.

GitHub: [https://github.com/douglance/ccql](https://github.com/douglance/ccql)

I’ve been using this to understand my own Claude usage patterns—what prompts I repeat, which tools get called most, and how conversations evolve across sessions. Curious what queries others would find useful.

Show HN: Runiq – I gave Claude 'hands' to control my OS (Go Binary)

https://github.com/qaysSE/runiq
1•QaysHajibrahim•1m ago•0 comments

Web Programmer Considering a Reskill

1•gspanos•1m ago•0 comments

Show HN: Khaos – Kafka traffic simulator for observability and chaos engineering

https://github.com/aleksandarskrbic/khaos
1•skrbic_a•4m ago•1 comments

Many Epstein files can be unredacted

https://twitter.com/doggintrump/status/2003287012556853735
1•svenfaw•5m ago•1 comments

Roman soldiers defending Hadrian's Wall infected by parasites, study finds

https://www.cam.ac.uk/research/news/roman-soldiers-defending-hadrians-wall-infected-by-parasites-...
1•wjSgoWPm5bWAhXB•5m ago•0 comments

Show HN: Entangle, AI powered service agent for your website

1•rukshn•12m ago•0 comments

Test, Don't (Just) Verify

https://alperenkeles.com/posts/test-dont-verify/
3•alpaylan•12m ago•0 comments

A New K in America

https://paulkrugman.substack.com/p/a-new-k-in-america
2•rbanffy•14m ago•0 comments

Show HN: I've open-sourced my habit tracker app built with React Native

https://gethabittracker.vercel.app
1•hasibhaque•15m ago•0 comments

Bring Back the Yugoslav Basketball Team

https://jacobin.com/2025/11/bring-back-the-yugoslav-basketball-team/
1•PaulHoule•15m ago•0 comments

Qwen3-TTS Steps Up: Voice Cloning and Voice Design

https://qwen.ai/blog?id=qwen3-tts-vc-voicedesign
1•pretext•16m ago•0 comments

Evri driver arrested after 120 parcels stolen before Christmas

https://uk.news.yahoo.com/evri-driver-arrested-120-parcels-085544125.html
1•nephihaha•17m ago•0 comments

Index of reviews of Cahiers du Cinéma 2025

https://jjg.gitlab.io/en/code/cdc-index/2025.html
1•jjgreen•21m ago•0 comments

Review of Moral Codes: Designing Alternatives to AI

https://read.dukeupress.edu/critical-ai/article/doi/10.1215/2834703X-12096054/406212/Moral-Codes-...
1•Antibabelic•22m ago•0 comments

A third path to explain consciousness: Biological computationalism

https://phys.org/news/2025-12-path-consciousness-biological.html
2•manidoraisamy•22m ago•0 comments

Dumbphone journey – eight month update

https://blog.frog.equipment/dumbphone-journey-eight-month-update
2•birdculture•23m ago•0 comments

Modern Robotics: Mechanics, Planning and Control (2017) [pdf]

https://hades.mech.northwestern.edu/images/7/7f/MR.pdf
2•nill0•24m ago•0 comments

Hepatic adaptation to chronic metabolic stress primes tumorigenesis

https://www.cell.com/cell/fulltext/S0092-8674(25)01366-2
1•manidoraisamy•25m ago•0 comments

A Golang malformed HTTP POST mystery

https://deliveroo.engineering/2019/02/22/go-down-the-rabbit-hole.html
1•fanf2•27m ago•0 comments

Ask HN: What are some engineering practices you wish would come back?

4•dhruv_ahuja•27m ago•1 comments

Content Infinite Loop: 1 Hour Work, 30 Days of Traffic

https://blog.vect.pro/content-infinite-loop-guide
1•WoWSaaS•27m ago•0 comments

Code Orange: Fail Small – our resilience plan following recent incidents

https://blog.cloudflare.com/fail-small-resilience-plan/
1•gpi•27m ago•0 comments

Switching It Up a Bit

https://xania.org/202512/23-switching-it-up
3•hasheddan•29m ago•0 comments

The Renaissance book that heralded growth

https://worksinprogress.co/issue/the-renaissance-book-that-heralded-growth/
1•pietergaricano•30m ago•0 comments

Proton 2025 Lifetime Fundraiser

https://shop.proton.me/products/2025-proton-lifetime-fundraiser-raffle-ticket
1•teekert•34m ago•0 comments

Libxml2 Narrowly Avoids Becoming Unmaintained

https://hackaday.com/2025/12/23/libxml2-narrowly-avoids-becoming-unmaintained/
1•beardyw•36m ago•0 comments

Creatine monohydrate pilot in Alzheimer's: Feasibility and cognition

https://alz-journals.onlinelibrary.wiley.com/doi/10.1002/trc2.70101
1•debo_•37m ago•0 comments

Postponed '60 Minutes' segment on Salvadoran prison is streamed by Canadian news

https://www.nbcnews.com/news/us-news/cbs-news-el-salvador-cecot-prison-sharyn-alfonsi-bari-weiss-...
52•duxup•38m ago•7 comments

I Don't Care for Gnome (2024)

https://woltman.com/gnome-bad/
2•abhinavk•40m ago•0 comments

Algorithms for Decision Making (2022)

https://algorithmsbook.com/decisionmaking/#
3•simonpure•40m ago•0 comments