Getting it into your agent
It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.
git clone --depth 1 https://github.com/mussolene/1c_hbk_bslnpx agentmods add skills/mussolene/1c_hbk_bsl/bsl-diagnostic-rule-developmentWrote 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.
[](https://agentmods.dev/skills/mussolene/1c_hbk_bsl/bsl-diagnostic-rule-development)<a href="https://agentmods.dev/skills/mussolene/1c_hbk_bsl/bsl-diagnostic-rule-development"><img src="https://agentmods.dev/badge/skills/mussolene/1c_hbk_bsl/bsl-diagnostic-rule-development/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.
<a href="https://agentmods.dev/skills/mussolene/1c_hbk_bsl/bsl-diagnostic-rule-development"><img src="https://agentmods.dev/badge/skills/mussolene/1c_hbk_bsl/bsl-diagnostic-rule-development.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00068 | $0.00737 |
| Opus 5 | $0.00034 | $0.00368 |
| Sonnet 5 | $0.00014 | $0.00147 |
| Haiku 4.5 | $0.00007 | $0.00074 |
Grade A, and why
bsl-diagnostic-rule-development 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 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.
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.
How it starts
The opening of the file, as written. The whole thing — 77 lines — stays where its author put it; the contents beside it link to each section on GitHub.
BSL Diagnostic Rule Development
Implement rules from language semantics, not from parity counts or isolated corpus examples.
Workflow
- State acceptance criteria for semantics, implementation, performance, related-rule consistency, synthetic coverage, parity, and evidence.
- Read the public rule page in
docs/rule-contracts/BSL###.md, runtime metadata, message localization, configuration parameters, and cited standard. - Define the semantic oracle: the exact statement, expression, query clause, declaration, metadata object, or other language fact that may be diagnosed.
- Name the CST nodes or domain objects and the exact token/range that receives the diagnostic.
- Review every enabled rule that can report on the same semantic object or range. Keep overlapping reports only when they explain distinct defects.
- For BSLLS-backed behavior, compare equivalent semantic facts first. Classify deltas as semantic, range-only, parser/CST, configuration/suppression, duplicate, or a known upstream defect.
- Reuse tree-sitter/SDBL CST,
DocumentSnapshot, or an existing domain model for structural rules. Use regex or line logic only for genuinely textual semantics. - Add compact positive, negative-twin, range, malformed-input, comment,
string, preprocessing, multiline, nested, and overlap tests as relevant.
BSL001must also cover broken documents. - Run targeted tests, relevant wider tests, Ruff, generated documentation,
git diff --check, leak checks, and performance/parity probes as needed. - Record OACS evidence and a checkpoint before claiming completion.
Change Gate
Do not edit rule logic until all of these are explicit:
- the semantic oracle;
- the CST/domain fact model;
- the exact diagnostic anchor;
- the related-rule cluster;
- the major current delta categories and their root causes;
- the category the proposed change fixes;
- the compared input set, configuration mode, coordinate normalization, and sanitized file-key strategy when parity is used.
What ships with it
1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
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.
- 11d ago First seen · 77 lines · 68 tokens per session scan A e0e0f7a387d7
bsl-diagnostic-rule-development is a skill published in the GitHub repository mussolene/1c_hbk_bsl (9 stars, last pushed 15d ago), licensed MIT. It adds 68 tokens to every session and 737 once invoked, about $0.0003 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-31.
Other skills, from other repositories
ai-edt
1C:Enterprise development through the AI-EDT MCP server - BSL analysis and editing, metadata and managed forms, query validation, project diagnostics, debugging, infobase updates and unit tests. Use when the project is a 1C:EDT workspace: BSL modules, .mdo metadata, 1C queries, managed forms. Also use when all you…
1c-bsl-validate
A checker for calls to shared 1C modules, using an exported configuration index. Shared modules are reusable code units that other parts of a 1C application can call.
1c-epf-build
A tool for building a 1C external processing from XML source files into an EPF or ERF file. These are packaged files that 1C can open and run as external processors or reports.
1c-query-validate
A checker for 1C database queries. It compares the tables, records, virtual tables, and fields named in a query with an index of the 1C configuration.
v8unpack-cf
A Python tool for unpacking and rebuilding 1C configuration files (CF, CFE, and EPF) as readable JSON and BSL source files. 1C is a business software platform widely used in Russian-speaking companies.
1c-meta-validate
A checker for XML metadata objects in a 1C configuration. Metadata describes parts of a 1C application, such as catalogues, documents, registers, and their fields.