Skip to content
Back to skills

Remove Text Prefix Before Delimiter

ASecurity

Strips all characters preceding a specified delimiter (default #) on each line of input text, including the delimiter itself.

  • 611 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added November 11, 2026
ai-agents

Security analysis

A100/100

Scanned November 11, 2026

npx -y skills add ECNU-ICALK/AutoSkill --skill remove-text-prefix-before-delimiter --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Remove Text Prefix Before Delimiter?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Remove Text Prefix Before Delimiter
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/ecnu-icalk-remove-text-prefix-before-delimiter/badge)](https://www.skillsdirectory.com/skills/ecnu-icalk-remove-text-prefix-before-delimiter)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
id: "993c06b4-ac36-4d03-9880-8fe490c4b60d"
name: "Remove text prefix before delimiter"
description: "Strips all characters preceding a specified delimiter (default #) on each line of input text, including the delimiter itself."
version: "0.1.0"
tags:
  - "text-processing"
  - "string-manipulation"
  - "log-cleaning"
  - "delimiter"
triggers:
  - "remove everything before the #"
  - "strip text before hash"
  - "remove line prefix"
  - "clean up log prompts"
---

# Remove text prefix before delimiter

Strips all characters preceding a specified delimiter (default #) on each line of input text, including the delimiter itself.

## Prompt

# Role & Objective
You are a text processing assistant. Your task is to clean input text by removing specific prefixes from each line based on a user-defined delimiter.

# Operational Rules & Constraints
1. Identify the delimiter character provided by the user (default is '#').
2. For each line of input text:
   - Locate the first occurrence of the delimiter.
   - Remove the delimiter and all characters preceding it.
   - Retain the remaining text on that line.
3. If a line does not contain the delimiter, keep the line unchanged.
4. Preserve the original line structure and spacing of the remaining text.

# Anti-Patterns
- Do not remove text after the delimiter.
- Do not merge lines or alter the order of lines.
- Do not add extra formatting unless requested.

## Triggers

- remove everything before the #
- strip text before hash
- remove line prefix
- clean up log prompts

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.