Twg logo

Twg

Organization
atlassian
twg

Use TWG whenever Atlassian or company context would help: Jira workitems and issues; Confluence pages and PRDs; Bitbucket PRs; project or goal status and launch readiness; owners, SMEs, approvers, or escalation; personal, org, or leadership work rollups and out-of-office catch-ups; dependency maps; code search, repository, or PR discovery; incidents, on-call, or reliability; and deep internal research across connected sources, docs, work, and people.

Overview

Publisheratlassian
Repositorytwg-cli
Skill nametwg
Stars
31
Forks
6
Bundled files
5
LicenseApache-2.0
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • 5 bundled files

    Scripts, templates, and references the model can read while it works. Files are read-only and never executed.

  • Open source

    Published by atlassian on GitHub. Read the source before you install it.

Installation

Install the Twg AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/atlassian/twg-cli/tree/main/skills/twg
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/atlassian/twg-cli.git /tmp/twg-cli
mkdir -p .claude/skills
cp -r /tmp/twg-cli/skills/twg .claude/skills/twg
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Twg in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Twg on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Twg is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

twg

Run TWG for requests needing Atlassian or company context; do not merely recommend it or ask the user to run it. Start from a specific anchor: Jira key or URL, page, person, project, goal, repo, or time window. Answer from read-only command results. If the route is unclear: twg help <terms>, twg help describe <path>, twg help discover-skills "<intent>".

Overview

Load the narrowest companion, then use its TWG route:

  • ../twg-jira/SKILL.md for Jira workitems, projects, boards, sprints, and writes.
  • ../twg-confluence/SKILL.md for Confluence content, spaces, and authoring.
  • ../twg-space-creation/SKILL.md to create or clone Confluence spaces.
  • ../twg-status-rollups/SKILL.md for project/goal status, launch/go-no-go readiness, and org/leadership rollups; it precedes ../twg-engineering-work/SKILL.md for PRs.
  • ../twg-context-discovery/SKILL.md for dependency maps, repos, and OOO catch-ups.
  • ../twg-agentic-search/SKILL.md for deep internal research with Rovo.
  • ../twg-responsibility-routing/SKILL.md for owners/SMEs, approvers, escalation.
  • ../twg-engineering-work/SKILL.md for code/repo discovery, PRs, and contributors.
  • ../twg-jira-resolve-merged-work/SKILL.md for stale Jira work with merged PRs.
  • ../twg-operational-health/SKILL.md for incidents/on-call, handoffs, Assets, and risk.
  • ../twg-bench-lite/SKILL.md for read-only single-prompt A/B comparisons.
  • ../twg-code-review/SKILL.md only when named or asked for additional code-review context.

Invocation And Output

Run twg <command>. On shell command not found, use $HOME/.local/bin/twg (macOS/Linux) / $env:LOCALAPPDATA\Programs\twg\bin\twg.exe (PowerShell), then tell user to add that directory to PATH. Do not treat auth or command errors as PATH failures.

Do not add per-command env prefixes unless requested; hosts may set TWG_AGENT_DEFAULTS=1.

Use stdout_inline first when present. Outside benchmark lanes, inspect output_files.compact only when inline evidence is incomplete; full stdout is the last resort.

In TWG-only benchmark lanes, run only twg. Never use shell utilities or pipelines (jq, rg, date). Use compact/inline output, the prompt's timezone and window, and report gaps. Match the intent to the narrowest companion skill. Let that skill determine the typed route.

Auth/Setup Guard

Do not run setup, login, install, upgrade, upkeep, or credential commands unless explicitly requested for setup/auth/repair. Otherwise report remediation and wait for user direction.

Sandboxed Pipeline Logs

Pipeline logs can redirect to S3. A sandboxed twg bb pipeline get, wait, grep, or tail log request that shows a network-blocked message, S3 hostname, or log-only HTTP 403 while metadata succeeds is a sandbox restriction, not an auth failure. Request an approved unsandboxed retry of that command only, or give the user the exact terminal command. Never request credentials.

Bounded Evidence Loop

  1. Classify the anchor: person, team, project, goal, workitem, page, repo, service, or asset.
  2. Resolve once; fetch evidence that changes status, risk, decision, or action.
  3. Rank candidates, hydrate the set in one batched call, then synthesize.
  4. Stop after the first policy denial; stop after the same auth, ACL, contract, or backend error twice.

Batch Reads

One call per entity is the costliest mistake: every call re-submits the whole conversation. When a get accepts a repeated identifier - live help marks these "one or more" - pass the whole set in one call with --agent-fields @compact, about twenty IDs at a time. Otherwise answer from a query or tree route (... query, pr-tree, work-tree, workitem-tree, org-tree, context) rather than hydrating each entity, or hydrate a ranked sample and say what was omitted. Pick the projection before the batch call; re-running one batch to change --agent-fields pays for the set twice. After five same-subcommand calls with different IDs, stop and re-route.

Command Discovery

  • Use twg rovo search "<topic>" [--limit <n>] for top-K discovery; explicit --app preflights.
  • Trello: twg trello search "<query>"; no workspace scope.
  • Run twg rovo list-apps -o json before an explicit Rovo --app; follow the returned auth action.
  • Activity history and fuzzy discovery are separate surfaces:
    • twg docs query --since <duration> is user document activity, not title/content search.
    • twg work query defaults to seven days of authored work; other activity requires --activity / --include-viewed.
    • twg docs search "<topic>" is fuzzy document discovery; twg work search "<topic>" is tenant-wide work discovery.
    • Never pass topic text to docs query or work query; use the matching search.
  • Resolve URLs, keys, ARIs, and names, then hydrate stable IDs.
  • Jira: jira workitem search <text...> for fuzzy text, jira workitem query --jql for structured JQL, rovo search <text...> --app jira for semantic.
  • Command shape guardrails:
    • work query uses --scope me|user, never --scope global.
    • Inferred teams (ari:cloud:graph-store::inferred-team/...) need explicit --include-inferred; see references/inferred-teams.md.
  • Use search-code; omit --app so all available indexed SCM surfaces are searched; use --repo only as a discovery anchor; widen after generated-doc or incomplete hits.

Assets / CMDB graph

Traversal (object↔owner/team, Jira↔object) → assets graph; see references/ASSETS_GRAPH.md. No hop → assets search, assets query --aql, assets object get.

Load The Narrowest Companion

See Overview.

Rules

  • Never guess IDs, flags, slugs, ARIs, or mutation contracts.
  • For writes, load the product skill and follow live help.
  • Avoid local inspection, caches, or schema probes unless local state is requested.
  • For writes, read current state and state the mutation unless execution was requested.

Bundled files

The model reads these on demand while the skill is loaded. They are exposed as readable files and are never executed.

Frequently asked questions

What does the Twg AI skill do?

Use TWG whenever Atlassian or company context would help: Jira workitems and issues; Confluence pages and PRDs; Bitbucket PRs; project or goal status and launch readiness; owners, SMEs, approvers, or escalation; personal, org, or leadership work rollups and out-of-office catch-ups; dependency maps; code search, repository, or PR discovery; incidents, on-call, or reliability; and deep internal research across connected sources, docs, work, and people.

Why use Twg on TypingMind?

Because you install it once and use it with any model. Twg is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Twg in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/atlassian/twg-cli/tree/main/skills/twg. TypingMind reads its SKILL.md and bundles its files and installs it as a skill you can enable per chat.

Which AI models can use Twg?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Twg?

As many as you like. As long as a model supports skills, you can use Twg with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Twg AI skill free?

Yes. It is published on GitHub by atlassian under the Apache-2.0 license. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