commit-workspace

commit-workspace is a skill for Claude Code from drivestream-lab/prayog-skills. It costs 53 tokens per session (576 once invoked), scanned A, original, MIT.

A workspace-publishing step that follows a content task's rules to send eligible changes to the correct remote Git head, such as a branch or pull request.

In plain words
What is it for?
Use it after a content skill when the workflow requires or permits committing and publishing workspace changes.
Why use it?
It prevents changes from being published to the wrong place and checks whether publishing is allowed by the workflow. It can also report when there is nothing to publish.

Skill for Claude Code

Written for Claude Code: disable-model-invocation in frontmatter.

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/drivestream-lab/prayog-skills/commit-workspace
Any agent
npx skills add drivestream-lab/prayog-skills --skill commit-workspace
Clone the repo
git clone --depth 1 https://github.com/drivestream-lab/prayog-skills

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 commit-workspace

README.md
[![agentmods](https://agentmods.dev/badge/skills/drivestream-lab/prayog-skills/commit-workspace.svg)](https://agentmods.dev/skills/drivestream-lab/prayog-skills/commit-workspace)
Your own site
<a href="https://agentmods.dev/skills/drivestream-lab/prayog-skills/commit-workspace"><img src="https://agentmods.dev/badge/skills/drivestream-lab/prayog-skills/commit-workspace.svg" alt="Measured on agentmods" height="20"></a>
Per session 53 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. 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.1 $0.00053 $0.00576
Opus 5 $0.00026 $0.00288
Sonnet 5 $0.00011 $0.00115
Haiku 4.5 $0.00005 $0.00058

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

Security

Grade A, and why

commit-workspace 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/forge/commit-workspace/SKILL.md · 57 lines

How it starts

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

Commit workspace

Human-walker equivalent of Gateflow ForgeClient commit workspace (forge.action / pin field: commit_workspace).

NON-NEGOTIABLE

  1. Read pinned workflow.yaml for the content stage that just completed (forge.commit_workspace). Do not invent policy.
  2. Bind the remote head from run / human context (wave PR, meta PR, spec branch) — not from a pin head enum.
  3. If policy is disabled, stop and explain; do not publish.
  4. If policy is required and there is nothing includable to publish, fail closed.
  5. If policy is optional and the tree is clean, report success with no-op.
  6. Never apply approval labels (*-lgtm).
  7. Use available Forge tooling in this environment (git remote APIs, gh, …) as examples — tool-neutral. Do not assume a specific CLI exists.

Inputs

  1. Latest content-skill handoff: (artifact and/or handoff_path baton)
  2. Pinned root workflow.yaml
  3. Workspace root with includable changes

Process

  1. Resolve prior stage + commit_workspace policy from the pin.
  2. Determine includable paths (respect .gitignore / harness norms).
  3. Publish to the bound head when policy allows.
  4. Report the result and emit handoff: for this forge step using references/output-template.mdartifact.path is null (this skill has no workspace artifact, including the justified no-op case); do not invent a note file to hold the result.

Workflow handoff

  1. Emit the envelope from references/output-template.md in chat. Stage id: commit-workspace. Prefer outcome: pass when publish or justified no-op succeeded. artifact.path: null — there is no workspace file to persist for this stage.
  2. When handoff_path is bound, overwrite that baton with the same envelope.
  3. Forge skills are not workflow graph nodes — do not invent next_candidates from a missing pin node. If continuing the programme, re-read the content stage handoff and pinned transitions.

Read the full file on GitHub · 57 lines

Files

What ships with it

5 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. 5d ago First seen · 57 lines · 53 tokens per session scan A 43ec2ca5d611

Subscribe to this mod's changes

commit-workspace is a skill published in the GitHub repository drivestream-lab/prayog-skills (2 stars, last pushed 4d ago), licensed MIT. It adds 53 tokens to every session and 576 once invoked, about $0.0003 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-31.