outbound-gate

outbound-gate is a skill for Claude Code from tonydzi/second-brain-starter-kit. It costs 54 tokens per session (4,205 once invoked), scanned A, original, MIT.

A checkpoint for any message or contribution sent outside the team, such as a pull request, issue comment, direct message, invitation, post, or application.

In plain words
What is it for?
It helps check for unanswered replies first, link a proposed contribution to a relevant issue or discussion, and decide whether to send, delay, or stop the outreach.
Why use it?
It stops unsolicited outreach by requiring a real person's current request or need to explain why the outgoing message should be sent.

Skill for Claude Code

Written for Claude Code: PreToolUse hook event. Also seen: reads .claude/ paths; mentions Codex.

Part of the second-brain-skills plugin — 259 skills, 3 agents, 1 plugin shipped together

Good fit It helps check for unanswered replies first, link a proposed contribution to a relevant issue or discussion, and decide whether to send, delay, or stop the outreach.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/tonydzi/second-brain-starter-kit/outbound-gate
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.

Any agent
npx skills add tonydzi/second-brain-starter-kit --skill outbound-gate
Clone the repo
git clone --depth 1 https://github.com/tonydzi/second-brain-starter-kit

Made for: Claude Code.

Or install second-brain-skills, the plugin that ships this one along with the rest of its 259 skills, 3 agents, 1 plugin.

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 outbound-gate

