Skip to content
SkillModel-led1,335 tokens in use

SkillOpt Sleep for the dsh Agent

Drives SkillOpt-Sleep through seven skillopt tools so the dsh agent can review past sessions and stage skill edits that pass a held-out gate.

19,169 stars on the repository MIT Licensemicrosoft/SkillOpt · plugins/dsh/skills/skillopt-sleep

Skill label

measured from its files

What installing SkillOpt Sleep for the dsh Agent costs

131tokens idle
1,335tokens in use

Idle is what sits in context while the skill is installed. In use is its instructions, loaded when it runs. Counts are approximate, made offline with cl100k_base.

Model dependence Model-led

Script-ledMixedModel-led

Mostly instructions, so how well it works depends on the model that follows them.

This describes the skill's structure, how much of it is scripts. It does not say how well it works.

Touches

shelldetectednetworkdetected

Declared tags come from the skill's frontmatter; detected ones from its scripts, its code blocks and the commands it names in inline code. This is detected, not audited.

How it scores

Quality

How well the skill is written, counted from its own files: its frontmatter, its steps, examples, stated output and constraints, its size and whether every file it ships is one it names.How we score it →
Excellent
  • Frontmatter12/15
  • Structure25/25
  • Examples12/15
  • Output15/15
  • Size15/15
  • Resources10/15

Security

Starts at 100 and loses points for each thing in the skill's files that a reader should look at first.How we score it →
Excellent
  • Reaches the network−10

    does this on the machine, and the frontmatter does not say so

    SKILL.md, line 113
  • Runs shell commands−5

    does this on the machine, and the frontmatter does not say so

    SKILL.md, line 113

Repository health

Pre-computed score based on development activity, maintenance, community, maturity, and trend momentum.How we score it →
Good
  • Development activity96
  • Maintenance84
  • Community68
  • Maturity28
  • Momentum40

SkillOpt Sleep for the dsh agent explains how to run the sleep cycle through the skillopt tools the dsh-skillopt plugin exposes: status, dry run, run, adopt, harvest, schedule and unschedule.

It harvests past sessions, mines recurring tasks, replays them through a backend and stages skill proposals that passed a held-out validation gate. Live files change only when the adopt tool runs.

What You Get

  • A table of the seven skillopt tools and what each does
  • A step-by-step example flow with a mock default and a real backend run
  • A parameter table covering project, backend, source, model, task cap and preferences
  • A configuration snippet for the plugin and the list of advanced engine keys

Common Use Cases

  • Have the agent learn recurring preferences across sessions and store them in skill documents
  • Preview a cycle with the mock backend before using real model budget
  • Pass house rules such as preferred test tooling through the preferences parameter
  • Schedule a nightly run for a project and review the staged report later

What Makes It Unique

Auto-adopt is an operator-only setting in the plugin configuration that the model cannot turn on, so adoption through the skillopt_adopt tool is the one live-change boundary. It also supports a long list of backends and transcript sources, including pi and opencode.

Under The Hood

The skill is prose that tells the agent to call the skillopt tools, which run the Python skillopt_sleep engine. Harvesting scans supported local session records read-only. A real backend sends truncated transcript excerpts and derived tasks to its provider, so the skill describes exporting tasks, redacting them and marking them reviewed first. Runs write staging files in the project folder, the adopt tool copies staged files over live skill documents after a backup, and the schedule tool installs a nightly cron entry. The validation example installs the skillopt package with pip and runs a Python demo script.

Join founders building with open source

Opinionated takes, migration guides, cost-saving tips, and insights from the open source ecosystem.

Subscribe on SubstackJoin 750+ subscribers