gcx: Skill for Claude Code

.agents/skills/contribute/SKILL.md

contribute is a skill for Claude Code, Codex from grafana/gcx. It costs 59 tokens per session (1,022 once invoked), scanned A, original, Apache-2.0.

A contribution workflow for the gcx repository. It guides bug reports, documentation changes, feature proposals, implementation, and self-review while following the repository's rules.

In plain words
What is it for?
Use it to prepare a bug fix, documentation update, code change, or contribution review in a gcx checkout.
Why use it?
It removes uncertainty about which contribution path to use and what information to check before changing code. It also helps keep work within the requested scope and authorization.

Skill for Claude CodeCodex ✓ vendor

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

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

About the project

gcx is a command-line tool that lets people and AI coding agents manage and inspect Grafana Cloud, Enterprise, and open-source instances. It provides access to dashboards, alerts, SLOs, metrics, logs, and traces, with workflows for alert investigation, dashboard management, GitOps, and observability setup. Its catalogue entries provide agent instructions and extensions for using gcx.

grafana/gcx · 805 stars · on GitHub · grafana.com

Reuse

Borrowing it

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

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 contribute

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/grafana/gcx/contribute"><img src="https://agentmods.dev/badge/skills/grafana/gcx/contribute.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 59 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,022 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.00059 $0.01022
Opus 5.5 $0.00024 $0.00409
Sonnet 5.5 $0.00012 $0.00204
Haiku 4.5 $0.00006 $0.00102

Measured 8d ago against content hash a6677e494a85, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

contribute 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 8d 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/contribute/SKILL.md · 54 lines

How it starts

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

Contribute to gcx

Read AGENTS.md and the authoritative contribution workflow. Use its route and ownership guidance; the contributor does not need to choose a provider, datasource or RFC workflow upfront.

1. Establish the current step

Identify the requested outcome and the existing issue, accepted decisions, RFC or implementation branch. Inspect those records and relevant code before asking questions. State the applicable route, current step and missing maintainer decision. Reuse settled scope and design at each handoff.

Work within the request and existing authorization. A draft-only or review-only request ends with that artifact. An implementation request continues through authorized work once applicable maintainer decisions are settled. Prepare the concrete result before requesting publication permission; reuse authorization already given for the same destination and scope.

2. Prepare the issue when the route needs one

Documentation changes and bug fixes can go directly to a PR. Other code contributions need an accepted issue; comment on it to coordinate the work. Follow the product-team exception for changes within an existing owned area.

Search the repository’s open and closed issues for existing reports and proposals before creating an issue or starting implementation. Reuse a relevant issue; check its outcome and maintainer decisions before proceeding. When its maintainer decision is settled, continue to the needed planning or implementation rather than drafting another proposal.

  • Bugfixes: can go directly to a PR without a separate issue or prior maintainer acknowledgement. When reporting a bug, search for an existing report first and add relevant evidence there. If no report matches, use the Bug report form. Establish actual and expected behavior, reproduction or evidence, and relevant version/environment. Link the existing report from the fix PR when available. Record verified findings separately from assumptions.
  • Feature: use propose-feature to research and draft the common proposal. Show a concrete problem, proposed UX and checkable acceptance criteria; scale examples to the work and identify unresolved facts.

Read the full file on GitHub · 54 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. 8d ago First seen · 54 lines · 59 tokens per session scan A a6677e494a85

Subscribe to this mod's changes

contribute is a skill published in the GitHub repository grafana/gcx (805 stars, last pushed yesterday), licensed Apache-2.0. It adds 59 tokens to every session and 1,022 once invoked, about $0.0002 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-10-21.