OpenELIS-Global-2: Command for Claude Code

.specify/oe/commands/start-ticket.md

start-ticket is a command for Claude Code from DIGI-UW/OpenELIS-Global-2. It costs 0 tokens per session (1,174 once invoked), scanned A, original, MPL-2.0.

A command that prepares work for a Jira ticket, where Jira is a tool for tracking software tasks. It fetches the ticket, creates a Git branch, and can create a draft pull request, change the Jira status, start a SpecKit specification, or use a separate worktree.

In plain words
What is it for?
Starting work on a Jira issue, creating an isolated coding workspace, bootstrapping feature documentation, and optionally opening a draft pull request.
Why use it?
It removes repetitive setup steps and keeps the code branch, pull request, and Jira ticket aligned at the start of development.

Command for Claude Code

Written for Claude Code: $ARGUMENTS substitution.

This is DIGI-UW/OpenELIS-Global-2's own configuration. It tells Claude Code how to work on OpenELIS-Global-2 itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything OpenELIS-Global-2 configures →

Needs its repository: it reads a path above its own folder, which exists only inside the repository. The line is WORKTREE_DIR="../worktrees/$(basename $(pwd))-$TICKET_KEY".

Reuse

Borrowing it

Nothing to install: this file belongs to DIGI-UW/OpenELIS-Global-2. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/DIGI-UW/OpenELIS-Global-2/develop/.specify/oe/commands/start-ticket.md
Clone the repo
git clone --depth 1 https://github.com/DIGI-UW/OpenELIS-Global-2

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 start-ticket

README.md
[![agentmods](https://agentmods.dev/badge/commands/digi-uw/openelis-global-2/start-ticket.svg)](https://agentmods.dev/commands/digi-uw/openelis-global-2/start-ticket)
Your own site
<a href="https://agentmods.dev/commands/digi-uw/openelis-global-2/start-ticket"><img src="https://agentmods.dev/badge/commands/digi-uw/openelis-global-2/start-ticket.svg" alt="Measured on agentmods" height="20"></a>
Per session 0 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,174 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.
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.00000 $0.01174
Opus 5 $0.00000 $0.00587
Sonnet 5 $0.00000 $0.00235
Haiku 4.5 $0.00000 $0.00117

Measured 8d ago against content hash 14b83bab8aa0, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-07, from the pricing page.

Security

Grade A, and why

start-ticket 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 8d 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.

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.

.specify/oe/commands/start-ticket.md · 150 lines

How it starts

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

Start Ticket

Set up a development environment for a Jira ticket: fetch details, create branch, optionally create a draft PR and transition Jira status. Integrates with SpecKit for spec-driven development.

User Input

$ARGUMENTS

First argument is the Jira issue key. Additional flags:

  • /start-ticket OGC-337 → Create branch, draft PR, transition to In Progress
  • /start-ticket OGC-337 --speckit → Also bootstrap SpecKit spec from ticket
  • /start-ticket OGC-337 --worktree → Use a git worktree (parallel dev)
  • /start-ticket OGC-337 --no-pr → Skip PR creation
  • /start-ticket OGC-337 --no-transition → Don't move Jira status
  • /start-ticket OGC-337 --base demo/madagascar → Branch from non-default base

Default base branch: develop

Atlassian Config

  • Cloud ID: 57b4e32d-23d4-4a71-8985-82ac0274d145
  • Site: uwdigi.atlassian.net

Workflow

Step 1: Fetch Jira Ticket

Use mcp__claude_ai_Atlassian__getJiraIssue with cloud ID above. Fields: ["summary", "description", "status", "priority", "issuetype", "labels", "sprint", "parent", "issuelinks"]

Display a brief summary:

OGC-337 | Story | Medium | Selected for Development
Implement Generic ASTM Plugin v1.1/1.2
Labels: Madagascar | Parent: OGC-49

Step 2: Create Branch

Branch name pattern: <type>/<KEY>-<slug>

Jira Type Prefix
Bug fix
Story feat
Task chore
Epic epic
Sub-task feat

Slugify: lowercase, hyphens, truncate to ~50 chars at word boundary.

Example: feat/OGC-337-implement-generic-astm-plugin-v1

Confirm the branch name with the user before creating.

git fetch origin $BASE_BRANCH
git checkout -b "$BRANCH_NAME" "origin/$BASE_BRANCH"

If --worktree:

WORKTREE_DIR="../worktrees/$(basename $(pwd))-$TICKET_KEY"
mkdir -p "$(dirname $WORKTREE_DIR)"
git worktree add -b "$BRANCH_NAME" "$WORKTREE_DIR" "origin/$BASE_BRANCH"

Report the worktree path so the user can cd there.

Read the full file on GitHub · 150 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. 8d ago First seen · 150 lines · 0 tokens per session scan A 14b83bab8aa0

Subscribe to this mod's changes

start-ticket is a command published in the GitHub repository DIGI-UW/OpenELIS-Global-2 (251 stars, last pushed today), licensed MPL-2.0. It costs nothing until one of its globs matches a file; then it loads 1,174 tokens. 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-30.