opensource-packager

opensource-packager is an agent for Claude Code from Fmarzochi/EGC. It costs 59 tokens per session (1,780 once invoked), scanned A, a copy of opensource-packager, Apache-2.0.

An agent that prepares a project for public open-source release. It creates setup instructions, project guidance, documentation, licensing, contribution guidance, and GitHub issue templates.

In plain words
What is it for?
Use it to examine the project stack and structure, then produce files such as GEMINI.md, setup.sh, README.md, LICENSE, CONTRIBUTING.md, and issue templates.
Why use it?
It helps turn a private or incomplete repository into a project that new contributors can understand, install, and use.

Agent for Claude Code

Written for Claude Code: a Claude Code subagent (agents/*.md). Also seen: model in frontmatter; mentions Gemini CLI.

Not installable: its command points at a path on the author’s own machine, so it runs nowhere else. The line is /home/user/opensource-staging/my-api,.

Good fit Use it to examine the project stack and structure, then produce files such as GEMINI.md, setup.sh, README.md, LICENSE, CONTRIBUTING.md, and issue templates.

Compare 6 agents from other repositories ↓
Install

Getting it into your agent

There is no command for this one: it runs only inside a plugin, and the catalogue could not identify which plugin ships it. The source is linked below.

Made for: Claude Code.

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 opensource-packager

README.md
[![agentmods](https://agentmods.dev/badge/agents/fmarzochi/egc/opensource-packager/github.svg)](https://agentmods.dev/agents/fmarzochi/egc/opensource-packager)
Your own site
<a href="https://agentmods.dev/agents/fmarzochi/egc/opensource-packager"><img src="https://agentmods.dev/badge/agents/fmarzochi/egc/opensource-packager/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 opensource-packager

Your own site · 80×15
<a href="https://agentmods.dev/agents/fmarzochi/egc/opensource-packager"><img src="https://agentmods.dev/badge/agents/fmarzochi/egc/opensource-packager.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 59 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,780 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 88% 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.00059 $0.01780
Opus 5.5 $0.00024 $0.00712
Sonnet 5.5 $0.00012 $0.00356
Haiku 4.5 $0.00006 $0.00178

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

Security

Grade A, and why

opensource-packager 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 23d 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

88% identical to opensource-packager — 62 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.

agents/opensource-packager.md · 251 lines

How it starts

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

Open-Source Packager

You generate complete open-source packaging for a sanitized project. Your goal: anyone should be able to fork, run setup.sh, and be productive within minutes: especially with your AI coding tool.

Your Role

  • Analyze project structure, stack, and purpose
  • Generate GEMINI.md (the most important file: gives your AI coding tool full context)
  • Generate setup.sh (one-command bootstrap)
  • Generate or enhance README.md
  • Add LICENSE
  • Add CONTRIBUTING.md
  • Add .github/ISSUE_TEMPLATE/ if a GitHub repo is specified

Workflow

Step 1: Project Analysis

Read and understand:

  • package.json / requirements.txt / Cargo.toml / go.mod (stack detection)
  • docker-compose.yml (services, ports, dependencies)
  • Makefile / Justfile (existing commands)
  • Existing README.md (preserve useful content)
  • Source code structure (main entry points, key directories)
  • .env.example (required configuration)
  • Test framework (jest, pytest, vitest, go test, etc.)

Step 2: Generate GEMINI.md

This is the most important file. Keep it under 100 lines: concise is critical.

# {Project Name}

**Version:** {version} | **Port:** {port} | **Stack:** {detected stack}

## What
{1-2 sentence description of what this project does}

## Quick Start

\`\`\`bash
./setup.sh              # First-time setup
{dev command}           # Start development server
{test command}          # Run tests
\`\`\`

## Commands

\`\`\`bash
# Development
{install command}        # Install dependencies
{dev server command}     # Start dev server
{lint command}           # Run linter
{build command}          # Production build

# Testing
{test command}           # Run tests
{coverage command}       # Run with coverage

# Docker
cp .env.example .env
docker compose up -d --build
\`\`\`

## Architecture

\`\`\`
{directory tree of key folders with 1-line descriptions}
\`\`\`

{2-3 sentences: what talks to what, data flow}

## Key Files

\`\`\`
{list 5-10 most important files with their purpose}
\`\`\`

## Configuration

All configuration is via environment variables. See \`.env.example\`:

| Variable | Required | Description |
|----------|----------|-------------|
{table from .env.example}

## Contributing

See [CONTRIBUTING.md](CONTRIBUTING.md).

Read the full file on GitHub · 251 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. 23d ago Changed · +2 tokens per session 0c426bbf8567
  2. 1mo ago First seen · 251 lines · 57 tokens per session scan A 98ee72f96391

Subscribe to this mod's changes

opensource-packager is an agent published in the GitHub repository Fmarzochi/EGC (67 stars, last pushed today), licensed Apache-2.0. It adds 59 tokens to every session and 1,780 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 0 findings. It is 88% identical to opensource-packager, differing in 62 lines, and is treated as a copy.