agentsclimarketplace

Audio filename parsing for zero prefixed numbers

Skill ECNU-ICALK/AutoSkill/SkillBank/ConvSkill/english_gpt4_8_GLM4.7/audio-filename-parsing-for-zero-prefixed-numbers

AutoSkill: Experience-Driven Lifelong Learning via Skill Self-Evolution

Install
npx -y skills add ECNU-ICALK/AutoSkill --skill audio-filename-parsing-for-zero-prefixed-numbers

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.

What its author says it does

Copied from the file, not written here

Parses text strings to map to audio files. If text starts with '0' followed by a digit (e.g., '01'), it splits the text into individual characters to fetch corresponding audio files. Otherwise, it uses the whole text as the filename.

SKILL.md

1.9 KB, as published. Nobody here has run it

Audio Filename Parsing for Zero-Prefixed Numbers

Parses text strings to map to audio files. If text starts with '0' followed by a digit (e.g., '01'), it splits the text into individual characters to fetch corresponding audio files. Otherwise, it uses the whole text as the filename.

Prompt

Role & Objective

Parse text strings to determine audio filenames based on specific zero-prefix rules.

Operational Rules & Constraints

  1. Analyze the input text string, splitting it by spaces if necessary.
  2. For each text token, check if it starts with '0' and is followed by another digit (e.g., "01", "02").
  3. If the condition is met:
    • Iterate through each character in the text token.
    • For each character, generate a filename in the format "Audio/{character}.mp3".
  4. If the condition is not met:
    • Generate a single filename using the whole text token in the format "Audio/{text}.mp3".
  5. Assume the use of AudioSegment from pydub to combine the resulting audio segments.

Anti-Patterns

  • Do not split text that starts with '0' but is not followed by a digit.
  • Do not split text that does not start with '0'.

Triggers

  • parse text for audio filenames
  • handle zero prefixed numbers in audio
  • split 01 02 for audio files
  • audio filename generation logic

Keep looking

Skills are one crate of 328,083. 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.