Available in
Marketplaces, most starred first
Tags
Add to README
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
By mooktakimv0.5.1MITIn 1 marketplace
Find shell patterns Claude repeats in your Claude Code history, replace them with small single-purpose Rust commands that are tested against their own LLM guide, and measure whether Claude uses them
Claude loads one when your task matches it, or you run it by name.
1 caution to review before installing
A hook runs when Claude uses the Bash tool
Static checks of hooks, mods, MCP servers and commands. Not a security audit.
1 marketplace, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Executables (bin/) — files in this plugin's bin/ directory are added to the Bash tool's PATH while the plugin is enabled.
Claude repeats the same shell patterns hundreds of times: a Python heredoc that opens a file, asserts some text is there, replaces it and writes it back; a date/mkdir/heredoc chain to add a history log entry; a loop of CI checks. This plugin finds those patterns in your Claude Code history and replaces them with small Rust commands that do one job each, have a guide written for an LLM, and are tested against that guide. It then measures whether Claude uses them and whether they help.
/plugin marketplace add mooktakim/skills
/plugin install toolsmith@mooktakim
Start a new session after installing or updating, so the new bin/ is on PATH.
| Command | Job |
|---|---|
toolsmith-text-replace | Replace exact, literal text in existing files as one all-or-nothing change. |
toolsmith-history-add | Add one new entry file to the project's docs/log history. |
toolsmith-file-lines | Print numbered line ranges from several files in one call. |
toolsmith-check-run | Run a check command, printing only its outcome with any failures. |
toolsmith-files-write | Create several new files from one stdin bundle, never overwriting by accident. |
toolsmith-json-set | Set one value in a JSON file, keeping its existing layout. |
toolsmith-ci-wait | Wait for the CI runs of one commit to finish, printing only what failed. |
toolsmith-pr-land | Merge a pull request, then return the local clone to its updated base branch. |
toolsmith-conflict-resolve | Resolve git merge-conflict blocks in files as one all-or-nothing change. |
Run any command with --help for a summary, or --llm for the full guide: when to use it, input format, exit codes and tested examples.
bin/ on the Bash tool's PATH. Each file there is a two-line shim that builds its Rust binary (cargo build --release, into target/) the first time it runs and again whenever the source is newer, then runs it. Plugin bin/ entries come after your own PATH entries, so a tool can never shadow one of your commands.toolsmith-. At session start a hook checks PATH, and a tool whose name another command already has is left out of Claude's list, with a warning.SessionStart hook lists each command with its one-line job. The PreToolUse hook watches Bash commands: when one matches the pattern a tool replaces (from families.json), it reminds Claude of the tool, once per session and tool, and not in subagents (they never get the command list). The hook never blocks unless you switch a tool to "mode": "block" (now toolsmith-text-replace and toolsmith-file-lines: their reminders were followed in only 12% and 17% of later matching commands), and if it cannot run, the command runs as normal.toolsmith-<object>-<verb> name, a complete --llm guide, and examples that the test suite runs against the real binary, checking every file before and after. See references/contract.md.The toolsmith skill has three workflows. Ask in plain words ("scan my Claude history for tool ideas", "build that tool", "are the toolsmith tools helping?") or run /toolsmith:toolsmith.
flowchart LR
hist[("Claude Code<br/>history")] -->|"scan"| rank["Ranked repeated<br/>shell patterns"]
rank -->|"you choose"| build["New toolsmith-* command<br/>with an --llm guide<br/>and tested examples"]
build --> hook["Hook reminds Claude<br/>when it uses the old pattern"]
hook --> log[("Usage log")]
log -->|"adoption review"| rank
scripts/analyse scan reads ~/.claude/projects (2.5 GB in about 8 seconds) and ranks the repeated patterns. scripts/analyse examples shows real commands for a pattern. Claude proposes a shortlist; you choose.scripts/analyse adoption shows, per tool and week, tool calls against calls that still use the old pattern, plus failures, guide reads, and how often a reminder led to a run.Two records feed the numbers:
~/.local/state/toolsmith/usage.jsonl (or $XDG_STATE_HOME/toolsmith/, or $TOOLSMITH_LOG): one line per run and per reminder, with the time, tool, exit code and duration. It never holds arguments or input. Set TOOLSMITH_LOG= (empty) to turn it off.metrics/weekly.json: counts only, committed with each scan. Claude Code deletes transcripts after cleanupPeriodDays (30 by default), and the snapshot keeps the trend after that.The session-start note says when a scan is more than a week old.
npx claudepluginhub mooktakim/skills --plugin toolsmithPlugins from other owners that cover similar ground
Built from public signals: copy clicks on this site, GitHub stars and activity, the README and the manifest. Not a security audit or an endorsement.