close-issue

close-issue is a skill for Claude Code, Codex from desplega-ai/agent-swarm. It costs 16 tokens per session (339 once invoked), scanned A, original, MIT.

A workflow for closing a GitHub or GitLab issue, which is a tracked report of a bug, request, or other piece of work, with a summary comment.

In plain words
What is it for?
Use it to inspect an issue, mention related pull or merge requests and commits, post a closing explanation, and close the issue.
Why use it?
It gathers the issue context and records why the work is finished or will not be done before closing it.

Skill for Claude CodeCodex

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

Good fit Use it to inspect an issue, mention related pull or merge requests and commits, post a closing explanation, and close the issue.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/desplega-ai/agent-swarm/close-issue
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 desplega-ai/agent-swarm --skill close-issue
Clone the repo
git clone --depth 1 https://github.com/desplega-ai/agent-swarm

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

README.md
[![agentmods](https://agentmods.dev/badge/skills/desplega-ai/agent-swarm/close-issue/github.svg)](https://agentmods.dev/skills/desplega-ai/agent-swarm/close-issue)
Your own site
<a href="https://agentmods.dev/skills/desplega-ai/agent-swarm/close-issue"><img src="https://agentmods.dev/badge/skills/desplega-ai/agent-swarm/close-issue/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 close-issue

Your own site · 80×15
<a href="https://agentmods.dev/skills/desplega-ai/agent-swarm/close-issue"><img src="https://agentmods.dev/badge/skills/desplega-ai/agent-swarm/close-issue.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 16 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 339 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 pass 7 Sept 2026
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.00016 $0.00339
Opus 5 $0.00008 $0.00169
Sonnet 5 $0.00003 $0.00068
Haiku 4.5 $0.00002 $0.00034

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

Security

Grade A, and why

close-issue 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 9d 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.

plugin/pi-skills/close-issue/SKILL.md · 39 lines

What it actually says

Close Issue

Close a GitHub or GitLab issue with an appropriate closing comment summarizing the resolution.

Provider detection: Check the URL or remote to determine the VCS provider:

  • If GitHub → use gh issue close / gh issue comment
  • If GitLab → use glab issue close / glab issue note

Arguments

  • issue-number-or-url: Either an issue number (e.g., 123) or a full issue URL

Workflow

  1. Parse the input — if given a URL, extract owner, repo, and issue number. If just a number, use the current repo context.
  2. Ensure repo is cloned to /workspace/personal/<repo-name> (clone with gh repo clone if needed).
  3. Get issue details — read the issue title, body, comments, and check for related PRs.
  4. Generate closing comment — summarize what was done, reference related PRs/commits, note any follow-ups.
  5. Post comment and close:
    gh issue close <issue-number> --comment "Your closing comment" --reason completed
    

Closing Reasons

  • completed — The issue was resolved
  • not_planned — Won't fix / out of scope / duplicate

Tips

  • Always explain why the issue is being closed
  • Reference specific PRs or commits when applicable
  • If closing as "not planned", explain the reasoning
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. 9d ago First seen · 39 lines · 16 tokens per session scan A be8a380320f4

Subscribe to this mod's changes

close-issue is a skill published in the GitHub repository desplega-ai/agent-swarm (754 stars, last pushed today), licensed MIT. It adds 16 tokens to every session and 339 once invoked, about $0.0001 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-30.

Related

Other skills, from other repositories

exploration-workflow

SME-facing orchestrator for the Business Exploration Loop. Supports 4 session types (greenfield, brownfield, discovery-only, spike) with adaptive phase selection. Manages state via exploration-dashboard.md, enforces phase gates, and routes to child skills in sequence. Phases can be skipped based on session type.…

richfrem/agent-plugins-skills · 121 tokens

discovery-planning

Guides a Subject Matter Expert through a structured discovery session to create and approve a Discovery Plan before any building begins. This is the HARD-GATE brainstorming skill — no prototype can be built until the SME explicitly approves the plan. Trigger phrases: "start a discovery session", "let's plan this out"…

richfrem/agent-plugins-skills · 92 tokens

exploration-handoff

Interactive co-authoring skill for the narrow end of the exploration funnel. Synthesizes session briefs, BRDs, story sets, and prototype notes into a structured handoff package targeted at the correct downstream consumer (e.g., formal software specs, strategic roadmaps, or process documentation).

richfrem/agent-plugins-skills · 62 tokens

claude-project-setup

Interactive skill to scaffold and optimize the .claude/ directory for any project. Sets up CLAUDE.md, .claude/rules/, .claude/settings.json with best practices, and optional hooks. Produces a lean, modular configuration that avoids monolithic context bloat. Trigger with "set up claude", "optimize my CLAUDE.md"…

richfrem/agent-plugins-skills · 103 tokens

business-requirements-capture

Captures and refines business requirements, including functional requirements, non-functional requirements, business rules, constraints, assumptions, and success measures. Produces structured BRD-style documents with [CONFIRMED] and [UNCONFIRMED] confidence markers. Trigger with "capture requirements", "generate a…

richfrem/agent-plugins-skills · 86 tokens

antigravity-project-setup

Interactive skill to scaffold and optimize the .agents/ directory for any project mapping up Antigravity configuration. Sets up .gemini/GEMINI.md, skills/, prompts/, and config.json using best practices. Produces a lean, modular configuration extending the Google Agent Development Kit (ADK). Trigger with "set up…

richfrem/agent-plugins-skills · 99 tokens