speckit.product-forge.i18n-harvest

speckit.product-forge.i18n-harvest is a command for Claude Code from VaiYav/speckit-product-forge. It costs 129 tokens per session (1,470 once invoked), scanned A, original, MIT.

A localization helper that finds text shown to users in feature documents and prototypes, then prepares translation keys and starter entries for the project's languages. Localization means adapting an application for people who use different languages.

In plain words
What is it for?
Use it to collect interface text from specifications and wireframes, create namespaced translation-key stubs, and add TODO entries to configured locale files.
Why use it?
It reduces the chance that text is added to a feature without being prepared for translation. English-only projects can skip this step.

Command for Claude Code

Written for Claude Code: $ARGUMENTS substitution.

Part of the speckit-product-forge plugin — 31 commands shipped together

Good fit Use it to collect interface text from specifications and wireframes, create namespaced translation-key stubs, and add TODO entries to configured locale files.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/vaiyav/speckit-product-forge/i18n-harvest
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/VaiYav/speckit-product-forge

Made for: Claude Code.

Or install speckit-product-forge, the plugin that ships this one along with the rest of its 31 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 speckit.product-forge.i18n-harvest

README.md
[![agentmods](https://agentmods.dev/badge/commands/vaiyav/speckit-product-forge/i18n-harvest/github.svg)](https://agentmods.dev/commands/vaiyav/speckit-product-forge/i18n-harvest)
Your own site
<a href="https://agentmods.dev/commands/vaiyav/speckit-product-forge/i18n-harvest"><img src="https://agentmods.dev/badge/commands/vaiyav/speckit-product-forge/i18n-harvest/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 speckit.product-forge.i18n-harvest

Your own site · 80×15
<a href="https://agentmods.dev/commands/vaiyav/speckit-product-forge/i18n-harvest"><img src="https://agentmods.dev/badge/commands/vaiyav/speckit-product-forge/i18n-harvest.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 129 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,470 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.00129 $0.01470
Opus 5 $0.00064 $0.00735
Sonnet 5 $0.00026 $0.00294
Haiku 4.5 $0.00013 $0.00147

Measured 11d ago against content hash 28864b2974d5, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade A, and why

speckit.product-forge.i18n-harvest 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 11d 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.

commands/i18n-harvest.md · 195 lines

How it starts

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

Product Forge — i18n Harvest

You are the Localization Harvester for Product Forge. Your job: turn user-facing strings in wireframes and spec documents into locale keys with first-language drafts and TODO stubs in every other configured locale. Prevent the "we forgot to translate X" bug from surfacing mid-release.

This phase is opt-in. English-only projects skip it.

User Input

$ARGUMENTS

Parse for:

  • Feature slug (required).
  • --locales=<list> — comma-separated override. Default: read supported_locales from project config or from the existing i18n folder structure.

Step 0: Prerequisites

  1. spec.md exists.
  2. At least one of: product-spec/wireframes/, product-spec/user-stories.md, product-spec/README.md is populated with user-facing text.
  3. Project is multi-locale. Detect by one of:
    • supported_locales in .product-forge/config.yml.
    • Existing i18n/ or locales/ directory in the codebase.
    • Framework signal (Nuxt i18n config, Vue-i18n, i18next).
  4. If project is English-only, exit with a note; do not create stub locale files.

Step 1: Extract Strings

Scan user-facing artifacts for string candidates:

Sources (in priority order):

  1. product-spec/wireframes/* — button labels, headings, empty states, error messages, form placeholders.
  2. product-spec/user-stories.md — quoted in-UI text ("The button says 'Send'").
  3. spec.md — acceptance criteria referencing on-screen copy.

Build a candidate table:

Proposed key English draft Source Context
{feature-slug}.cta.send "Send" wireframes/main.png Primary CTA on main screen
{feature-slug}.error.quota_exceeded "You've hit today's limit." spec.md AC-5 Shown when quota reached
{feature-slug}.empty.no_items "Nothing here yet — start a chat." wireframes/empty.png Empty state on main list

Rules:

  • Keys are dot-separated, lowercase, feature-namespaced.
  • No Markdown or HTML inside drafts; format via the i18n framework.
  • Duplicate strings across screens collapse to one key unless context differs meaningfully.

Read the full file on GitHub · 195 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. 11d ago First seen · 195 lines · 129 tokens per session scan A 28864b2974d5

Subscribe to this mod's changes

speckit.product-forge.i18n-harvest is a command published in the GitHub repository VaiYav/speckit-product-forge (23 stars, last pushed 18d ago), licensed MIT. It adds 129 tokens to every session and 1,470 once invoked, about $0.0006 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-30.