link-ticket-to-session SKILL.md skillA

link-ticket-to-session from jayantdevkar/claude-code-karma is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.

Install it, pinned
mdr add jayantdevkar/claude-code-karma/link-ticket-to-session@git:20260729.7aece6a

Pins git:20260729.7aece6a in mdr.lock. Pin the fingerprint instead.

Audit grade
A, 17 of 17 checks passed
Kind
SKILL.md skill
Repository
jayantdevkar/claude-code-karma
Path
skills/link-ticket-to-session/SKILL.md
Versions recorded
2
Latest version
git:20260729.7aece6a, committed Jul 29, 2026
First version recorded
May 19, 2026
Size
7,276 bytes
Repository stars
335
License
Apache-2.0

Link the current Claude Code session to a ticket (Linear, Jira, GitHub Issues, or GitHub Pull Requests) and cache its title/status in karma. Use when the user explicitly asks to link, attach, associate, or connect this session to a ticket, issue, or PR — e.g. "/link-ticket-to-session ABC-123", "link this session to LINEAR-42", "associate this work with issue #15", "attach session to PR octocat/repo#7". Do NOT auto-invoke from passing ticket-key mentions in normal conversation.

Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.

What the file says

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:

| Provider           | Short ref           | URL forms                                              |
|--------------------|---------------------|--------------------------------------------------------|
| Linear             | `LINEAR-123`        | `https://linear.app/.../issue/ABC-123`                 |
| Jira               | `PROJ-45`           | `https://*.atlassian.net/browse/PROJ-45`               |
…

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add jayantdevkar/claude-code-karma/link-ticket-to-session@sha256:46a816595b18401a

The line at the top of this page pins the label git:20260729.7aece6a, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_qzmdnreexdi5a34z.svg)](https://markdownregistry.com/a/art_qzmdnreexdi5a34z)

5 badge image fetches in 30 days. What the badge shows.

Versions

The registry has recorded 2 versions of this file, between May 19, 2026 and Jul 29, 2026, about one every 70 days.

versioncommittedcommitsizeaudit
git:20260729.7aece6a latest2026-07-29 7aece6a 7,276 BA view · diff
git:20260519.f4783fd2026-05-19 f4783fd 7,276 BA view

Audit of the latest version

A  17 of 17 checks passed. Fixed automatic checks with no AI involved, so the same checks give the same answer every run.
  • pass: Frontmatter block present
  • pass: Frontmatter declares a name
  • pass: Frontmatter declares a description
  • pass: Size between 200 bytes and 200 KB (7276 bytes)
  • pass: No zero-width or bidi control characters
  • pass: No instruction hidden inside an HTML comment
  • pass: No link to an exfiltration or paste host
  • pass: No credential-shaped string
  • pass: No instruction to send local credentials anywhere
  • pass: No text hidden with inline styles
  • pass: No prompt-injection phrasing
  • pass: No curl or wget piped into a shell
  • pass: No recursive delete of root, home or parent
  • pass: No instruction to read or print local credentials
  • pass: No base64 blob over 200 characters
  • pass: No link to a raw IP address
  • pass: No script tag

Source

GitHub

jayantdevkar/claude-code-karma · 335 stars · license Apache-2.0 · pushed 2026-10-22 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_qzmdnreexdi5a34z
GET https://markdownregistry.com/api/v1/resolve?ref=jayantdevkar/claude-code-karma/link-ticket-to-session
GET https://markdownregistry.com/api/v1/blob/46a816595b18401a3529388dacfbff7fb620241e31c3be7bbe7d82915c86cb5f

Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.

Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.

More from jayantdevkar/claude-code-karma

CLAUDE.md CLAUDE.md file
jayantdevkar/claude-code-karma · CLAUDE.md
git:20261022.b3d9f89 · audit A · 335 stars
CLAUDE.md@api CLAUDE.md file
jayantdevkar/claude-code-karma · api/CLAUDE.md
git:20261022.b3d9f89 · audit A · 335 stars
CLAUDE.md@captain-hook CLAUDE.md file
jayantdevkar/claude-code-karma · captain-hook/CLAUDE.md
git:20260412.38321f5 · audit A · 335 stars
DESIGN.md@docs/feature/mcp-tools-page DESIGN.md file
jayantdevkar/claude-code-karma · docs/feature/mcp-tools-page/DESIGN.md
git:20260228.a60a310 · audit A · 335 stars
CLAUDE.md@frontend CLAUDE.md file
jayantdevkar/claude-code-karma · frontend/CLAUDE.md
git:20261022.b3d9f89 · audit B · 335 stars

Every file in jayantdevkar/claude-code-karma

Browse by kind, by grade A, or by owner.