Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.selftune.dev/llms.txt

Use this file to discover all available pages before exploring further.

Usage

selftune workflows [options]
Analyzes session history to find patterns where multiple skills are used together.

Options

FlagDescription
--skill NAMEFocus on workflows involving this skill
--skill-path PATHPath to SKILL.md for saving workflow docs
--min-occurrences NMinimum times a pattern must appear
--window NNumber of recent sessions to analyze
--jsonOutput as JSON

Saving workflows

Save discovered workflows to a skill’s documentation:
selftune workflows save <name-or-index> --skill-path path/to/SKILL.md

Scaffolding workflow skills

Generate a standalone skill from a discovered workflow pattern:
selftune workflows scaffold <name-or-index> \
  --output-dir path/to/skills/ \
  --skill-name my-workflow \
  --description "Coordinates X then Y" \
  --write
FlagDescription
--output-dir PATHDirectory to write the new skill into
--skill-name NAMEName for the generated skill
--description TEXTDescription for the generated package router
--writeActually write the package files (without this, previews only)
--forceOverwrite existing skill directory
The scaffold now writes the same package shape as selftune create scaffold: SKILL.md, workflows/default.md, references/overview.md, empty scripts/, empty assets/, and selftune.create.json.

Automated proposals via orchestrate

selftune run automatically discovers workflow patterns and proposes new skills after the evolution and watch phases. See orchestrate for details.