Repository navigation
insights: a skill typed as /name counts as used - #11
Conversation
…dit its folder, a typed /skill counts as a load, and a runner the SKILL.md keeps elsewhere counts as its script A tester's page (11-11) missed two skills of theirs that ran all month: - dod-browser-test read origin "mixed" (7 of 24 folder commits theirs; teammates edited its references/) and a mixed skill counts in no row, so its 22 calls in the window went nowhere. classify_origin now keeps a skill folder theirs when they made its first commit or most of the commits on its SKILL.md (made_by_them); a skill a teammate created that they touched once stays mixed. - full-test showed "not used": typed /full-test leaves only Claude Code's "Base directory for this skill" record (a "loaded" event), which skill_depth_facts never counted as a load. It counts now, once per load (after a Skill call the same record repeats that call's load). Its runner lives in tests/full-test/, outside the skill folder, so its ~400 runs were unseen: a SKILL.md's backtick paths outside the folder count as the skill's code when the folder is named after the skill or the file is code named outright (external_code); a doc it names, a product folder, or a path-shaped word from `node -e` do not. - board: a skill with typed uses and no load read says "typed /name Nx; no load of it was read" and is used, instead of "not used" beside "1 calls". Unit tests beside each module (python3 -m unittest, stdlib only). scripts/ is a copy of labs/ (GENERATED.md): carry these edits into labs before the next build. Co-Authored-By: Claude Fable 5.1 <[email protected]>
The version moves when a release is cut, not in a change like this one.
…kill keeps outside its folder Whose a skill folder is stays with ownership.py, the one place every part of the scan asks; a rule decided elsewhere would make the same skill read as theirs on one tab and as a teammate's in the practice checks. Counting code outside a skill's folder as the skill's own changes what a skill's step 3 means. Both questions continue as their own issues. Kept: a typed /name counts as a load, and the board shows a typed skill as used.
The tests now use a skill invented for them, not one from a real laptop.
The scan's count of typed loads and the board's card are tested where the plugin already keeps its tests, from the scan's facts through the board to the tab. The build copies only the files it lists, so a new test file in the plugin's scripts would be dropped at the next build.
|
Thank you, and welcome. This is the first contribution this repo has had from outside the team. What you found is real. When someone types a skill as Your fix for that is in, exactly as you wrote it: the scan part and the board part. We made a few small changes on your branch, in four commits on top of yours, so you don't have to:
We took two parts out and opened an issue for each, because both change what the tool counts and need a decision first:
You raised both, and the issues say so. Your commit stays yours, and it ships in the next release with credit in the release notes. |
Why
The 11 November page missed two skills of mine that ran all month:
dod-browser-test(124 Skill calls since July, 22 in the window) did not appear under "Skills and commands you wrote" at all.full-testshowed "not used in the last 30 days" although I typed/full-testand its runner ran about 400 times.Three detection gaps, each reproduced with a failing test first:
classify_originlabelleddod-browser-test"mixed" because teammates made 17 of the 24 commits on its folder (they editedreferences/*.md). A mixed skill counts in no row, so its calls went nowhere. A skill folder now stays theirs when they made its first commit or most of the commits on itsSKILL.md(made_by_them). A skill a teammate created that they touched once stays mixed./full-testwrites the message<command-message>first, and the log reader leaves that form to Claude Code's "Base directory for this skill" record, which it stored as aloadedevent thatskill_depth_factsnever counted.loadednow counts as a load, once per load: after a Skill call the same record repeats that call's load and is paired with it.full-test's SKILL.md says "Code:tests/full-test/"; the depth read only saw Bash commands containingskills/and scripts inside the folder. Backtick paths in a SKILL.md outside the folder now count as the skill's code when the folder is named after the skill or the file is a code file named outright (external_code). A doc it names, a product folder (app/Domains/Shared/), or a path-shaped word fromnode -edo not; each of those was a wrong pick on real logs before the rule was narrowed.Also: the board says "typed /name Nx; no load of it was read in the logs" and counts the skill as used, instead of "not used" on the card beside "1 calls" on the row.
Result on my laptop
Tests
Standard-library unittest beside each module, run from the module's folder:
setup-snapshot/experiments/2026-10-27-anatomy:python3 -m unittest test_classify_origin(3, builds a temp git repo)setup-snapshot/experiments/2026-11-02-evidence:python3 -m unittest test_skill_depth(9)v15/engine:python3 -m unittest test_board_skills(1)v15/engine/variants/views:test_view_built,test_view_mylevelstill pass (25)Notes
scripts/is a copy of labs/ (scripts/GENERATED.md); these edits need to land in labs before the next rebuild or they are overwritten.~/PhpstormProjects(3 CLI sessions) instead ofscribing(169 desktop-app sessions). Separate fix, separate branch.