contribute

contribute is a command for Claude Code from gonzalezpazmonica/pm-workspace. It costs 22 tokens per session (760 once invoked), scanned A, a copy of contribute, MIT.

A command for contributing improvements, ideas, or fixes to a GitHub repository. It can create a pull request, which is a proposed change for others to review, or open an enhancement issue.

In plain words
What is it for?
Use it to prepare a contribution, validate the complete change, create a branch and commit, and submit a pull request or idea issue through GitHub.
Why use it?
It organizes the contribution process and checks repository access and privacy before sending anything. This reduces the chance of sharing sensitive information in a public change.

Command for Claude Code

Written for Claude Code: installed under .claude/. Also seen: agent in frontmatter.

Part of the pm-workspace plugin — 124 commands, 75 agents shipped together

Good fit Use it to prepare a contribution, validate the complete change, create a branch and commit, and submit a pull request or idea issue through GitHub.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/gonzalezpazmonica/pm-workspace/contribute
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.

Clone the repo
git clone --depth 1 https://github.com/gonzalezpazmonica/pm-workspace

Made for: Claude Code.

Or install pm-workspace, the plugin that ships this one along with the rest of its 124 commands, 75 agents.

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/commands/gonzalezpazmonica/pm-workspace/contribute/github.svg)](https://agentmods.dev/commands/gonzalezpazmonica/pm-workspace/contribute)
Your own site
<a href="https://agentmods.dev/commands/gonzalezpazmonica/pm-workspace/contribute"><img src="https://agentmods.dev/badge/commands/gonzalezpazmonica/pm-workspace/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/commands/gonzalezpazmonica/pm-workspace/contribute"><img src="https://agentmods.dev/badge/commands/gonzalezpazmonica/pm-workspace/contribute.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 22 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 760 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 100% copy Near-identical to another mod 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.00022 $0.00760
Opus 5 $0.00011 $0.00380
Sonnet 5 $0.00004 $0.00152
Haiku 4.5 $0.00002 $0.00076

Measured 5d ago against content hash 20c6444525dd, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, 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 5d 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.

Origin

This is a copy

100% identical to contribute — 0 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

.claude/commands/contribute.md · 89 lines

How it starts

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

/contribute {subcommand}

🦉 Savia te ayuda a devolver a la comunidad — propón mejoras, ideas o correcciones.


Cargar perfil de usuario

Grupo: Memory & Context — cargar identity.md + tone.md del perfil activo. Ver .claude/profiles/context-map.md.

Prerequisitos

  • gh CLI instalado y autenticado (gh auth status)
  • Repositorio clonado desde GitHub con origin configurado
  • Leer @docs/rules/domain/community-protocol.md para guardrails de privacidad

Subcomandos

/contribute pr "título"

Crear un Pull Request con una mejora o corrección:

  1. Mostrar banner: 🦉 Contribute · PR
  2. Verificar prerequisitos (gh, auth, origin) — mostrar ✅/❌
  3. Pedir al usuario qué quiere mejorar si no lo ha especificado
  4. Generar los cambios necesarios (diff)
  5. Validar privacidad: ejecutar bash scripts/contribute.sh validate "contenido" sobre TODO el diff
  6. Si falla validación → mostrar qué se detectó, NO continuar
  7. Confirmar con el usuario antes de enviar
  8. Crear rama community/{slug}, commit, push, gh pr create
  9. Mostrar URL del PR creado
  10. Banner fin: ✅ PR creado

/contribute idea "título"

Abrir un issue de tipo enhancement:

  1. Mostrar banner: 🦉 Contribute · Idea
  2. Validar privacidad del título y descripción
  3. Confirmar con el usuario
  4. bash scripts/contribute.sh issue "título" "descripción" "enhancement,community,from-savia"
  5. Mostrar URL del issue

/contribute bug "título"

Abrir un issue de tipo bug:

  1. Mostrar banner: 🦉 Contribute · Bug
  2. Pedir al usuario pasos para reproducir (sanitizados)
  3. Validar privacidad
  4. bash scripts/contribute.sh issue "título" "descripción" "bug,community,from-savia"
  5. Mostrar URL del issue

/contribute status

Ver PRs e issues abiertos del usuario:

  1. Mostrar banner: 🦉 Contribute · Status
  2. bash scripts/contribute.sh list all
  3. Mostrar resumen formateado

Voz de Savia

  • Humano: "He creado el PR con tu mejora. ¡Gracias por contribuir! 🦉"
  • Agente (YAML):
    status: ok
    action: contribute_pr
    url: "https://github.com/gonzalezpazmonica/pm-workspace/pull/42"
    

Read the full file on GitHub · 89 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. 5d ago First seen · 89 lines · 22 tokens per session scan A 20c6444525dd

Subscribe to this mod's changes

contribute is a command published in the GitHub repository gonzalezpazmonica/pm-workspace (49 stars, last pushed 3d ago), licensed MIT. It adds 22 tokens to every session and 760 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 0 findings. It is 100% identical to contribute, differing in 0 lines, and is treated as a copy.