agentleFS
po4ykapo4yka/llm-wiki-skills/skills/llm-wiki-model-policy/SKILL.md

llm-wiki-model-policy

Skill3 starsChanged 5 months agoMITView on GitHub

Define model and data-use policy for LLM-Wiki workflows. Use when the user asks which models/providers can process which sources, what must stay local, how to split cheap/heavy models, or how to record model provenance in wiki frontmatter.

The file

We split this skill into the rules it gives an agent

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

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈7

    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:

    Create a practical model/data policy for ingest, query, lint, capture and publication workflows.

    line 16
  2. Distinctive:

    Use local-only defaults for sensitive or unknown material unless the user explicitly approves another policy.

    line 66
  3. Distinctive:

    no cloud for sensitive raw sources.

    line 87
  4. Distinctive:

    Do not assume provider privacy or retention rules from memory.

    line 114
  5. Distinctive:

    Do not route sensitive data to cloud models without explicit approval.

    line 115
  6. Distinctive:

    Do not hide model provenance for generated pages.

    line 116
  7. Distinctive:

    Do not optimize cost at the expense of trust boundaries.

    line 117

≈ “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 Model Policy

Goal

Create a practical model/data policy for ingest, query, lint, capture and publication workflows.

When to use

  • The user asks which models or providers are allowed to process a given wiki source or folder.
  • The user wants to decide what must stay local-only versus what can go to a cloud model.
  • The user is setting up or revising the cheap/local vs. heavy/cloud model split across ingest, triage, synthesis, query, lint and embedding tasks.
  • The user asks how to record model provenance (which model produced a page) in wiki frontmatter.
  • The user needs escalation rules for low-confidence outputs or sensitive raw sources before publication.

Inputs

  • Data sensitivity and domain.
  • Current model providers and local models.
  • Tasks: triage, ingest, query, synthesis, lint, embedding, reranking.
  • Privacy, legal, cost and latency constraints.

Procedure

1. Classify data

Use:

public | internal | sensitive | regulated | unknown

Map folders and capture channels to these classes.

2. Classify tasks

Separate:

  • capture cleanup;
  • triage;
  • source extraction;
  • synthesis;
  • query answering;
  • linting;
  • embeddings;
  • reranking;
  • publishing.

3. Assign model tiers

Create a matrix:

Data classTaskAllowed model/providerLocal requiredNotes

Use local-only defaults for sensitive or unknown material unless the user explicitly approves another policy.

4. Record provenance

Recommend frontmatter fields:

ai_model: ""
agent_version: ""
ai_confidence: 0.0
processed_at: YYYY-MM-DD
model_policy: local-only|cloud-allowed|redacted-cloud|unknown

5. Define escalation rules

Examples:

  • cheap/local model for triage;
  • stronger model for synthesis;
  • human review for low confidence;
  • no cloud for sensitive raw sources;
  • redact before cloud when allowed.

6. Re-verify current provider claims

Browse official provider docs for current retention, privacy, pricing, model availability and API behavior when those facts matter.

Output

## Model policy summary

## Data classes

## Task/model matrix

## Local-only boundaries

## Frontmatter requirements

## Escalation rules

## Claims to re-verify

Safety gates

  • Do not assume provider privacy or retention rules from memory.
  • Do not route sensitive data to cloud models without explicit approval.
  • Do not hide model provenance for generated pages.
  • Do not optimize cost at the expense of trust boundaries.

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.