Skip to content
Back to skills

Worklink Tool Pins

ASecurity

Optional low-priority poller that inventories Worklink tool pins from <home>/worklink.yaml and files/reuses Chainlink bump issues when upstream versions drift. Opt-in: copy this directory into <home>/skills/worklink-tool-pins/ and configure tool_pins in worklink.yaml.

  • 6 stars
  • 0 votes
  • 0 copies
  • 3 views
  • Added September 1, 2026
businessgobashgit

Works with

  • cli

Security analysis

A100/100

Pro scans all 5 files and shows the line behind each finding

Scanned September 1, 2026

npx -y skills add jasoncarreira/mimir --skill worklink-tool-pins --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Worklink Tool Pins?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Worklink Tool Pins
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/jasoncarreira-worklink-tool-pins/badge)](https://www.skillsdirectory.com/skills/jasoncarreira-worklink-tool-pins)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: worklink-tool-pins
description: "Optional low-priority poller that inventories Worklink tool pins from <home>/worklink.yaml and files/reuses Chainlink bump issues when upstream versions drift. Opt-in: copy this directory into <home>/skills/worklink-tool-pins/ and configure tool_pins in worklink.yaml."
env:
  optional:
    - name: MIMIR_HOME
      description: "Agent home containing worklink.yaml and the Chainlink tracker. Supplied by the framework when it launches the poller; the poller refuses to run (emits worklink_tool_pins_misconfigured) if unset — no container-path fallback."
      example: "/path/to/agent-home"
---

# worklink-tool-pins — Worklink external-tool drift poller

This is an **opt-in poller skill** that ships under
`mimir/optional-skills/` but is NOT auto-installed. It watches the
`tool_pins:` section of `<home>/worklink.yaml` and files or reuses
low-priority Chainlink bump issues when an upstream version differs
from the configured pin.

## What it does

- Loads the documented `tool_pins:` section from `<home>/worklink.yaml`
  with a standalone stdlib parser. Poller subprocesses run outside
  mimir's venv/import path, so this skill intentionally does not import
  `mimir.*` or PyYAML at runtime.
- Inventories configured `tool_pins:` against supported upstream
  sources (`npm` and GitHub release sources).
- Files or reuses low-priority Chainlink issues carrying the stable
  `Dedupe-Key: worklink-tool-pin:<category>:<name>:<old>-><new>`.
- Fails closed when the dedupe search exits non-zero or returns malformed
  data: no issue is created, the cycle still completes, and the framework
  records a durable `worklink_tool_pin_dedupe_check_failed` signal with the
  tool, dedupe key, and bounded reason.
- Emits JSONL when at least one bump issue was filed/reused or a dedupe check
  failed. Healthy no-drift runs remain silent.

The search is the pre-create defence: creation is skipped unless it returns a
valid result set. A second search immediately before creation would repeat the
same check but would not make the separate search/create operations atomic, so
it is not claimed as additional race protection. Chainlink has no atomic
unique-key constraint; concurrent poller instances remain serialized by the
scheduler's per-poller job. The fix is forward-only: existing valid duplicate
issues are reused and are never compounded, but historical duplicates are not
auto-closed because cleanup requires an operator disposition decision.

## What it does not do

- It does **not** auto-edit `worklink.yaml`.
- It does **not** run smoke commands. Smoke commands are copied into
  the Chainlink issue as the suggested validation command for the
  eventual bump PR.
- It does **not** alert on missing config or no drift; silence is the
  expected healthy path.

## Installation

```bash
cp -r mimir/optional-skills/worklink-tool-pins <home>/skills/
# Ensure MIMIR_HOME points at the home containing worklink.yaml.
reload_pollers
```

The shipped cadence is weekly Sunday 08:00 UTC with low priority so it
is shed before interactive or high-value pollers under resource pressure.

## `worklink.yaml` shape

```yaml
tool_pins:
  - name: opencode
    category: coding-cli
    pin: "1.18.21"
    smoke: "opencode --version"
    source: npm
    package: "opencode-ai"
  - name: chainlink
    category: tracker
    pin: "chainlink-1.6.0"
    smoke: "chainlink --version"
    source: github-release
    repo: dollspace-gay/chainlink
```

Supported `source` values:

- `npm` — resolves `package` (or `name`) via `npm view <package> version`.
- `github-release`, `github`, or `github-tag` — resolves `repo` via
  `gh release view --repo <owner/repo> --json tagName`.

Pins with `source: manual` / `local`, missing resolvers, or resolver
failures are skipped as diagnostics on stderr; they do not make the
poller non-zero.

The parser is intentionally narrow rather than a full YAML interpreter:
it supports the documented top-level `tool_pins:` list of scalar
mappings. If the Worklink config format grows nested tool-pin fields,
update this poller parser and its subprocess smoke test in the same PR.

Files in this skill

  • SKILL.md4.1 KB
  • pollers.json523 B
  • scripts/poller.py18.8 KB
  • tests/conftest.py431 B
  • tests/test_worklink_tool_pins_poller.py12.1 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in business →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.