Create & Publish
Repository-based tasks are standalone projects that can be published and shared with other Compozy users. You can create tasks using YAML configuration files that define the task’s metadata, schema, and execution flow.
Unlike tools and agents which require implementation in TypeScript or Python, tasks are purely configuration-based using YAML files.
Repository Structure
Manifest File
The manifest.yaml
defines your task’s metadata, configuration, and dependencies:
Task Configuration
The tasks/main.yaml
file defines your task’s execution flow and input schema. Note that outputs are handled by the executed components (tools, agents, or MCPs):
Publishing Process
Prepare Your Repository
- Initialize a GitHub repository
- Set up CI/CD workflows for testing
- Include comprehensive documentation in README.md
Validate
Ensure your task configuration is valid:
Version and Release
- Use semantic versioning (MAJOR.MINOR.PATCH)
- Create GitHub releases with detailed changelogs
- Tag releases (e.g.,
v1.0.0
)
Submit to Registry
Once your task is ready for distribution:
After submission, our team will review your task to ensure it meets our quality and security standards. You’ll receive notifications about the review process and when your task is approved and listed in the registry.
Make sure your task follows these best practices:
- Use semantic versioning for your task versions
- Include comprehensive documentation in README.md
- Define clear input/output schemas
- Use environment variables for sensitive configuration
- Follow the single responsibility principle