agentsview: Skill for Codex

.agents/skills/localization-paraglide/SKILL.md

localization-paraglide is a skill for Codex from kenn-io/agentsview. It costs 69 tokens per session (504 once invoked), scanned A, original, MIT.

A set of rules for translating and formatting user-facing text in the Svelte frontend with Paraglide JS, a localization tool for managing multiple languages.

In plain words
What is it for?
Use it when adding or reviewing localized messages, displaying locale-aware values, switching languages, or replacing English text directly embedded in frontend code.
Why use it?
It keeps translations consistent between English and Chinese, prevents hard-coded interface text, and handles language-specific dates, numbers, times, and plural forms.

Skill for Codex

Written for Codex: agents/openai.yaml present. Also seen: installed under .agents/ (shared by several agents).

This is kenn-io/agentsview's own configuration. It tells Codex how to work on agentsview itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything agentsview configures →

Needs its repository: it reads a path above its own folder, which exists only inside the repository. The line is import { m } from "../../i18n/index.js";.

About the project

AgentsView is a local application that collects coding-agent sessions into a searchable database and web interface, including usage and cost statistics. Developers use it to browse, analyze, and track sessions from Claude Code, Codex, and other supported agents, while the catalogue add-ons help operate it.

kenn-io/agentsview · 5,780 stars · on GitHub · agentsview.io

Reuse

Borrowing it

Nothing to install: this file belongs to kenn-io/agentsview. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/kenn-io/agentsview/main/.agents/skills/localization-paraglide/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/kenn-io/agentsview

Made for: Codex.

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 localization-paraglide

README.md
[![agentmods](https://agentmods.dev/badge/skills/kenn-io/agentsview/localization-paraglide.svg)](https://agentmods.dev/skills/kenn-io/agentsview/localization-paraglide)
Your own site
<a href="https://agentmods.dev/skills/kenn-io/agentsview/localization-paraglide"><img src="https://agentmods.dev/badge/skills/kenn-io/agentsview/localization-paraglide.svg" alt="Measured on agentmods" height="20"></a>
Per session 69 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 504 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.00069 $0.00504
Opus 5 $0.00034 $0.00252
Sonnet 5 $0.00014 $0.00101
Haiku 4.5 $0.00007 $0.00050

Measured 7d ago against content hash 951f4465ca5b, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-07, from the pricing page.

Security

Grade A, and why

localization-paraglide 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 7d 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.

.agents/skills/localization-paraglide/SKILL.md · 49 lines

What it actually says

Localization Paraglide

Workflow

  1. Read frontend/project.inlang/settings.json, frontend/src/lib/i18n/index.ts, and nearby localized components before editing.

  2. Put user-facing copy in frontend/messages/en.json and frontend/messages/zh-CN.json with identical keys.

  3. Import app localization through frontend/src/lib/i18n/index.ts:

    import { m } from "../../i18n/index.js";
    
  4. Call generated Paraglide messages as functions, for example m.nav_sessions() or m.shared_active_filters_remove_agent({ agent }).

  5. Use Paraglide message declarations for plural, number, datetime, and relative time when the formatted value is part of translatable copy.

  6. Use formatDateTime() from frontend/src/lib/i18n/index.ts for standalone visible date/time labels that need the active Paraglide locale.

  7. Keep technical identifiers untranslated: agent names, model names, file paths, CLI commands, IDs, and raw API values.

  8. Run npm run i18n:compile and npm run check from frontend/ after message or component changes.

Message Rules

  • Keep key names scoped and descriptive, such as settings_terminal_title or activity_concurrency_empty.
  • Do not concatenate translated sentence fragments. Prefer one complete message with parameters.
  • Pass numbers as numbers to pluralized messages. Pass strings only for display fragments that have already been intentionally formatted.
  • In Svelte, put arrays or objects containing translated labels in $derived or $derived.by when they must update after locale changes.
  • Do not import from frontend/src/lib/paraglide/* directly in components unless changing the i18n wrapper itself.

Formatting

Read references/paraglide-formatting.md when adding pluralization, ordinal rules, date/time formatting, relative dates, compact numbers, currencies, or mixed selector messages.

Files

What ships with it

2 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 7d ago First seen · 49 lines · 69 tokens per session scan A 951f4465ca5b

Subscribe to this mod's changes

localization-paraglide is a skill published in the GitHub repository kenn-io/agentsview (5,780 stars, last pushed yesterday), licensed MIT. It adds 69 tokens to every session and 504 once invoked, about $0.0003 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.

Related

Other skills, from other repositories

harden

Improve interface resilience through better error handling, i18n support, text overflow handling, and edge case management. Makes interfaces robust and production-ready. Use when the user asks to harden, make production-ready, handle edge cases, add error states, or fix overflow and i18n issues.

fengshao1227/ccg-workflow · 62 tokens

localization-toolkit

This skill should be used when setting up, auditing, or enforcing internationalization/localization in UI codebases (React/TS, i18next or similar, JSON locales), including installing/configuring the i18n framework, replacing hard-coded strings, ensuring en-US/zh-CN coverage, mapping error codes to localized messages…

zebbern/claude-code-guide · 82 tokens

extract-source-sample

Given the path to a finished content-goose ad-run folder, extract everything that defines that ad — recipe shot list, VO script, characters, voices, world, atom-skills, master mp4 — and emit a source-sample.json in the exact shape the upload-ad-sample skill writes to the Goose Ads library. Also links every character…

gooseworks-ai/goose-skills · 160 tokens

experience-ui-bundle-localize

MUST activate to localize / internationalize a uiBundles//src/ project (React or Angular): extract hardcoded user-facing strings into Custom Labels, wire a runtime i18n library over the Platform SDK backend, add labels for another language, or troubleshoot label rendering across locales. Triggers: user-facing string…

forcedotcom/sf-skills · 225 tokens

experience-lwc-rtl-validate

Use this skill to review a Lightning Web Component (.html, .js, .css files) for right-to-left (RTL) internationalization correctness, producing a finding list with code-level fixes covering CSS logical properties, bidirectional text handling, keyboard semantics, and RTL-aware SLDS class usage. TRIGGER when the user…

forcedotcom/sf-skills · 197 tokens

ss-motion

Apply a named StyleSeed motion to a component — either one of the 5 personality seeds (Spring/Silk/Snap/Float/Pulse × entrance/exit/hover/press/layout) or a distinctive keyword move from the motion library (toggle-flip, toggle-curtain, reveal-blur, pop-in, shimmer, …). Translates vibe words into framer-motion code…

bitjaru/styleseed · 85 tokens