cp

cp is a skill for Claude Code, Codex from dgk-dev/dgk-gpt. It costs 75 tokens per session (573 once invoked), scanned A, original, MIT.

A local workflow for checking code changes, committing them to the current Git branch, and pushing them to the remote repository.

In plain words
What is it for?
Use it when you explicitly want to finish current work by running checks, creating a commit, and pushing it.
Why use it?
It provides a repeatable final check so intended changes are verified and only the right files are committed.

Skill for Claude CodeCodex

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.

agentmods
npx agentmods add skills/dgk-dev/dgk-gpt/cp
Any agent
npx skills add dgk-dev/dgk-gpt --skill cp
Clone the repo
git clone --depth 1 https://github.com/dgk-dev/dgk-gpt

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 cp

README.md
[![agentmods](https://agentmods.dev/badge/skills/dgk-dev/dgk-gpt/cp.svg)](https://agentmods.dev/skills/dgk-dev/dgk-gpt/cp)
Your own site
<a href="https://agentmods.dev/skills/dgk-dev/dgk-gpt/cp"><img src="https://agentmods.dev/badge/skills/dgk-dev/dgk-gpt/cp.svg" alt="Measured on agentmods" height="20"></a>
Per session 75 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 573 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00075 $0.00573
Opus 5 $0.00037 $0.00287
Sonnet 5 $0.00015 $0.00115
Haiku 4.5 $0.00007 $0.00057

Measured 5d ago against content hash ae504c6b4144, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

cp 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.

skills/cp/SKILL.md · 62 lines

How it starts

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

Cp

Use this as a thin finish mode after implementation is done.

cp is the local gate before push: verify first, then commit and push the intended changes on the current branch.

Default Flow

  1. Inspect:
  • git status
  • current branch
  • intended files for this task
  • recent commit message style if needed
  1. Run the closest local verification to the repo's normal safety checks before committing.
  • Prefer repo-native commands over invented ones.
  • Prefer the narrowest safe checks first: changed-file lint/format checks, affected package tests, or targeted builds.
  • If the repo's only reliable gate is broader, run the broader command.
  1. If a broad local check fails because of unrelated dirty files outside the intended change set, stop and report that clearly instead of fixing or staging those unrelated files.
  2. Stage only the intended files explicitly.
  3. If a commit message was not provided, generate a concise conventional commit message that matches the repo style.
  4. Commit on the current branch.
  • Committing directly to main or master is allowed when that is the repo or user's chosen workflow.
  • If the repo explicitly requires short-lived branches, follow that instead.
  1. Push the current branch.
  • If upstream is missing, push with upstream tracking.

Rules

  • Never use git add ., git add -A, or similar broad staging.
  • Never commit unrelated local changes from other tasks or sessions.
  • Never commit secrets, .env files, credentials, or generated noise by accident.
  • Never silently skip verification; state what ran and what was skipped.
  • Never force push unless the user explicitly asks for it.
  • Do not create or require a PR unless the user explicitly asks for one.

Good Targets

  • "/cp"
  • "커밋하고 푸시해줘"
  • "메인에 올려"
  • "이제 검증하고 바로 푸시해"

Avoid

  • Do not use this for "just commit" or "just push" if the user clearly asked for only one of those actions.
  • Do not infer permission to push a different branch than the current one.
  • Do not hide skipped or excluded files; mention them briefly if they matter.

Read the full file on GitHub · 62 lines

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. 5d ago First seen · 62 lines · 75 tokens per session scan A ae504c6b4144

Subscribe to this mod's changes

cp is a skill published in the GitHub repository dgk-dev/dgk-gpt (53 stars, last pushed 5mo ago), licensed MIT. It adds 75 tokens to every session and 573 once invoked, about $0.0004 per session on Opus 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.