agentsclimarketplace

Remove text prefix before delimiter

Skill ECNU-ICALK/AutoSkill/SkillBank/ConvSkill/english_gpt4_8/remove-text-prefix-before-delimiter

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

Install
npx -y skills add ECNU-ICALK/AutoSkill --skill remove-text-prefix-before-delimiter

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

One thing to look at

  • no licenseNo license file was found in the repository. Code published without one is not open source by default, so using it at work is a question for whoever answers licensing questions where you are.

SKILL.md

1.5 KB, 223 tokens by cl100k_base, as published. Nobody here has run it

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

What ships with it

Read from the repository

Just SKILL.md. No reference files, no scripts.

Keep looking

Skills are one crate of 325,949. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.