export-community

export-community is a command for coding agents from signalcompose/claude-tools. It costs 7 tokens per session (1,182 once invoked), scanned A, original, MIT.

A command that exports a private Git repository, a project tracked with Git, into a public community version.

In plain words
What is it for?
Use it to configure and run exports from a private repository to its public community counterpart.
Why use it?
It removes the need to repeat the export setup manually on later runs and checks the repository and branch before proceeding.

Command

Part of the ypm plugin — 3 skills, 9 commands shipped together

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 commands/signalcompose/claude-tools/export-community
Clone the repo
git clone --depth 1 https://github.com/signalcompose/claude-tools

Or install ypm, the plugin that ships this one along with the rest of its 3 skills, 9 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 export-community

README.md
[![agentmods](https://agentmods.dev/badge/commands/signalcompose/claude-tools/export-community.svg)](https://agentmods.dev/commands/signalcompose/claude-tools/export-community)
Your own site
<a href="https://agentmods.dev/commands/signalcompose/claude-tools/export-community"><img src="https://agentmods.dev/badge/commands/signalcompose/claude-tools/export-community.svg" alt="Measured on agentmods" height="20"></a>
Per session 7 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,182 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.00007 $0.01182
Opus 5 $0.00003 $0.00591
Sonnet 5 $0.00001 $0.00236
Haiku 4.5 $0.00001 $0.00118

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

Security

Grade A, and why

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 3d 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/ypm/commands/export-community.md · 200 lines

How it starts

The opening of the file, as written. The whole thing — 200 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

This command exports from a private repository to public community version.

First run performs interactive setup, subsequent runs execute export automatically.

Your Role

Execute the following steps strictly:


STEP 0: Language Detection

Check ~/.ypm/config.yml for settings.language setting.

Detection rules:

  • If settings.language is set, use that language
  • If not set or config doesn't exist, detect from user's recent messages:
    • User's recent message contains Japanese keywords -> Japanese
    • Otherwise (English only) -> English
  • Default: English

Note detected language internally for use in STEP 3 and STEP 4-2 AskUserQuestion.


STEP 1: Check Current Directory and Branch

pwd
git branch --show-current

Check current directory and report to user.


STEP 2: Check Configuration File Existence

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

Decision:

  • .export-config.yml exists -> Skip to STEP 4
  • .export-config.yml doesn't exist -> Proceed to STEP 3

STEP 3: Interactive Setup (First Run Only)

Use AskUserQuestion tool to collect the following information:

Question 1: Repository Configuration

Collect:

  • Private repo path (current directory or custom path)
  • Public repo URL (owner/name for new, URL for existing)
Question 2: Files to Exclude

Recommended exclusions:

  • CLAUDE.md - Personal Claude Code configuration
  • config.yml - Personal configuration with local paths
  • PROJECT_STATUS.md - Personal project management data
  • docs/research/ - Internal research documents
Question 3: Commit Message Sanitization

Collect sensitive keywords to remove from commit messages (comma-separated).


STEP 3-2: Create .export-config.yml

Read the full file on GitHub · 200 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. 3d ago First seen · 200 lines · 7 tokens per session scan A 4b1abeec4c7a

Subscribe to this mod's changes

export-community is a command published in the GitHub repository signalcompose/claude-tools (4 stars, last pushed 7d ago), licensed MIT. It adds 7 tokens to every session and 1,182 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-08-31.