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

Hand Off Before Context Death

skill-ariaxhan-the-agent-library-hand-off-before-context-death · by ariaxhan

>-

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

Install

$ agentstack add skill-ariaxhan-the-agent-library-hand-off-before-context-death

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

Security review

✓ Passed

No issues found. Passed automated security review. · v0.1.0 How review works →

  • Prompt-injection patterns
  • Secret / credential exfiltration
  • Dangerous shell & filesystem operations
  • Untrusted network calls
  • Known-malicious package signatures

What it can access

  • Network access No
  • Filesystem access No
  • Shell / process execution No
  • Environment & secrets No
  • Dynamic code execution No

From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.

View the full security report →

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-ariaxhan-the-agent-library-hand-off-before-context-death)

Reliability & compatibility

Security review passed
0 installs to date
no reviews yet
29d 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 Hand Off Before Context Death? Claim this listing to set pricing, connect Stripe payouts, and keep 70% of every sale.
Sign up to claim

About

Hand Off Before Context Death

A working session ends one of two ways: with its knowledge written down, or with its knowledge gone. The state you hold near the end of a session (what is verified, what is actually broken, what the real next move is) took the whole session to build, and it decays to zero the moment the session ends. Writing the handoff while that context is still loaded costs minutes. Writing it after, from a cold start, re-pays the entire exploration. Observed across production agent runs, the sessions that skipped this step forced their successors to rediscover the same dead ends before doing any new work.

The priority rule

When context or budget is constrained, inheritance outranks remaining implementation. Unfinished code is cheap: a later session writes it in an hour from a good handoff. Lost context is not recoverable at any price. The moment you notice the window closing, stop building and start writing, even mid-feature.

Stop conditions (when to write it)

  • The gate is green, the evidence is recorded, the work is pushed: stop improving.

Polish without a named defect is scope creep in a work shirt; write the handoff instead.

  • You have re-read the same failing output three times without a new hypothesis: stop.

You are looping, and self-detection of looping is unreliable. Write the handoff and hand the failure to a fresh context; a cold reader with your notes beats a hot reader with your fatigue.

  • Context is measurably low and substantial work remains: stop building now, while you

can still write an accurate map.

What the handoff contains

  • A state map with evidence. For each piece touched: its state and the named proof

(the command run, the count seen, the commit). "Auth works" is a claim; "auth suite, 34 tests green on " is inheritance.

  • The true next action, re-pointed. Not the plan from the start of the session; the one

thing the next session should actually do first, given everything learned since. Stale next-actions send successors down roads you already closed.

  • Failures and disagreements, preserved. What was tried and did not work, and why. What

you disagreed with and did anyway (or refused). Deleting the failures forces the next session to buy them again at full price.

  • Reality hooks. Checkable claims a later session can re-test cheaply: "the flaky test

is X, reproduce with Y", "the response should contain Z". These let the successor verify the handoff instead of trusting it.

Anti-patterns

  • "Just one more fix" past the closing window. You get neither the fix nor the handoff.
  • A handoff that is a plan, not a map. Aspirations without state and evidence tell the

next session nothing about what is real.

  • Smoothing over the failures. A handoff that reads like a success story hides exactly

the information that was most expensive to learn.

  • Writing it from memory the next day. The whole value is the loaded context; after it

unloads, you are a stranger summarizing hearsay.

  • Grinding a failure past the third re-read. More staring is not a hypothesis; a fresh

context with your notes is.

Output

One handoff document containing: the state map with named evidence per piece, the single re-pointed next action, the preserved failures and disagreements, and the reality hooks. Committed or saved where the next session will look first.

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.