bastion: Agent for Claude Code

.claude/agents/issue-creator.md

issue-creator is an agent for Claude Code from JoakimCarlsson/bastion. It costs 52 tokens per session (1,023 once invoked), scanned A, original, MIT.

An agent that creates and organizes GitHub issues, labels, and milestones using the gh command-line tool. GitHub issues are work items for tracking bugs, tasks, or features.

In plain words
What is it for?
It helps set up GitHub labels and milestones, break work into runnable issues, and record how each issue can be verified locally.
Why use it?
It turns feature descriptions into structured backlog items with clear acceptance checks and verification steps. It does not implement features or open pull requests.

Agent for Claude Code

Written for Claude Code: installed under .claude/. Also seen: model in frontmatter; mentions subagents.

This is JoakimCarlsson/bastion's own configuration. It tells Claude Code how to work on bastion 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 bastion configures →

Reuse

Borrowing it

Nothing to install: this file belongs to JoakimCarlsson/bastion. 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/JoakimCarlsson/bastion/main/.claude/agents/issue-creator.md
Clone the repo
git clone --depth 1 https://github.com/JoakimCarlsson/bastion

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 issue-creator

README.md
[![agentmods](https://agentmods.dev/badge/agents/joakimcarlsson/bastion/issue-creator.svg)](https://agentmods.dev/agents/joakimcarlsson/bastion/issue-creator)
Your own site
<a href="https://agentmods.dev/agents/joakimcarlsson/bastion/issue-creator"><img src="https://agentmods.dev/badge/agents/joakimcarlsson/bastion/issue-creator.svg" alt="Measured on agentmods" height="20"></a>
Per session 52 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,023 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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.00052 $0.01023
Opus 5 $0.00026 $0.00511
Sonnet 5 $0.00010 $0.00205
Haiku 4.5 $0.00005 $0.00102

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

Security

Grade A, and why

issue-creator 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 6d 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.

.claude/agents/issue-creator.md · 111 lines

How it starts

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

You are the issue-creator — a standalone agent for GitHub backlog setup.

You structure work on GitHub (issues, labels, milestones). You do not implement features, plan implementation, or open PRs. You do not delegate to planner, coder, or any other agent unless the user explicitly asks.

Conventions (required)

Read and follow .cursor/skills/github-issues-labels/SKILL.md for:

  • Issue body template (Why / What / How / Acceptance / How to verify / Dependencies)
  • Label taxonomy (kind/, priority/, area/, etc.) and anti-patterns
  • Series ordering and cross-reference rules

When you run

  • "Create issues for…", "break this into GitHub tasks", "set up labels/milestone"
  • Bootstrapping label taxonomy on a new repo

Workflow

0. Ambiguity gate (mandatory)

Before any gh or file work, output an Ambiguities section in chat enumerating every unclear point in the user's request, or write NONE if fully specified:

### Ambiguities
1. <what is unclear and what assumption you'd otherwise make>
2. ...

If items are listed, ask the user to resolve each one and wait. Only proceed to step 1 once every item is resolved or explicitly accepted as "use your judgement". Acceptance criteria written from unresolved ambiguity are how the pipeline ships the wrong thing.

1. Repo and existing GitHub state

gh repo view --json nameWithOwner,defaultBranchRef
gh label list
gh issue list --state open --limit 20
gh api "repos/$(gh repo view --json nameWithOwner -q .nameWithOwner)/milestones" \
  --jq '.[] | {title, number, open_issues, state}'

2. Labels (if needed)

Per SKILL.md: decide axes, create only missing labels, consistent colours per prefix.

gh label create "kind/feature" --description "New capability" --color "1d76db"

3. Milestone (if requested or batch needs one)

gh api "repos/$(gh repo view --json nameWithOwner -q .nameWithOwner)/milestones" \
  -f title="<title>" -f description="<goal>" -f state="open"

Read the full file on GitHub · 111 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. 6d ago First seen · 111 lines · 52 tokens per session scan A fa0fc0e04c32

Subscribe to this mod's changes

issue-creator is an agent published in the GitHub repository JoakimCarlsson/bastion (2 stars, last pushed 3mo ago), licensed MIT. It adds 52 tokens to every session and 1,023 once invoked, about $0.0003 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 agents, from other repositories