folder-creator
Skill0 starsChanged 2 months agoMITView on GitHub
This skill enables the LLM to help users create folders (directories) on disk by understanding their intent and producing a strictly-formatted JSON output that describes which folder to create. The JSON output is then parsed by the folder_creator_execute skill to actually create the folder. folder-creator Invoke this skill whenever the user's request implies creating a new folder/directory. Look for phrases such as: Do NOT use this skill when the user wants to: - Create a file → use file-creator. -…
- Reads credentials
In this repository14 other files it gives its agents.
- cmd-runnerSkill
- code-runnerSkill
- curlSkill
- db-accessorSkill
- file-changerSkill
- file-creatorSkill
- file-finderSkill
- file-grepSkill
- file-listSkill
- file-readerSkill
- folder-finderSkill
- folder-listSkill
- scpSkill
- sshSkill
The file
We split this skill into the rules it gives an agent
11 rules. About 0 are common, 7 are distinctive, and 4 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈7
Distinctive · estimate
This author's own choices. Worth a look.
4
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 22
Do NOT use this skill when the user wants to:
- Very specific: line 23
Create a file → use file-creator.
- Distinctive: line 24
If the folder already exists, NEVER overwrite the existing one.
- Distinctive: line 25
Create a nested structure of both files and folders → you may use multiple skills sequentially.
- Distinctive: line 29
When the skill is triggered, the LLM must:
- Very specific: line 76
All string values must properly escape special characters (", \, newline as \n, tab as \t).
- Very specific: line 77
Do NOT emit multiple folder-creator payloads in a single response.
- Distinctive: line 78
If the user does not specify a folder name or path, do NOT execute this skill — ask for the name first or produce an empty action.
- Distinctive: line 156
Never create folders outside the user's intent (no arbitrary system paths).
- Very specific: line 158
When recursive: true, ensure the operation does not accidentally create many directories outside the user's project.
- Distinctive: line 159
Always echo the JSON payload so the user can review before execution.
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
📁 Folder Creator Skill
Overview
This skill enables the LLM to help users create folders (directories) on disk by understanding their intent and producing a strictly-formatted JSON output that describes which folder to create. The JSON output is then parsed by the folder_creator_execute skill to actually create the folder.
Skill Name
folder-creator
When to Use This Skill
Invoke this skill whenever the user's request implies creating a new folder/directory. Look for phrases such as:
- "create a folder named ..."
- "make a directory called ..."
- "mkdir ..."
- "create a directory at ..."
- "new folder ..."
- "set up a folder structure ..."
Do NOT use this skill when the user wants to:
- Create a file → use
file-creator. - If the folder already exists, NEVER overwrite the existing one.
- Create a nested structure of both files and folders → you may use multiple skills sequentially.
What the LLM Must Do
When the skill is triggered, the LLM must:
- Extract the following from the user's request (asking clarifying questions only if truly ambiguous):
- folderPath (required): The path (directory portion) where the folder should be created. If the user does not specify a parent directory, default to the current working directory
./. - folderName (required): The name of the new folder. May be omitted if
folderPathincludes the full desired path. - recursive (optional):
trueto create all intermediate directories (likemkdir -p). Defaults totrue. - description (optional): One-line summary of the folder creation.
- sequential (optional): Presented if the folder creation is part of a larger multi-step task.
- prompt (optional): Follow-up prompt for all of following tasks when
sequentialis set.
- folderPath (required): The path (directory portion) where the folder should be created. If the user does not specify a parent directory, default to the current working directory
- Produce a response containing a single pure JSON object that STRICTLY follows the schema below. No code fences, no extra prose.
Required JSON Output Schema
The LLM's response MUST be a pure JSON string with no code blocks (no leading ```).
{
"action": "create_folder",
"thinking": "<ai-thinking-trace>",
"sequential": {
"prompt": ""
},
"properties": [
{ "name": "folderPath", "value": "./" },
{ "name": "folderName", "value": "new-folder" },
{ "name": "recursive", "value": "true" },
{ "name": "description", "value": "Create a new folder" }
]
}Field Rules
| Field | Type | Required | Notes |
action | string | Yes | Must be exactly "create_folder". |
folderPath | string | Yes | Parent directory path. Default "./". |
folderName | string | Yes* | Folder name. Omit if folderPath includes the full path. |
recursive | boolean | No | true to create intermediate directories. Default true. |
description | string | No | Human-readable purpose. |
sequential | object | No | Whether the result should feed a follow-up AI task. Default null. |
prompt | string | No | Follow-up prompt for all of following tasks when sequential is presented. |
Formatting Requirements
- The JSON output must be valid JSON (parseable by
json.loads). - All string values must properly escape special characters (
",\, newline as\n, tab as\t). - Do NOT emit multiple
folder-creatorpayloads in a single response. - If the user does not specify a folder name or path, do NOT execute this skill — ask for the name first or produce an empty action.
Response Pattern for the LLM
A typical assistant reply should look like the following. No other output is needed. Output must be in pure JSON format.
{ "action": "create_folder", "thinking": "User asked to create a 'data' folder in the current directory.", "properties": [ { "name": "folderPath", "value": "./" }, { "name": "folderName", "value": "data" }, { "name": "recursive", "value": "true" }, { "name": "description", "value": "Create data folder" } ] }
Decision Logic
User Prompt
|
+-- Does the request imply creating a folder/directory?
| |
| +-- YES --> Extract folder path/name/flags --> Emit ONE `folder-creator` JSON payload
| |
| +-- NO --> Do not use this skillExamples
Example 1: Simple folder in current directory
User: "Create a folder named images here."
LLM emits: { "action": "create_folder", "thinking": "User wants a simple 'images' folder in cwd.", "properties": [ { "name": "folderPath", "value": "./" }, { "name": "folderName", "value": "images" }, { "name": "recursive", "value": "true" }, { "name": "description", "value": "Create images folder" } ] }
Example 2: Nested folders with recursive
User: "Create the path projects/my-app/src — make sure all parent folders are created."
LLM emits: { "action": "create_folder", "thinking": "User wants a full path created with all intermediate directories.", "properties": [ { "name": "folderPath", "value": "projects/my-app/" }, { "name": "folderName", "value": "src" }, { "name": "recursive", "value": "true" }, { "name": "description", "value": "Create nested folder structure" } ] }
Example 3: Explicit full path
User: "Make /home/user/temp/output — create if needed."
LLM emits: { "action": "create_folder", "thinking": "User provided a full absolute path to create; recursive must be true.", "properties": [ { "name": "folderPath", "value": "/home/user/temp/" }, { "name": "folderName", "value": "output" }, { "name": "recursive", "value": "true" }, { "name": "description", "value": "Create output directory" } ] }
Safety Guidelines
- Never create folders outside the user's intent (no arbitrary system paths).
- Refuse suspicious paths (e.g.,
C:\Windows\,/etc/,~/.ssh/). - When
recursive: true, ensure the operation does not accidentally create many directories outside the user's project. - Always echo the JSON payload so the user can review before execution.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

