1confdb-knw: Instructions file for Codex

AGENTS.md

1confdb-knw AGENTS.md is an instructions file for Codex, OpenCode from Zom31C/1confdb-knw. It costs 3,800 tokens per session, scanned A, original, MIT.

Repository instructions for coding agents working on 1confdb-knw, a tool that extracts 1C:Enterprise business-automation configurations into a searchable SQLite knowledge base. They describe the project, its limits, layout and commands.

In plain words
What is it for?
Use them when inspecting, testing or modifying the 1confdb-knw repository, especially its configuration extractor and read-only MCP server.
Why use it?
They give an agent the project-specific facts and restrictions it needs before changing code. This reduces mistakes such as adding unsupported encoding features or using the wrong runtime setup.

Instructions file for CodexOpenCode

Written for Codex and OpenCode: the file is AGENTS.md. Also seen: mentions CLAUDE.md; mentions AGENTS.md.

This is Zom31C/1confdb-knw's own configuration. It tells Codex and OpenCode how to work on 1confdb-knw itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything 1confdb-knw configures →

Reuse

Borrowing it

Nothing to install: this file belongs to Zom31C/1confdb-knw. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/Zom31C/1confdb-knw/main/AGENTS.md
Clone the repo
git clone --depth 1 https://github.com/Zom31C/1confdb-knw

Made for: Codex, OpenCode.

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 1confdb-knw AGENTS.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/zom31c/1confdb-knw/agents-md/github.svg)](https://agentmods.dev/instructions/zom31c/1confdb-knw/agents-md)
Your own site
<a href="https://agentmods.dev/instructions/zom31c/1confdb-knw/agents-md"><img src="https://agentmods.dev/badge/instructions/zom31c/1confdb-knw/agents-md/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 1confdb-knw AGENTS.md

Your own site · 80×15
<a href="https://agentmods.dev/instructions/zom31c/1confdb-knw/agents-md"><img src="https://agentmods.dev/badge/instructions/zom31c/1confdb-knw/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 3,800 This file is loaded in full into every session.
When invoked 3,800 The same file — it is already loaded in full.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original 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.03800 $0.03800
Opus 5.5 $0.01520 $0.01520
Sonnet 5.5 $0.00760 $0.00760
Haiku 4.5 $0.00380 $0.00380

Measured 2d ago against content hash 12bfee439534, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

1confdb-knw AGENTS.md 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 2d 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.

AGENTS.md · 193 lines

How it starts

The opening of the file, as written. The whole thing — 193 lines — stays where its author put it; the contents beside it link to each section on GitHub.

AGENTS.md — guide for LLM agents working in this repository

What this project is

confdb extracts a 1C:Enterprise 8 configuration (.cf / .cfe / .epf) into a SQLite knowledge base — metadata objects, attributes with resolved types, tabular sections, BSL modules/methods, SKD report queries, role rights — and serves it to LLM agents via the MCP server 1confdb-knw (stdio, read-only). The unpack algorithm is a port of v8unpack (MIT; reference copy in _vendor/v8unpack, see NOTICE.md). Decode only — never add encode/pack code.

Domain glossary: 1C = Russian business-automation platform; BSL = its built-in (Russian-keyword) language; Catalog=справочник, Document=документ, (Information/Accumulation)Register=регистр, Enum=перечисление, tabular section=табличная часть (row table of an object).

Details are not here: page {"op":"list"} names the knowledge-base pages (db-schema, gotchas, mcp-server-1confdb-knw, extraction-pipeline, publication-two-repos, role-rights-format, 1c-coding-guide, agent-rules, …), and docs/details.md («Состав», «Схема базы данных») carries the module-by-module and column-by-column detail (README.md is the short user-facing intro: MCP server first, features, install, quick start). state3 is NOT shipped inside dist\, so there README+docs/details.md are the fallback.

Rules files and documentation (user decision 2026-11-08)

AGENTS.md is the ONLY rules/instruction file in this repository. CLAUDE.md, QWEN.md and QWEN_ProjectInfo.md were DELETED (this supersedes the 2026-09-25 "keep CLAUDE.md in dist" decision; the CLAUDE.md content lives on as the state3 page 1c-coding-guide). Work is tracked as state3 tasks (task_* tools, state root .state3\state.db, one open task per project) and ALL project documentation is kept in the state3 knowledge base (page/search): a learned fact, decision or guide becomes a PAGE, never a new .md file in the repo. README.md and docs/details.md remain the user-facing docs and — together with this file and NOTICE.md — the only documentation shipped to dist\.

Read the full file on GitHub · 193 lines

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. 2d ago Changed · +23 lines · +470 tokens per session 12bfee439534
  2. 3d ago Changed · +45 lines · +1,081 tokens per session ef5a584b3cfd
  3. 5d ago Changed · +18 lines · +473 tokens per session e3d9abcbc4c1
  4. 1mo ago Changed · -47 lines · -989 tokens per session 71c2a7c9dd86
  5. 1mo ago Changed · +18 lines · +386 tokens per session acd77aaceec4
  6. 1mo ago Changed · +8 lines · +169 tokens per session 9493afe710e1
  7. 1mo ago Changed · +5 lines · +134 tokens per session 46fcd66d6a32
  8. 1mo ago Changed · -22 lines · -412 tokens per session b1a4b096d517
  9. 1mo ago Changed · +20 lines · +362 tokens per session e37c21e2a7e2
  10. 1mo ago First seen · 125 lines · 2,126 tokens per session scan A 7c7eb1e5b7c1

Subscribe to this mod's changes

1confdb-knw AGENTS.md is an instructions file published in the GitHub repository Zom31C/1confdb-knw (0 stars, last pushed yesterday), licensed MIT. It adds 3,800 tokens to every session, about $0.0152 per session on Opus 5.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-31.

Related

1confdb-knw AGENTS.md compared with instructions from other repositories

1confdb-knw AGENTS.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
1confdb-knw AGENTS.mdZom31C/1confdb-knwInstructions file0yesterdayMITA3,800Codex, OpenCode
vscode buildNext.instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA9,719GitHub Copilot
next.js AGENTS.mdvercel/next.jsInstructions file143ktodayMITA7,461Codex, OpenCode
vscode oss-third-party-notices.instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA5,685GitHub Copilot
langchain AGENTS.mdlangchain-ai/langchainInstructions file149kyesterdayMITA4,680Codex, OpenCode
vscode copilot-instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA3,093GitHub Copilot
vscode model-prompts.instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA2,022GitHub Copilot