Skip to content

insights: a skill typed as /name counts as used - #11

Merged
teocns merged 5 commits into
proxify-dev:mainfrom
AlexJov996:insights-skill-detection
Nov 12, 2026
Merged

teocns merged 5 commits into
proxify-dev:mainfrom
AlexJov996:insights-skill-detection

Conversation

@AlexJov996

Copy link
Copy Markdown
Contributor

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-test showed "not used in the last 30 days" although I typed /full-test and its runner ran about 400 times.

Three detection gaps, each reproduced with a failing test first:

  1. Ownership by folder commit count. classify_origin labelled dod-browser-test "mixed" because teammates made 17 of the 24 commits on its folder (they edited references/*.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 its SKILL.md (made_by_them). A skill a teammate created that they touched once stays mixed.
  2. A typed skill command never counted as a load. Typing /full-test writes 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 a loaded event that skill_depth_facts never counted. loaded now counts as a load, once per load: after a Skill call the same record repeats that call's load and is paired with it.
  3. Code outside the skill folder. full-test's SKILL.md says "Code: tests/full-test/"; the depth read only saw Bash commands containing skills/ 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 from node -e do 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

"Skills and commands you wrote" before after
skills of mine, calls in the window 15, 1 16, 22
dod-browser-test missing 22 uses, step 3
full-test not used 1 use, step 3, runner seen

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_mylevel still pass (25)

Notes

  • Plugin version bumped to 0.6.5.
  • scripts/ is a copy of labs/ (scripts/GENERATED.md); these edits need to land in labs before the next rebuild or they are overwritten.
  • Found while running this: the scan picks the "most active project" from terminal sessions only, so the Review tab read ~/PhpstormProjects (3 CLI sessions) instead of scribing (169 desktop-app sessions). Separate fix, separate branch.

…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.
@teocns

teocns commented Nov 12, 2026

Copy link
Copy Markdown
Member

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 /name, the tool never counted that as using it. So a skill used only that way showed "not used in the last 30 days" right next to a count of its uses. That has been wrong since the skill view first shipped.

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:

  • The version number is back to the published one. We set it when we cut a release.
  • The tests use made-up skill names instead of ones from your machine.
  • The tests moved into test_view_built.py, because our build only ships the files it lists.

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.

@teocns teocns changed the title insights 0.6.5: skills you created, typed or keep code for elsewhere are detected again insights: a skill typed as /name counts as used Nov 12, 2026
@teocns
teocns merged commit 14018c5 into proxify-dev:main Nov 12, 2026
@teocns teocns mentioned this pull request Nov 12, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants