New advertisers: 50% off your first month with code FIRSTMONTHSee slots
jayantdevkar avatar

Link Ticket To Session

Links the current Claude Code session to a Linear, Jira, or GitHub ticket and caches its status.

GitHub stars
341
last updated
Jun 5, 2026
View on GitHub

What it does

  • Covers linking the session to Linear, Jira, GitHub Issues, and GitHub Pull Requests, with title and status fetched via configured MCP servers
  • Handles GitHub issues and PRs by URL path, since both share one owner/repo#N numbering namespace
  • Enforces read-only behavior: karma stores the link and metadata locally and never writes back to the ticket provider
  • Designed for explicit link requests such as /link-ticket-to-session ABC-123, not passing ticket mentions in conversation

Install

$ npx -y skills add jayantdevkar/claude-code-karma --skill link-ticket-to-session -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

You are linking the current Claude Code session (${CLAUDE_SESSION_ID}) to: $ARGUMENTS

Karma is a read-only observer on the user's machine. It stores the link and caches title/status for display, but never writes back to the ticket provider. You fetch metadata via the user's already-configured MCP server.

Karma's API URL comes from KARMA_API_URL (set by users on non-default ports/hosts) with http://localhost:8020 as fallback. Inline ${KARMA_API_URL:-http://localhost:8020} in every curl below — bash variables don't persist across separate Bash tool calls, so a top-of-script assignment would be empty by the time the next curl runs.

Step 1 — Parse $ARGUMENTS

Recognized forms:

Details

Repository
github.com/jayantdevkar/claude-code-karma
Categories
Productivity & Notes, Agent Workflow & Planning
License
Apache-2.0
First seen
Jun 11, 2026

Similar to Link Ticket To Session

More Productivity & Notes