toolchain

toolchain is a skill for Claude Code from sorah/config. It costs 224 tokens per session (2,241 once invoked), scanned A, original, MIT.

A guide for managing project tools and developer checks with mise and hk. mise pins and runs tool versions and tasks, while hk runs linters, formatters, and pre-commit checks.

In plain words
What is it for?
Use it when creating or changing mise configuration, adding tools or tasks, setting up linters and formatters, or scaffolding a Ruby project or application.
Why use it?
Pinned tools make local and CI environments more reproducible. Shared checks help catch formatting and code-quality problems before changes are committed.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the sorah-guides plugin — 23 skills, 3 commands, 1 agent shipped together

Good fit Use it when creating or changing mise configuration, adding tools or tasks, setting up linters and formatters, or scaffolding a Ruby project or application.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/sorah/config/toolchain
View source ↗ sorah/config
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 sorah/config --skill toolchain
Clone the repo
git clone --depth 1 https://github.com/sorah/config

Made for: Claude Code.

Or install sorah-guides, the plugin that ships this one along with the rest of its 23 skills, 3 commands, 1 agent.

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 toolchain

README.md
[![agentmods](https://agentmods.dev/badge/skills/sorah/config/toolchain/github.svg)](https://agentmods.dev/skills/sorah/config/toolchain)
Your own site
<a href="https://agentmods.dev/skills/sorah/config/toolchain"><img src="https://agentmods.dev/badge/skills/sorah/config/toolchain/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for toolchain

Your own site · 80×15
<a href="https://agentmods.dev/skills/sorah/config/toolchain"><img src="https://agentmods.dev/badge/skills/sorah/config/toolchain.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 224 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,241 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 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.00224 $0.02241
Opus 5.5 $0.00090 $0.00896
Sonnet 5.5 $0.00045 $0.00448
Haiku 4.5 $0.00022 $0.00224

Measured 1mo ago against content hash 0aaba56f9aa6, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

toolchain 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 1mo 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.

claude/marketplace/plugins/sorah-guides/skills/toolchain/SKILL.md · 143 lines

How it starts

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

Toolchain: mise and hk

How sorah's projects pin tools and run tasks with mise, and run linters and formatters with hk. The same hk check runs as the pre-commit hook, by hand, and in CI, so a change that passes locally passes in CI. Canonical examples: sorah/protobufable for a gem, ruby-no-kai/sponsor-app for a Rails app with generated code. references/ has copyable templates. Follow an existing project's own layout over this guide.

mise.toml

  • The file is mise.toml, not .mise.toml. ruby/setup-ruby does not read the dotted name.
  • Comments sit above the entry they explain and say why it exists or why it is pinned, in full sentences.

Tools

[tools]
ruby = "4.0.6"
"aqua:jdx/hk" = "2.0.1"
"aqua:apple/pkl" = "0.31.1"
"aqua:rhysd/actionlint" = "1.7.12"
"aqua:zizmorcore/zizmor" = "1.30.1"
  • Pin every tool to an exact version, including tools that ~/git/config/mise/tools.toml installs globally at latest. The project pin is what CI and other machines reproduce. Look up the current release before writing a version.
  • Spell out the backend: aqua:<owner>/<repo> first, github:<owner>/<repo> when aqua has no entry. ruby, node and rust use the core plugins. Short registry names (hk, pnpm) resolve to a backend that can change underneath the project.
  • A tool whose version changes generated output gets a comment naming what it must match, such as protoc: # The protobuf release that google-protobuf in Gemfile.lock is built from.
  • latest is right only when pinning means nothing, with the reason in a comment.
  • rust = { version = "1.97.1", components = "rustfmt,clippy" } for a Rust project.

Settings and env

[settings]
disable_backends = ["asdf"]

[settings.ruby]
compile = false
  • disable_backends = ["asdf"] keeps a tool from resolving to an unaudited asdf plugin. compile = false installs prebuilt Rubies.
  • lockfile = true comes from the global configuration. Commit mise.lock, and never commit mise.local.lock.
  • [env] holds only what the project needs to build, each with a comment. Sorbet projects set BUNDLE_FORCE_RUBY_PLATFORM = "false", because sorah's shell exports true and sorbet-static ships only platform gems.
  • Run mise trust after creating or editing mise.toml; mise refuses to run tasks from an untrusted file.

Read the full file on GitHub · 143 lines

Files

What ships with it

2 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. 1mo ago First seen · 143 lines · 224 tokens per session scan A 0aaba56f9aa6

Subscribe to this mod's changes

toolchain is a skill published in the GitHub repository sorah/config (31 stars, last pushed 11d ago), licensed MIT. It adds 224 tokens to every session and 2,241 once invoked, about $0.0009 per session on Opus 5.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-10-25.

Related

toolchain compared with skills from other repositories

toolchain next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
toolchainsorah/configSkill3111d agoMITA224Claude Code
chinese-git-workflowjnMetaCode/superpowers-zhSkill8.6kyesterdayMITA69Claude Code
webhook-managementhoangsonww/Claude-Code-Agent-MonitorSkill1.2k3d agoMITA56Claude Code, Codex
monorepo-managementwshobson/agentsSkill43k2d agoMITC54Claude Code
managing-github-actions-secretsPostHog/posthog-fossSkill734todayMITA67Claude Code, Codex
ci-fixersipyourdrink-ltd/bernsteinSkill1.2ktodayApache-2.0A15Claude Code, Codex
update-github-workflowstarlepp/symfony-flex-backendSkill286todayMITA41Claude Code, Codex