GoSQLX: Instructions file for Claude Code

CLAUDE.md

GoSQLX CLAUDE.md is an instructions file for Claude Code from ajitpratap0/GoSQLX. It costs 3,447 tokens per session, scanned A, original, Apache-2.0.

Repository instructions for GoSQLX, a Go library that reads SQL statements and turns them into structured syntax trees.

In plain words
What is it for?
Working on SQL tokenization, parsing, syntax-tree generation, database dialect support, performance, concurrency, and related project components.
Why use it?
They describe the project’s architecture, supported databases, requirements, and development expectations so code changes fit the repository.

Instructions file for Claude Code

Written for Claude Code: the file is CLAUDE.md. Also seen: reads .claude/ paths; mentions CLAUDE.md; mentions Claude Code.

This is ajitpratap0/GoSQLX's own configuration. It tells Claude Code how to work on GoSQLX itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything GoSQLX configures →

Reuse

Borrowing it

Nothing to install: this file belongs to ajitpratap0/GoSQLX. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/ajitpratap0/GoSQLX/main/CLAUDE.md
Clone the repo
git clone --depth 1 https://github.com/ajitpratap0/GoSQLX

Made for: Claude Code.

Wrote 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.

agentmods badge for GoSQLX CLAUDE.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/ajitpratap0/gosqlx/claude-md/github.svg)](https://agentmods.dev/instructions/ajitpratap0/gosqlx/claude-md)
Your own site
<a href="https://agentmods.dev/instructions/ajitpratap0/gosqlx/claude-md"><img src="https://agentmods.dev/badge/instructions/ajitpratap0/gosqlx/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.

agentmods 80×15 button for GoSQLX CLAUDE.md

Your own site · 80×15
<a href="https://agentmods.dev/instructions/ajitpratap0/gosqlx/claude-md"><img src="https://agentmods.dev/badge/instructions/ajitpratap0/gosqlx/claude-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 3,447 This file is loaded in full into every session.
When invoked 3,447 The same file — it is already loaded in full.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.03447 $0.03447
Opus 5.5 $0.01379 $0.01379
Sonnet 5.5 $0.00689 $0.00689
Haiku 4.5 $0.00345 $0.00345

Measured 7d ago against content hash 512402726b13, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

GoSQLX 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 7d 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.

CLAUDE.md · 320 lines

How it starts

The opening of the file, as written. The whole thing — 320 lines — stays where its author put it; the contents beside it link to each section on GitHub.

CLAUDE.md

This file provides guidance to Claude Code (claude.ai/code) when working with code in this repository.

Project Overview

GoSQLX is a production-ready, race-free, high-performance SQL parsing SDK for Go that provides lexing, parsing, and AST generation with zero-copy optimizations. The library is designed for enterprise use with comprehensive object pooling for memory efficiency.

Requirements: Go 1.26+ (upgraded from 1.23 to fix stdlib vulnerabilities; mark3labs/mcp-go requires 1.23)

Production Status: ✅ Validated for production deployment (v1.6.0+, current: v1.18.0)

  • Thread-safe with zero race conditions (20,000+ concurrent operations tested)
  • 1.38M+ ops/sec sustained, 1.5M peak with memory-efficient object pooling
  • ~80-85% SQL-99 compliance (window functions, CTEs, set operations, MERGE, etc.)
  • Multi-dialect support: PostgreSQL, MySQL, MariaDB, SQL Server, Oracle, SQLite, Snowflake, ClickHouse (8 dialects with dedicated grammar); --dialect also accepts generic, bigquery, redshift (11 names)

Engineering Principles (maintainer rules)

  • Fix the root cause, the right way. Prefer the correct fix over a workaround, even when it is a larger refactor or changes public API or behaviour. Never relax a test, threshold or timeout to hide a problem.
  • Breaking changes are allowed when they are the right fix. Ship them in the current release (no separate major version or /v2 module path) with an explicit migration entry in a changelog.d/<slug>.breaking-changes.md fragment and the PR body. Do not substitute an opt-in flag or compatibility shim for the right design unless the maintainer asks for one.
  • Nothing is deferred to a future major ("2.0", "v-next"). Work planned for a later major ships in the current release. An idea with weak evidence is prototyped and measured now, then shipped or closed with the numbers.
  • Measure, don't assume. Performance changes are judged by the amd64 perf gate (.github/workflows/perf-gate.yml); missing a target is reported, not hidden.

Read the full file on GitHub · 320 lines

Changes

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.

  1. 7d ago Changed 512402726b13
  2. 23d ago Changed · +1 lines · +49 tokens per session 43036f313f29
  3. 1mo ago Changed · +2 lines · +25 tokens per session e86a133cc3ec
  4. 1mo ago Changed · +54 lines · +768 tokens per session 98a443c50fb0
  5. 1mo ago Changed · -1 lines · +36 tokens per session f4a96a8e9b5d
  6. 1mo ago Changed · +5 tokens per session 3ec4b0423082
  7. 1mo ago Changed · +2 lines · +49 tokens per session 8ba1fb902e4d
  8. 1mo ago Changed · +2 lines · +46 tokens per session 013391e02ae7
  9. 3mo ago First seen · 260 lines · 2,469 tokens per session scan A 2c7f6298ad3c

Subscribe to this mod's changes

GoSQLX CLAUDE.md is an instructions file published in the GitHub repository ajitpratap0/GoSQLX (127 stars, last pushed 3d ago), licensed Apache-2.0. It adds 3,447 tokens to every session, about $0.0138 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.

Related

GoSQLX CLAUDE.md compared with instructions from other repositories

GoSQLX CLAUDE.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
GoSQLX CLAUDE.mdajitpratap0/GoSQLXInstructions file1273d agoApache-2.0A3,447Claude Code
vscode buildNext.instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA9,887GitHub Copilot
next.js AGENTS.mdvercel/next.jsInstructions file144ktodayMITA7,230Codex, OpenCode
vscode oss-third-party-notices.instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA5,685GitHub Copilot
langchain AGENTS.mdlangchain-ai/langchainInstructions file150kyesterdayMITA4,951Codex, OpenCode
deepseek-harness AGENTS.mddeepseek-ai/deepseek-harnessInstructions file291kyesterdayMITA4,396Codex, OpenCode
vscode copilot-instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA3,303GitHub Copilot