jayantdevkar avatar

Link Ticket To Session

Explicitly links your Claude Code session to a Linear, Jira, GitHub issue, or GitHub PR so karma can cache the title and status for display. You trigger it with commands like "/link-ticket-to-session ABC-123" or "attach this session to PR octocat/repo#7". It won't fire just because you mention a ticket in conversation. The implementation is careful about GitHub's shared numbering between issues and PRs, preserving the URL path so karma's UI knows which kind you meant. It fetches metadata through your existing MCP servers when available but gracefully skips that step if they're not configured. The link persists in karma's database and upgrades the source flag if you had previously linked via branch detection or the dashboard.

GitHub stars
229
last updated
Jun 5, 2026

Install

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

Installs into .claude/skills of the current project.

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:

Sponsors

Details

Repository
github.com/jayantdevkar/claude-code-karma
Category
Git & Pull Requests
License
Apache-2.0
First seen
Jun 11, 2026
1lowdefy avatarl-prlowdefy/lowdefyCreate a draft pull request targeting develop. Auto-generates PR body from design files, GitHub issues, and/or commit history. Use when opening a PR.0skills.sh installs
2mediar-ai avatarreleasemediar-ai/screenpipeRelease the screenpipe monorepo. Bumps versions, generates changelog, triggers GitHub Actions for app, CLI, MCP, and JS packages.0skills.sh installs
3microck avatarusing-tmux-for-interactive-commandsmicrock/ordinary-claude-skillsWhen you need Claude to control interactive CLI tools like vim, git rebase -i, or Python REPLs, this provides a tmux-based pattern for...0skills.sh installs
4microsoft avatarazure-reliabilitymicrosoft/github-copilot-for-azureAssess and improve the reliability posture of PaaS Applications (Azure Functions and Azure App Service). Scans deployed resources for zone redundancy, ZRS stora0skills.sh installs
5mlflow avatarfetch-unresolved-commentsmlflow/mlflowFetch unresolved PR review comments using GitHub GraphQL API, filtering out resolved and outdated feedback.0skills.sh installs
6noobnooc avatarwtfnoobnooc/agentPre-launch and pre-commit audit for vibe coding projects. Use when asked to check whether a project is ready to ship, deploy, merge, or commit, especially for c0skills.sh installs