field

A command group for managing custom fields in GitHub Projects. Fields add extra information to project items, such as text, numbers, dates, choices, or work cycles.

In plain words
What is it for?
Use it to list, create, update, or delete fields and manage the choices in single-choice fields.
Why use it?
It avoids manually editing project metadata through GitHub's interface and helps keep project tracking fields consistent.

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/field
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,229 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.01229
Opus 5 $0.00000 $0.00615
Sonnet 5 $0.00000 $0.00246
Haiku 4.5 $0.00000 $0.00123

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

Security

Grade A, and why

field 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/field.md · 239 lines

How it starts

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

ghx field

Manage custom fields in GitHub Projects.

Synopsis

ghx field <command> [arguments] [flags]

Description

The field command group provides comprehensive field management for GitHub Projects. Fields allow you to track additional metadata for project items with support for various data types.

Field Types

Type Description Example Values
text Free-form text "Implementation notes"
number Numeric values 5, 3.14, -10
date Date values 2024-01-31
single_select Single choice from options "High", "Medium", "Low"
iteration Sprint/iteration cycles "Sprint 1", "Sprint 2"

Commands

Command Description
list List project fields
create Create a new field
update Update field properties
delete Delete a field
add-option Add option to single select field
update-option Update single select option
delete-option Delete single select option

ghx field list

List fields in a project.

ghx field list <project-ref> [flags]

Flags

Flag Description Default
--format Output format (table, json) table

Examples

# List all fields
ghx field list myorg/123

# JSON output
ghx field list myorg/123 --format json

ghx field create

Create a new project field.

ghx field create <project-ref> <name> <type> [flags]

Arguments

  • <project-ref> - Project reference in format owner/number
  • <name> - Field name
  • <type> - Field type (text, number, date, single_select, iteration)

Flags

Flag Description
--options Comma-separated options (for single_select)
--description Field description

Examples

# Create text field
ghx field create myorg/123 "Notes" text

# Create number field
ghx field create myorg/123 "Story Points" number

# Create date field
ghx field create myorg/123 "Due Date" date

# Create single select field
ghx field create myorg/123 "Priority" single_select --options "Critical,High,Medium,Low"

# Create iteration field
ghx field create myorg/123 "Sprint" iteration

Read the full file on GitHub · 239 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 · 239 lines · 0 tokens per session scan A df1ae9643185

Subscribe to this mod's changes

field 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,229 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.