# Send Context Anchor to your agent
Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.
## Fast path
- Download the package from Yavira.
- Extract it into a folder your agent can access.
- Paste one of the prompts below and point your agent at the extracted folder.
## Suggested prompts
### New install

```text
I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Then review README.md for any prerequisites, environment setup, or post-install checks. Tell me what you changed and call out any manual steps you could not complete.
```
### Upgrade existing

```text
I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Then review README.md for any prerequisites, environment setup, or post-install checks. Summarize what changed and any follow-up checks I should run.
```
## Machine-readable fields
```json
{
  "schemaVersion": "1.0",
  "item": {
    "slug": "context-anchor",
    "name": "Context Anchor",
    "source": "tencent",
    "type": "skill",
    "category": "AI 智能",
    "sourceUrl": "https://clawhub.ai/Boscoeuk/context-anchor",
    "canonicalUrl": "https://clawhub.ai/Boscoeuk/context-anchor",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadUrl": "/downloads/context-anchor",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=context-anchor",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "packageFormat": "ZIP package",
    "primaryDoc": "SKILL.md",
    "includedAssets": [
      "README.md",
      "SKILL.md",
      "scripts/anchor.sh"
    ],
    "downloadMode": "redirect",
    "sourceHealth": {
      "source": "tencent",
      "slug": "context-anchor",
      "status": "healthy",
      "reason": "direct_download_ok",
      "recommendedAction": "download",
      "checkedAt": "2026-04-30T18:51:24.955Z",
      "expiresAt": "2026-05-07T18:51:24.955Z",
      "httpStatus": 200,
      "finalUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=context-anchor",
      "contentType": "application/zip",
      "probeMethod": "head",
      "details": {
        "probeUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=context-anchor",
        "contentDisposition": "attachment; filename=\"context-anchor-1.0.0.zip\"",
        "redirectLocation": null,
        "bodySnippet": null,
        "slug": "context-anchor"
      },
      "scope": "item",
      "summary": "Item download looks usable.",
      "detail": "Yavira can redirect you to the upstream package for this item.",
      "primaryActionLabel": "Download for OpenClaw",
      "primaryActionHref": "/downloads/context-anchor"
    },
    "validation": {
      "installChecklist": [
        "Use the Yavira download entry.",
        "Review SKILL.md after the package is downloaded.",
        "Confirm the extracted package contains the expected setup assets."
      ],
      "postInstallChecks": [
        "Confirm the extracted package includes the expected docs or setup files.",
        "Validate the skill or prompts are available in your target agent workspace.",
        "Capture any manual follow-up steps the agent could not complete."
      ]
    }
  },
  "links": {
    "detailUrl": "https://openagent3.xyz/skills/context-anchor",
    "downloadUrl": "https://openagent3.xyz/downloads/context-anchor",
    "agentUrl": "https://openagent3.xyz/skills/context-anchor/agent",
    "manifestUrl": "https://openagent3.xyz/skills/context-anchor/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/context-anchor/agent.md"
  }
}
```
## Documentation

### Context Anchor Skill

Helps agents recover context after compaction by scanning memory files and generating a "here's where you are" briefing.

### Why This Exists

Context compaction loses memory. Files survive. But after waking up fresh, you need to:

Know what you were working on
See decisions that were made
Find open loops that need closing
Get oriented fast

This skill automates that recovery.

### Quick Start

# Full briefing (default)
./scripts/anchor.sh

# Just show current task
./scripts/anchor.sh --task

# Just show active context files
./scripts/anchor.sh --active

# Just show recent decisions
./scripts/anchor.sh --decisions

# Show open loops / questions
./scripts/anchor.sh --loops

# Scan specific number of days back
./scripts/anchor.sh --days 3

### What It Scans

SourceWhat It Extractsmemory/current-task.mdCurrent task status, blockers, next stepsmemory/YYYY-MM-DD.mdRecent daily logs (last 2 days by default)context/active/*.mdIn-progress task filesDaily logsDecisions (lines with "Decision:", "Decided:", "✅")Daily logsOpen loops (lines with "?", "TODO:", "Blocker:", "Need to")

### Output Format

The script outputs a structured briefing:

═══════════════════════════════════════════════════════════
                    CONTEXT ANCHOR
              Where You Left Off
═══════════════════════════════════════════════════════════

📋 CURRENT TASK
───────────────────────────────────────────────────────────
[Contents of memory/current-task.md or "No current task set"]

📂 ACTIVE CONTEXT FILES
───────────────────────────────────────────────────────────
• context/active/project-name.md (updated 2h ago)
  └─ First line preview...

🎯 RECENT DECISIONS (last 2 days)
───────────────────────────────────────────────────────────
[2026-01-30] Decision: Use Cloudflare Pages for hosting
[2026-01-30] ✅ Completed email capture setup

❓ OPEN LOOPS
───────────────────────────────────────────────────────────
[2026-01-30] Need to enable SFTP on NAS
[2026-01-30] TODO: Create Product Hunt account

═══════════════════════════════════════════════════════════

### Integration with AGENTS.md

Add to your "Every Session" routine:

## Every Session

Before doing anything else:
1. Run \`./skills/context-anchor/scripts/anchor.sh\` for orientation
2. Read \`SOUL.md\` — this is who you are
3. Read \`USER.md\` — this is who you're helping
...

Or use it manually when you feel lost about context.

### Change workspace root

WORKSPACE=/path/to/workspace ./scripts/anchor.sh

### Change days to scan

./scripts/anchor.sh --days 5  # Scan 5 days back

### No Dependencies

Pure bash. Uses only:

find, grep, head, tail, date, stat
Works on macOS and Linux
No external tools required

### When to Use

Session start: Quick orientation on what's happening
After compaction: Recover lost context
Feeling lost: "Wait, what was I doing?"
Handoff: Show another agent where things stand
Daily review: See what decisions were made
## Trust
- Source: tencent
- Verification: Indexed source record
- Publisher: Boscoeuk
- Version: 1.0.0
## Source health
- Status: healthy
- Item download looks usable.
- Yavira can redirect you to the upstream package for this item.
- Health scope: item
- Reason: direct_download_ok
- Checked at: 2026-04-30T18:51:24.955Z
- Expires at: 2026-05-07T18:51:24.955Z
- Recommended action: Download for OpenClaw
## Links
- [Detail page](https://openagent3.xyz/skills/context-anchor)
- [Send to Agent page](https://openagent3.xyz/skills/context-anchor/agent)
- [JSON manifest](https://openagent3.xyz/skills/context-anchor/agent.json)
- [Markdown brief](https://openagent3.xyz/skills/context-anchor/agent.md)
- [Download page](https://openagent3.xyz/downloads/context-anchor)