smithery.ai

github-metadata

manage custom issue fields, metadata schemas, and early-access REST API features

First seen Apr 5, 2026

Installation

$ npx skills add https://smithery.ai

Similar popular skills

Related neighbors and high-traction skills in the same topics — useful to compare before installing.

Also in this package

Other skills from smithery.ai · top by installs.

npx skills add https://smithery.ai

Browse all from smithery.ai

More details

Agent compatibility

Declared targets from SKILL.md / docs. Unmarked agents are not listed — the skill may still install via the CLI.

Claude Code Not declared
Cursor Not declared
Codex Not declared
GitHub Copilot Not declared
Windsurf Not declared
Gemini CLI Not declared
Cline Not declared
OpenCode Not declared

Skill metadata

Parsed from SKILL.md frontmatter.

More metadata
category
github

Package contents

Files included with this skill beyond the listing page.

  • skill md SKILL.md 3,178 B
  • docs SUMMARY.md 103 B

History

  1. First seen on skills.sh
  2. First recorded snapshot · 1 installs

SKILL.md

GitHub Metadata

What is it?

The Metadata Skill handles advanced and "hidden" GitHub features, specifically focusing on Issue Custom Fields and attributes accessible via the Issue Fields REST API.

Success Criteria

  • Custom field values are accurately read or updated.
  • Numeric IDs for fields and repositories are resolved BEFORE API calls.
  • API calls use the correct Accept headers and JSON payloads.
  • No assumptions are made about existing field values.

Why use it?

  • Advanced customization: Access GitHub's early-access custom fields API
  • Flexible metadata: Manage custom properties beyond standard issue fields
  • Dynamic resolution: Handles complex ID lookups for fields and repositories
  • Future-proof: Leverages cutting-edge GitHub features before MCP support
  • Precise control: Direct REST API access for fine-grained metadata operations

When to use this skill

  • "Get the value of the 'Priority' custom field for issue #10."
  • "Set the 'Target Date' field on this issue."
  • "What are the available custom fields in this organization?"

What this skill can do

  • Discovery: List available issue fields in an organization (GET /orgs/{org}/issue-fields).
  • Read: Fetch values of specific custom fields on an issue.
  • Write: Update custom field values using raw REST calls.

What this skill will NOT do

  • Manage standard metadata (assignees) - use github-issues.
  • Create fields (admin task, though supported by API).

How to use this skill

  1. Resolve IDs: Use gh repo view and field discovery to get numeric IDs. Writing values REQUIRES these IDs.
  2. Check MCP: Ensure issue_read doesn't already return the field.
  3. Construct API Call: Use gh api with the endpoints defined in ISSUEFIELDSAPI.md.
  4. Authentication: Ensure the token has repo and organization scopes.

Tool usage rules

  • Statelessness: Always resolve IDs dynamically; do not hardcode field or repository IDs.
  • REST Essential: This skill relies heavily on the runcommand tool to execute gh api using the REST endpoints. Note: MCP tools do not currently support the Issue Fields Early Access API._
  • Header: Accept: application/vnd.github+json is mandatory for these endpoints.
  • IDs: Writing values REQUIRES the numeric fieldid (from Discovery) and repositoryid.

Examples

See [field-payload-examples.json](assets/field-payload-examples.json) for concrete payloads and expected outcomes.

Listing Fields

# Get all defined fields for the org
gh api /orgs/my-org/issue-fields

Setting a Field Value

# 1. Get Repo ID
REPO_ID=$(gh repo view my-org/my-repo --json id -q .id)

# 2. Set Value (Field ID 123 = Priority, Value = "High")
gh api --method PUT /repositories/$REPO_ID/issues/42/issue-field-values \
  -f issue_field_values='[{"field_id": 123, "value": "High"}]'

Limitations

  • Requires numeric IDs for fields and repositories.
  • Early Access API is subject to change.