From 965439ef0aecbbceedd8119cb7794bd32f9ef677 Mon Sep 17 00:00:00 2001 From: Sebastian Mendel Date: Wed, 20 May 2026 08:57:35 +0200 Subject: [PATCH 1/2] feat(catalog): add tokei and scc catalog entries MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Both tools were already recommended in references/preferred-tools.md (as the fast replacement for cloc) and listed in SKILL.md's tool selection table, but had no catalog entry — so the install/audit workflow could not actually install them. This closes that gap by adding: - catalog/tokei.json (cargo + brew) - catalog/scc.json (github_release_binary + go + brew) Also bumps the cataloged-entries count in SKILL.md and README.md from 74 to 77 to match the current catalog/ directory. Signed-off-by: Sebastian Mendel --- README.md | 4 ++-- catalog/scc.json | 39 +++++++++++++++++++++++++++++++++++++++ catalog/tokei.json | 26 ++++++++++++++++++++++++++ skills/cli-tools/SKILL.md | 2 +- 4 files changed, 68 insertions(+), 3 deletions(-) create mode 100644 catalog/scc.json create mode 100644 catalog/tokei.json diff --git a/README.md b/README.md index 413602a..0dabf86 100644 --- a/README.md +++ b/README.md @@ -23,7 +23,7 @@ This is an **Agent Skill** following the [open standard](https://agentskills.io) ## Supported Tools -74+ tools across categories: +77+ tools across categories: | Category | Tools | |----------|-------| @@ -138,7 +138,7 @@ Priority: user-level (`~/.local/bin`, `~/.cargo/bin`) over system-level. ``` cli-tools/ ├── SKILL.md # Skill definition and workflows -├── catalog/ # Tool definitions (74+ JSON files) +├── catalog/ # Tool definitions (77+ JSON files) │ ├── ripgrep.json │ ├── php.json │ └── ... diff --git a/catalog/scc.json b/catalog/scc.json new file mode 100644 index 0000000..21267f2 --- /dev/null +++ b/catalog/scc.json @@ -0,0 +1,39 @@ +{ + "name": "scc", + "install_method": "auto", + "description": "Sloc, Cloc and Code - fast accurate code counter with complexity calculations", + "homepage": "https://github.com/boyter/scc", + "github_repo": "boyter/scc", + "binary_name": "scc", + "download_url_template": "https://github.com/boyter/scc/releases/download/{version}/scc_Linux_{arch}.tar.gz", + "arch_map": { + "x86_64": "x86_64", + "aarch64": "arm64" + }, + "available_methods": [ + { + "method": "github_release_binary", + "priority": 1, + "config": { + "repo": "boyter/scc", + "asset_pattern": "scc_Linux_x86_64.tar.gz" + } + }, + { + "method": "go", + "priority": 2, + "config": { + "package": "github.com/boyter/scc/v3" + } + }, + { + "method": "brew", + "priority": 3, + "config": { + "package": "scc" + } + } + ], + "requires": [], + "tags": ["code-counter", "statistics"] +} diff --git a/catalog/tokei.json b/catalog/tokei.json new file mode 100644 index 0000000..c0cbbb7 --- /dev/null +++ b/catalog/tokei.json @@ -0,0 +1,26 @@ +{ + "name": "tokei", + "install_method": "auto", + "description": "Count your code quickly - statistics on code by language", + "homepage": "https://github.com/XAMPPRocky/tokei", + "github_repo": "XAMPPRocky/tokei", + "binary_name": "tokei", + "available_methods": [ + { + "method": "cargo", + "priority": 1, + "config": { + "crate": "tokei" + } + }, + { + "method": "brew", + "priority": 2, + "config": { + "package": "tokei" + } + } + ], + "requires": ["rust"], + "tags": ["code-counter", "statistics"] +} diff --git a/skills/cli-tools/SKILL.md b/skills/cli-tools/SKILL.md index 110530f..fa55fd0 100644 --- a/skills/cli-tools/SKILL.md +++ b/skills/cli-tools/SKILL.md @@ -18,7 +18,7 @@ allowed-tools: # CLI Tools Skill -Install, audit, update, and recommend CLI tools across 74 cataloged entries. +Install, audit, update, and recommend CLI tools across 77 cataloged entries. ## Triggers From e82de27169a791adb3ee7dc90baf443576210f3b Mon Sep 17 00:00:00 2001 From: Sebastian Mendel Date: Wed, 20 May 2026 09:31:34 +0200 Subject: [PATCH 2/2] fix(catalog): address review feedback on tokei/scc entries MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - scc.json: use {arch} placeholder in asset_pattern so the arch_map is actually applied for non-x86_64 hosts (gemini-code-assist). - scc.json: drop the "go" install method — the cli-tools-skill installer (scripts/lib/reconcile.sh) only supports apt, cargo, npm, gem, pip, pipx, brew, github_release_binary. The "go" entry caused "Unknown method: go" on stderr (Copilot). - scc.json & tokei.json: brew config now uses `formula` to match the reconciler's schema (`jq -r '.formula'`); the prior `package` key was silently ignored (Copilot). - tokei.json: drop `requires: ["rust"]` — `check_dependencies` runs `command -v` on each requires entry, and there is no `rust` binary (it would be `rustc`/`cargo`). tokei has no runtime dependency on Rust once installed (gemini-code-assist + Copilot). Signed-off-by: Sebastian Mendel --- catalog/scc.json | 13 +++---------- catalog/tokei.json | 4 ++-- 2 files changed, 5 insertions(+), 12 deletions(-) diff --git a/catalog/scc.json b/catalog/scc.json index 21267f2..7334979 100644 --- a/catalog/scc.json +++ b/catalog/scc.json @@ -16,21 +16,14 @@ "priority": 1, "config": { "repo": "boyter/scc", - "asset_pattern": "scc_Linux_x86_64.tar.gz" - } - }, - { - "method": "go", - "priority": 2, - "config": { - "package": "github.com/boyter/scc/v3" + "asset_pattern": "scc_Linux_{arch}.tar.gz" } }, { "method": "brew", - "priority": 3, + "priority": 2, "config": { - "package": "scc" + "formula": "scc" } } ], diff --git a/catalog/tokei.json b/catalog/tokei.json index c0cbbb7..c881efb 100644 --- a/catalog/tokei.json +++ b/catalog/tokei.json @@ -17,10 +17,10 @@ "method": "brew", "priority": 2, "config": { - "package": "tokei" + "formula": "tokei" } } ], - "requires": ["rust"], + "requires": [], "tags": ["code-counter", "statistics"] }