peer-export

peer-export is a skill for Claude Code from tonydzi/second-brain-starter-kit. It costs 246 tokens per session (1,375 once invoked), scanned A, original, MIT.

A procedure for creating a cleaned copy of a private knowledge vault for named external advisers. It classifies files, removes secrets and personal contact details, fixes links, and checks the result before sharing.

In plain words
What is it for?
It is for preparing adviser or peer packages from an Obsidian vault, deciding what can be shared, and verifying that the exported copy is safe.
Why use it?
It reduces the risk of exposing private information when sharing research materials. It also prevents building a large export when no actual recipient has agreed to use it.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the second-brain-skills plugin — 248 skills, 1 plugin shipped together

Good fit It is for preparing adviser or peer packages from an Obsidian vault, deciding what can be shared, and verifying that the exported copy is safe.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/tonydzi/second-brain-starter-kit/local-peer-export
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 local-peer-export
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 248 skills, 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 peer-export

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/tonydzi/second-brain-starter-kit/local-peer-export"><img src="https://agentmods.dev/badge/skills/tonydzi/second-brain-starter-kit/local-peer-export.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 246 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,375 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.00246 $0.01375
Opus 5.5 $0.00098 $0.00550
Sonnet 5.5 $0.00049 $0.00275
Haiku 4.5 $0.00025 $0.00137

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

Security

Grade A, and why

peer-export 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 19d 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/local-peer-export/SKILL.md · 59 lines

How it starts

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

/peer-export — scrubbed-пакет волта для внешних advisors

🧒 When reporting to Anton: end with a child-simple «Простыми словами» recap.

Пересобирает чистую (allowlist + скраб секретов) копию приватного волта в отдельном корне для внешних. Кодирует один раз то, что раньше диктовалось заново 5 брифами: политику allowlist, словарь красных флагов, порядок сборки, гейт «счётчик=счётчик». Детерминированные скрипты + Sonnet-судьи только на спорном остатке.

⚠️ Сперва потребитель, потом сборка (Connect + AK-47)

Прежде чем запускать: есть ли реальный named advisor, сказавший «да»? Нет → не собирать полный пакет (это ровно «строим для потребителя, которого нет»). Есть → собрать под то, что нужно именно ему. Первый прогон S1–S5 (2026-07-07) дал 3479 файлов без единого потребителя — не повторять вслепую.

Пути (реальные, на этом Маке)

  • Корень экспорта: /Users/<имя>/Obsidian/PaloAlto-AI-Research-Lab-Knowledge/ (вне синка приватного волта)
  • Приватный источник: ~/Obsidian/<vault> (read-only при сборке)
  • Классификатор: ~/CLAUDE-Mac-2019/audit-peer-export/peer_classify.py → classification.json (+ batches/judge-NN.json для судей)
  • Скраб/сборка: ~/CLAUDE-Mac-2019/peer-export-tools/
  • Техстатус/счётчики: PaloAlto-AI-Research-Lab-Knowledge/EXPORT-STATUS.md

Запуск (идемпотентная пересборка — порядок ЖЁСТКИЙ)

cd ~/CLAUDE-Mac-2019/audit-peer-export
python3 peer_classify.py            # 1) вердикт каждому файлу → classification.json
#    JUDGE-остаток → Sonnet-судьи (claude -p --model sonnet), см. JUDGE-INSTRUCTIONS.md, кэш вердиктов
cd ~/CLAUDE-Mac-2019/peer-export-tools
python3 build_export.py             # 2) ядро (allowlist as-is)
python3 full_tail.py                # 3) 🟡 SHARE+SCRUB хвост по classification
python3 mask_email_phone.py         # 4) маскировать email/телефоны
python3 link_pass.py                # 5) починить вики-ссылки внутри экспорта
python3 scrub_scan.py               # 6) ⛔ ГЕЙТ: скан секретов — ДОЛЖЕН быть чист

DoD: scrub_scan.py = 0 находок И счётчики папок в EXPORT-STATUS.md совпадают до/после. Только тогда «собрано».

Read the full file on GitHub · 59 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. 19d ago Changed 9f16760c319c
  2. 25d ago First seen · 59 lines · 246 tokens per session scan A 8561fc92882f

Subscribe to this mod's changes

peer-export is a skill published in the GitHub repository tonydzi/second-brain-starter-kit (9 stars, last pushed today), licensed MIT. It adds 246 tokens to every session and 1,375 once invoked, about $0.0010 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

Other skills, from other repositories

ingest

A tool for adding a URL, file, text, or Inbox item to the LLM Wiki. It checks the material's purpose, preserves the original source, compiles a wiki page, updates indexes and logs, and reviews the result.

johnfkoo951/cmds-llm-wiki · 56 tokens

wiki-retrieve

Build and query a vault-local contextual BM25 retrieval index with optional multilingual Nomic cosine reranking; use for retrieve, hybrid retrieval, BM25, rerank, contextual retrieval, chunk search, vault search, semantic search, find relevant passages, or retrieval diagnostics. Derived caches stay under .vault-meta…

AgriciDaniel/claude-obsidian · 81 tokens

wiki

Initialize, adopt, and route work for a separate Obsidian knowledge vault through the portable claude-obsidian core. Use for vault setup, scaffolding, workspace selection, cross-project configuration, or choosing the correct wiki sub-skill. Triggers: /wiki, set up wiki, scaffold vault, create knowledge base, adopt…

AgriciDaniel/claude-obsidian · 84 tokens

defuddle

Plan and, with explicit network consent, use an optional external Defuddle cleaner to extract article-like HTTPS pages as Markdown. Use for defuddle, clean this URL, strip page clutter, readable Markdown from a web page, or preparing a web source for later wiki ingestion.

AgriciDaniel/claude-obsidian · 57 tokens

wiki-fold

Create a bounded, extractive, structurally idempotent rollup of recent Obsidian wiki log entries, with dry-run preview by default and one optional transaction apply. Use for manual log compression without modifying child pages. Triggers: fold the log, run a fold, run wiki-fold, log rollup, roll up log entries, commit…

AgriciDaniel/claude-obsidian · 76 tokens

wiki-mode

Read or configure the vault filing methodology and suggest destinations for planned knowledge creation under Generic, LYT, PARA, or Zettelkasten. Use for wiki mode, methodology mode, what is my vault mode, set vault mode, switch to PARA, use LYT, Zettelkasten setup, change mode, configure mode, or methodology routing.…

AgriciDaniel/claude-obsidian · 83 tokens