open-source-contribution

open-source-contribution is a skill for Codex from hxy91819/mason-skills. It costs 64 tokens per session (3,775 once invoked), scanned A, original, MIT.

A guide for preparing software projects for public open-source work and releases. It covers privacy checks, Git history, contributor identity, installation scripts, and review before publishing.

In plain words
What is it for?
Use it to clean a repository before release, contribute safely to a public project, review install scripts and services, or check Git history when privacy changes are explicitly allowed.
Why use it?
It helps prevent private information, secrets, unsafe setup code, or unsuitable commit details from being exposed publicly. It also keeps changes limited and protects existing work.

Skill for Codex

Written for Codex: agents/openai.yaml present. Also seen: mentions Codex.

Good fit Use it to clean a repository before release, contribute safely to a public project, review install scripts and services, or check Git history when privacy changes are explicitly allowed.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/hxy91819/mason-skills/open-source-contribution
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.

Any agent
npx skills add hxy91819/mason-skills --skill open-source-contribution
Clone the repo
git clone --depth 1 https://github.com/hxy91819/mason-skills

Made for: 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 open-source-contribution

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/hxy91819/mason-skills/open-source-contribution"><img src="https://agentmods.dev/badge/skills/hxy91819/mason-skills/open-source-contribution.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 64 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,775 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. 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.00064 $0.03775
Opus 5 $0.00032 $0.01887
Sonnet 5 $0.00013 $0.00755
Haiku 4.5 $0.00006 $0.00378

Measured 12d ago against content hash f14ccb8bf57b, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade A, and why

open-source-contribution scanned grade A with 1 finding 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 12d ago.

The scan reads SKILL.md. This mod also ships 2 executable files (scripts/check_identity.py, scripts/test_check_identity.py), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

Asks for rootlowPrivilege escalation

A mod that escalates privileges can change anything on the machine, not only the project.

- When adding install/service scripts, assume they may run as root. Validate all

Downgraded: this mod is about security review, or the phrase is quoted, so it is likely naming the pattern rather than instructing it.

common-skills/open-source-contribution/SKILL.md · 377 lines

How it starts

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

Open Source Contribution

Use this skill when helping a user publish, clean up, or contribute to an open-source repository. The default posture is conservative: protect privacy, preserve user work, keep the patch small, and prove the repository is safe to push.

Core Rules

  • Never expose tokens, private keys, prompt logs, local transcripts, shell secrets, private service names, corporate/internal email addresses, or corporate identifiers (employee IDs, company usernames) as commit author names.
  • Use a user-approved personal open-source email or GitHub noreply address for public commit authors and committers. Treat employer/corporate addresses as prohibited even when they are already configured globally or locally.
  • Match the public author name to the GitHub account: use the GitHub login or an approved display name. Treat a corporate ID configured as user.name as prohibited even when it is already configured globally or locally.
  • Treat Git commit metadata as public data. Secret scanners do not catch author and committer names/emails.
  • Do not rewrite history unless the user explicitly allows it. If allowed, use force-with-lease and verify the remote head afterward.
  • Do not push just to test. Push only when the user requested publish, ship, or PR update.
  • When adding install/service scripts, assume they may run as root. Validate all user-controlled path/name inputs before interpolating them into filesystem paths or service manager commands.
  • Run review after non-trivial changes. Treat review findings as advisory, then independently verify and fix only real, in-scope issues.

Secure Release Routing

When the task includes designing, migrating, or validating a registry or GitHub release pipeline, use the secure-release skill for the release protocol, runtime kit, ecosystem adapter, and rerun semantics. Keep this skill for public-repository privacy, identity, security baseline, review, and push/PR hygiene. Apply both sets of completion gates without copying the detailed release protocol into this file.

Read the full file on GitHub · 377 lines

Files

What ships with it

3 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 12d ago First seen · 377 lines · 64 tokens per session scan A f14ccb8bf57b

Subscribe to this mod's changes

open-source-contribution is a skill published in the GitHub repository hxy91819/mason-skills (2 stars, last pushed today), licensed MIT. It adds 64 tokens to every session and 3,775 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it A with 1 finding (asks for root). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.