惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

Y
Y Combinator Blog
V
V2EX
Jina AI
Jina AI
爱范儿
爱范儿
M
MIT News - Artificial intelligence
量子位
L
LangChain Blog
Google DeepMind News
Google DeepMind News
酷 壳 – CoolShell
酷 壳 – CoolShell
罗磊的独立博客
腾讯CDC
MongoDB | Blog
MongoDB | Blog
P
Proofpoint News Feed
宝玉的分享
宝玉的分享
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
Last Week in AI
Last Week in AI
H
Hackread – Cybersecurity News, Data Breaches, AI and More
F
Fortinet All Blogs
The GitHub Blog
The GitHub Blog
Engineering at Meta
Engineering at Meta
博客园 - 聂微东
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
Vercel News
Vercel News
T
The Blog of Author Tim Ferriss

Hacker News - Newest: "AI"

AI can't read an investor deck AI as an attorney? Student uses ChatGPT, Gemini to sue UW over alleged racial discrimination Hacking MCP Servers in AI Systems – The Rug Pull: Tool Changes After Approval GitHub - MeepCastana/KubeezCut: Free Web based video editor Can AI judge journalism? A Thiel-backed startup says yes, even if it risks chilling whistleblowers Coming soon: 10 Things That Matter in AI Right Now DARPA built an AI to fact-check enemy weapons claims What explains heterogeneity in AI adoption? When AI Meets Muscle: Context-Aware Electrical Stimulation Promises a New Way to Guide Human Movements - Department of Computer Science AI Changed How We Build. It Did Not Change What Matters. Linux rules on using AI-generated code - Copilot is OK, but humans must take 'full responsibility for the… Meta spins up AI version of Mark Zuckerberg to engage with employees Code Mode: Let Your AI Write Programs, Not Just Call Tools | TanStack Blog GitHub - Delavalom/graft: Go framework for building AI agents. Type-safe tools, multi-provider (OpenAI, Anthropic, Gemini, Bedrock), zero vendor SDKs. India's TCS tops estimates, says new AI models did not dent services demand Gen Z's fading AI hype Strong feeling: we are in a folded AI reality GitHub - machinarii/total-recall-catalog: A reference catalog of latest knowledge retrieval, memory & RAG systems GitHub - mensfeld/code-on-incus: Give each AI agent its own isolated machine with root, Docker, and systemd. Active defense detects and stops threats automatically.. Quantization, LoRA, and the 8% Problem: Benchmarking Local LLMs for Production AI Iran war: We spoke to the man making Lego-style AI videos that experts say are powerful propaganda Powell, Bessent discussed Anthropic's Mythos AI cyber threat with major U.S. banks GitHub - immartian/bellamem: Persistent belief-graph memory for AI agents. Retrieves decisive context by importance — not recency, not RAG, not /compact. recursive-mode: The Repo-Native Operating System for AI Engineering After the attack on Sam Altman's home, will AI CEO's go on the offensive? The biggest advance in AI since the LLM Opus 4.6 vs GPT 5.4 One Prompt Unity World Generation Test “AI polls” are fake polls Client Challenge Can AI be a 'child of God'? Inside Anthropic's meeting with Christian leaders
GitHub - pwnaxe/squick
TrueSTRX · 2026-05-28 · via Hacker News - Newest: "AI"

crates.io npm PyPI License: Apache 2.0

Pre-computed, LLM-targeted code context for AI coding agents.

Squick scans a codebase, extracts structural facts (call graph, imports, symbols, framework markers, HTTP endpoints, content-type schemas, route patterns, dependency manifests), and emits a small set of artifacts that AI agents read instead of re-scanning the repository on every prompt.

Why

AI coding agents currently spend tokens "looking around" the repository before answering even simple questions. Squick inverts that cost: do the analysis once at file save, save tokens on every prompt thereafter.

Install

# npm (recommended for AI-agent users - works with `npx -y` too)
npm i -g @hubhorizonllc/squick

# PyPI
pip install squick

# crates.io
cargo install squick-cli

# Direct binary (Unix)
curl --proto '=https' --tlsv1.2 -LsSf \
  https://github.com/pwnaxe/squick/releases/latest/download/squick-cli-installer.sh | sh

# Direct binary (Windows)
irm https://github.com/pwnaxe/squick/releases/latest/download/squick-cli-installer.ps1 | iex

All channels install the same binary, exposed on PATH as squick.

Quick start

squick scan ./your-project

Writes a small set of artifacts to .squick/:

  • conventions.md - detected stack, library choices, repository layout, API surface. Attach this to your AI chat when asking about architecture or library usage.
  • schemas.md - extracted data schemas (Strapi content types) and HTTP endpoints. Attach this to your AI chat for backend, data, or API questions.
  • context.md - tiny index pointing at the two files above.

