Skip to content

insights: a skill you downloaded and committed once is not counted as yours - #38

Merged
teocns merged 1 commit into
mainfrom
insights-downloaded-skill-is-not-yours
Nov 13, 2026
Merged

teocns merged 1 commit into
mainfrom
insights-downloaded-skill-is-not-yours

Conversation

@teocns

@teocns teocns commented Nov 13, 2026

Copy link
Copy Markdown
Member

Before and after:

  • Before, a skill you installed from someone else's repository, then copied into one of your projects and committed once, was listed under what you wrote when the original lived in a clone you keep in your home folder. The scan looked only in the projects it read and in clones below a project folder. Also, a skills lock that lists one of your own skills with your own repository as its source was read as an install of that skill.
  • After, for a skill whose SKILL.md sets publishing fields (the kind that has an upstream repository), the scan also looks in the git repositories directly in the home folder or one folder below it, in their whole history. The proofs are the same as for a copy anywhere else: the clone's commits are mostly other people's, none of the commits that added your copy are yours, your copy is newer, and your session logs show no write or edit of it. Those clones are asked once for all such skills, not once per file.
  • A lock entry whose source is a repository on the laptop that is mostly yours is no receipt: that is how you share your own skill, so the skill, a copy of it and an unpacked package of it all stay yours. A name in a lock elsewhere stays no proof.
  • Example: a skill downloaded from a public repository, committed once into a project, with the original cloned under the home folder, now reads as installed. Your "what you wrote" counts can go down by such skills.

Limits: only repositories in the home folder or one folder below it are searched (hidden folders and a few system folders are skipped, at most 5000 folders are looked at). A skill without publishing fields is not searched, because a search of hundreds of repositories per skill would cost minutes; it stays yours.

Test:

  • cd plugins/insights/scripts/v15/engine/variants/views && uv run --no-project python -m unittest test_view_built test_view_mylevel test_counts (45 tests, OK)

  • claude plugin validate . passes with the warnings it already gave.

  • The ownership rules have their own tests in the sources this repository is published from; they pass for this change and are not shipped here.

  • One change. I did not edit a version, a CHANGELOG.md, marketplace.json or kit.json.

  • Nothing personal: no names, no paths from my machine, no output of my own scan, no secrets.

No version change: nothing reaches members until a release.

… yours

Kit-Commit: d812099ceff855309874d06cf87917a38b36d78c
Kit-Only: plugins/insights
@teocns
teocns merged commit ffc7d00 into main Nov 13, 2026
@teocns teocns mentioned this pull request Nov 13, 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.

1 participant