README.md
[![agentmods](https://agentmods.dev/badge/skills/tonydzi/second-brain-starter-kit/outbound-gate/github.svg)](https://agentmods.dev/skills/tonydzi/second-brain-starter-kit/outbound-gate)
Your own site
<a href="https://agentmods.dev/skills/tonydzi/second-brain-starter-kit/outbound-gate"><img src="https://agentmods.dev/badge/skills/tonydzi/second-brain-starter-kit/outbound-gate/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 outbound-gate

Your own site · 80×15
<a href="https://agentmods.dev/skills/tonydzi/second-brain-starter-kit/outbound-gate"><img src="https://agentmods.dev/badge/skills/tonydzi/second-brain-starter-kit/outbound-gate.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 54 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 4,205 The whole file, excluding the scripts and references it only reads on demand.
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.00054 $0.04205
Opus 5.5 $0.00022 $0.01682
Sonnet 5.5 $0.00011 $0.00841
Haiku 4.5 $0.00005 $0.00421

Measured 1mo ago against content hash f1965b1dbb8c, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

outbound-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 1mo 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.

skills/outbound-gate/SKILL.md · 125 lines

How it starts

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

OUTBOUND_GATE — исходящее только на живую просьбу (anton 26.07, строгий регламент)

ЦЕЛЬ: каждое исходящее (PR, коммент, DM, инвайт, пост-заявка, письмо) целится в ЧЬЮ-ТО живую потребность, а не в пустоту. Замер 26.07: 8 PR → человеческий отклик ровно у одного, единственного issue-matched. Возврат = чужая живая просьба, не наш объём.

ПОРЯДОК (шаги строго по очереди; провал шага = стоп, не шипим):

  1. ПРЕРЫВАНИЕ-ЧЕК (всегда первым). Есть ли живой ответ человека на наше ПРОШЛОЕ исходящее (мейнтейнер на PR, ответ в DM, коммент)?

    • GitHub: gh pr list/gh api по нашим открытым PR (реестр в памяти/MEMORY.md) + вахта pr_watch.
    • Есть ответ → это прерывание №1: сначала отвечаем same-day, потом всё остальное (вкл. новый PR и ретро). Отклик экосистемы = сама суть миссии.
    • Просьба о КРЕДИТЕ = удовлетворить немедленно и щедро: co-author в authors/registry + референс на исходный issue, коммит с проверяемым диффом.
    • После нашего ответа тишина ~3 дня → ОДИН вежливый пинг («готово, скажи если поправить — same-day»), не чаще.
  2. АНКЕР-ЧЕК: чью живую просьбу закрывает ЭТО исходящее? Обязателен линк-анкер:

    • PR → open issue / proposal / discussion мейнтейнера (радар: дашборд LLM-Cookbook-Radar + gh search issues);
    • DM/инвайт → его вопрос/боль/пост, на который отвечаем;
    • пост/заявка → явный запрос площадки/человека. Анкера НЕТ → НЕ шипим. «Ещё один рецепт/DM в пустоту» = антипаттерн. Либо ищем анкер (issue-matching), либо идея → alpha-backlog. Тихое прошлое исходящее не добивать объёмом — менять таргетинг.

1-бис. PRIOR-ART-ЧЕК В САМОМ РЕПО (anton 24.09, урок serena#2048 «already fixed via #2096»): перед PR/issue — ДВЕ команды по теме касания: gh pr list -R <repo> --search "<ключевые слова>" --state all --limit 10 + gh search issues --repo <repo> "<слова>" --limit 10; плюс беглый взгляд на свежие коммиты затронутого файла (gh api repos/<repo>/commits?path=<file>&per_page=5). Нашёлся открытый/свежезакрытый двойник → НЕ шипим свой, идём в ЕГО тред (ревью/коммент по §4.7). Класс: outbound-pr-duplicates-existing-work. 1-тер. ⭐ ПРАВО ВХОДА — ПРОВЕРЯЕТСЯ ВМЕСТЕ С ЗАНЯТОСТЬЮ, ОБА ДО СТРОЙКИ (08.10.2026). Дверь может быть никем не занята и при этом НЕ ПРИНИМАТЬ PR: репо требует assignment до PR и авто-закрывает остальное. Замер 05.10, оплаченный целым прогоном: pydantic/pydantic-ai#8582 пришла FREE (и это правда), вклад построен целиком, PR #9835 авто-закрыт ботом через минуту — а в CONTRIBUTING.md это стояло словами, то есть ловилось бесплатно ДО стройки. Единственный судья — python3 ~/.claude/scripts/door_claimcheck.py (JSONL с repo/issue на stdin): вердикт GATED = НЕ строим. ⛔ Копий этой логики здесь НЕ делаем — спрашиваем прибор. ⚠️ И ещё раз перед gh pr create: между отсевом и Send issue могут назначить другому.

1-тер. ПУТЬ-ВЕРИФИКАЦИИ-ЧЕК для веера (anton 24.09, урок Nango 10 PR): волна >2 однотипных PR → ДО отправки первого назвать, ЧЕМ каждый будет верифицирован (ключ/окружение/тест) и есть ли этот ресурс У НАС — сверка по реестру ~/.claude/registry/verification_park.json (status=have обязателен; absent там значит «не нашли в названном охвате», не «нет в мире» — нашёл ключ → допиши реестр). Ресурса нет → PR не рождается (или рождается ровно один пилот). Класс: fanout-before-verification-path-known, родня human-step-needs-forcing-function.

1-кватер. ОДИН РЕПО — ОДИН НАШ ОТКРЫТЫЙ PR (30.09.2026, оплачено QwenLM/Qwen-Agent#927). Два наших PR в одном репо конкурируют за внимание ОДНОГО мейнтейнера и вместе читаются как веер, даже если каждый по делу. #927 и #928 мы открыли в один день и #927 закрыли САМИ через сутки — работа впустую, потому что правила не было.

python3 ~/.claude/scripts/gh_pr_discipline.py one-pr <owner/repo>   # exit 1 = не открываем

exit 1 → новый PR НЕ рождается. Вместо него по порядку предпочтения: довести существующий до мержа (ответить, снять stale, ребейзнуть) · влить новую работу коммитом в него же, если тема та же · закрыть мёртвый своими руками ПЕРЕД новым · уйти в другой репо через /issue-match. exit 4 = забор упал: это не «чисто», вердикт не выдаём и не шипим (§5.4 индикатор = claim). Класс: two-our-prs-compete-in-one-repo, родня cold-pr-into-silent-queue. ⭐ ШАБЛОННОСТЬ (anton 01.10.2026, оплачено NangoHQ/nango): гейт ВСЕГДА зовётся с заголовком нового PR:

python3 ~/.claude/scripts/gh_pr_discipline.py one-pr <owner/repo> --title "<заголовок нового PR>"

Заголовок отличается от прошлых наших в этом репо ТОЛЬКО именем сущности (вендор/провайдер/язык/модель) и ни один из них не MERGED → exit 1 + вопрос «а первый по шаблону уже приняли?». N таких PR = ОДИН веер, а не N вкладов. Разрешено: один первый → вердикт человека → остальные, лучше одним PR на несколько сущностей, если их CONTRIBUTING это допускает. Замер: 9 PR «add support for <вендор>», 8 закрыты, а закрывающий коммент #7539 показал их процедуру на новый API — дверь была, но мы уже отстрелялись. Б (выше) считает ЧИСЛО открытых, это — ШАБЛОННОСТЬ; 1-тер — путь проверки. Три разных вопроса, не дубль. Класс: template-pr-fanout-one-repo. Тест: _test_gh_pr_discipline.py D1–D7 (красный до фикса 01.10).

Read the full file on GitHub · 125 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. 1mo ago Changed f1965b1dbb8c
  2. 1mo ago Changed · +77 lines · -75 tokens per session 4ec5fdc182e9
  3. 1mo ago Changed · -1 lines 1c80b93023bf
  4. 2mo ago Changed · +13 lines 2f116d6b8ccf
  5. 2mo ago First seen · 36 lines · 129 tokens per session scan A 3929119a05ee

Subscribe to this mod's changes

outbound-gate is a skill published in the GitHub repository tonydzi/second-brain-starter-kit (16 stars, last pushed yesterday), licensed MIT. It adds 54 tokens to every session and 4,205 once invoked, about $0.0002 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-09-24.

Related

outbound-gate compared with skills from other repositories

outbound-gate next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
outbound-gatetonydzi/second-brain-starter-kitSkill16yesterdayMITA54Claude Code
wiki-retrieveAgriciDaniel/claude-obsidianSkill17ktodayMITA99Claude Code
wikiAgriciDaniel/claude-obsidianSkill17ktodayMITA84Claude Code
defuddleAgriciDaniel/claude-obsidianSkill17ktodayMITA61Claude Code
wiki-foldAgriciDaniel/claude-obsidianSkill17ktodayMITA76Claude Code
superbrain-distillm3talux/superbrainSkill433mo agoMITA36Claude Code
statusjohnfkoo951/cmds-llm-wikiSkill1073d agononeA51Claude Code, Codex