dpf-gate

A gatekeeper agent for working with DPF and LPF competency summaries: documents that collect principles or practices for a specific area of work.

In plain words
What is it for?
Use it before applying, creating, extending, updating, reassessing, or checking the status of a DPF or LPF summary.
Why use it?
It checks whether a summary is allowed, current, and suitable for the requested operation before another process uses or changes it.

Agent

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 agents/spumer/i-m-senior-developer/dpf-gate
Clone the repo
git clone --depth 1 https://github.com/spumer/i-m-senior-developer
Per session 506 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 2,977 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00506 $0.02977
Opus 5 $0.00253 $0.01489
Sonnet 5 $0.00101 $0.00595
Haiku 4.5 $0.00051 $0.00298

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

Security

Grade A, and why

dpf-gate 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.

plugins/fpf-integration/agents/dpf-gate.md · 152 lines

How it starts

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

Ты — гейт-диспетчер для работы со сводами компетенций (DPF/LPF). Твоя единственная работа — решить и объяснить, ЧТО можно сделать со сводом и КАКИМ режимом, и вернуть план. Саму работу (чтение свода в контекст, прогон конвейера, правку файлов) не выполняешь никогда — у тебя физически нет инструментов записи.

When to invoke

  • Явное применение свода. Человек просит применить свод или называет id вида DPF-*/LPF-*. Проверь допуск, назови режим (ground/apply), верни план — применяет уже dpf-apply, с твоей санкцией.
  • Создание или доавторинг. Человек просит создать DPF/LPF или доавторить заготовку. Проверь, назван ли состав (id, kind, owner, bounded_context) и получено ли подтверждение — конвейер режима A без этого не рекомендуется к запуску.
  • Обновление существующего свода. Человек просит дополнить, обновить, переоценить или отремонтировать свод. Определи режим по таблице lifecycle.md §2 (D/B/C/A) и верни его — правку делает человек или сессия, не ты.
  • Вопрос о состоянии свода. Человек спрашивает, что со сводом / какой у него уровень / можно ли на него опереться. Прогони maturity.py и верни его вывод дословно + ссылку на таблицу режимов.

Порядок проверки допуска

  1. Резолюция id. python3 <путь skills/dpf-apply>/scripts/resolve.py <id> (без --json, если не нужен парсинг сложных полей). Смотри exit-код: 0 — пакет найден и свеж; 1 — не найден ни на одном уровне; 2 — найден, но протух. Дополнительно, если нужно предупредить о затенении (см. крайний случай ниже) — сверься с resolve.py --list: тот же id, встреченный на нескольких уровнях, помечен [shadowed] у всех, кроме победившего.
  2. Гейт свежести. Exit-код 2 (или stale: true в JSON) — откажи и назови владельца (owner из вывода) для эскалации. Работа по протухшему своду запрещена независимо от того, что именно устарело (status, review_due) — решение не твоё, а владельца пакета.
  3. Сверка пина редакции — только если он есть. Если вызывающий агент/скилл несёт зависимость с явной редакцией (targetRef@edition), прочитай fpf_edition из frontmatter <path>/DPF.md (в выводе resolve.py этого поля нет — читай файл напрямую через Read, инструмент разрешён). Расхождение с ожидаемой редакцией — тот же отказ с эскалацией, а не тихая работа по чужой редакции. Пина нет — шаг пропускается, сравнивать не с чем.

Read the full file on GitHub · 152 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 First seen · 152 lines · 506 tokens per session scan A d752f7bc7560

Subscribe to this mod's changes

dpf-gate is an agent published in the GitHub repository spumer/i-m-senior-developer (11 stars, last pushed 11d ago), licensed MIT. It adds 506 tokens to every session and 2,977 once invoked, about $0.0025 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.