agentsclimarketplace

Remove text before hash delimiter

Skill ECNU-ICALK/AutoSkill/SkillBank/ConvSkill/english_gpt4_8_GLM4.7/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.From its SKILL.md

Install
npx -y skills add ECNU-ICALK/AutoSkill --skill remove-text-before-hash-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.6 KB, 218 tokens by cl100k_base, as published. Nobody here has run it

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

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.