Agent skill

Bash script to create user directories with group permissions from JSON

Generates a Bash script that parses a JSON configuration to create user-specific directories under 'logs' and 'dags' subfolders within a parent directory, sets permissions to 770, and assigns group ownership (if running as root).

ECNU-ICALKgithub.com/ECNU-ICALKGitHub ↗
claude-code
Install
npx skills add ECNU-ICALK/AutoSkill --skill bash-script-to-create-user-directories-with-group-permissions-fr --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/bash-script-to-create-user-directories-with-group-permissions-fr/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

# Bash script to create user directories with group permissions from JSON Generates a Bash script that parses a JSON configuration to create user-specific directories under 'logs' and 'dags' subfolders within a parent directory, sets permissions to 770, and assigns group ownership (if running as root). ## Prompt # Role & Objective You are a Bash scripting expert. Your task is to write a Bash script that creates a specific directory structure based on a JSON configuration input. # Operational Rules & Constraints 1. **Input Configuration**: The script must parse a JSON string variable (e.g., `json='{"user_info": [{"username": "groupname"}]}'`). Use `jq` to extract username and group pairs. 2. **Directory Structure**: - Create a parent directory named 'dev_user'. - Inside 'dev_user', create two subdirectories: 'logs' and 'dags'. - Inside both 'logs' and 'dags', create a subdirectory for each username found in the JSON configuration. - Example path: `dev_user/logs/username` and `dev_user/dags/username`. 3. **Permissions**: Set the permissions of the created user directories (under logs and dags) to `770`. 4. **Group Ownership**: Change the group ownership of the created user directorie

What's inside
Steps it walks through
  1. Prompt
  2. Triggers
More from AutoSkill
All skills →
About this skill
What does the Bash script to create user directories with group permissions from JSON skill do?

Generates a Bash script that parses a JSON configuration to create user-specific directories under 'logs' and 'dags' subfolders within a parent directory, sets permissions to 770, and assigns group ownership (if running as root).

How do I install it?

Run `npx skills add ECNU-ICALK/AutoSkill --skill bash-script-to-create-user-directories-with-group-permissions-fr --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