char-index-skill — independently scanned and version-tracked by SaferSkills.
SaferSkills independently audited char-index-skill (Agent Skill) and scored it 100/100 (green). The audit ran 55 deterministic rules across Security, Supply Chain, Maintenance, Transparency, and Community; it found 0 high-severity and 0 lower-severity findings. The full rule-by-rule trace and per-finding evidence are below. Free, methodology-open.
Findings & checks · 0 flagged
Every scanned point with the score it earned and what moved between them.
First recorded scan — no prior version to compare against.
The primary manifest — the file an agent reads to learn what this artifact does.
Precise index-based string operations. Use when you need exact character positioning for test generation, parsing, or LLM response extraction.
All via python ${CLAUDE_SKILL_DIR}/scripts/char_ops.py <command> [options]. Returns JSON.
find-nth-char: Find nth occurrence of char → {"index": N}find-all-chars: All positions of char → {"indices": [...]}find-nth-substring: Find nth occurrence of substring → {"index": N}find-all-substrings: All positions of substring → {"indices": [...]}split-at: Split at indices → {"parts": [...]}extract: Substring by range → {"substring": "...", "length": N}extract-between: Content between markers → {"content": "...", "content_start": N, ...}extract-batch: Multiple ranges → {"results": [{...}, ...]}insert: Insert at index → {"result": "..."}delete: Delete range [start, end) → {"result": "..."}replace: Replace range with text → {"result": "..."}count: Character statistics → {"total": N, "letters": N, "digits": N, ...}| Task | Command |
|---|---|
| Find 3rd 'l' | find-nth-char --text "hello world" --char "l" --n 3 |
| All 'l' positions | find-all-chars --text "hello world" --char "l" |
| Split at 2,5,8 | split-at --text "hello world" --indices "2,5,8" |
| Extract chars 0-5 | extract --text "hello world" --start 0 --end 5 |
| Between markers | extract-between --text "a[b]c" --start-marker "[" --end-marker "]" |
| Insert comma | insert --text "hello world" --index 5 --insertion "," |
| Delete range | delete --text "hello world" --start 5 --end 11 |
| Replace range | replace --text "hello world" --start 6 --end 11 --replacement "Python" |
| Count chars | count --text "hello world" |
Basic:
python ${CLAUDE_SKILL_DIR}/scripts/char_ops.py find-nth-char \
--text "hello world" --char "l" --n 3
# {"index": 9}Chain with jq:
INDEX=$(python ${CLAUDE_SKILL_DIR}/scripts/char_ops.py find-nth-char \
--text "$TEXT" --char "x" --n 1 | jq -r '.index')Batch operations:
python ${CLAUDE_SKILL_DIR}/scripts/char_ops.py extract-batch \
--text "hello world" \
--ranges '[{"start":0,"end":5},{"start":6,"end":11}]'find-nth-* uses --n 1 for first occurrence-1 = last char, -5 = 5th from end[start, end) - start inclusive, end exclusivefind-all-* finds overlapping matchespython ${CLAUDE_SKILL_DIR}/scripts/char_ops.py --help~30 seconds. Free. No account. Every finding cites a rule and a line of evidence.