بنقرة واحدة
session-handover
Update handover.md with current session state and optionally exit for a fresh session
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
Update handover.md with current session state and optionally exit for a fresh session
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
Enforces lean harness discipline — orchestrator session delegates ALL implementation to sub-agents via chanakya run, never touches files or debugs inline
Use when checking token burn, usage cost, or run history for chanakya agent runs
DEPRECATED — session setup now handled by CLAUDE.md (chanakya harness) + SessionStart hook (ag preflight). No skill invocation needed.
استنادا إلى تصنيف SOC المهني
| name | session-handover |
| description | Update handover.md with current session state and optionally exit for a fresh session |
| trigger | /session-handover |
Keep sessions lean. Update handover.md at every task boundary (PR merged). Start fresh sessions instead of compacting.
After each PR merge → update handover.md → consider exiting.
If context above 60%: finish current task, update handover.md, exit. Start fresh session — loads memory + handover.md (~200 tokens) vs ~2000+ for compacted session.
# ag CLI — Handover
**Date:** <YYYY-MM-DD>
**State:** <one-line summary of current state>
---
## What Was Built (this session)
<bullet list of completed work>
## Current State
<ag commands and their status>
## Next Session Goal
<specific next task>
### Setup Required Before Starting
<pre-flight steps>
### Running the Next Task
<exact command to run>
### What to Watch For
<success/failure signals>
### Debug
<debug commands if needed>
---
## Known Issues / Gotchas
| Issue | Fix |
---
## Key File Paths
<important paths>
---
## Git State
<both repos, branch, commit>
Overwrite handover.md fully with current state. No need to read first.
Compacted session: ~2000 tokens of summary loaded every message. Fresh session with handover.md: ~200 tokens.
10x token reduction per message for the orchestrator session.