ypm-export-community

ypm-export-community is a command for Claude Code from signalcompose/claude-tools. It costs 0 tokens per session (3,671 once invoked), scanned A, original, MIT.

A command that exports a private repository into a public community version. On its first run it interactively collects repository settings; later runs use the saved configuration.

In plain words
What is it for?
Setting up and running private-to-public repository exports, including checking the current directory, branch, and export configuration.
Why use it?
It provides a repeatable process for keeping a public version separate from private source code.

Command for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: reads .claude/ paths; mentions CLAUDE.md; names the AskUserQuestion tool.

Part of the ypm plugin — 5 skills, 10 commands shipped together

Good fit Setting up and running private-to-public repository exports, including checking the current directory, branch, and export configuration.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/signalcompose/claude-tools/ypm-export-community
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.

Clone the repo
git clone --depth 1 https://github.com/signalcompose/claude-tools

Made for: Claude Code.

Or install ypm, the plugin that ships this one along with the rest of its 5 skills, 10 commands.

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 ypm-export-community

README.md
[![agentmods](https://agentmods.dev/badge/commands/signalcompose/claude-tools/ypm-export-community/github.svg)](https://agentmods.dev/commands/signalcompose/claude-tools/ypm-export-community)
Your own site
<a href="https://agentmods.dev/commands/signalcompose/claude-tools/ypm-export-community"><img src="https://agentmods.dev/badge/commands/signalcompose/claude-tools/ypm-export-community/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 ypm-export-community

Your own site · 80×15
<a href="https://agentmods.dev/commands/signalcompose/claude-tools/ypm-export-community"><img src="https://agentmods.dev/badge/commands/signalcompose/claude-tools/ypm-export-community.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 0 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 3,671 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.00000 $0.03671
Opus 5.5 $0.00000 $0.01468
Sonnet 5.5 $0.00000 $0.00734
Haiku 4.5 $0.00000 $0.00367

Measured yesterday against content hash 8631bb29e752, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

ypm-export-community 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 yesterday.

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/ypm/templates/commands/ypm-export-community.md · 462 lines

How it starts

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

/ypm:export-community - Export Private Repository to Public Community Version

このコマンドは、privateリポジトリからpublicコミュニティ版へexportします。

初回実行時は対話形式でセットアップを行い、2回目以降は自動的にexportを実行します。

あなたの役割

以下の手順を厳密に実行してください:


STEP 0: 言語検出

ユーザーの最近のメッセージから使用言語を検出し、以降のAskUserQuestionで使用します。

検出ルール:

  • ユーザーの直近のメッセージに日本語キーワード(「です」「ます」「を」「が」「は」「に」「の」等)が含まれる → 日本語
  • 上記以外(英語のみ) → 英語
  • デフォルト: 日本語

検出した言語を内部メモし、以降のSTEP 3とSTEP 4-2のAskUserQuestionで使用してください。


STEP 1: 現在のディレクトリとブランチを確認

pwd
git branch --show-current

現在のディレクトリを確認し、ユーザーに報告してください。


STEP 2: 設定ファイルの存在チェック

ls -la .export-config.yml 2>/dev/null || echo "NOT_FOUND"

判定:

  • .export-config.ymlが存在する → STEP 4へスキップ
  • .export-config.ymlが存在しない → STEP 3へ進む

STEP 3: インタラクティブセットアップ(初回のみ)

AskUserQuestionツールを使用して、以下の情報を収集してください:

Question 1: Repository Configuration

STEP 0で検出した言語に応じて、以下のいずれかを使用してください:

日本語版

質問内容:

Private repositoryとPublic repositoryの設定を行います。

選択肢:

  1. Private repo path:

    • Label: "現在のディレクトリを使用"
    • Description: "現在のディレクトリをprivate repoとして使用します ({{current_dir}})"
  2. Private repo path (custom):

    • Label: "カスタムパスを指定"
    • Description: "別のパスを指定します(例: Git worktreeのmainブランチ)"
  3. Public repo (new):

    • Label: "新規public repositoryを作成"
    • Description: "新しいpublic GitHubリポジトリを自動作成します"
  4. Public repo (existing):

    • Label: "既存のリポジトリを使用"
    • Description: "既存のpublic repository URLを指定します"
英語版

Question:

Configure Private and Public repository settings.

Options:

  1. Private repo path:

    • Label: "Use current directory"
    • Description: "Use current directory as private repo ({{current_dir}})"
  2. Private repo path (custom):

    • Label: "Specify custom path"
    • Description: "Specify different path (e.g., for Git worktree main branch)"
  3. Public repo (new):

    • Label: "Create new public repository"
    • Description: "Automatically create a new public GitHub repository"

Read the full file on GitHub · 462 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. yesterday First seen · 462 lines · 0 tokens per session scan A 8631bb29e752

Subscribe to this mod's changes

ypm-export-community is a command published in the GitHub repository signalcompose/claude-tools (4 stars, last pushed yesterday), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 3,671 tokens. 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-12-04.

Related

ypm-export-community compared with commands from other repositories

ypm-export-community next to 6 commands from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
ypm-export-communitysignalcompose/claude-toolsCommand4yesterdayMITA0Claude Code
merge-conflict-analysisrjmurillo/ai-agentsCommand50todayApache-2.0A0GitHub Copilot
release-notesOpenHands/extensionsCommand191todayMITA44Claude Code
commitechoVic/blade-codeCommand18118d agoMITA8Claude Code
repo-audittractorjuice/arc-kitCommand2.3ktodaynoneA29Claude Code
codex-reviewoalders/kitchen-sinkCommand52d agoMITA41Claude Code
releaseparuff/uFawkesAICommand23d agoMITA39Claude Code