agentsclimarketplace

Llm wiki eval

Skill po4yka/llm-wiki-skills/skills/llm-wiki-eval

Portable Agent Skills for building, operating, evaluating, and governing LLM-Wiki knowledge systems.

Install
npx -y skills add po4yka/llm-wiki-skills --skill llm-wiki-eval

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

One thing to look at

  • 0 stars0 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.

What its author says it does

Copied from the file, not written here

Define and execute LLM-Wiki measurement, including bounded pilot benchmarks. Use for usefulness, grounding, maintenance-health, and citation-coverage metrics, baseline vs with-wiki comparison, scoring, and decision gates; route framework/CI choices to llm-wiki-eval-tooling.

The file declares its own license as MIT. That is the author’s claim about this one file, and it is not the same thing as the license GitHub reports for the repository, which is listed with the other numbers below.

SKILL.md

9.6 KB, as published. Nobody here has run it

LLM-Wiki Eval

Goal

Measure whether the wiki improves real work instead of merely accumulating attractive notes.

Use references/docs/18-evaluation-methodology.md for the detailed methodology: retrieval metrics, grounding metrics, with-wiki experiments, human calibration, operational health, security gates and rollout roadmap.

Use references/benchmarks/pilot-questions.md and references/benchmarks/scoring-rubric.md when the user wants a bounded pilot benchmark with baseline and with-wiki passes.

When to use

  • The user asks to measure, benchmark or score whether the wiki is actually useful, not just growing.
  • The user requests a bounded pilot benchmark with a baseline pass versus a with-wiki pass.
  • The user wants a continue/pause/redesign decision for the LLM-Wiki workflow or a specific domain.
  • The user wants to check grounding, citation coverage or unsupported-claim rate on recent answers.
  • The user wants an operational-health check (staleness, review backlog, freshness lag) as part of a periodic review.
  • Route pure tooling/CI/framework selection questions to llm-wiki-eval-tooling instead.

Inputs

  • LLM-Wiki vault path.
  • Recent questions, queries or tasks if available.
  • wiki/index.md, wiki/log.md, wiki/queries/, lint reports and eval reports.
  • Optional evaluation question set or qrels.
  • Optional adoption claim to test, such as "this wiki saves time" or "this beats RAG for our questions".
  • Optional risk tier: low, medium, high, critical.

Procedure

1. Define evaluation scope

Choose one scope:

  • whole vault;
  • one domain;
  • one project;
  • recent 30/60/90-day activity;
  • before/after migration;
  • pilot with 20-50 sources and 10-20 realistic questions;
  • high-stakes slice such as policies, runbooks or customer data procedures.

2. State the evidence level

Classify the evaluation as:

Evidence levelMeaning
external directPublished LLM-Wiki benchmark or implementation evidence.
external adjacentGraphRAG, memory, context-engineering or RAG benchmark evidence.
local operationalThis user's own metrics, query tests, traces and human review.

Local operational evidence should decide whether the workflow is worth continuing for this user.

3. Evaluate in layers

Do not produce one opaque score. Score these layers separately:

LayerCore questionMetrics
RetrievalDid we find the right pages/passages?recall@k, MRR, nDCG, hit/miss labels.
GroundingAre answer claims supported?citation coverage, unsupported-claim rate, faithfulness, support labels.
Answer qualityDoes it solve the task?human rubric, pairwise preference, correctness, completeness.
Wiki usefulnessDoes it reduce work?answer reuse, retrieval hit rate, read/write ratio, context reconstruction avoided.
Operational healthIs it alive and governed?stale-page rate, review backlog, provenance coverage, broken links.
SecurityCan untrusted content bypass policy?prompt-injection success, PII/secret leakage, cross-tenant leakage.

4. Measure operational metrics

Collect:

MetricMeaning
retrieval hit rateHow often real answers used existing wiki pages.
answer reuse rateHow often saved query pages are reused.
read/write ratioWhether the wiki is read, not only written.
review backlogDraft/ambiguous pages waiting for human review.
provenance coverageImportant claims with sources.
stale verified pagesTrusted pages past refresh date.
output beyond vaultReports, PRs, essays, decisions, docs shipped from wiki.
context reconstruction avoidedHow often the wiki prevents re-explaining/re-reading old context.
freshness lagTime between source change and wiki/index update.

5. Run query tests

Use 10-20 realistic questions for a small pilot; 200-300 examples for a serious local benchmark.

For each, record:

