Query Finelog
marin-community/marin
Query Finelog logs and telemetry for Iris tasks, workers, profiles, training, vLLM, and cross-cluster forwarding.
Query AutoRAG-Research pipeline results using natural language.
$ npx skills add NomaDamas/AutoRAG-Research --skill autorag-query -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install NomaDamas/AutoRAG-Research autorag-query --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/NomaDamas/AutoRAG-Research.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.agents/skills/autorag-query .claude/skills/autorag-query && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "autorag-query" agent skill from https://github.com/NomaDamas/AutoRAG-Research/tree/main/.agents/skills/autorag-query into .claude/skills/autorag-query/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "autorag-query", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/NomaDamas/AutoRAG-Research/tree/main/.agents/skills/autorag-queryType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add NomaDamas/AutoRAG-Research --skill autorag-query -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install NomaDamas/AutoRAG-Research autorag-query --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/NomaDamas/AutoRAG-Research.git skills-src && mkdir -p .agents/skills && cp -r skills-src/.agents/skills/autorag-query .agents/skills/autorag-query && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "autorag-query" agent skill from https://github.com/NomaDamas/AutoRAG-Research/tree/main/.agents/skills/autorag-query into .agents/skills/autorag-query/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "autorag-query", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add NomaDamas/AutoRAG-Research --skill autorag-query -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install NomaDamas/AutoRAG-Research autorag-query --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/NomaDamas/AutoRAG-Research.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/.agents/skills/autorag-query .cursor/skills/autorag-query && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "autorag-query" agent skill from https://github.com/NomaDamas/AutoRAG-Research/tree/main/.agents/skills/autorag-query into .cursor/skills/autorag-query/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "autorag-query", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/NomaDamas/AutoRAG-Research.git --path .agents/skills/autorag-query--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add NomaDamas/AutoRAG-Research --skill autorag-query -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install NomaDamas/AutoRAG-Research autorag-query --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/NomaDamas/AutoRAG-Research.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/.agents/skills/autorag-query .gemini/skills/autorag-query && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "autorag-query" agent skill from https://github.com/NomaDamas/AutoRAG-Research/tree/main/.agents/skills/autorag-query into .gemini/skills/autorag-query/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "autorag-query", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install NomaDamas/AutoRAG-Research autorag-queryInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add NomaDamas/AutoRAG-Research --skill autorag-query -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/NomaDamas/AutoRAG-Research.git skills-src && mkdir -p .github/skills && cp -r skills-src/.agents/skills/autorag-query .github/skills/autorag-query && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "autorag-query" agent skill from https://github.com/NomaDamas/AutoRAG-Research/tree/main/.agents/skills/autorag-query into .github/skills/autorag-query/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "autorag-query", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add NomaDamas/AutoRAG-Research --skill autorag-query -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install NomaDamas/AutoRAG-Research autorag-query --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/NomaDamas/AutoRAG-Research.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/.agents/skills/autorag-query .opencode/skills/autorag-query && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "autorag-query" agent skill from https://github.com/NomaDamas/AutoRAG-Research/tree/main/.agents/skills/autorag-query into .opencode/skills/autorag-query/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "autorag-query", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
autorag-queryQuery AutoRAG-Research pipeline results using natural language.
Autorag Query is an agent skill from NomaDamas/AutoRAG-Research. Query AutoRAG-Research pipeline results using natural language. Converts questions to SQL, executes safely (SELECT-only), returns formatted results. Auto-detects DB connection from configs/db.yaml or env vars. Use for pipeline comparison, metrics analysis, token usage.
Its SKILL.md is about 1.6k tokens, which your agent loads only when the skill is triggered. The skill folder holds 5 other files, including scripts and reference files (for example `references/common-queries.md` and `scripts/query_executor.py`).
It sits in AI & LLM Engineering, covering SQL. It works with SQL. The repository describes itself as: Automate your RAG research. The licence is Apache-2.0.
4 steps, taken from the first numbered list in SKILL.md.
Read from SKILL.md and the folder at commit a473cf0. It shows what the files ask for, not the result of running them.
Pre-approves these tools, so the agent can use them without asking each time:
BashReadFrom allowed-tools in the SKILL.md frontmatter.
Ships 1 file in scripts/ (Python), which the agent can run.
Shell commands in SKILL.md call:
uvFrom the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md. Its commands use uv, which can reach the network depending on how they are called.
From URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Autorag Query loads about 1.6k tokens when it runs, and up to ~6.5k if it reads all its reference files. Until then it costs about 71 tokens; SKILL.md has 385 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check noted patterns worth knowing about, such as sudo or a known installer.
allowed-tools: Bash, ReadAutomated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); the scripts in this folder are not scanned.
The full file from NomaDamas/AutoRAG-Research at commit a473cf0, republished under its Apache-2.0 licence (© NomaDamas). 385 words, ~1,552 tokens.
.claude/skills/autorag-query/SKILL.md (or your agent's skills folder). This skill also uses 3 other files; get the full folder from GitHub.Query AutoRAG pipeline results with natural language. Converts to SQL, executes safely, returns tables/JSON/CSV.
User: "Which pipeline has the best BLEU score?"
Agent:
references/schema.sql (understand tables)SELECT p.name, s.metric_result
FROM summary s
JOIN pipeline p ON s.pipeline_id = p.id
JOIN metric m ON s.metric_id = m.id
WHERE m.name = 'bleu'
ORDER BY s.metric_result DESC LIMIT 1;uv run python .agents/skills/autorag-query/scripts/query_executor.py --query "..."references/schema.sql - key tables:summary: Aggregated pipeline metrics (best for rankings)evaluation_result: Per-query scores (detailed analysis)executor_result: Generation outputs with token_usage JSONBchunk_retrieved_result: Retrieval scores/ranksembedding, embeddings, bm25_tokens (cause type errors)LIMIT 100 if not specifiedquery_id → query.id, pipeline_id → pipeline.id, metric_id → metric.idtoken_usage->>'field' (text) or (token_usage->>'field')::int (cast)uv run python .agents/skills/autorag-query/scripts/query_executor.py --query "..." [--format json|csv|table]| Table | Purpose | Key Columns |
|---|---|---|
pipeline | Pipeline definitions | id, name, pipeline_type |
metric | Metric definitions | id, name, metric_type (retrieval/generation) |
query | Search queries | id, query, ground_truths, dataset_name |
executor_result | Generation outputs | query_id, pipeline_id, generation_result, token_usage (JSONB), execution_time |
evaluation_result | Per-query scores | query_id, pipeline_id, metric_id, metric_result |
summary | Aggregated metrics | pipeline_id, metric_id, metric_result |
chunk_retrieved_result | Retrieval outputs | query_id, pipeline_id, chunk_id, score, rank |
Relationships: query_id → query.id, pipeline_id → pipeline.id, metric_id → metric.id, chunk_id → chunk.id
See references/common-queries.md for 20+ templates.
Pipeline ranking:
SELECT p.name, s.metric_result
FROM summary s
JOIN pipeline p ON s.pipeline_id = p.id
JOIN metric m ON s.metric_id = m.id
WHERE m.name = 'bleu'
ORDER BY s.metric_result DESC;Token usage:
SELECT p.name,
SUM((exe.token_usage->>'total_tokens')::int) AS total_tokens,
AVG((exe.token_usage->>'total_tokens')::int) AS avg_per_query
FROM executor_result exe
JOIN pipeline p ON exe.pipeline_id = p.id
WHERE exe.token_usage IS NOT NULL
GROUP BY p.name
ORDER BY total_tokens DESC;Retrieval results:
SELECT c.content, crr.score, crr.rank
FROM chunk_retrieved_result crr
JOIN chunk c ON crr.chunk_id = c.id
WHERE crr.query_id = :query_id AND crr.pipeline_id = :pipeline_id
ORDER BY crr.rank LIMIT 10;executor_result.token_usage:
{"prompt_tokens": 150, "completion_tokens": 50, "total_tokens": 200}Extract:
token_usage->>'prompt_tokens' → "150"(token_usage->>'total_tokens')::int → 200token_usage->'embedding_tokens' → preserves typepipeline.config: config->>'model' → "gpt-4"
embedding, embeddings, bm25_tokens columns (cause type errors)uv run python .agents/skills/autorag-query/scripts/query_executor.py \
--query "SELECT ..." \
--format table|json|csv \
--timeout 10 \
--limit 10000 \
--database autorag_research # optionalConnection: Auto-loads from configs/db.yaml or POSTGRES_* env vars using DBConnection class.
Output formats:
table: ASCII table (default)json: JSON arraycsv: CSV with headersRow count: Printed to stderr: (N rows)
| Error | Cause | Fix |
|---|---|---|
| "Forbidden keyword" | Non-SELECT query | Use SELECT-only |
| "Vector type error" | Selected vector columns | Exclude embedding, embeddings, bm25_tokens from SELECT |
| "Query timeout" | Query too slow | Add WHERE/LIMIT |
| "Connection failed" | Missing credentials | Check configs/db.yaml or set env vars |
Ranking:
SELECT p.name, m.name, s.metric_result,
RANK() OVER (PARTITION BY m.name ORDER BY s.metric_result DESC) AS rank
FROM summary s
JOIN pipeline p ON s.pipeline_id = p.id
JOIN metric m ON s.metric_id = m.id;Pivot:
SELECT p.name,
MAX(CASE WHEN m.name = 'bleu' THEN s.metric_result END) AS bleu,
MAX(CASE WHEN m.name = 'rouge' THEN s.metric_result END) AS rouge
FROM summary s
JOIN pipeline p ON s.pipeline_id = p.id
JOIN metric m ON s.metric_id = m.id
GROUP BY p.name;references/schema.sql - full DB schema with commentsreferences/common-queries.md - 20+ query examplesscripts/query_executor.py - safe SQL execution scriptInstallation: Works from .agents/skills/autorag-query/ (auto-detected by agents).
© NomaDamas, Apache-2.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
SKILL.md and 3 other files (scripts, references) in .agents/skills/autorag-query of NomaDamas/AutoRAG-Research.
Open the folder on GitHubat commit a473cf0
Autorag Query next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Autorag Query this skillNomaDamas/AutoRAG-Research | 149 | — | ~1.6k | Automated safety check: Notes | Apache-2.0 | |
| Query Finelogmarin-community/marin | 3.9k | — | ~1.1k | Automated safety check: Pass | Apache-2.0 | |
| Darwinian EvolverLuciole-Studio/Misaka-Agent | 158 | 2 repos | ~2.1k | Automated safety check: Warn | MIT | |
| Aliyun Opensearch Searchcinience/alicloud-skills | 397 | — | ~1.1k | Automated safety check: Pass | MIT | |
| Tanyuan Searchinfometa/workbuddyskills | 346 | — | ~1.2k | Automated safety check: Pass | None | |
| Snowflake Cortex AIMindrally/skills | 269 | — | ~2.4k | Automated safety check: Pass | Apache-2.0 |
marin-community/marin
Query Finelog logs and telemetry for Iris tasks, workers, profiles, training, vLLM, and cross-cluster forwarding.
Luciole-Studio/Misaka-Agent
Evolve prompts/regex/SQL/code with Imbue's evolution loop. An agent skill from Luciole-Studio/Misaka-Agent.
cinience/alicloud-skills
A skill your agent uses when working with OpenSearch vector search edition via the Python SDK (ha3engine) to push documents and run HA/SQL searches.
infometa/workbuddyskills
腾讯探元文博检索工具集(Agentic RAG)。封装两个 HTTP API 为 Node.js 脚本,由 Agent 依据问题特征选择工具并构造 query: - search-relics(文物/世界遗产数据库 NL→SQL):适合结构化事实的详情、列表、统计与排行查询 -…
Mindrally/skills
Reference for Snowflake Cortex AI Functions (AICOMPLETE, AICLASSIFY, AIEXTRACT, AIFILTER, etc.) and Cortex Search for building RAG applications entirely inside Snowflake.
ravendb/docs
Read this before writing any RavenDB query, client call or /databases/ request.
NomaDamas/AutoRAG-Research
Guide developers through creating a custom generation pipeline plugin for AutoRAG-Research.
NomaDamas/AutoRAG-Research
Guide developers through creating a custom data ingestor plugin for AutoRAG-Research.
NomaDamas/AutoRAG-Research
Guide developers through creating a custom evaluation metric plugin for AutoRAG-Research.
NomaDamas/AutoRAG-Research
Guide developers through creating a custom retrieval pipeline plugin for AutoRAG-Research.
NomaDamas/AutoRAG-Research
Orchestrate a 3-agent PR code review debate using Claude Code Teams.
NomaDamas/AutoRAG-Research
Process [APPROVE] and [IGNORE] replies on /refactor review threads.
Works with
Categories
Query AutoRAG-Research pipeline results using natural language. Autorag Query is an agent skill from NomaDamas/AutoRAG-Research. Query AutoRAG-Research pipeline results using natural language.
Autorag Query fits situations like: pipeline comparison; metrics analysis.
Run `npx skills add NomaDamas/AutoRAG-Research --skill autorag-query -a claude-code`. Or copy the skill folder (.agents/skills/autorag-query in NomaDamas/AutoRAG-Research) into .claude/skills/autorag-query in your project. Claude Code loads it when a task matches its description.
Run `npx skills add NomaDamas/AutoRAG-Research --skill autorag-query -a codex`. Or copy the skill folder (.agents/skills/autorag-query in NomaDamas/AutoRAG-Research) into .agents/skills/autorag-query in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add NomaDamas/AutoRAG-Research --skill autorag-query -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/autorag-query, .gemini/skills/autorag-query, .github/skills/autorag-query and .opencode/skills/autorag-query in your project.
Going by SKILL.md and its folder, Autorag Query needs Python for the scripts in its folder and the command-line tools its instructions call (uv). Our summary lists: Python 3. Its frontmatter pre-approves these tools: Bash, Read.
SKILL.md contains no URLs. Its commands use uv, which can reach the network depending on how they are called. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found notes only (pre-approves every shell command (allowed-tools: bash)), nothing it rates as a warning. It is not a guarantee. The check reads SKILL.md only: the scripts in the folder are not scanned, so read them before running anything.
Autorag Query is published under the Apache-2.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 1.6k tokens (SKILL.md is roughly 6.2k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 5k tokens, read only when the agent opens those files.
Skills that share tags, products or a category with Autorag Query: Query Finelog (marin-community/marin, 3.9k stars), Darwinian Evolver (Luciole-Studio/Misaka-Agent, 158 stars), Aliyun Opensearch Search (cinience/alicloud-skills, 397 stars) and Tanyuan Search (infometa/workbuddyskills, 346 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
NomaDamas (a GitHub organization) maintains it in NomaDamas/AutoRAG-Research, which has 149 GitHub stars. The repository holds 7 skills in this directory. The repository was last updated on August 9, 2026.
Source: NomaDamas/AutoRAG-Research on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.