item

A command-line tool for managing GitHub Project items, including issues, pull requests, and draft issues.

In plain words
What is it for?
Use it to list and view repository work, add items to projects, edit fields, remove items, and update multiple items at once.
Why use it?
It groups common project-board tasks in one command interface instead of requiring separate manual actions for listing, editing, adding, or removing items.

Command

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.

agentmods
npx agentmods add commands/roboco-io/ghx-cli/item
Clone the repo
git clone --depth 1 https://github.com/roboco-io/ghx-cli
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,481 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 $0.00000 $0.01481
Opus 5 $0.00000 $0.00740
Sonnet 5 $0.00000 $0.00296
Haiku 4.5 $0.00000 $0.00148

Measured yesterday against content hash c9aec89d4c34, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

item 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 yesterday.

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.

docs/commands/item.md · 248 lines

How it starts

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

ghx item

Manage project items (issues, pull requests, and draft issues).

Synopsis

ghx item <command> [arguments] [flags]

Description

The item command group provides comprehensive item management for GitHub Projects. Items can be existing issues, pull requests, or draft issues created directly in the project.

Commands

Command Description
list List items in a repository or project
view View item details
add Add item to project
add-bulk Add multiple items at once
edit Edit item field values
remove Remove item from project
update-bulk Update multiple items at once

ghx item list

List issues and pull requests.

ghx item list <owner/repo> [flags]

Flags

Flag Description Default
--state Filter by state (open, closed, all) all
--type Filter by type (issue, pr) -
--label Filter by label -
--assignee Filter by assignee -
--milestone Filter by milestone -
-L, --limit Maximum number of items 30
--format Output format (table, json) table

Examples

# List all items
ghx item list myorg/repo

# List open issues only
ghx item list myorg/repo --state open --type issue

# Filter by label
ghx item list myorg/repo --label bug

# Filter by assignee
ghx item list myorg/repo --assignee octocat

ghx item view

View details of an issue or pull request.

ghx item view <item-ref> [flags]

Arguments

  • <item-ref> - Item reference in format owner/repo#number

Flags

Flag Description Default
--format Output format (table, json) table
--comments Include comments false

Examples

# View issue
ghx item view myorg/repo#123

# View with comments
ghx item view myorg/repo#123 --comments

# JSON output
ghx item view myorg/repo#123 --format json

Read the full file on GitHub · 248 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. yesterday First seen · 248 lines · 0 tokens per session scan A c9aec89d4c34

Subscribe to this mod's changes

item is a command published in the GitHub repository roboco-io/ghx-cli (5 stars, last pushed 6mo ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 1,481 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-31.