github-optimization

github-optimization is a skill for Claude Code, Codex from opencue/cuecards. It costs 155 tokens per session (4,682 once invoked), scanned A, original, MIT.

A skill for improving a GitHub repository’s README, metadata, and structure so people can find and understand it more easily. GitHub is a service where developers publish and collaborate on code.

In plain words
What is it for?
Use it to rewrite a README, improve repository descriptions and topics, add badges and calls to action, and create a strategy for attracting more attention.
Why use it?
It helps address unclear project presentation and poor discoverability in GitHub and search results. It also focuses on encouraging visitors to star or follow the repository.

Skill for Claude CodeCodex

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

Good fit Use it to rewrite a README, improve repository descriptions and topics, add badges and calls to action, and create a strategy for attracting more attention.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/opencue/cuecards/github-optimization
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 opencue/cuecards --skill github-optimization
Clone the repo
git clone --depth 1 https://github.com/opencue/cuecards

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 github-optimization

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/opencue/cuecards/github-optimization"><img src="https://agentmods.dev/badge/skills/opencue/cuecards/github-optimization.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 155 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 4,682 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. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 2 findings, up to high

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • high Rogue Agent · line 80
    Skill modifies its own code, configuration, or behavior at runtime. Self-modification enables an agent to escalate privileges, disable safety constraints, or install persistent backdoors.
    Fix: Prevent the skill from modifying its own code, SKILL.md, or configuration files. Treat skill files as read-only at runtime.
  • medium Rogue Agent · line 11
    Skill establishes unauthorized persistence across sessions via cron jobs, startup scripts, or state files. Session persistence allows an attacker to maintain access beyond the current interaction.
    Fix: Remove any persistence mechanisms (cron jobs, startup scripts, state files). Skills should not maintain state across sessions without explicit user consent.
How audits are shown
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.00155 $0.04682
Opus 5.5 $0.00062 $0.01873
Sonnet 5.5 $0.00031 $0.00936
Haiku 4.5 $0.00015 $0.00468

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

Security

Grade A, and why

github-optimization 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 2mo 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/github-optimization/SKILL.md · 459 lines

How it starts

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

GitHub Repository Optimization

Transform any GitHub repository into a high-converting, SEO-optimized landing page that drives stars, followers, and traffic. Every repo you touch should look like a top-100 open source project.

This skill has two modes:

  1. Optimize — rewrite a repo's README, metadata, and structure for maximum conversion
  2. Advise — give the user a star growth strategy using the knowledge base below

Goals (in priority order)

  1. Stars -- the primary social proof metric on GitHub
  2. Followers -- drive traffic to the repo owner's social profiles
  3. Discoverability -- rank in GitHub search, Google, and LLM answer engines
  4. Traffic -- turn visitors into users/followers
  5. Professional credibility -- signal quality through structure and polish

Step 0: User Configuration (Self-Updating)

Before optimizing, you need to know who owns this repo. This step runs once -- after that, the config is reused.

Check for existing config

Look for ~/.Codex/skills/github-optimization/.config.yml. If it exists, load the values and skip to Step 1. Show the user what's loaded and ask if anything changed.

If no config exists, detect + ask

  1. Detect automatically from git config and GitHub API:

    • gh api user -- gets the authenticated GitHub username and profile URL
    • gh api repos/<owner>/<repo> -- gets the repo owner (could be org or user)
    • git config user.name -- gets the local git display name
  2. Ask the user for anything you can't detect:

    • Display name -- their real name or preferred attribution (e.g., "Jane Smith")
    • X/Twitter handle -- for the Follow badge (e.g., "@janesmith"). If they don't want it, skip it.
    • Company or organisation -- for footer attribution (optional)
    • Company URL -- link for the company name (optional)
    • Website URL -- personal or company site (optional)
  3. Save the config to ~/.Codex/skills/github-optimization/.config.yml:

Read the full file on GitHub · 459 lines

Files

What ships with it

4 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. 2mo ago First seen · 459 lines · 155 tokens per session scan A b524e39018ea

Subscribe to this mod's changes

github-optimization is a skill published in the GitHub repository opencue/cuecards (10 stars, last pushed yesterday), licensed MIT. It adds 155 tokens to every session and 4,682 once invoked, about $0.0006 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-09-03.

Related

github-optimization compared with skills from other repositories

github-optimization next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
github-optimizationopencue/cuecardsSkill10yesterdayMITA155Claude Code, Codex
atomic-git-disciplinedamusix/atomic-claudeSkill117yesterdayMITA222Claude Code, Codex
repo-hygieneQwenLM/qwen-codeSkill31ktodayApache-2.0A48Claude Code, Codex
memstack-security-git-guardcwinvestments/memstackSkill43318d agoMITA92Claude Code
land-and-deployFlorianBruniaux/claude-code-ultimate-guideSkill7.6ktodayCC-BY-SA-4.0A41Claude Code
release-notes-generatorFlorianBruniaux/claude-code-ultimate-guideSkill7.6ktodayCC-BY-SA-4.0A59Claude Code
release-notesFlorianBruniaux/claude-code-ultimate-guideSkill7.6ktodayCC-BY-SA-4.0A13Claude Code