what-iff: Skill for Claude Code

.agents/skills/gh-issue/SKILL.md

gh-issue is a skill for Claude Code, Codex from theimaginaryfoundation/what-iff. It costs 140 tokens per session (765 once invoked), scanned A, original, Apache-2.0.

A helper for filing a bug report or feature request as a GitHub issue in the public what-iff repository. A GitHub issue is a tracked request for a problem, improvement, or piece of work.

In plain words
What is it for?
Use it to report a bug, request a feature, or record a finding with the required details.
Why use it?
It checks for existing matching issues and follows the repository's issue forms, reducing duplicate or incorrectly formatted reports.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: installed under .agents/ (shared by several agents).

This is theimaginaryfoundation/what-iff's own configuration. It tells Claude Code and Codex how to work on what-iff 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 what-iff configures →

Reuse

Borrowing it

Nothing to install: this file belongs to theimaginaryfoundation/what-iff. 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/theimaginaryfoundation/what-iff/main/.agents/skills/gh-issue/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/theimaginaryfoundation/what-iff

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

README.md
[![agentmods](https://agentmods.dev/badge/skills/theimaginaryfoundation/what-iff/gh-issue/github.svg)](https://agentmods.dev/skills/theimaginaryfoundation/what-iff/gh-issue)
Your own site
<a href="https://agentmods.dev/skills/theimaginaryfoundation/what-iff/gh-issue"><img src="https://agentmods.dev/badge/skills/theimaginaryfoundation/what-iff/gh-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 gh-issue

Your own site · 80×15
<a href="https://agentmods.dev/skills/theimaginaryfoundation/what-iff/gh-issue"><img src="https://agentmods.dev/badge/skills/theimaginaryfoundation/what-iff/gh-issue.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 140 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 765 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.00140 $0.00765
Opus 5.5 $0.00056 $0.00306
Sonnet 5.5 $0.00028 $0.00153
Haiku 4.5 $0.00014 $0.00076

Measured 1mo ago against content hash 893f9619996f, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

gh-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 1mo 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.

.agents/skills/gh-issue/SKILL.md · 110 lines

How it starts

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

File a GitHub issue (public repo only)

Everything here is world-readable forever. No internal hostnames, customer names, private-repo paths, Jira keys, Notion links, or session URLs in the title or body.

1. Guard

REPO=$(gh repo view --json nameWithOwner -q .nameWithOwner)
[ "$REPO" = theimaginaryfoundation/what-iff ] || { echo "not the public repo ($REPO); stop"; exit 1; }

Stop if gh is missing or unauthenticated (gh auth status); do not fall back to the raw API, a browser, or another tracker.

2. Dedupe

gh issue list -S "<2-4 keywords> in:title" --state all -L 5 --json number,title,state

If one matches, comment there or report it to the user instead of filing.

3. File

Body headings must match the form labels exactly (GitHub renders form submissions as ### <label> sections; same headings → same look and same searchability). Drop optional sections you have nothing for.

Bug (-l bug):

gh issue create -l bug -t "<symptom, ≤72 chars, no prefix>" -F - <<'BODY'
### Area

<one of: API / backend (Go) | Web app (web/app) | Data layer (ent, migrations, Postgres) | LLM providers / agent | CI / Docker / build | Docs | Other>

### What happened

<observed behavior + exact error/log lines, trimmed>

### What you expected

<...>

### Steps to reproduce

1. ...

### Version or commit

<git rev-parse --short HEAD, or tag>

### Environment

<OS, Go/Node, docker compose vs make run, provider, browser — only what matters>

### Additional context

<related issues/PRs as #N, suspected cause, workaround>
BODY

Feature (-l enhancement):

gh issue create -l enhancement -t "<outcome, ≤72 chars>" -F - <<'BODY'
### Area

<same list as above>

### Problem

<what is hard today, and for whom>

### Proposed solution

<what changes; API/UI/config shape if known>

### Alternatives considered

<...>

### Additional context

<links, prior art, willing to implement?>
BODY

Report the URL gh prints. Only add -a @me, -m, or extra labels if asked.

Read the full file on GitHub · 110 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. 1mo ago First seen · 110 lines · 140 tokens per session scan A 893f9619996f

Subscribe to this mod's changes

gh-issue is a skill published in the GitHub repository theimaginaryfoundation/what-iff (19 stars, last pushed yesterday), licensed Apache-2.0. It adds 140 tokens to every session and 765 once invoked, about $0.0006 per session on Opus 5.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-09-09.