Skip to content
Back to skills

Context Engineering

ASecurity

Use when managing AI context quality, session handoffs, or context optimization — keeps context fresh, relevant, and within optimal token budgets across agents and the intelligence system. Default skill for Starlight Orchestrator and Starlight Prime.

  • 10 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added June 11, 2026
ai-agentsgoperformance

Security analysis

A100/100

Scanned June 11, 2026

npx -y skills add frankxai/Starlight-Intelligence-System --skill context-engineering --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Context Engineering?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Context Engineering
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/frankxai-context-engineering/badge)](https://www.skillsdirectory.com/skills/frankxai-context-engineering)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: orchestration/context-engineering
description: Use when managing AI context quality, session handoffs, or context optimization — keeps context fresh, relevant, and within optimal token budgets across agents and the intelligence system. Default skill for Starlight Orchestrator and Starlight Prime.
type: agent-orchestration
---

# Context Engineering

> *"Context is the difference between noise and signal."*

## When This Skill Activates

- Managing AI context quality, session handoffs, context optimization
- Keywords: "context", "session", "continuity", "state", "handoff"
- Default for: Starlight Orchestrator, Starlight Prime

## What This Skill Does

Manages the quality, size, and relevance of context provided to agents and the intelligence system. Ensures context stays fresh, relevant, and within optimal token budgets. Absorbed from GSD/ACOS v4 context engineering patterns.

## Procedures

### Procedure 1: Context Quality Monitoring

1. Assess current context fill percentage:
   - 0-30%: Peak performance zone
   - 30-50%: Good quality, watch for degradation
   - 50-70%: Degrading, consider splitting tasks
   - 70%+: Poor quality, MUST spawn fresh context
2. Identify stale or irrelevant context
3. Recommend context refresh if quality is degrading
4. Create session handoff if fresh context needed

### Procedure 2: Context Assembly

1. Identify what context is needed for the current task
2. Load from vaults: relevant decisions, patterns, state
3. Load from notes: session continuity, recent learnings
4. Load from transmissions: cross-system updates
5. Prioritize by relevance (most relevant first)
6. Trim to fit token budget
7. Verify assembled context is sufficient

### Procedure 3: Session Handoff

1. Summarize current session state
2. Capture all pending work and decisions
3. Store in Session Note
4. Update Operational Vault with current state
5. Create continuation plan for next session
6. Ensure zero knowledge loss in handoff

## Integration Points

- **Vault:** Operational Vault (session state), all vaults (context sources)
- **Notes:** Session Notes (handoff records)
- **Agents:** Orchestrator (primary), Prime (system-wide context)

## Quality Criteria

- Is context within optimal token budget?
- Is irrelevant context removed?
- Is session handoff complete (zero knowledge loss)?
- Is the right context loaded for the task?

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…