instruction-anchor-guard

Persist user-specified anchors with scopes and drift checks before actions.

3|Updated Feb 28, 2026
One-click install
npx skills add https://github.com/Dalomeve/bot-output --skill instruction-anchor-guard
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: instruction-anchor-guard
Source: https://github.com/Dalomeve/bot-output/tree/main/skills/instruction-anchor-guard
Command: npx skills add https://github.com/Dalomeve/bot-output --skill instruction-anchor-guard

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Preserve and enforce user-critical instructions across long-running sessions and plan-guarded interactions to prevent drift.

Core Features & Use Cases

  • Anchor capture and persistence for constraints with priorities
  • Drift detection and automatic or manual remediation before executing tasks
  • Rehydration of active anchors before planning and at critical milestones

Quick Start

Mark a constraint as important and let the anchor guard persist and validate it across long sessions.

Frequently Asked Questions about instruction-anchor-guard

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I prevent instruction drift during long AI sessions and context compaction?

An anchor guard prevents instruction drift by capturing and persisting user-specified constraints across long sessions. It actively validates these constraints before executing actions to maintain compliance throughout the interaction.

How does scope priority handling work for persistent session constraints?

Scope priority handling manages persistent session constraints by categorizing anchors into global, session, task, or channel scopes. The guard validates actions against these prioritized scopes to prevent conflicts and maintain execution compliance.

What is the best way to rehydrate critical constraints before planning a task?

Rehydrating critical constraints before planning involves reloading active anchors at critical milestones using an anchor guard. This process restores the original instruction context to ensure subsequent task planning remains fully compliant.

Can I get an audit trail when plan drift or instruction conflicts are detected?

Yes, an audit trail is generated when plan drift or instruction conflicts are detected. The system logs the discrepancy and provides specific remediation steps to help users resolve the conflict and restore instruction compliance.

Why does my AI assistant lose critical instructions during long conversations?

Your AI assistant loses critical instructions during long conversations due to context compaction and plan drift. An anchor guard mitigates this by persisting constraints and running drift checks before executing actions to maintain instruction fidelity.

When do I need to set up guardrails for constraint persistence in session management?

You need to set up guardrails for constraint persistence when running long sessions or plan-guarded interactions prone to drift. This ensures critical instructions are rehydrated and enforced at key planning milestones to maintain compliance.