xby-char-index
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
Related Plugins
A method pack that makes AI coding agents plan against your real baseline, prove completion with fresh evidence, and reduce reworks and unsafe changes.
Turns the DeepSeek Harness session into a captain that builds a durable sub-agent team, splits goals into dependency-aware tasks, and coordinates work via direct messages and a live Web UI.
Gives coding agents design judgment, letting Claude Code, Cursor, and 70+ agents generate and iterate high-quality UI, presentations, and graphics right from the terminal.
Run the Pi ecosystem's plugins on DeepSeek Harness, unmodified, via a compatibility layer that implements Pi's public extension ABI on DSH's native services.