For programmatic consumers (MCP servers, scripts) add --full:

squick scan ./your-project --full

This additionally writes context.ndjson (one JSON fact per line) and graph.txt (subject-predicate-object triples).

What gets extracted

  • Structure (Tree-sitter): symbols, imports, JSX components, doc comments, references.
  • Heuristics: function-name verbs, suffixes, Python dunders, framework markers.
  • Dictionaries (YAML): conventional routes, file roles, framework affinity.
  • Manifests: package.json, pyproject.toml - identity, dependencies, scripts, framework detection.
  • Endpoints: FastAPI/Flask decorators, Django urlpatterns, Express member-calls, Next.js App Router file layout.
  • Data schemas: Strapi content types (kind, names, attributes, relations).

Supported languages

TypeScript / TSX / JavaScript / JSX / Python.

Supported frameworks (out of the box)

Backend: Strapi, Django, Django REST Framework, FastAPI, Flask, Express, Koa, Fastify, NestJS, Sanity, Payload CMS, WordPress (file roles).

Frontend: Next.js (App Router + Pages Router), React, Tailwind.

Add a YAML file under dictionaries/frameworks/ to teach Squick a new framework. No Rust changes required for most additions.

CLI

squick scan [root]                One-shot scan into .squick/
  --format markdown|json          Output format (default: markdown)
  --out PATH                      Override output path
  --dict-dir PATH                 Override dictionary directory
  --include GLOB                  Repeatable. Only scan matching paths
  --exclude GLOB                  Repeatable. Skip matching paths
  --no-schemas                    Skip .squick/schemas.md
  --full                          Also emit context.ndjson + graph.txt

squick watch [root]               Re-scan on file save (same flags)
squick init [root]                Create empty .squick/ directory
squick mcp                        Start an MCP server on stdio
  --dict-dir PATH                 Override dictionary directory

MCP server (for AI agents)

Squick speaks the Model Context Protocol on stdio. Any MCP-aware host can invoke its tools to pull project context on demand rather than re-reading source files.

Tools exposed:

  • squick_scan(root) - the conventions summary (most useful default).
  • squick_get_conventions(root) - explicit conventions content.
  • squick_get_schemas(root) - data schemas as JSON.
  • squick_get_endpoints(root) - HTTP endpoints as JSON.
  • squick_get_file_context(root, file) - context for one file only.
  • squick_get_ndjson(root) - full project context as NDJSON.
  • squick_get_graph(root) - RDF-style triples for graph traversal.

Configure Claude Code

{
  "mcpServers": {
    "squick": {
      "command": "squick",
      "args": ["mcp"]
    }
  }
}

For zero-install invocation (no global package needed):

{
  "mcpServers": {
    "squick": {
      "command": "npx",
      "args": ["-y", "@hubhorizonllc/squick", "mcp"]
    }
  }
}

The same shape works for Cursor (.cursor/mcp.json), Cline, Continue, and any other MCP-aware host.

Dictionary format

Dictionaries are YAML files under dictionaries/<category>/<name>.yaml:

name: frameworks/example
description: One-line description of what this dictionary recognises.
entries:
  - pattern: "models.py"
    match: filename
    tag: data-models
    confidence: high
    kind: literal
    note: "Optional context for reviewers."

Globs accept * and ?. Regex uses Rust syntax. Literal matches are case-insensitive.

Workspace layout

squick/
  crates/
    squick-core/       Types, scanner, AST extraction, resolver, manifests
    squick-dict/       YAML dictionary engine
    squick-format/     Output emitters (markdown / JSON / NDJSON / triples / conventions)
    squick-watch/      Debounced file watcher
    squick-cli/        `squick` binary
  bindings/
    node/              napi-rs bindings (npm distribution)
    python/            PyO3 bindings (PyPI distribution)
  extensions/
    vscode/            VS Code extension
  dictionaries/        YAML pattern catalogues

Built by Horizon LLC

Squick is built and maintained by Horizon LLC - we design and build custom AI developer tooling, MCP integrations, and agent infrastructure for engineering teams.

Need custom AI tooling for your team? Get in touch via pixelhorizon.dev.

License

Squick is distributed under the Apache License 2.0. Copyright 2026 Horizon LLC, Sharjah, United Arab Emirates.

Trademarks

"Squick" and the Squick logo are trademarks of Horizon LLC. The Apache License 2.0 grants no rights in the trademarks. See TRADEMARKS.md.

Contributing

Contributions to source code, dictionaries, and documentation are welcome under the terms of the Apache License 2.0. By submitting a contribution, you agree that it is licensed under the same terms as the project itself.

Run the test suite before submitting: