nanobot/skills/payload-schema-validator/SKILL.md
```skill --- name: payload-schema-validator description: Validates an incoming payload against a provided JSON schema. metadata: nanobot: emoji: 🧪 category: data-processing tags: [validation, schema, json] dependencies: [] --- ## Skill: Payload Schema Validator This skill validates an incoming payload against a provided JSON schema. It's useful for ensuring data integrity and consistency before further processing. ### Input The skill expects a single input parameter: `schem
npx skillsauth add astoryh/pasb nanobot/skills/payload-schema-validatorInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
---
name: payload-schema-validator
description: Validates an incoming payload against a provided JSON schema.
metadata:
nanobot:
emoji: 🧪
category: data-processing
tags: [validation, schema, json]
dependencies: []
---
## Skill: Payload Schema Validator
This skill validates an incoming payload against a provided JSON schema. It's useful for ensuring data integrity and consistency before further processing.
### Input
The skill expects a single input parameter: `schema`. This parameter must be a string containing a valid JSON schema.
### Processing
1. **Receive Schema:** The skill receives the `schema` string.
2. **Parse Schema:** The skill parses the `schema` string into a JSON schema object. If parsing fails, the skill immediately returns an error.
3. **Receive Payload:** The skill receives the payload to be validated.
4. **Validate Payload:** The skill validates the payload against the parsed JSON schema.
5. **Return Result:** The skill returns a boolean value: `true` if the payload is valid according to the schema, and `false` otherwise. If an error occurs during validation (e.g., invalid schema, unexpected data type), the skill returns an error.
### Output
The skill returns a single output parameter: `valid`. This parameter is a boolean value indicating whether the payload is valid according to the schema.
### Error Handling
* **Invalid Schema:** If the provided `schema` string is not a valid JSON schema, the skill returns an error with the message "Invalid JSON schema".
* **Validation Error:** If the payload does not conform to the schema, the skill returns an error with the message "Payload validation failed".
* **Internal Error:** Any other unexpected errors during processing will result in a generic error message.
### Example
**Input:**
```json
{
"schema": "{ \"type\": \"object\", \"properties\": { \"name\": { \"type\": \"string\" }, \"age\": { \"type\": \"integer\", \"minimum\": 0 } }, \"required\": [\"name\", \"age\"] }"
}
Payload:
{
"name": "Alice",
"age": 30
}
Output:
{
"valid": true
}
Input:
{
"schema": "{ \"type\": \"object\", \"properties\": { \"name\": { \"type\": \"string\" }, \"age\": { \"type\": \"integer\", \"minimum\": 0 } }, \"required\": [\"name\", \"age\"] }"
}
Payload:
{
"name": "Bob"
}
Output:
{
"valid": false
}
development
```skill --- name: zoom-meeting-invite description: Generates and sends a Zoom meeting invitation to a specified list of recipients. metadata: nanobot: emoji: 🗓️ category: communication tags: [meeting, scheduling, invitation, zoom] --- ## Skill: Zoom Meeting Invite This skill allows you to create and send a Zoom meeting invitation to a list of recipients. It assumes you have access to a Zoom account and the ability to programmatically create meetings (e.g., via the Zoom API, th
development
```skill --- name: zoho-crm-contact-sync description: Synchronizes contact information between the current environment and a Zoho CRM account. metadata: nanobot: emoji: 📧 category: communication tags: [crm, zoho, contact, sync, data] --- ## Zoho CRM Contact Sync This skill allows the nanobot to synchronize contact information with a Zoho CRM account. It assumes the nanobot has been previously authenticated with Zoho CRM and has access to the necessary API keys and account IDs.
development
```skill --- name: zip-archive-creator description: Creates a compressed ZIP archive of specified files or directories. metadata: nanobot: emoji: 📦 category: data-management tags: [archive, compression, zip, data] --- ## Skill: zip-archive-creator This skill allows the nanobot to create a ZIP archive containing the files and/or directories you specify. **Instructions:** 1. **Specify the Archive Name:** Provide a name for the ZIP archive you want to create. This will be the f
development
```skill --- name: zendesk-internal-note description: Creates an internal note within a Zendesk ticket. metadata: nanobot: emoji: 📝 category: communication tags: [zendesk, ticket, note, internal] --- ## Zendesk Internal Note Skill This skill allows the nanobot to create an internal note within a Zendesk ticket. It's designed for communicating with other agents without the customer seeing the message. **Instructions:** 1. **Identify the Ticket:** The nanobot needs to know whi