id: ""
question: ""
query_type: exact|conceptual|synthesis|multi-hop|recent|sensitive
used_wiki_pages: []
used_raw_sources: []
required_pages: []
required_sources: []
forbidden_sources: []
answer_saved: false
support_level: extracted|inferred|ambiguous|synthesis|unsupported|conflicting
citation_coverage: 0.0
unsupported_claims: 0
rating: useful|partial|miss
risk_tier: low|medium|high|critical
time_saved_estimate: none|small|medium|large

When possible, compare a with-wiki answer to a without-wiki answer under the same model and prompt family.

5a. Run pilot benchmark mode when requested

Use this mode when the user asks to run a small benchmark, baseline pass, with-wiki pass, scoring rubric or continue/pause/redesign decision.

Build a 10-20 question set from real work. Include:

  • factual lookup;
  • synthesis across sources;
  • decision provenance;
  • stale/current fact;
  • context recovery;
  • output generation from wiki knowledge.

Run the with-wiki pass using wiki/index.md, search, relevant wiki pages and raw sources when needed. Record pages used and support level.

Run the baseline pass only when comparable baseline data is available. Use no wiki, raw search only or the previous workflow. Do not fabricate baseline data.

Score each question on:

  • correctness and support;
  • time-to-context;
  • answer completeness;
  • provenance quality;
  • whether the answer was reusable;
  • user usefulness rating.

Then recommend:

continue | pause automation | redesign structure | improve provenance | improve retrieval | stop using LLM-Wiki for this domain

6. Run grounding checks

For answer samples:

  • split answer into sentences or atomic claims;
  • verify each claim has a citation or support source;
  • classify support as source-backed, wiki-backed, inferred, missing or conflicting;
  • count unsupported material claims;
  • check that citations point to valid pages/sources/anchors;
  • oversample high-risk answers for human review.

Recommended starting gates:

Risk tierCitation coverageUnsupported claims
Low>= 0.80<= 0.10
Medium>= 0.90<= 0.05
High>= 0.95<= 0.02
Critical>= 0.980 material unsupported claims

7. Sample random pages

Open 10-20 random pages and score:

  • clear purpose;
  • source support;
  • useful links;
  • status accuracy;
  • human synthesis boundary;
  • freshness metadata;
  • review state;
  • reusability.

8. Test the living-wiki loop

Check whether the wiki has evidence of:

capture -> triage -> ingest -> query -> file-back -> lint -> review -> refresh -> eval

A wiki that only captures and never files back/lints/evaluates is likely becoming an archive, not a living knowledge base.

9. Classify failure modes

FailureLikely fix
Relevant page missing from top-kRetrieval/index/chunking fix.
Relevant page found but answer unsupportedPrompt/context-packing/grounding fix.
Correct answer but no citationsAnswer formatting/citation enforcement fix.
Citation exists but does not support claimClaim verifier/citation span fix.
Draft/rejected page usedReview-state filter fix.
Sensitive page surfacedPermission/sensitivity filter fix.
Stale page trustedFreshness/review policy fix.
Human says answer is bad but metrics passJudge/rubric calibration fix.
Metrics regress but humans prefer outputLabel/qrel/rubric review.
Security red-team succeedsInstruction hierarchy/tool boundary/redaction fix.

10. Recommend improvements

Prioritize fixes:

  1. security and data-boundary failures;
  2. retrieval/index problems;
  3. grounding and unsupported claims;
  4. provenance gaps;
  5. review backlog;
  6. stale pages;
  7. capture pipeline gaps;
  8. missing answer file-back;
  9. unnecessary infrastructure.

11. Decide continue / pause / redesign

Use:

DecisionUse when
continueRetrieval and grounding are improving; no critical safety failures.
continue with gatesUtility is visible but eval/security debt remains.
pauseData is insufficient or review/security debt blocks trust.
redesignCore workflow does not improve real tasks or repeatedly violates trust boundaries.

Output

## Evaluation summary

## Scope and evidence level

## Layered metrics

## Query test results

## Grounding and citation audit

## Living-wiki loop check

## Random page sample

## Failure modes

## Security findings

## Recommended improvements

## Continue / pause / redesign decision

## Next measurement date

For pilot benchmark mode, include:

## Benchmark summary

## Question set

## With-wiki results

## Baseline comparison

## Metrics

## Failure modes

## Decision

## Next benchmark date

Safety gates

  • Do not optimize for vanity metrics such as note count or graph density.
  • Do not mark pages trusted as part of evaluation.
  • Do not reveal sensitive content in aggregated reports.
  • Be explicit when evidence is too sparse for a strong conclusion.
  • Do not claim external benchmarks prove local success; use local metrics to decide.
  • Do not rely only on LLM judges; keep human calibration samples.
  • Do not compare runs across changed datasets without recording dataset revision.

Keep looking

Skills are one crate of 328,083. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.