agami-query

agami-query is a skill for Claude Code from AgamiAI/agami-core. It costs 163 tokens per session (28,770 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 — 8 skills, 2 agents, 1 hook shipped together

Good fit Use it to ask questions about tables, metrics, entities, and related data in the connected database.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/agamiai/agami-core/agami-query
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.

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 8 skills, 2 agents, 1 hook.

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/github.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/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 agami-query

Your own site · 80×15
<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="Reviewed on agentmods" width="80" 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 28,770 The whole file, excluding the scripts and references it only reads on demand.
Security scan D 2 findings. A grade says what 26 rules found in the file — not that it is safe.
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.28770
Opus 5.5 $0.00065 $0.11508
Sonnet 5.5 $0.00033 $0.05754
Haiku 4.5 $0.00016 $0.02877

Measured 11d ago against content hash beb34b34da42, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, 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 11d 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 · 1,014 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. 11d ago Changed · +1 lines beb34b34da42
  2. 12d ago Changed · +4 lines a688f070a2bf
  3. 13d ago Changed 18eaa9f1b84f
  4. 18d ago Changed · +46 lines b6f3ecc1a2f4
  5. 28d ago Changed · +1 lines 8b081908a877
  6. 1mo ago Changed e8e2db8e071c
  7. 1mo ago Changed 12d6452cc76d
  8. 1mo ago Changed bac1165318dc
  9. 1mo ago Changed · -3 lines 5f88038417b6
  10. 1mo ago First seen · 965 lines · 163 tokens per session scan D 329f2cefc3ed

Subscribe to this mod's changes

agami-query is a skill published in the GitHub repository AgamiAI/agami-core (30 stars, last pushed today), with no licence file. It adds 163 tokens to every session and 28,770 once invoked, about $0.0007 per session on Opus 5.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

agami-query compared with skills from other repositories

agami-query next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
agami-queryAgamiAI/agami-coreSkill30todaynoneD163Claude Code
pgvector-semantic-searchtimescale/pg-aiguideSkill1.9kyesterdayApache-2.0A190Cursor
postgres-hybrid-text-searchtimescale/pg-aiguideSkill1.9kyesterdayApache-2.0A162Cursor
cwicr-data-loaderdatadrivenconstruction/DDC_Skills_for_AI_Agents_in_ConstructionSkill4591mo agoMITA41Claude Code, Codex
pyspark-etlMindrally/skillsSkill3231mo agoApache-2.0A62Claude Code
effective-dbt-sqllightdash/lightdashSkill6.3ktodaynoneA0Claude Code, Codex
datarobot-connectivity-jdbc-sqldatarobot-oss/datarobot-agent-skillsSkill34yesterdayApache-2.0A181Claude Code