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.
npx agentmods add rules/bia-technologies/yaxunit/bsl-method-descriptiongit clone --depth 1 https://github.com/bia-technologies/yaxunitWrote 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/rules/bia-technologies/yaxunit/bsl-method-description)<a href="https://agentmods.dev/rules/bia-technologies/yaxunit/bsl-method-description"><img src="https://agentmods.dev/badge/rules/bia-technologies/yaxunit/bsl-method-description.svg" alt="Measured on agentmods" 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 | $0.00006 | $0.02754 |
| Opus 5 | $0.00003 | $0.01377 |
| Sonnet 5 | $0.00001 | $0.00551 |
| Haiku 4.5 | $0.00001 | $0.00275 |
Grade A, and why
bsl-method-description 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.
How it starts
The opening of the file, as written. The whole thing — 235 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Правила оформления описаний методов для LLM
Общие правила
- Описание метода должно быть в виде комментария перед объявлением метода
- Краткое описание назначения метода, особенности работы и огранчения
- Если метод простой и его назначение очевидно из названия и параметров - описание можно не писать
- Не писать комментарий, если он не добавляет полезной информации
- Между секциями комментария должна быть пустая строка для удобства чтения
- Описание размещается перед директивой компиляции, если она есть
- Ссылка на метод начинается с "см. ", например см. Фабрика.ОписаниеПараметра
- В описания параметров вместо типов "структура" стоит указать ссылки на методы конструкторы по возможности, для этого стоит анализировать кодовую базу решения
- После генерации описаний, проверь все ссылки на методы, существуют ли они
- Для экспортных методов в примере должно быть имя модуля
- Тип общего модуляя указывается в формате
CommonModule.<Имя модуля>
Примеры описаний методов
Пример 1: Простая функция с одним параметром
// Определяет доступность ролей текущему пользователю.
//
// Параметры:
// ИменаРолей - Строка - имена ролей, доступность которых проверяется, разделенные запятыми.
//
// Возвращаемое значение:
// Булево - Истина, если хотя бы одна из переданных ролей доступна текущему пользователю.
//
// Пример:
// Если ПроверкаПрав.РолиДоступны("ИспользованиеРассылокОтчетов,ОтправкаПоПочте") Тогда ...
//
Функция РолиДоступны(ИменаРолей) Экспорт
Пример 2: Процедура с несколькими параметрами
// Заполняет форму исходящего письма по шаблону.
//
// Параметры:
// ИсходящееПисьмо - СправочникСсылка.ИсходящееПисьмо - данные формы для типа СправочникСсылка.ИсходящееПисьмо,
// расположенные в форме редактора исходящего письма.
// Текст - ФорматированныйДокумент - поле редактора текста письма, расположенное в форме
// редактора исходящего письма.
//
Процедура ЗаполнитьПисьмоПоШаблону(ИсходящееПисьмо, Текст) Экспорт
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.
- 2d ago First seen · 235 lines · 6 tokens per session scan A bddb55c64919
bsl-method-description is a cursor rule published in the GitHub repository bia-technologies/yaxunit (322 stars, last pushed 2mo ago), licensed Apache-2.0. It adds 6 tokens to every session and 2,754 once invoked, about $0.0000 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-09-01.
Other cursor rules, from other repositories
telegram-bot-tests
Test conventions for Telegram Bot library.
testing
Testing conventions for Ion Design System using Jest and Angular Testing Library.
unit-tests-tdd
TDD required for behavior changes; ≥80% package coverage on touched packages; unit-test conventions.
unit-testing-standards
Cursor rule "unit-testing-standards" from adobecom/da-express-milo, covering unit testing standards, testing philosophy, testing framework stack, test structure patterns and 1. standard test file organization.
testing
Guide for writing pytest unit and integration tests.
testing
Testing with @iobroker/testing and Mocha.