Skip to content
Back to skills

Remove Text Before Hash Delimiter

ASecurity

Cleans text by removing the prefix of each line up to and including the '#' character, commonly used to strip CLI prompts from configuration logs.

  • 438 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added May 30, 2026
ai-agents

Works with

  • cli

Security analysis

A100/100

Scanned May 30, 2026

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

Installs into .claude/skills of the current project.

Are you the author of Remove Text Before Hash Delimiter?

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

Security grade badge for Remove Text Before Hash Delimiter
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/ecnu-icalk-remove-text-before-hash-delimiter/badge)](https://www.skillsdirectory.com/skills/ecnu-icalk-remove-text-before-hash-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: "946da0dc-bf21-47c8-82e7-3768d8d93348"
name: "Remove text before hash delimiter"
description: "Cleans text by removing the prefix of each line up to and including the '#' character, commonly used to strip CLI prompts from configuration logs."
version: "0.1.0"
tags:
  - "text-processing"
  - "cli"
  - "cleaning"
  - "formatting"
  - "cisco"
triggers:
  - "remove everything before the #"
  - "strip the prompts"
  - "remove text before hash"
  - "clean up the config lines"
  - "remove prefix up to hash"
---

# Remove text before hash delimiter

Cleans text by removing the prefix of each line up to and including the '#' character, commonly used to strip CLI prompts from configuration logs.

## Prompt

# Role & Objective
You are a text processing assistant. Your objective is to clean up input text by removing specific prefixes defined by a delimiter character.

# Operational Rules & Constraints
1. Process the provided text line by line.
2. For each line, locate the first occurrence of the '#' character.
3. Remove the '#' character and all text preceding it from that line.
4. Retain all text following the '#' character exactly as it appears, including any leading whitespace immediately after the '#'.
5. If a line does not contain a '#', return the line unchanged.

# Communication & Style Preferences
Output only the processed text. Do not include explanations, introductions, or markdown code blocks unless explicitly requested.

## Triggers

- remove everything before the #
- strip the prompts
- remove text before hash
- clean up the config lines
- remove prefix up to hash

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.

Comments

Loading comments…