query-patterns

A required pattern check before creating a new 1C query, where 1C is a business software platform.

In plain words
What is it for?
Use it before writing a new query in 1C.
Why use it?
It makes new queries follow the project's established query patterns.

Skill for Claude CodeCodex

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/steelmorgan/1c-agent-based-dev-framework/query-patterns
Any agent
npx skills add SteelMorgan/1c-agent-based-dev-framework --skill query-patterns
Clone the repo
git clone --depth 1 https://github.com/SteelMorgan/1c-agent-based-dev-framework

Made for: Claude Code, Codex.

Per session 16 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 106 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 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 $0.00016 $0.00106
Opus 5 $0.00008 $0.00053
Sonnet 5 $0.00003 $0.00021
Haiku 4.5 $0.00002 $0.00011

Measured 3d ago against content hash 12f5fbab4e0f, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

query-patterns 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 3d 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.

framework/rules/query-patterns/SKILL.md · 14 lines

The source is not reproduced here

No licence file

A repository with no LICENSE is all rights reserved by default, so the body is not copied here. The metadata, the measurements and the link are.

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. 3d ago First seen · 14 lines · 16 tokens per session scan A 12f5fbab4e0f

Subscribe to this mod's changes

query-patterns is a skill published in the GitHub repository SteelMorgan/1c-agent-based-dev-framework (96 stars, last pushed 2mo ago), with no licence file. It adds 16 tokens to every session and 106 once invoked, about $0.0001 per session on Opus 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

Other skills, from other repositories

db-list

Управление реестром баз данных 1С (.v8-project.json). Используй когда нужно работать с реестром баз — список баз, зарегистрировать базу в реестре, какие базы есть.

Nikolay-Shirokov/cc-1c-skills · 46 tokens

db-load-xml

Загрузка конфигурации 1С из XML-файлов. Используй когда нужно загрузить конфигурацию из файлов, XML, исходников, LoadConfigFromFiles.

Nikolay-Shirokov/cc-1c-skills · 40 tokens

db-load-dt

Загрузка информационной базы 1С из DT-файла — полная перезапись базы (конфигурация + данные). Используй когда нужно загрузить архив информационной базы, восстановить базу, загрузить dt.

Nikolay-Shirokov/cc-1c-skills · 52 tokens

db-create

Создание информационной базы 1С. Используй когда нужно создать базу, новую ИБ, пустую базу.

Nikolay-Shirokov/cc-1c-skills · 28 tokens

db-dump-dt

Выгрузка информационной базы 1С в DT-файл (вся база — конфигурация + данные). Используй когда нужно выгрузить информационную базу, выгрузить архив базы, сделать бэкап, выгрузить dt.

Nikolay-Shirokov/cc-1c-skills · 59 tokens

db-load-cf

Загрузка конфигурации 1С из CF-файла. Используй когда нужно загрузить конфигурацию из CF, восстановить из бэкапа CF.

Nikolay-Shirokov/cc-1c-skills · 39 tokens