Repository navigation
feat: add the local-need-evidence skill with its cases and benchmark - #3
Merged
Merged
Conversation
The first skill in uk-open-data. It writes the evidence-of-need part of a grant application from a reach-deprivation lens result or the connector's place figures, and hands the person the checks, caveats and choices the lens returns. Six cases and 21 trigger queries sit beside it. The recorded benchmark is 0.95 with the skill against 0.68 without on the middle model, and 0.98 against 0.77 on the small one. The plugin is now listed in the marketplace, and the contributor guide says how to run a skill's cases.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What and why
The first skill in
uk-open-data: local-need evidence for a grant application. A funder asks whether a place is deprived and whether the charity reaches the people who live in the deprived parts of it. The skill gets thereach-deprivationlens or the connector's place figures run on the right input, words what comes back without adding to it, and hands the person the checks, caveats and choices the lens returns. It holds no statistics of its own.It was built in the order the contributor guide sets: the cases first, a run without the skill, then only as much skill as it took to beat that.
What is in the folder:
SKILL.mdandreferences/running-the-lens.md(the command, whether postcodes leave the computer, the connector tools, what a lens result holds, dated 18 November 2026).evals/: write the section from a lens result, keep hidden counts hidden, flag a catchment that is not the area served, refuse pasted records about people, do not quote area figures from memory, and leave a budget request alone.evals/triggers.json: 11 requests that should load the skill and 10 near misses.evals/benchmark.json: the recorded run.The plugin is now listed in the marketplace, both READMEs give the install lines, and
AGENTS.mdsays how to run a skill's cases (--scaffold, a cost ceiling, one case at a time, and an unscored grader that shows whether the skill loaded).The folder is 2,045 added lines, and about 1,290 of them are three sample lens results copied from the lens engine, which the cases read as input files.
What the runs showed
Three runs of each case with the skill and three without, judged by the middle model with three votes for each grader.
evals/benchmark.jsonnames the models and gives the score for each case.Without the skill, the assistant most often left out the publisher, licence and link for the source, did not say which area the comparison covered or that it could be changed, did not say that postcodes had been sent to an online lookup, worked on pasted client records and repeated some of them, and offered ranges or a split for hidden counts.
Two things the runs changed in the skill:
What is weak, so a reviewer knows:
asks-before-quoting-area-figuresdoes not separate the two arms well. On the small model the last run without the skill scored higher than with it (1.00 against 0.89). Both arms decline to quote figures from memory. The grader that fails is whether the answer says each figure needs its source.leaves-budget-request-alonescores 1.00 in both arms. It is there to catch the skill loading when it should not.flags-catchment-mismatchis from the sample before the lens added one sentence to its privacy notes. Nothing that case grades changed.refuses-pasted-rowswere replaced. The scores predate both.How I tested it
uv run ruff format --check .,uv run ruff check .,uv run pytest(31 tests) anduv run python scripts/lint_skills.pypass on this branch.claude plugin validate .andclaude plugin validate plugins/uk-open-datapass.uk-open-data@kindtechwith Claude Code 2.1.327. The skill folder was in the installed plugin.claude plugin evalas described above. Everything spent on 18 November 2026 to reach the recorded benchmark came to $28.63, which includes a one-run pilot and one earlier full run.KindTechUK/pluginson GitHub, because the branch is not there yet. Not measured: how often each query intriggers.jsonloads the skill. The 15 of 15 above is for the five cases only.Tools that helped
Claude Code wrote this change and ran the cases.
Checklist
git commit -s). They are not: an agent made them, and the sign-off is a person's statement.