cc-sessions-viewer: Skill for Codex

.agents/skills/git-push/SKILL.md

git-push is a skill for Codex from jerrywu001/cc-sessions-viewer. It costs 74 tokens per session (576 once invoked), scanned A, original, MIT.

A tool for committing and pushing changes in the current Git repository, a project folder that records code history. It analyzes the changes, creates an English commit message following the repository's conventions, and completes the push when explicitly requested.

In plain words
What is it for?
Use it when you explicitly want to commit and push the current repository changes.
Why use it?
It gathers the repository changes and handles the commit-and-push steps in one workflow. It is not intended for status checks, local-only commits, or situations where pushing is not allowed.

Skill for Codex

Written for Codex: agents/openai.yaml present. Also seen: installed under .agents/ (shared by several agents).

This is jerrywu001/cc-sessions-viewer's own configuration. It tells Codex how to work on cc-sessions-viewer 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 cc-sessions-viewer configures →

Reuse

Borrowing it

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

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 git-push

README.md
[![agentmods](https://agentmods.dev/badge/skills/jerrywu001/cc-sessions-viewer/git-push/github.svg)](https://agentmods.dev/skills/jerrywu001/cc-sessions-viewer/git-push)
Your own site
<a href="https://agentmods.dev/skills/jerrywu001/cc-sessions-viewer/git-push"><img src="https://agentmods.dev/badge/skills/jerrywu001/cc-sessions-viewer/git-push/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 git-push

Your own site · 80×15
<a href="https://agentmods.dev/skills/jerrywu001/cc-sessions-viewer/git-push"><img src="https://agentmods.dev/badge/skills/jerrywu001/cc-sessions-viewer/git-push.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 74 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 576 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.00074 $0.00576
Opus 5.5 $0.00030 $0.00230
Sonnet 5.5 $0.00015 $0.00115
Haiku 4.5 $0.00007 $0.00058

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

Security

Grade A, and why

git-push 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 1mo 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/git-push/SKILL.md · 58 lines

What it actually says

Git Push

Only use this skill when the user explicitly asks to commit and push.

Workflow

  1. Run git pull first to fetch the latest remote changes.
  2. If the pull output contains conflict markers such as CONFLICT or Merge conflict, stop immediately — do not commit or push — and clearly list the conflicting files.
  3. Analyze the changes in parallel:
    • git status --short
    • git diff HEAD
  4. Generate an English commit message. The commit type must be chosen from:
    • feat
    • fix
    • doc
    • style
    • update
    • refactor
    • test
    • framework
    • revert Use lowercase for the type because this repository's commitlint enforces lowercase conventional-commit types.
  5. The commit message format must be:
type: brief summary of the change

- Change detail 1
- Change detail 2
  1. Do not add any AI-generated sign-off.
  2. Before staging or committing, run the CI checks locally:
    • npx vue-tsc --noEmit
    • npm run test:run
    • cargo clippy --manifest-path src-tauri/Cargo.toml --all-targets -- -D warnings
    • cargo test --manifest-path src-tauri/Cargo.toml Stop immediately if any check fails; do not commit or push a failing change.
  3. In the main repository, run:
    • git add .
    • git restore --staged .env.development 2>/dev/null || true (only skip committing .env.development; keep the local edits)
    • Commit with the multi-line message
    • git push
  4. After completion, report the commit hash, commit message, current branch, and push result.

Rules

  • If there are no changes, stop and explain that no commit is needed.
  • If commitlint or a git hook fails, fix the message or the underlying issue and retry; do not bypass validation.
  • Do not use interactive git commands.
  • Only push to the remote when the user has explicitly asked for a push.
  • .env.development changes must be removed from the staging area before commit; do not implement the exclusion by modifying .gitignore.
Files

What ships with it

1 file 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. 1mo ago First seen · 58 lines · 74 tokens per session scan A 2d528d025fbc

Subscribe to this mod's changes

git-push is a skill published in the GitHub repository jerrywu001/cc-sessions-viewer (408 stars, last pushed yesterday), licensed MIT. It adds 74 tokens to every session and 576 once invoked, about $0.0003 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-08-30.