link-ticket-to-session

link-ticket-to-session is a skill for Claude Code from JayantDevkar/claude-code-karma. It costs 91 tokens per session (1,914 once invoked), scanned A, original, Apache-2.0.

A link between the current coding session and a work item such as a Linear or Jira ticket, GitHub issue, or GitHub pull request. It stores the link and caches the item's title and status for display.

In plain words
What is it for?
Use it when starting work on a ticket, issue, or pull request so the session can show which work item it belongs to.
Why use it?
It keeps the session's work connected to the task being handled without writing changes back to the ticket system.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: mentions Claude Code.

Good fit Use it when starting work on a ticket, issue, or pull request so the session can show which work item it belongs to.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/jayantdevkar/claude-code-karma/link-ticket-to-session
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add JayantDevkar/claude-code-karma --skill link-ticket-to-session
Clone the repo
git clone --depth 1 https://github.com/JayantDevkar/claude-code-karma

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for link-ticket-to-session

README.md
[![agentmods](https://agentmods.dev/badge/skills/jayantdevkar/claude-code-karma/link-ticket-to-session/github.svg)](https://agentmods.dev/skills/jayantdevkar/claude-code-karma/link-ticket-to-session)
Your own site
<a href="https://agentmods.dev/skills/jayantdevkar/claude-code-karma/link-ticket-to-session"><img src="https://agentmods.dev/badge/skills/jayantdevkar/claude-code-karma/link-ticket-to-session/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for link-ticket-to-session

Your own site · 80×15
<a href="https://agentmods.dev/skills/jayantdevkar/claude-code-karma/link-ticket-to-session"><img src="https://agentmods.dev/badge/skills/jayantdevkar/claude-code-karma/link-ticket-to-session.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 91 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,914 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 1 finding, up to medium

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • medium Data Exfiltration · line 104
    Data is being sent to an external URL. This could be legitimate telemetry or data exfiltration. Manual review is recommended.
    Fix: Verify the destination URL is trusted and necessary. Remove or replace with documented APIs. Ensure no secrets, tokens, or PII are transmitted.
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00091 $0.01914
Opus 5.5 $0.00036 $0.00766
Sonnet 5.5 $0.00018 $0.00383
Haiku 4.5 $0.00009 $0.00191

Measured 1mo ago against content hash 46a816595b18, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

link-ticket-to-session scanned grade A with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

`${KARMA_API_URL:-http://localhost:8020}` in **every** curl below — bash
skills/link-ticket-to-session/SKILL.md · 147 lines

How it starts

The opening of the file, as written. The whole thing — 147 lines — stays where its author put it; the contents beside it link to each section on GitHub.

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
GitHub Issue owner/repo#42 https://github.com/owner/repo/issues/42
GitHub PR owner/repo#42 https://github.com/owner/repo/pull/42

GitHub issues and pull requests share a single numbering namespace — owner/repo#42 could be either. The URL kind (/issues/ vs /pull/) is the only signal, and karma's backend preserves it, so when you have a URL keep it intact when POSTing (Step 4). For a bare owner/repo#N with no URL, default to /issues/N — GitHub auto-redirects to /pull/N when N is actually a PR, so the link still resolves.

A bare #N (no owner/repo) is not accepted — always qualify with owner/repo#N.

Step 2 — Identify provider and (for GitHub) kind

Set two variables you'll use below:

  • <provider> ∈ linear | jira | github
  • For GitHub: <kind> ∈ issue | pull_request (derived from URL path)

Read the full file on GitHub · 147 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 1mo ago First seen · 147 lines · 91 tokens per session scan A 46a816595b18

Subscribe to this mod's changes

link-ticket-to-session is a skill published in the GitHub repository JayantDevkar/claude-code-karma (333 stars, last pushed 7d ago), licensed Apache-2.0. It adds 91 tokens to every session and 1,914 once invoked, about $0.0004 per session on Opus 5.5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

lead

Use when acting as the factory tech lead: classify work, ask the minimum questions, create tickets, and dispatch without implementing.

Kripu77/software-factory · 0 tokens

to-tickets

Use when breaking a plan into tracer-bullet GitHub issues with blocking edges.

Kripu77/software-factory · 20 tokens

forge-sync

Use when checking if .forge/ artifacts are stale after a change to requirements, architecture, or any upstream artifact. Use before running /build, /review, or /ship to confirm the artifact chain is consistent. Use when the user says "is anything out of date" or "what needs to be regenerated".

aneja5/forge-skills · 66 tokens

planning-and-task-breakdown

Use when .forge/prd.md and .forge/architecture.md exist and the work needs to be decomposed before implementation, when sizing tasks for a sprint, when mapping dependencies between modules, or when a critical path needs to be identified before parallel work begins.

aneja5/forge-skills · 58 tokens

feedback

Use when implementation, review, security, scalability, or incident work reveals that an upstream .forge/ artifact is wrong, when a contract is missing an operation, when an ADR is being contradicted by a current need, when security recommends architecture changes, or when the user says "we discovered the spec is…

aneja5/forge-skills · 65 tokens

parallel-execution-strategy

Use when 3+ independent tasks are ready in .forge/tasks.yaml and multiple agents will work concurrently, when assessing file-conflict risk before dispatching parallel work, when planning branch and merge sequencing for a sprint, or when prior parallel runs have caused merge nightmares.

aneja5/forge-skills · 59 tokens