agami-query

agami-query is a skill for Claude Code from AgamiAI/agami-core. It costs 163 tokens per session (23,960 once invoked), scanned D, original, no licence file.

A natural-language question tool for databases. It uses agami's semantic model and saved examples to turn a question into SQL and return an answer.

In plain words
What is it for?
Use it to ask questions about tables, metrics, entities, and related data in the connected database.
Why use it?
It lets users ask about stored data in ordinary language without writing the database query themselves.

Skill for Claude Code

Written for Claude Code: argument-hint in frontmatter.

Part of the agami-core plugin — 9 skills shipped together

Install

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.

agentmods
npx agentmods add skills/agamiai/agami-core/agami-query
Any agent
npx skills add AgamiAI/agami-core --skill agami-query
Clone the repo
git clone --depth 1 https://github.com/AgamiAI/agami-core

Made for: Claude Code.

Or install agami-core, the plugin that ships this one along with the rest of its 9 skills.

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 agami-query

README.md
[![agentmods](https://agentmods.dev/badge/skills/agamiai/agami-core/agami-query.svg)](https://agentmods.dev/skills/agamiai/agami-core/agami-query)
Your own site
<a href="https://agentmods.dev/skills/agamiai/agami-core/agami-query"><img src="https://agentmods.dev/badge/skills/agamiai/agami-core/agami-query.svg" alt="Measured on agentmods" height="20"></a>
Per session 163 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 23,960 The whole file, excluding the scripts and references it only reads on demand.
Security scan D 2 findings. Scan, not verified.
Origin unknown 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.00163 $0.23960
Opus 5 $0.00081 $0.11980
Sonnet 5 $0.00033 $0.04792
Haiku 4.5 $0.00016 $0.02396

Measured 6d ago against content hash a866be60bb5e, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade D, and why

agami-query scanned grade D with 2 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 6d 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.

Tells the agent never to refusehighAnti-refusal

Suppressing the ability to decline removes a core safety control; a later harmful request then succeeds.

**Unreviewed metrics are USED, not refused.** When the question names a metric whose `review_state ≠ approved`, still use its binding and answer — do NOT block or refuse on it. The trust layer surfaces it **on the receip

Asks for rootmediumPrivilege escalation

A mod that escalates privileges can change anything on the machine, not only the project.

`<artifacts_dir>/local/.optins` shape (chmod 600):
plugins/agami/skills/agami-query/SKILL.md · 963 lines

The source is not reproduced here

A licence we could not identify

The repository carries a LICENSE file, but it is custom or dual enough that GitHub cannot name it and neither can this catalogue. Unknown terms are not permission, so the body is not copied here. Read the licence at the source and decide for yourself.

Read it on GitHub

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. 6d ago First seen · 963 lines · 163 tokens per session scan D a866be60bb5e

Subscribe to this mod's changes

agami-query is a skill published in the GitHub repository AgamiAI/agami-core (29 stars, last pushed yesterday), with no licence file. It adds 163 tokens to every session and 23,960 once invoked, about $0.0008 per session on Opus 5. A static security scan graded it D with 2 findings (tells the agent never to refuse, asks for root). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

pgvector-semantic-search

Use this skill for setting up vector similarity search with pgvector for AI/ML embeddings, RAG applications, or semantic search. Trigger when user asks to: Store or search vector embeddings in PostgreSQL Set up semantic search, similarity search, or nearest neighbor search Create HNSW or IVFFlat indexes for vectors…

timescale/pg-aiguide · 190 tokens

postgres-hybrid-text-search

Use this skill to implement hybrid search combining BM25 keyword search with semantic vector search using Reciprocal Rank Fusion (RRF). Trigger when user asks to: Combine keyword and semantic search Implement hybrid search or multi-modal retrieval Use BM25/pgtextsearch with pgvector together Implement RRF (Reciprocal…

timescale/pg-aiguide · 162 tokens

cwicr-data-loader

Load and parse DDC CWICR construction cost database from multiple formats: Parquet, Excel, CSV, Qdrant snapshots. Foundation for all CWICR operations.

datadrivenconstruction/DDC_Skills_for_AI_Agents_in_Construction · 41 tokens

effective-dbt-sql

Use when writing or modifying dbt model SQL — deciding whether to add a subquery or reuse an existing dimension/metric, structuring a query, joining models, or refactoring a metric's SQL. Encodes SQL semantic-correctness rules: reuse existing fields, prefer CTEs over correlated subqueries, and make joins and column…

lightdash/lightdash · 0 tokens

laravel-vector-search

Use when implementing semantic/vector search in Laravel 13 with PostgreSQL + pgvector.

fusengine/agents · 22 tokens

neon-postgres-agent-platforms

Build and operate multi-tenant AI agent platforms on Neon. Use this skill whenever the user is designing an agent/app builder, provisioning a Neon project or database per user/app/agent run, managing thousands of tenant projects, separating sponsored free users from paid customers, moving projects between orgs…

georgekhananaev/claude-skills-vault · 148 tokens