agentleFS
po4ykapo4yka/llm-wiki-skills/skills/llm-wiki-trust-audit/SKILL.md

llm-wiki-trust-audit

Skill3 starsChanged 5 months agoMITView on GitHub

Audit an LLM-Wiki system for anti-slop controls such as provenance, review gates, protected human synthesis, stale claims, and unsafe agent write permissions. Use when the user asks whether their wiki can be trusted; route setup/permission safety reviews to llm-wiki-security-review and proposal risk audits to llm-wiki-critique-audit.

The file

We split this skill into the rules it gives an agent

11 rules. About 0 are common, 11 are distinctive, and 0 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈11

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 0

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Before granting an agent write access to a vault, or after granting it, to confirm the write-safety boundary still holds.

    line 21
  2. Distinctive:

    After a large ingest, bulk edit, or lint run, to confirm provenance and review gates were not weakened.

    line 22
  3. Distinctive:

    Check whether the system defines:

    line 37
  4. Distinctive:

    Check whether agents can:

    line 86
  5. Distinctive:

    follow prompt-injection instructions from captured content.

    line 92
  6. Distinctive:

    add dry-run/PR workflow;

    line 118
  7. Distinctive:

    add retrieval upgrades only after trust basics.

    line 119
  8. Distinctive:

    Do not mark the wiki safe without evidence.

    line 141
  9. Distinctive:

    Do not auto-fix truth conflicts during audit.

    line 142
  10. Distinctive:

    Do not expose sensitive file contents in the final report.

    line 143
  11. Distinctive:

    Do not treat beautiful structure as proof of correctness.

    line 144

≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

LLM-Wiki Trust Audit

Goal

Evaluate whether an LLM-Wiki is trustworthy enough to use for decisions and identify the highest-risk failure modes.

When to use

  • The user asks whether their LLM-Wiki can be trusted before relying on it for a decision.
  • Before granting an agent write access to a vault, or after granting it, to confirm the write-safety boundary still holds.
  • After a large ingest, bulk edit, or lint run, to confirm provenance and review gates were not weakened.
  • Route setup/permission-only reviews to llm-wiki-security-review and proposal-specific risk reviews to llm-wiki-critique-audit instead of this skill.

Inputs

  • Vault/repository path.
  • AGENTS.md, CLAUDE.md, skills and schemas.
  • raw/, wiki/, _meta/, _agent/reports/ if present.
  • Git history if available.
  • User's risk tolerance and domain sensitivity.

Procedure

1. Inspect the trust model

Check whether the system defines:

  • raw source immutability;
  • page lifecycle states;
  • source backlinks;
  • claim types;
  • confidence semantics;
  • review requirements;
  • protected human sections;
  • lint cadence;
  • rollback/recovery path.

2. Audit provenance

Sample important pages and report:

  • no provenance;
  • source-level provenance only;
  • claim-level provenance;
  • generated pages citing generated pages;
  • stale or missing source hashes;
  • source links that no longer resolve.

Re-verify any page flagged stale or with an unresolved source link before treating its claims as trustworthy.

3. Audit generated content boundaries

Look for:

  • AI-generated pages marked reviewed/verified without evidence;
  • ai_confidence defaulted lazily;
  • low-confidence pages not requiring review;
  • ambiguous claims in trusted pages;
  • human synthesis sections overwritten or unprotected.

4. Audit structural health

Coordinate with wiki-lint if available. Check:

  • broken links;
  • orphan pages;
  • duplicate concepts;
  • taxonomy drift;
  • stale pages;
  • contradiction reports ignored;
  • excessive draft backlog.

5. Audit write safety

Check whether agents can:

  • edit raw/;
  • delete source material;
  • bulk rewrite wiki pages without dry-run;
  • bypass git/PR review without explicit approval;
  • follow prompt-injection instructions from captured content;
  • expose sensitive material to external tools.

6. Grade risk

Use this scorecard:

AreaRiskEvidenceFix
Raw immutabilitylow/medium/high
Provenancelow/medium/high
Review gateslow/medium/high
Human synthesis boundarylow/medium/high
Stalenesslow/medium/high
Agent write safetylow/medium/high
Sensitive datalow/medium/high

7. Recommend fixes

Prioritize fixes that reduce trust risk before productivity features:

  1. protect raw sources;
  2. add review states;
  3. add provenance fields;
  4. protect human sections;
  5. add lint reports;
  6. add dry-run/PR workflow;
  7. add retrieval upgrades only after trust basics.

Output

## Trust audit summary

## Top risks

## Evidence

## Scorecard

## Fix plan

## Stop conditions

## Optional follow-up skills

Safety gates

  • Do not mark the wiki safe without evidence.
  • Do not auto-fix truth conflicts during audit.
  • Do not expose sensitive file contents in the final report.
  • Do not treat beautiful structure as proof of correctness.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.