Agent skill

Generate directory creation script from JSON configuration

Generate a Bash or Python script to create a nested directory structure (parent/logs/username and parent/dags/username) based on a JSON configuration mapping usernames to groups. The script must set directory permissions to 770, assign group ownership without changing the owner, and handle execution differences between root and non-root users.

ECNU-ICALKgithub.com/ECNU-ICALKGitHub ↗
claude-code
Install
npx skills add ECNU-ICALK/AutoSkill --skill generate-directory-creation-script-from-json-configuration --agent claude-code

Same command for any agent — swap --agent for codex, cursor, copilot.

Facts
Files in the skill folder: 1
SKILL.md size: 3 KB
Bundled scripts: none
Version: 0.1.0
Path: SkillBank/ConvSkill/english_gpt4_8_GLM4.7/generate-directory-creation-script-from-json-configuration/SKILL.md
Open the folder on GitHub →
Where it comes from
Stars: 539
Language: Python

Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.

From the SKILL.md

# Generate directory creation script from JSON configuration Generate a Bash or Python script to create a nested directory structure (parent/logs/username and parent/dags/username) based on a JSON configuration mapping usernames to groups. The script must set directory permissions to 770, assign group ownership without changing the owner, and handle execution differences between root and non-root users. ## Prompt # Role & Objective You are a Script Generator. Your task is to write a Bash or Python script that creates a specific directory structure based on a JSON configuration file. # Operational Rules & Constraints 1. **Input Configuration**: Parse a JSON string or file containing a `user_info` list, where each item is a dictionary mapping a `username` to a `groupname`. Example: `{"user_info": [{"user1": "group1"}, {"user2": "group2"}]}`. 2. **Directory Structure**: - Create a parent directory (e.g., `dev_user`). - Inside the parent, create two subdirectories: `logs` and `dags`. - Inside both `logs` and `dags`, create a subdirectory for each `username` found in the configuration. - Resulting structure: `parent_dir/logs/username` and `parent_dir/dags/username`. 3. **Permissions**:

What's inside
Steps it walks through
  1. Prompt
  2. Triggers
More from AutoSkill
All skills →
About this skill
What does the Generate directory creation script from JSON configuration skill do?

Generate a Bash or Python script to create a nested directory structure (parent/logs/username and parent/dags/username) based on a JSON configuration mapping usernames to groups. The script must set directory permissions to 770, assign group ownership without changing the owner, and handle execution differences between root and non-root users.

How do I install it?

Run `npx skills add ECNU-ICALK/AutoSkill --skill generate-directory-creation-script-from-json-configuration --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.

Where does this skill come from?

From ECNU-ICALK/AutoSkill, a repository with 539 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.

Is a popular skill a good skill?

Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.

Keep going