fixing-text-encodings

fixing-text-encodings is a skill for Claude Code from dimitar-grigorov/mcp-file-tools. It costs 159 tokens per session (1,133 once invoked), scanned A, original, GPL-3.0.

A file-encoding troubleshooting workflow for finding garbled text and checking or converting files that are not UTF-8. File encoding is the format used to store characters.

In plain words
What is it for?
Use it to inspect suspicious text, audit legacy project encodings, and convert affected files with the file-tools service.
Why use it?
It helps explain broken characters such as mojibake and supports reviews or migrations of older codebases using formats like CP1251 or CP1252.

Skill for Claude Code

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

Part of the mcp-file-tools plugin — 1 skill, 1 MCP server shipped together

Good fit Use it to inspect suspicious text, audit legacy project encodings, and convert affected files with the file-tools service.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/dimitar-grigorov/mcp-file-tools/fixing-text-encodings
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 dimitar-grigorov/mcp-file-tools --skill fixing-text-encodings
Clone the repo
git clone --depth 1 https://github.com/dimitar-grigorov/mcp-file-tools

Made for: Claude Code.

Or install mcp-file-tools, the plugin that ships this one along with the rest of its 1 skill, 1 MCP server.

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 fixing-text-encodings

README.md
[![agentmods](https://agentmods.dev/badge/skills/dimitar-grigorov/mcp-file-tools/fixing-text-encodings/github.svg)](https://agentmods.dev/skills/dimitar-grigorov/mcp-file-tools/fixing-text-encodings)
Your own site
<a href="https://agentmods.dev/skills/dimitar-grigorov/mcp-file-tools/fixing-text-encodings"><img src="https://agentmods.dev/badge/skills/dimitar-grigorov/mcp-file-tools/fixing-text-encodings/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 fixing-text-encodings

Your own site · 80×15
<a href="https://agentmods.dev/skills/dimitar-grigorov/mcp-file-tools/fixing-text-encodings"><img src="https://agentmods.dev/badge/skills/dimitar-grigorov/mcp-file-tools/fixing-text-encodings.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 159 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,133 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 unknown 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.00159 $0.01133
Opus 5 $0.00079 $0.00566
Sonnet 5 $0.00032 $0.00227
Haiku 4.5 $0.00016 $0.00113

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

Security

Grade A, and why

fixing-text-encodings 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.

plugin/skills/fixing-text-encodings/SKILL.md · 94 lines

The source is not reproduced here

Licensed GPL-3.0

The repository is licensed GPL-3.0, which this catalogue does not treat as permission to reproduce the file. Read it at the source.

Read it on GitHub

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 · 94 lines · 159 tokens per session scan A 5daaf6826adc

Subscribe to this mod's changes

fixing-text-encodings is a skill published in the GitHub repository dimitar-grigorov/mcp-file-tools (23 stars, last pushed today), licensed GPL-3.0. It adds 159 tokens to every session and 1,133 once invoked, about $0.0008 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

oh-my-posh

Install, configure, or troubleshoot Oh My Posh/ohmyposh: shell init, themes, segments, Nerd Font icons, and prompt setup on PowerShell, zsh, bash, or fish.

JanDeDobbeleer/oh-my-posh · 47 tokens

network-rca

Kubernetes network root cause analysis skill powered by Kubeshark MCP. Use this skill whenever the user wants to investigate past incidents, perform retrospective traffic analysis, take or manage traffic snapshots, extract PCAPs, dissect L7 API calls from historical captures, compare traffic patterns over time, detect…

kubeshark/kubeshark · 163 tokens

pinchtab-dev

Develop and contribute to the PinchTab project. Use when working on PinchTab source code, adding features, fixing bugs, running tests, or preparing PRs. Triggers on "work on pinchtab", "pinchtab development", "contribute to pinchtab", "fix pinchtab bug", "add pinchtab feature".

pinchtab/pinchtab · 77 tokens

go-linters

Add and validate custom Go analysis linters in gh-aw.

github/gh-aw · 17 tokens

debugging-failures

Diagnose a failing Ginkgo suite as an agent — always run with --json-report into a predictable temp/gitignored location, read the terminal verdict line, then use jq to extract structured failure details (name, message, file:line, panic value, captured logs). Covers the panicked-vs-failed trap, panic locations pointing…

onsi/ginkgo · 122 tokens

code-changes

Orchestration workflow for any task that ends in code changes: issue analysis, pull request review, feature implementation, bug fixes, refactors, or fleshing out an idea. MUST be invoked at the start of such a task, before reading or writing any code. Defines how to analyze first, gate on user approval, plan, pick the…

JanDeDobbeleer/oh-my-posh · 88 tokens