jira-server-pat-cli

jira-server-pat-cli is a skill for Claude Code, Codex from renky1025/agent-skills. It costs 134 tokens per session (2,792 once invoked), scanned A, original, MIT.

A command-line workflow for managing self-hosted Jira Server or Jira Data Center through Jira's REST API. Jira is a system for tracking issues, projects, work, and software tasks.

In plain words
What is it for?
It helps query projects and issues with JQL, create and update issues, change their status, add comments or work logs, manage attachments and links, inspect metadata and permissions, and handle destructive actions with confirmation.
Why use it?
It provides a consistent way to inspect and manage Jira installations with different authentication methods, versions, custom fields, network settings, and security requirements.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit It helps query projects and issues with JQL, create and update issues, change their status, add comments or work logs, manage attachments and links, inspect metadata and permissions, and handle destructive actions with confirmation.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/renky1025/agent-skills/jira-server-pat-cli
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 renky1025/agent-skills --skill jira-server-pat-cli
Clone the repo
git clone --depth 1 https://github.com/renky1025/agent-skills

Made for: Claude Code, Codex.

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 jira-server-pat-cli

README.md
[![agentmods](https://agentmods.dev/badge/skills/renky1025/agent-skills/jira-server-pat-cli/github.svg)](https://agentmods.dev/skills/renky1025/agent-skills/jira-server-pat-cli)
Your own site
<a href="https://agentmods.dev/skills/renky1025/agent-skills/jira-server-pat-cli"><img src="https://agentmods.dev/badge/skills/renky1025/agent-skills/jira-server-pat-cli/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 jira-server-pat-cli

Your own site · 80×15
<a href="https://agentmods.dev/skills/renky1025/agent-skills/jira-server-pat-cli"><img src="https://agentmods.dev/badge/skills/renky1025/agent-skills/jira-server-pat-cli.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 134 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,792 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. 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: 2 findings, up to high

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 →

  • high Privilege Escalation · line 3
    Code accesses credential files (SSH keys, AWS credentials, etc.). This could indicate credential theft attempts.
    Fix: Remove references to credential paths. Use environment variables or secrets managers. For docs, use placeholder paths (e.g., /path/to/config). Never load .env or token files in production code paths.
  • high Privilege Escalation · line 259
    Code accesses credential files (SSH keys, AWS credentials, etc.). This could indicate credential theft attempts.
    Fix: Remove references to credential paths. Use environment variables or secrets managers. For docs, use placeholder paths (e.g., /path/to/config). Never load .env or token files in production code paths.
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.00134 $0.02792
Opus 5 $0.00067 $0.01396
Sonnet 5 $0.00027 $0.00558
Haiku 4.5 $0.00013 $0.00279

Measured 10d ago against content hash 104c9cb05175, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-10, from the pricing page.

Security

Grade A, and why

jira-server-pat-cli scanned grade A with 0 findings 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 10d ago.

The scan reads SKILL.md. This mod also ships 2 executable files (scripts/jira_cli.py, scripts/test_jira_cli.py), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

jira-server-pat-cli/SKILL.md · 261 lines

How it starts

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

Jira Server / Data Center CLI

目标

为任意 Jira Server / Data Center 实例提供可迁移、可审计、无环境隐私的命令行管理方案。优先使用 Jira 官方 REST API 和运行时元数据发现,不把单个组织的配置写进 Skill。

本 Skill 附带:

  • scripts/jira_cli.py:纯 Python 标准库 CLI。
  • references/command-reference.md:完整命令、配置和能力边界。

使用边界

使用本 Skill:

  • 用户要求通过脚本或 CLI 管理 Jira Server / Data Center。
  • 实例使用 PAT、2FA、SSO、Cookie、Basic Auth、内部 CA 或自签证书。
  • 任务涉及项目、issue、JQL、transition、评论、工时、附件、链接、watcher、权限或元数据。

不要直接套用本 Skill:

  • Jira Cloud。Cloud 的 API token、accountId、REST v3 和 Atlassian Document Format 语义不同。
  • 用户只要求 Jira Web 页面操作且不需要 REST/CLI。
  • 目标接口属于第三方 Jira 插件,且尚未核对插件文档和版本。

强制隐私规则

  1. 不在 Skill、脚本、示例、测试或日志中写入真实域名、IP、用户名、邮箱、项目 Key、issue Key、PAT、Cookie、自定义字段 ID、issue type ID、transition ID 或内部目录。
  2. 示例只使用 jira.example.comPROJPROJ-123alicecustomfield_12345 等明确占位值。
  3. 不要求用户把 PAT 发到聊天中。优先让用户在本机通过 JIRA_PAT、权限为 0600 的配置文件或 secret manager 注入。
  4. 不输出请求头、Cookie、PAT 或包含凭证的配置全文。报错和 debug 输出必须脱敏。
  5. 不把实例探测结果写回 Skill。实例元数据只用于当前执行。
  6. destructive 命令必须显式确认。附带 CLI 对 issue、评论、工时、附件、链接删除和所有 raw POST/PUT/DELETE 使用 --yes 门禁。

执行流程

1. 确认产品与版本

先确认目标是 Jira Server / Data Center,而不是 Jira Cloud。优先调用:

python3 scripts/jira_cli.py server-info

记录但不持久化:

  • Jira 版本与 build number。
  • Base URL 是否包含 context path,例如 /jira
  • 已安装 Jira Software 或 Jira Service Management 与否。
  • REST API version 和目标 endpoint 是否存在。

不要把 /login.jsp 当成 Server/DC 的唯一识别依据。

2. 选择鉴权

优先级:

  1. OAuth 2.0:适用于需要委托授权的正式集成,但配置成本高于个人 CLI。
  2. PAT Bearer:个人脚本和 CLI 的首选。Jira Core/Software 8.14+、Jira Service Management 4.15+ 支持 PAT。
  3. Basic Auth:仅在实例明确允许且安全策略接受时使用。
  4. 浏览器 Cookie:临时排障兜底,不作为长期自动化凭证。

PAT 使用方式:

export JIRA_BASE_URL="https://jira.example.com/jira"
export JIRA_PAT="<secret>"
python3 scripts/jira_cli.py whoami

PAT 通过 Authorization: Bearer <token> 发送,不附加用户名。

如果 whoami 返回 401403,不要直接断言 PAT 被 SSO 接管。依次检查:

  1. PAT 是否过期、被撤销或复制不完整。
  2. Base URL 和 context path 是否正确。
  3. 反向代理是否保留 Authorization header。
  4. Jira 版本是否支持 PAT,管理员是否禁用 PAT。
  5. 用户权限或账号状态是否限制当前资源。

Read the full file on GitHub · 261 lines

Files

What ships with it

3 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 10d ago First seen · 261 lines · 134 tokens per session scan A 104c9cb05175

Subscribe to this mod's changes

jira-server-pat-cli is a skill published in the GitHub repository renky1025/agent-skills (11 stars, last pushed yesterday), licensed MIT. It adds 134 tokens to every session and 2,792 once invoked, about $0.0007 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

babysit

Same-session monitoring loop for PRs, CI runs, tickets, and deployments using the monitorstart / monitorupdate / autonudgestop MCP tools. The loop re-injects your check instructions into THIS session on an idle interval — same context, same tools — and works from dashboard chat, Slack threads, and Discord DMs. Use…

kirodotdev/KiroCrew · 137 tokens

slack-agent

Use when building Slack agents/bots with eve (Vercel's filesystem-first agent framework), @vercel/connect, or eve/channels/slack. Covers defineAgent/defineTool patterns, Vercel Connect credential brokering, Slack channel setup, testing requirements, and quality standards.

vercel-labs/slack-agent-skill · 62 tokens

webman

Expert skill for the webman framework (a long-lived, in-memory PHP framework based on workerman). Covers routing, controllers, middleware, database/Redis, custom processes, timers, coroutines (v2), plugin development, and guarding against memory leaks and cross-request state pollution under the resident process model.…

zjkal/webman-skill · 111 tokens

governance-and-sustainability

Keep a project and its maintainers alive over years. Use when deciding how decisions get made, writing GOVERNANCE.md or a code of conduct enforcement process, adding or removing maintainers, handling burnout or stepping away, setting up funding (GitHub Sponsors, Open Collective, a foundation), handling a fork or a…

the-open-agent/oss-skills · 95 tokens

api-design

Design public interfaces for libraries and tools that other people depend on. Use when designing or reviewing a public API surface, deciding what to export, naming functions and CLI flags, adding configuration options, planning deprecations, or when the user asks "is this a good API" or "how do I change this without…

the-open-agent/oss-skills · 107 tokens

contributor-experience

Turn users into contributors and make their first PR succeed. Use when a project gets stars but no contributions, when first-time PRs stall or get abandoned, when writing or improving CONTRIBUTING.md, when setting up a dev environment that works on the first try, or when the user asks "how do I get contributors" or…

the-open-agent/oss-skills · 101 tokens