curator_run
Archives stale agent-created skills after configurable inactivity windows and reports pending changes by default; set dry_run to false to apply.
Instructions
Move stale agent-created skills to archive.
Lifecycle: active → stale when last activity > stale_after_days stale → archived when last activity > archive_after_days (also moves primary directory to .archive/ and removes its mirrors, so a sync cannot revive it)
Activity is the last use, foreground view or creation. Patches do not count: autonomous loops patch skills routinely, which is maintenance, not proof that anyone relies on the skill. A skill must spend the gap between the two windows in 'stale' before it is archived, and renewed activity moves a stale skill back to 'active'. Every new curator pass runs this with dry_run=False.
Contribution beats activity: a skill whose uses were followed by more user corrections (plus 'wrong' reports) than clean uses — at least SKILL_RETIRE_MIN_HARMFUL of them — goes stale and then archived even when it is used often. Above SKILL_ACTIVE_CAP local skills, the lowest- contribution loop skills that were quiet for a week go stale.
Tier-aware adjustments (the discrete trust signal trumps raw activity): • tier='validated' skills are NEVER stale-aged or archived — proven load-bearing knowledge stays alive regardless of recency. • tier='hypothesis' skills age faster — half the stale_after window (default 15d instead of 30d). Unproven skills don't get to linger. • tier='observed' uses the standard windows.
Covers every learning-loop origin (CURATABLE_SKILL_ORIGINS). NEVER touches:
• foreground (user-authored) skills — provenance check
• pinned skills — opt-out flag
• validated tier — proven externally
• skills with no created_by_origin set (unknown provenance — be safe)
dry_run=True (default) reports what would change without writing.
Set False to apply.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "curator_run"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dry_run | No | ||
| stale_after_days | No | ||
| archive_after_days | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |