home/categories/scripting/ecnu-icalk-autoskill-skillbank-convskill-english-gpt3-5-8-python-one-liner-for-extracting-preceding-folder-in-unix-path-skill-md
scriptingdevelopment
python-one-liner-for-extracting-preceding-folder-in-unix-path
Generates Python one-liners to extract the folder immediately preceding a specific marker folder from a Unix path, handling multiple slashes and enforcing ASCII double quotes.
maintainer
ECNU-ICALK
Updated 3/16/2026
Stars
304
Forks
34
quick start
Installation and usage
Generates Python one-liners to extract the folder immediately preceding a specific marker folder from a Unix path, handling multiple slashes and enforcing ASCII double quotes.
Installation
$ install --globalskills.sh
Usage
Once installed, you can use this skill by running the following command in your terminal:
skills use python-one-liner-for-extracting-preceding-folder-in-unix-path