update-workflows

update-workflows is a skill for Claude Code from jessepinkman9900/claude-second-brain. It costs 86 tokens per session (1,198 once invoked), scanned B, original, MIT.

A workflow-audit skill for checking whether the repository's packaging workflow still matches its current files, skills, scripts, and package commands.

In plain words
What is it for?
It is for auditing `pack-test.yml`, reviewing its related skill and repository state, proposing corrections, and applying them after approval.
Why use it?
It catches configuration drift, where a workflow quietly checks outdated names or paths and stops verifying the right things.

Skill for Claude Code

Written for Claude Code: installed under .claude/. Also seen: reads .claude/ paths.

Good fit It is for auditing pack-test.yml, reviewing its related skill and repository state, proposing corrections, and applying them after approval.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/jessepinkman9900/claude-second-brain/update-workflows
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.

Any agent
npx skills add jessepinkman9900/claude-second-brain --skill update-workflows
Clone the repo
git clone --depth 1 https://github.com/jessepinkman9900/claude-second-brain

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 update-workflows

README.md
[![agentmods](https://agentmods.dev/badge/skills/jessepinkman9900/claude-second-brain/update-workflows.svg)](https://agentmods.dev/skills/jessepinkman9900/claude-second-brain/update-workflows)
Your own site
<a href="https://agentmods.dev/skills/jessepinkman9900/claude-second-brain/update-workflows"><img src="https://agentmods.dev/badge/skills/jessepinkman9900/claude-second-brain/update-workflows.svg" alt="Measured on agentmods" height="20"></a>
Per session 86 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,198 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 2 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.00086 $0.01198
Opus 5 $0.00043 $0.00599
Sonnet 5 $0.00017 $0.00240
Haiku 4.5 $0.00009 $0.00120

Measured 8d ago against content hash 4d688264b972, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-07, from the pricing page.

Security

Grade B, and why

update-workflows scanned grade B with 2 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 8d 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.

Enumerates other installed skillslowAgent snooping

Other skills' SKILL.md files reveal prompts, capabilities and secrets that should be invisible to peers.

ls template/.claude/skills/

Downgraded: this mod is about security review, or the phrase is quoted, so it is likely naming the pattern rather than instructing it.

Recursive force deletemediumDestructive command

rm -rf with a variable or a broad path is one typo away from removing the wrong tree.

- The cleanup `rm -rf` line in Step 4 targets the current `GLOBAL_SKILLS` set.

Downgraded: this mod is about security review, or the phrase is quoted, so it is likely naming the pattern rather than instructing it.

.claude/skills/update-workflows/SKILL.md · 116 lines

How it starts

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

/update-workflows

Audits pack-test.yml — the workflow most prone to silent drift — against the current repo state and proposes fixes. Other workflows (release-publish.yml, docs-deploy.yml, docs-preview.yml) are generic and not covered here; inspect them manually if you've touched them.

Proposes all changes and waits for user approval before writing anything.

Steps

Run each step in order.


Step 1 — Gather current repo state

Run all of these in parallel:

# Vault-local skills shipped in the template
ls template/.claude/skills/

# Top-level template subdirs that pack-test `ls`-checks
ls template/
ls template/scripts/qmd/ 2>/dev/null || true

# Global skills list and bin names
grep -n 'GLOBAL_SKILLS' bin/create.js
jq -r '.bin | keys[]' package.json
jq -r '.version' package.json

Also read:

  • .github/workflows/pack-test.yml — the workflow being audited
  • .claude/skills/pack-test/SKILL.md — coupled checklist/counts
  • A representative global skill (e.g. template/.claude/skills/brain-ingest/SKILL.md) — to verify grep_check patterns still match

Step 2 — Audit

For each item below, mark OK or DRIFT. Record every DRIFT with the exact pack-test line that's wrong and what it should be.

Vault-local skill coverage (pack-test.yml check ".claude/skills/<name>" lines):

  • Every dir in template/.claude/skills/ has a matching check line.
  • No check line points at a dir that no longer exists.

Global skill coverage (pack-test.yml check "~/.claude/skills/<name>/SKILL.md" + .csb-version lines):

  • Every name in GLOBAL_SKILLS (from bin/create.js) has both a SKILL.md check and a .csb-version check.
  • No extra names appear that aren't in GLOBAL_SKILLS.
  • Corresponding grep_check / absent_check loops iterate the same set.

grep_check patterns:

  • Each pattern (claude-second-brain path, claude-second-brain qmd, etc.) still appears in at least one shipped global skill under template/.claude/skills/.

Read the full file on GitHub · 116 lines

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. 8d ago First seen · 116 lines · 86 tokens per session scan B 4d688264b972

Subscribe to this mod's changes

update-workflows is a skill published in the GitHub repository jessepinkman9900/claude-second-brain (47 stars, last pushed 4mo ago), licensed MIT. It adds 86 tokens to every session and 1,198 once invoked, about $0.0004 per session on Opus 5. A static security scan graded it B with 2 findings (enumerates other installed skills, recursive force delete). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

ci-cd-and-automation

Automates CI/CD pipeline setup. Use when setting up or modifying build and deployment pipelines. Use when you need to automate quality gates, configure test runners in CI, or establish deployment strategies.

addyosmani/agent-skills · 45 tokens

deployment-pipeline-design

Design multi-stage CI/CD pipelines with approval gates, security checks, and deployment orchestration. Use this skill when designing zero-downtime deployment pipelines, implementing canary rollout strategies, setting up multi-environment promotion workflows, or debugging failed deployment gates in CI/CD.

wshobson/agents · 58 tokens

gitlab-ci-patterns

Build GitLab CI/CD pipelines with multi-stage workflows, caching, and distributed runners for scalable automation. Use when implementing GitLab CI/CD, optimizing pipeline performance, or setting up automated testing and deployment.

wshobson/agents · 46 tokens

bazel-build-optimization

Optimize Bazel builds for large-scale monorepos. Use when configuring Bazel, implementing remote execution, or optimizing build performance for enterprise codebases.

wshobson/agents · 36 tokens

chinese-git-workflow

A reference for configuring Git with Chinese code-hosting services such as Gitee, Coding.net, GitLab China, and CNB, including SSH, HTTPS, credentials, CI, and repository mirroring.

jnMetaCode/superpowers-zh · 69 tokens

turborepo-caching

Configure Turborepo for efficient monorepo builds with local and remote caching. Use when setting up Turborepo, optimizing build pipelines, or implementing distributed caching.

wshobson/agents · 42 tokens