AgentStack
Browse Sign in
Browse Why AgentStack Sell Docs
Sign in
SKILL verified MIT Self-run

Reorient

skill-fangxm233-cortex-agent-reorient · by fangxm233

Use when a project undergoes a direction change — reorientation, scope redefine, approach revert, or major pivot. This skill ensures that ALL context files are updated consistently, not just the obvious ones. Invoke this skill proactively whenever you find yourself changing a project's current phase in STATUS.md, redefining milestones in roadmap.md, deprecating experiments, or reverting an approa…

No reviews yet
0 installs
28 views
0.0% view→install

Install

$ agentstack add skill-fangxm233-cortex-agent-reorient

✓ scanned · ✓ verified, works with Claude Code, Cursor, and more.

Verified badge

Passed review? Show it. Paste this badge into your README, it links to the public security report.

AgentStack Verified badge Links to your public security report.
[![AgentStack Verified](https://agentstack.voostack.com/badges/verified.svg)](https://agentstack.voostack.com/security/report/skill-fangxm233-cortex-agent-reorient)

Reliability & compatibility

Security review passed
0 installs to date
no reviews yet
2mo ago

Declared compatibility

Claude CodeClaude Desktop

Compatibility is declared by the source manifest. End-to-end runtime verification is coming, see below.

Preview Execution monitoring

We're building live execution health for every listing: tool-call success rate, median latency, uptime, and last-checked timestamps, measured, not self-reported. It isn't live yet, so we don't show numbers we can't stand behind.

How agent discovery & health will work →
Are you the author of Reorient? Claim this listing to set pricing, connect Stripe payouts, and keep 70% of every sale.
Sign up to claim

About

Reorient

You are performing a project reorientation — a systematic propagation of a direction change across all context files.

This skill exists because of a repeatedly observed failure mode: when a project changes direction, the session that makes the change updates the "core" files (STATUS.md, roadmap.md, new TASKS entries) but misses "peripheral" targets (mission.md, CORTEX.md index, existing task descriptions, experiment deprecation notices, decision records). Fleet workers then faithfully execute stale instructions, producing wasted or wrong work.

Real examples that motivated this skill:

  • A task said "test_lights evaluation" but eval config had changed to L1-only → 1.5h GPU wasted
  • Project reoriented from symmetric to directed inference, but mission.md/roadmap.md never updated
  • CORTEX.md experiment index still described a deprecated range after R1 was redefined
  • New tasks created with [[double-brackets]] broke the parser for 3 hours

The core principle: a direction change is not complete until every file a fleet worker might read has been checked for consistency.

Target

$ARGUMENTS

If a project name is provided, reorient that project. If empty, ask which project is being reoriented.

Step 1: Declare the Change

Before touching any files, articulate the change clearly. Write these three items (you'll include them in the final commit and checklist):

  1. What changed: ``
  2. Why: the trigger (failed experiment, user feedback, new evidence)
  3. Scope of impact: which milestones, experiments, and tasks are affected

If you're already in the middle of making the change (e.g., you just updated STATUS.md), reconstruct this declaration from what you've already done. The declaration doesn't need to be a separate document — it's the mental model that guides the propagation scan.

Step 2: Update Core Files

These are the files that directly express the change. Update them first:

| File | What to update | |------|---------------| | STATUS.md | Current Phase/Focus section to reflect new direction | | roadmap.md | Affected milestone definitions and verification conditions | | experiments/index.md | Mark affected experiments as superseded or deprecated in the index table |

If any of these are already updated (because you did it before invoking this skill), skip to Step 3. The value of this skill is in Step 3, not Step 2.

Step 3: Propagation Scan

This is the critical step. Scan every .md file in the project directory and check consistency with the new direction.

3a. Discover all files

find context/projects// -name "*.md" -type f

3b. Check each file against the new direction

For each file, read it and assess:

| File | What to check | |------|--------------| | mission.md | Problem definition, success criteria — still accurate? (Needs user confirmation to modify per safety rules) | | CORTEX.md (project-level) | Index descriptions — do they reflect current experiment range, file structure, phase? | | idea.md (if exists) | Framing, hypothesis — still aligned with new direction? | | knowledge/ (if exists) | Any knowledge entries (knowledge/K-NNN.md) based on now-deprecated experiment conclusions? | | ISSUES.md | Any issues that are resolved or irrelevant under new direction? | | decisions/ (all files) | Any DR that references the old framing or old assumptions? Update Status line if superseded. | | TASKS.md (per-task) | See detailed task check below | | Other .md files | Any project-specific docs (codebase docs, asset plans, etc.) — stale references? |

3c. Detailed TASKS.md check

This is where most fleet drift originates. Check every uncompleted task individually:

For each - [ ] task:

  1. Description accuracy: Does the task text match the new direction? Watch for:
  • Eval configurations that changed (e.g., "test_lights" vs "L1-only")
  • Method names that changed (e.g., "symmetric" vs "directed")
  • Experiment IDs that were deprecated
  • Checkpoint references that are no longer valid
  1. Dependency validity: Are [depends-on: XXXX] targets still relevant?
  2. Tag formatting: Verify [single-brackets], not [[double-brackets]] or malformed nesting
  3. Blocked-by gates: Should Phase N tasks have a validation gate (e.g., [blocked-by: user confirms X])?

If a task is stale but you can confidently update it → update the description. If a task is stale and you're unsure how to update it → add [blocked-by: context-stale — needs review after reorientation].

3d. Check OVERVIEW.md

Read context/OVERVIEW.md and verify the project's one-line status is still accurate.

Step 4: Execute Updates

Update all files marked as needing changes in Step 3.

Important constraints:

  • mission.md modifications require user confirmation (per CORTEX.md safety boundary). If mission.md needs updating, flag it in the checklist and ask the user.
  • Don't create new decision records — the reorient skill handles propagation, not decision-making. The direction change itself should already be documented by whatever triggered it.
  • Deprecated experiment full-text entries: If you marked experiments as deprecated in the index (Step 2), also add a deprecation notice to the full-text entry body so that a worker reading only the full text (not the index) sees the deprecation.

Step 5: Propagation Checklist

Output a complete verification table. This is the deliverable of the reorient skill — it proves every file was checked.

## Reorientation Propagation Checklist

**Project**: 
**Change**:  → 
**Trigger**: 
**Date**: YYYY-MM-DD

| # | File | Status | Change Summary |
|---|------|--------|---------------|
| 1 | STATUS.md | updated | Current phase → X |
| 2 | roadmap.md | updated | M2 redefined: ... |
| 3 | mission.md | no change needed | Problem definition unaffected |
| 4 | CORTEX.md | updated | Experiment index range corrected |
| 5 | TASKS.md (b2b4) | updated | eval scope → L1-only |
| 6 | TASKS.md (ac1d) | blocked | context-stale: needs user review |
| ... | ... | ... | ... |

**Files checked**: N/N
**Tasks checked**: N uncompleted tasks
**Stale tasks blocked**: N
**Needs user confirmation**: mission.md (yes/no)

Status values:

  • updated — Changed in this reorient
  • no change needed — Checked and consistent
  • blocked — Marked context-stale, needs human review
  • needs confirmation — Requires user approval (e.g., mission.md)
  • already current — Was updated before this skill was invoked

Step 6: Commit

Commit all changes as a single atomic commit:

: reorient —  → 

Include the propagation checklist summary in the commit body (how many files checked, how many updated, how many tasks blocked).

Behavior Guidance

  • Be thorough, not fast. The whole point of this skill is to catch what you'd normally miss. Reading every file in the project directory takes 2 minutes; missing a stale task costs hours.
  • Check existing tasks individually. The most common drift is in task descriptions. Don't just scan TASKS.md as a whole — read each uncompleted task line by line.
  • When in doubt, block the task. Adding [blocked-by: context-stale] is cheap and reversible. A fleet worker executing a stale task is expensive and irreversible.
  • This skill is idempotent. Running it twice should produce no additional changes if the first run was thorough.
  • Don't skip files because they "probably" don't matter. The retrospective showed that mission.md, idea.md, and project CORTEX.md are the most commonly missed — precisely because they seem peripheral.

Source & license

This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.

Install and usage instructions live in the source repository linked above.

Reviews

No reviews yet, be the first.

Versions

  • v0.1.0 Imported from the upstream source.