Install any skill in seconds. Free to start, no credit card required.
Get Started Free →difyctl operates a Dify server's catalog of operations and builds, tests, publishes and changes Workflow and Chatflow apps.
18% 64%+45 ptsof test cases passed
Passed 14 of 22 test cases with the skill, and 4 of 22 without it.
3 of 3 safety checks passed
Not used yet
A workspace skill is a folder with a SKILL.md at its root, plus any files it uses. Skills have a draft and published versions. Import writes the draft. Agents use only what is published.
difyctl get skill lists the skills in the workspace.difyctl describe skill --skill-id <skill_id> shows one skill. Keep its draft_hash. latest_version is null while the skill has never been published.difyctl get skill version --skill-id <skill_id> lists the published versions.SKILL.md at its root. name and description in its frontmatter are required.difyctl import skill --files <dir>difyctl publish skill --skill-id <skill_id>. Import never publishes. Use the skill_id from the import result.A name already taken gives 409 skill_name_conflict. Its hint is an import with --skill-id set to the skill that has the name. Use it only if the human wants to replace that skill. If another import took the name a moment earlier, the server does not know that skill's id, so the hint is difyctl get skill --keyword <name> instead. Take the id from that list.
difyctl describe skill --skill-id <skill_id> and keep draft_hash.difyctl export skill --skill-id <skill_id> --output <name>.zip saves the draft as a zip.unzip -q <name>.zip -d <dir>, or python3 -m zipfile -e <name>.zip <dir>, or on Windows tar -xf <name>.zip -C <dir>.difyctl import skill --files <dir> --skill-id <skill_id> --draft-hash <draft_hash>difyctl publish skill --skill-id <skill_id>Leaving out --draft-hash on an overwrite skips the conflict check, so the import replaces whatever the draft holds now.
The folder replaces the whole draft. A file you leave out of the folder is deleted from the draft.
If step 5 gives 409, someone changed or published the skill since you took the hash. Run steps 1 to 4 again and redo your edits on the new export.
Export the published version, not the draft: difyctl export skill --skill-id <skill_id> --version-id <version_id>. Take <version_id> from latest_version.id in the describe skill result.
difyctl get skill version --skill-id <skill_id>.Next to this one in the catalogue, plus more from the same author.