AI Agent Hub
Back to plugins
⚙️

xby-char-index

Workflow Updated 2026.09.02

Run the following command in DeepSeek Harness:

dsh plugin install xby-skill/xby-char-index

Paste the following prompt into your AI chat to install this plugin:

Run dsh plugin install xby-skill/xby-char-index in your terminal to install the character-index string manipulation plugin from https://github.com/xby-skill/xby-char-index

About this plugin

Most string utilities hand you a split and a replace then call it done, yet real-world work often demands tighter positioning. Which character is the third semicolon? How do you swap exactly the 42nd through 87th positions for something else without disturbing the rest? Regular expressions and naive slicing make these requests fragile. xby-char-index treats the string as a fully indexed sequence so every operation lands on a deterministic offset rather than a best guess.

Its capabilities span the full locate-to-edit pipeline: find the Nth occurrence of a character or substring, list every index where it appears, insert or delete at exact offsets, extract all regex matches with start-end coordinates, pull content between two markers, and get a quick character census covering letters, digits, spaces, and specials. Negative indices are supported throughout, return shapes are consistent, and downstream code can consume the results without extra parsing.

If you are building test fixtures with fixed-format text, parsing positional log lines or config fragments, or slicing fields by column offset in a data-cleaning pipeline, this plugin turns your string work from approximate to precise.

Use Cases

  • Slicing fields by fixed column offsets in test fixtures
  • Extracting content between markers during log parsing
  • Replacing or extracting snippets by character range in data cleaning

Best For

  • Test engineers who need precise character-level positioning
  • Data engineers working with structured text formats
  • Automation developers building string processing pipelines