Token导航 LogoToken导航TokenDH.com
研究检索敏感数据github未标认证来源可访问许可证需确认审计提醒

atlassianatlassian 命令行

Agent Skill

atlassian 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

306

周安装

13

GitHub Stars

公开资料未说明

下载量

107
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:atlassian(atlassian 命令行)
来源仓库:https://github.com/boazy/skills
仓库路径:skills/atlassian
安装命令:
npx skills add https://github.com/boazy/skills --skill atlassian
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/boazy/skills --skill atlassian

简介

atlassian 提供 Jira 和 Confluence 的 REST API 访问能力。

  • 支持 Issue 和页面的完整 CRUD 操作,无需额外 MCP 服务器。
  • 需配置 ATLASSIAN_SITE、ATLASSIAN_EMAIL 和 ATLASSIAN_API_TOKEN 环境变量。
  • 涉及生产系统读写,应确保 API token 权限最小化并避免泄露。
  • atlassian 属于研究检索类 Skill,可作为该场景下的辅助能力补充。

SKILL.md

Atlassian Skill

Access Jira and Confluence directly via REST APIs. This skill provides full CRUD operations for issues and pages without requiring the MCP server.

Authentication

Requires environment variables in ~/.local/secrets/atlassian.env:

Available Scripts

Jira

Search Issues

bunx tsx scripts/jira-search.ts "<JQL query>" [maxResults] [nextPageToken]

Examples:

  • bunx tsx scripts/jira-search.ts "assignee = currentUser() AND status!= Done"
  • bunx tsx scripts/jira-search.ts "project = PROJ AND type = Bug" 50
  • bunx tsx scripts/jira-search.ts "project = PROJ" 50 "token..." (pagination)

See docs/jql-guide.md for JQL syntax reference.

Get Issue Details

bunx tsx scripts/jira-get.ts <issueKey>

Example: bunx tsx scripts/jira-get.ts PROJ-123

Create Issue

bunx tsx scripts/jira-create.ts '<JSON>'

Single issue:

bunx tsx scripts/jira-create.ts '{"project": "PROJ", "type": "Story", "summary": "New feature", "description": "Details here"}'

Bulk create (array):

bunx tsx scripts/jira-create.ts '[{"project": "PROJ", "type": "Bug", "summary": "Bug 1"}, {"project": "PROJ", "type": "Bug", "summary": "Bug 2"}]'

Update Issue

bunx tsx scripts/jira-update.ts <issueKey> '<JSON updates>'

Example: bunx tsx scripts/jira-update.ts PROJ-123 '{"status": "In Progress", "assignee": "user@example.com"}'

Comments

# Get comments
bunx tsx scripts/jira-comment.ts <issueKey> get

# Add comment
bunx tsx scripts/jira-comment.ts <issueKey> add "<comment text>"

Upload Attachment

bunx tsx scripts/jira-attachment.ts <issueKey> <filePath> [fileName]

Examples:

  • bunx tsx scripts/jira-attachment.ts PROJ-123./diagram.png
  • bunx tsx scripts/jira-attachment.ts PROJ-123./image.png architecture.png

Image embedding note:

  • For markdown image syntax (![alt](url)), the converter uses mediaSingle only for Atlassian-hosted URLs.
  • External image URLs fall back to a clickable link to avoid Jira INVALID_INPUT errors.
  • If you want embedded images, upload the file first with jira-attachment.ts, then use the returned Atlassian contentUrl in your markdown image URL.

Confluence

Personal Space

When the user asks to work with their personal space (e.g., "write a page in my personal space", "search my personal space", "read a page from my space"), you MUST first discover their personal space before performing the requested operation.

Auto-detection rule: Any mention of "my space", "my personal space", "personal space", or "my Confluence space" means the user's personal Confluence space. Always run the discovery script first to get the space key and ID, then use those values in subsequent operations (create, search, get, etc.).

Discover Personal Space

bunx tsx scripts/confluence-personal-space.ts

No arguments needed. Returns the current user's personal space key, ID, name, and URL.

Example output:

{
  "accountId": "5b10a2844c20165700ede21g",
  "displayName": "Jane Smith",
  "space": {
    "id": 98304,
    "key": "~5b10a2844c20165700ede21g",
    "name": "Jane Smith",
    "type": "personal",
    "status": "current",
    "url": "https://yourcompany.atlassian.net/wiki/spaces/~5b10a2844c20165700ede21g"
  }
}

Then use the returned space.key as the space key for other Confluence operations. For example:

  • Create page: bunx tsx scripts/confluence-create.ts '{"space": "~5b10a2844c20165700ede21g", "title": "My Notes", "body": "<p>Content</p>"}'
  • Search pages: bunx tsx scripts/confluence-search.ts "space = ~5b10a2844c20165700ede21g AND type = page"
  • Get page by title: bunx tsx scripts/confluence-get.ts "My Notes" ~5b10a2844c20165700ede21g

Note: Personal space keys on Confluence Cloud use the format ~accountId (not ~username). The discovery script handles this automatically.

Search Pages

bunx tsx scripts/confluence-search.ts "<CQL query>" [maxResults]

Examples:

  • bunx tsx scripts/confluence-search.ts "title ~ 'Roadmap'"
  • bunx tsx scripts/confluence-search.ts "space = DEV AND type = page" 25

