Skip to content

Instantly share code, notes, and snippets.

@svallory
Created June 5, 2024 05:54
Show Gist options
  • Save svallory/764c49cc07fc4d5581256f9702279e02 to your computer and use it in GitHub Desktop.
Save svallory/764c49cc07fc4d5581256f9702279e02 to your computer and use it in GitHub Desktop.
File Management Skill for GPT Remote
Error in user YAML: (<unknown>): mapping values are not allowed in this context at line 8 column 11
---
name: WriteFile
version: 1.0.0
description: A plugin to write content to a file
original_url: <https://example.com/plugin/writeFile.md>
endpoints:

- path: /write-file
    method: POST
    handler: writeFileHandler
inputs:
- name: path
    type: string
    description: The file path where the content will be written
- name: content
    type: string
    description: The content to write to the file
outputs:
- name: status
    type: string
    description: The status of the write operation
---

Write File Action

Writes content to a file.

name: WriteFile
version: 1.0.0
description: A plugin to write content to a file
original_url: https://example.com/plugin/writeFile.md
endpoints:

- path: /write-file
    method: POST
    handler: writeFileHandler
inputs:
- name: path
    type: string
    description: The file path where the content will be written
- name: content
    type: string
    description: The content to write to the file
outputs:
- name: status
    type: string
    description: The status of the write operation
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment