SKILL.md file.
Add skills to a task
Place the skills in the environment build context:environment/Dockerfile
environment.skills_dir to that sandbox directory:
task.toml
How Harbor passes task skills
Harbor does not upload the task’s skill files separately: they already exist in the built or prebuilt environment atenvironment.skills_dir. Before creating the agent, Harbor passes that path to the agent integration as skills_dir.
Compatible pre-integrated agents then copy or register the skills in their native configuration directory. A custom agent receives skills_dir in its constructor and should use it during setup() or run(). The path remains available in the sandbox as well.
Setting
environment.skills_dir does not copy files into the environment. Ensure the directory exists in the built or prebuilt image.Combine task and job skills
Job-provided skills are uploaded into the task’senvironment.skills_dir, so the agent receives both sources through one directory. A job-provided skill replaces a bundled skill with the same directory name for that trial.
If the task does not declare environment.skills_dir, job-provided skills use /harbor/skills.
