Skip to content
Agentmart
Submit a tool

pin

Update a version pin in a file, for release hooks

Skill by markwharton

IndexedMIT★ 12
Write a review

Install

Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.

npx agentmarket install skill/markwharton-pin

Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

Update a version pin in a file, for release hooks

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions

What this skill can do and what it asks for, from its SKILL.md and code. Checked Oct 25, 2026.

Tools
No tools found
Secrets
None asked for
Install scripts
None found

Network hosts it talks to 1

  • codeload.github.com · found in install command

Files it touches

  • ~/.claude/skills/pin

What's inside

Skill name
pin
Description
Update a version pin in a file, for release hooks
License
MIT
Instructions
36 lines in SKILL.md · view on GitHub

Files (1)

  • SKILL.md

SKILL.md (first lines)

# pk pin

Updates a pinned version string in a file. The `release` and
`changelog` hooks call it with `$VERSION`.

## Pin forms

Without `--name`, the first shell-style `SOMETHING_VERSION="vX.Y.Z"`
line is updated. With `--name <identifier>`, the first assignment of
a quoted string to that identifier is updated. `=`, `:=`, and a bare
YAML colon match. The `v` prefix is inferred from the existing value.

## Usage

```bash
pk pin --file .github/workflows/ci.yml --name pk-version $VERSION
```

A missing file is a no-op and a file without a matching pin is a
warning, never a failure, so a renamed target cannot abort a release
from inside a hook.

## Flags

<!-- generated: flags -->
```
  --file <value>
        File containing the pin (relative to the project directory)
  --name <value>
        Identifier of a named pin; default is the SOMETHING_VERSION="v..." shell form
```

Every command also accepts `--plain`, `--project-dir <value>`, and `--quiet`; see `pk help help`.
<!-- /generated: flags -->

From markwharton/plankit, MIT.

More from markwharton/plankit

Signals

Stars
12
Forks
0
Open issues
0
Last commit (this folder)
Sep 20, 2026 (1 month ago)
Last release
Oct 19, 2026 (11 days ago)

From GitHub (fetched Oct 24, 2026).

Details

License
MIT
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

More from markwharton

Cite this page

pin skill. Agent Mart. https://agentmart.dev/skills/markwharton-pin (last updated 2026-10-24)