🔧 Contextnest Curate

Sweep the ContextNest vault to correct stale information or refile nodes across folders. Use when an architectural decision or fact has changed and all references need updating.

Contextnest Curate instructions

ContextNest Vault Curation & Sweep

Update facts across the vault and prevent stale knowledge drift.

Steps

  1. Locate All Stale References: Find every node mentioning the old fact:
   ctx search "<old-term-or-fact>" --json
  1. Reconstruct & Review Prior State: Check the current version of each affected node:
   ctx history <id> --json
  1. Update Nodes: Read the existing body first to preserve unrelated content:
   ctx read <id> --body

Apply the update — the whole body, through stdin (never --body "…\n…", which stores a literal \n):

   ctx update <id> --body-file - <<'EOF'
   <updated-content>
   EOF
  1. Refile if Structure Changed: To move a node to another folder, verify structure rules on the target folder first:
   ctx structure --folder <target-folder> --json
   ctx move <id> <target-folder>
  1. Report Summary: List all updated node IDs and note any held reviews for the user to approve.

Related Skills

Get the best new skills
in your inbox

Weekly roundup of top Claude Code skills, MCP servers, and AI coding tips.