Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

linear-context-handover

Skill by langfuse

Use Linear as a long-term memory for agent work. It rebuilds a feature's history before changes and writes a handover for the ticket description when work wraps up, for teams whose agents work across sessions.

  • Score 85
  • 38k stars
  • NOASSERTION
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install linear-context-handover

Built from the published package, never by AI.

git clone --depth 1 https://github.com/langfuse/langfuse /tmp/langfuse && mkdir -p ~/.claude/skills && cp -r /tmp/langfuse/.agents/skills/linear-context-handover ~/.claude/skills/linear-context-handover

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install linear-context-handover in Claude Code

Skills can run scripts on your machine. Some need an API key: check the README.

About

linear-context-handover is an agent skill that uses Linear as the organization's long-term memory. Before an agent changes an existing feature, it follows the code's git history to the pull request, then to the ticket named in the branch, then to parent tickets, subtickets, relations and the project to recover earlier decisions. When work wraps up, it drafts a handover block for the ticket description covering decisions, reversals and open questions.

A bundled script, lf-context.sh, runs the lookup steps from a checkout and prints the ticket ids, URLs and the MCP calls needed for the rest. The skill sends the handover only after the user agrees, and it defers write rules and labels to a separate linear-agent-writes skill. It is aimed at engineering teams whose agents work on existing features and need prior reasoning to carry over between sessions.

Written from the project's SKILL.md and checked against it.

What it can do

  • Reconstruct feature historyWalks git log, the pull request, the branch's ticket, and the project to find earlier reasoning.
  • lf-context.shScript that runs the lookup from a checkout, given a file path, commit sha, PR number or ticket id.
  • Handover blockDrafts a paste-ready block for the ticket description covering reversals, decisions and open items.
  • patchAppends the handover to the description so human text is not rewritten.
  • prepare_attachment_uploadPrepares a file upload for attaching analyses or screenshots to a Linear ticket.
  • create_attachment_from_uploadAttaches a prepared upload to the Linear ticket.
  • AI edited filterFinds tickets where earlier agent sessions left context in their descriptions.

What you need

  • Linear access through an MCP connection or LINEAR_API_KEY
  • A git checkout of the repository
  • GitHub CLI (gh) for pull request lookup
  • bash to run lf-context.sh
  • The linear-agent-writes skill

Try asking

  • Reconstruct the history of this screen before I change it
  • Write the handover for this ticket and ask before appending
  • Attach this analysis to the Linear ticket as a markdown file

Good to know

  • Writes to Linear follow the linear-agent-writes skill and need explicit approval.
  • Linear uploaded file URLs expire in about five minutes, so the skill uses attachments.
  • Without LINEAR_API_KEY the script prints MCP calls for the agent to run.
  • Without Linear access the skill says so and does not rebuild history from code alone.

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: .agents/skills/linear-context-handover/SKILL.md, .agents/skills/linear-context-handover/scripts/lf-context.sh. This looks for known risky patterns and is not a full audit. How grades work

Alternatives to linear-context-handover

All alternatives →

Compare with agentmemory-config, understand-knowledge or reports

linear-context-handover: common questions

Does it write to Linear without asking?

No. It asks first and appends the handover block only after an explicit yes, following the linear-agent-writes rules.

How does it find a feature's history?

It follows git log to the commit's pull request, then uses the ticket id in the branch name, then walks parent tickets, subtickets, relations and the project.

Why does it use attachments instead of image links?

Linear's uploaded file URLs are signed and expire in about five minutes, so a pasted link is dead by the time someone opens the ticket.

How do I install linear-context-handover?

Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.

Is linear-context-handover free?

The code is published under the NOASSERTION licence. The service it connects to may have its own pricing.

Is linear-context-handover safe to use?

It scores 85 of 100. Grades: maintenance A, licence F, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.

What are alternatives to linear-context-handover?

Similar skills: agentmemory-config, understand-knowledge, reports, forget.

linear-context-handover Install

Add to stack

Loading.