See docs/cql-guide.md for CQL syntax reference.

Get Page Content

bunx tsx scripts/confluence-get.ts <pageId>
# or by title
bunx tsx scripts/confluence-get.ts "<page title>" <spaceKey>

Create Page

bunx tsx scripts/confluence-create.ts '<JSON>'

Example:

bunx tsx scripts/confluence-create.ts '{"space": "DEV", "title": "New Page", "body": "<p>Content here</p>"}'

Optional parent page:

bunx tsx scripts/confluence-create.ts '{"space": "DEV", "title": "Child Page", "body": "<p>Content</p>", "parentId": "123456"}'

Update Page

bunx tsx scripts/confluence-update.ts <pageId> '<JSON updates>'

Example: bunx tsx scripts/confluence-update.ts 123456 '{"title": "Updated Title", "body": "<p>New content</p>"}'

Page Properties (v2)

# List properties
bunx tsx scripts/confluence-properties.ts <pageId> get

# Get a single property
bunx tsx scripts/confluence-properties.ts <pageId> get <propertyKey>

# Set a property
bunx tsx scripts/confluence-properties.ts <pageId> set '<JSON>'

# Delete a property
bunx tsx scripts/confluence-properties.ts <pageId> delete <propertyKey>

# Get page emoji
bunx tsx scripts/confluence-properties.ts <pageId> get-emoji

# Set page emoji (updates both emoji-title-published and emoji-title-draft)
bunx tsx scripts/confluence-properties.ts <pageId> set-emoji "🚀"

# Remove page emoji
bunx tsx scripts/confluence-properties.ts <pageId> remove-emoji

Example property payloads:

  • '{"key": "my-property", "value": {"foo": "bar"}}'
  • '{"properties": [{"key": "one", "value": 1}, {"key": "two", "value": "two"}]}'

Note: Page CRUD uses the Confluence REST API v2. CQL search still uses the legacy endpoint because the v2 API does not expose CQL search.

Query Language References

For generating correct queries:

  • Jira: Read docs/jql-guide.md for JQL syntax, fields, operators, and functions
  • Confluence: Read docs/cql-guide.md for CQL syntax and fields

Large Content — File-Based Input

All scripts that accept a '<JSON>' argument also support @<filepath> syntax: write the JSON to a file first, then pass @path/to/file.json instead of the inline JSON string. This avoids shell argument-length limits that cause failures with large page bodies or issue descriptions.

You MUST use file-based input when creating or updating Confluence pages or Jira issues with non-trivial body/description content. Inline JSON is fine only for short payloads (simple metadata updates, status changes, etc.).

Workflow

  1. Write the JSON payload to a temporary file (e.g., /tmp/confluence-payload.json)
  2. Pass @/tmp/confluence-payload.json as the argument instead of the raw JSON string
  3. Clean up the temp file afterward

Examples

Create a Confluence page with a large body:

# 1. Write payload to file
cat > /tmp/page.json << 'ENDJSON'
{"space": "DEV", "title": "Architecture Overview", "body": "<h1>Architecture</h1><p>Long content here...</p>"}
ENDJSON

# 2. Pass with @filepath
bunx tsx scripts/confluence-create.ts @/tmp/page.json

Update a Confluence page:

bunx tsx scripts/confluence-update.ts 123456 @/tmp/update-payload.json

Create a Jira issue with a long description:

bunx tsx scripts/jira-create.ts @/tmp/issue.json

Update a Jira issue:

bunx tsx scripts/jira-update.ts PROJ-123 @/tmp/update.json

Important: When generating content programmatically (as an AI agent), always use the Write tool to create the JSON file, then invoke the script with @filepath. Never attempt to pass large HTML or markdown content as an inline shell argument.

Common Workflows

Find and update my open issues

  1. Search: bunx tsx scripts/jira-search.ts "assignee = currentUser() AND status!= Done"
  2. Update: bunx tsx scripts/jira-update.ts PROJ-123 '{"status": "Done"}'

Create issues from a list

  1. Bulk create: bunx tsx scripts/jira-create.ts '[{...}, {...}, {...}]'

Find and read documentation

  1. Search: bunx tsx scripts/confluence-search.ts "title ~ 'API Documentation'"
  2. Get content: bunx tsx scripts/confluence-get.ts 123456

Create a new documentation page

  1. Create: bunx tsx scripts/confluence-create.ts '{"space": "DEV", "title": "API Guide", "body": "<h1>API Guide</h1><p>...</p>"}'

Work with your personal space

  1. Discover: bunx tsx scripts/confluence-personal-space.ts → note the space.key value
  2. Search: bunx tsx scripts/confluence-search.ts "space = <space.key> AND type = page"
  3. Create: bunx tsx scripts/confluence-create.ts '{"space": "<space.key>", "title": "My Page", "body": "<p>Content</p>"}'
  4. Read: bunx tsx scripts/confluence-get.ts "<page title>" <space.key>

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

36.96%
按下载量换算40

Claude

29.29%
按下载量换算31

Cursor

21.67%
按下载量换算23

Gemini CLI

10.07%
按下载量换算11

安全审计

Gen Agent Trust Hub

可疑

Socket

通过

Snyk

通过

权限和风险

敏感数据

该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在 warning/failed 结果,不能写成本站确认安全。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills