Skip to main content
Glama

Skill Management MCP Server

by fkesheh

create_skill_file

Create new files within skill directories to build Python scripts, configuration files, data files, and documentation while automatically creating necessary parent directories.

Instructions

Create a new file within a skill directory. Automatically creates parent directories if they don't exist.

This tool allows you to:

  • Create new Python scripts or other executable files

  • Create configuration files (e.g., JSON, YAML, CSV)

  • Create data files and documentation

  • Build new functionality within a skill

Parameters:

  • skill_name: The name of the skill directory (e.g., 'my-skill')

  • file_path: Relative path for the new file (e.g., 'scripts/new_script.py', 'data/new_data.json')

  • content: The complete text content to write to the file

Behavior:

  • Creates parent directories automatically (e.g., if 'scripts/' doesn't exist, it will be created)

  • Does not overwrite existing files (use update_skill_file to modify existing files)

  • File_path must be relative to the skill's root directory

  • Use forward slashes for path separators

Returns: Success message with filename and character count.

Input Schema

NameRequiredDescriptionDefault
contentYesContent to write to the file
file_pathYesRelative path for the new file within the skill directory
skill_nameYesName of the skill

Input Schema (JSON Schema)

{ "properties": { "content": { "description": "Content to write to the file", "title": "Content", "type": "string" }, "file_path": { "description": "Relative path for the new file within the skill directory", "title": "File Path", "type": "string" }, "skill_name": { "description": "Name of the skill", "title": "Skill Name", "type": "string" } }, "required": [ "skill_name", "file_path", "content" ], "type": "object" }

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/fkesheh/skill-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server