curator_run
Archive stale agent-created skills using tier-aware rules. Validated skills stay, hypothesis skills age faster. Use dry run to preview changes.
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/)
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.
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.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| stale_after_days | No | ||
| archive_after_days | No | ||
| dry_run | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |