Write File

SkillFiles & storage

Lets your agent write content to a file, creating a new file or overwriting an existing one.

Instructions available. Your AI can read the instructions. Execution depends on the setup they require.

Add ahel to your AI once: Claude, ChatGPT, Cursor, Claude Code or Codex. Then ask it to use this.

Then ask your AI: use the Write File skill

About this skill

Write content to file, creating new or overwriting existing. When you need to create new files, update file content, or save generated code/data.

What this skill tells your AI

The instructions your AI receives, as published by openakita/openakita in skills/system/write-file/SKILL.md and read by ahel’s review.

写入文件内容。

Parameters

参数类型必填说明
pathstring是文件路径
contentstring是文件内容

Examples

创建配置文件:

{
  "path": "config.json",
  "content": "{\"debug\": true}"
}

写入代码文件:

{
  "path": "hello.py",
  "content": "print('Hello, World!')"
}

Notes

  • 会覆盖已存在的文件
  • 自动创建父目录(如果不存在)
  • 使用 UTF-8 编码

Related Skills

  • read-file: 读取文件
  • run-shell: 执行脚本

Signals

GitHub stars
2k
Forks
280
Last commit
Sep 2026
Advanced
Item type
skill
Key
write-file
Source
github.com/openakita/openakita