Logo de Validate Knowledge

Validate Knowledge

Comunidade
llopresto87
validate-knowledge

Prove that a knowledge base actually works before trusting it — after building or adopting docs, a knowledge graph, or a wiki, verify it can orient a fresh agent and resist false premises. Use at the end of an adoption, after a large docs change, or before relying on the graph to route work. Two methods: clean-context test agents answering known-answer and adversarial questions, and enforcement tests that plant a violation and confirm the linter catches it. A smoke test proves code runs; this proves the knowledge is correct, navigable, and honest.

Add to TypingMind

Visão geral

Publicado porllopresto87
RepositórioCypress
Nome da habilidadevalidate-knowledge
Estrelas
113
Forks
6
Arquivos incluídos
Somente instruções
LicençaMIT
Links
  • Instruções em Markdown

    Um arquivo SKILL.md que o modelo carrega sob demanda, consumindo tokens apenas quando uma solicitação é realmente relevante para a habilidade.

  • Funciona com qualquer LLM

    As habilidades de IA são escritas em Markdown simples, não em código específico de um provedor. Por isso, funcionam com GPT, Claude, Gemini, Grok ou um modelo local.

  • Sem arquivos extras

    Tudo de que o modelo precisa está nas instruções — sem arquivos extras para sincronizar.

  • Código aberto

    Publicada por llopresto87 no GitHub. Leia os arquivos da habilidade antes de instalá-la.

Instalação

Instale a habilidade de IA Validate Knowledge no TypingMind para usá-la com qualquer LLM ou adicione-a a outro agente que leia SKILL.md.

1

Instalar no TypingMind

O TypingMind instala uma habilidade diretamente da pasta dela no GitHub — lê o arquivo SKILL.md, reúne os arquivos de recursos em um pacote e armazena o resultado localmente.

  1. Abra o app e vá para Plugins → Habilidades.
  2. Escolha "Instalar do GitHub".
  3. Cole a URL abaixo, que aponta para a pasta da habilidade, e confirme.
    https://github.com/llopresto87/Cypress/tree/main/skills/validate-knowledge
  4. Ative a habilidade em cada chat em que quiser disponibilizá-la.
Plugins → Habilidades → Adicionar habilidade → Via URL do GitHub. Depois, cole a URL da pasta e pressione Continuar.
2

Instalar em outro agente

Qualquer agente que leia o formato Agent Skills pode usar esta habilidade — copie a pasta para o diretório de habilidades desse agente.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/llopresto87/Cypress.git /tmp/Cypress
mkdir -p .claude/skills
cp -r /tmp/Cypress/skills/validate-knowledge .claude/skills/validate-knowledge
Reinicie Claude Code após copiar para que a nova habilidade seja reconhecida.

Use no TypingMind

Ative Validate Knowledge em qualquer chat do TypingMind e o modelo cuida do resto. O nome e a descrição da habilidade ficam no prompt do sistema e, assim que uma solicitação relevante aparece, o modelo carrega as instruções completas automaticamente — sem precisar de acionamento manual e sem consumir tokens até que ela seja realmente usada.

O modelo carrega Validate Knowledge automaticamente assim que uma solicitação é relevante para essa habilidade.

Funciona com qualquer modelo de IA

Habilidades de IA são instruções em Markdown simples, não código específico de um provedor. Por isso, Validate Knowledge não fica vinculada ao modelo para o qual foi criada. Instale-a uma vez no TypingMind e use-a com GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama ou um modelo local executado por conta própria — tudo com suas próprias chaves de API.

  • Carregada apenas quando necessário

    O prompt do sistema contém apenas o nome e a descrição. As instruções são buscadas na primeira solicitação relevante, então uma habilidade sem uso não gera custo.

  • Troque de modelo durante a conversa

    Como a habilidade é composta de instruções, não de código, trocar de modelo não afeta seu funcionamento — o próximo modelo lê o mesmo arquivo SKILL.md.

Instruções da habilidade

Este é o conteúdo de SKILL.md que o modelo carrega. Leia antes de instalar — uma habilidade é um conjunto de instruções que seu modelo seguirá.

validate-knowledge

Documentation you wrote is documentation you already believe. That is exactly why you cannot validate it yourself: you fill every gap from memory the reader won't have. A knowledge base is only proven when a context that does not share your memory can use it to reach correct answers, and when its own guard rails demonstrably catch violations.

This complements the code smoke test. A smoke test proves a snippet runs; this proves the surrounding knowledge is correct, navigable, and honest.

For version drift specifically (whether the library wiki's pins still match the resolved dependencies), the complementary check is the lightweight source-reconciliation pass in research-and-ingest; this skill tests prose, not pin freshness.

Method 1: clean-context test agents

Spawn agents with no prior context on the project and have them answer questions using only the knowledge base. A fork of yourself inherits your assumptions and passes a base a stranger would fail. Grade the answers against ground truth you already know.

  1. Give them the entry point, not the answers. Tell them to read the kernel and follow it, the same cold start a real session has.
  2. Ask questions whose correct answer you know, spanning the base and its seams: a fact lookup, a "how does X work," a change-impact ("what must I check before editing Y"), a trace across subsystems.
  3. Require them to declare what they loaded: which nodes/pages, and what they deliberately skipped. This tests the routing, not just the content: the right answer reached by loading half the codebase is a routing failure.
  4. Include adversarial false-premise questions. "Confirm the system uses ." "Show me the table where X is stored" (when X isn't stored). A trustworthy base lets the agent reject the premise with a citation; a weak one lets the agent hallucinate agreement. This is the highest-value test: it catches the gaps that ordinary questions glide over.
  5. Grade and fix, independently. Every wrong answer, every missed rejection, every over-broad load is a defect in the base, not the agent: if the base is right and reachable, a competent cold agent finds it. Fix the node or the trigger; re-run. In a standalone run the grading is done by (or reviewed by) an agent that did not author the base, because an author scoring the answers re-imports the assumptions the clean context was meant to strip; when that is impossible, record the deviation with the result. docs/graph/protocols/grow.md Phase 6 already enforces this inside grow.

A base passes when a cold agent answers correctly, loads minimally, and refuses the false premises, citing sources, without opening the raw source tree.

Method 2: enforcement tests

A rule the tooling claims to enforce is only enforced if you have seen it fail on a planted violation; a pass on the real tree does not count. Prove each guard rail:

  • Plant a violation, confirm the catch. Copy the graph to a scratch location, introduce a duplicate fact-key, a broken edge, a version pin in the wrong node, and confirm the linter fails with the right message. A linter you have only ever seen pass is a linter you have not tested.
  • Prove drift detection. If generated views are produced from sources (see install/multi-tool integrations), edit a source and confirm the --check mode flags the stale view; then regenerate and confirm it clears.
  • Wire the passing linter into the verification gates so the base cannot silently rot.

Scope and cost

Match the effort to the base. A handful of clean-context questions and one enforcement pass is enough for a small docs set; a large graph warrants questions spanning every tier and every guard rail. Prefer a few sharp adversarial questions over many easy ones, because the easy ones mostly re-confirm what you already trust.

Run this read-only: the test agents ONLY answer and report, and their output is evidence you act on.

What this catches that nothing else does

  • A node that is correct but unreachable: the router never surfaces it, so the fact might as well not exist.
  • A base that reads well to its author but leaves a newcomer guessing.
  • A fabricated fact or citation that survived authoring; an adversarial question is how it surfaces.
  • A linter or drift-check that was never actually exercised and quietly does nothing.

Reference files

  • docs/graph/skills/knowledge-graph.md : what is being validated.
  • docs/graph/skills/context-router.md : the routing these tests exercise.
  • docs/graph/protocols/verify.md : where the passing linter becomes a gate.
  • docs/graph/templates/prompts/clean-context-validation-brief.md : the parameterized brief for a test agent.

Perguntas frequentes

O que a habilidade de IA Validate Knowledge faz?

Prove that a knowledge base actually works before trusting it — after building or adopting docs, a knowledge graph, or a wiki, verify it can orient a fresh agent and resist false premises. Use at the end of an adoption, after a large docs change, or before relying on the graph to route work. Two methods: clean-context test agents answering known-answer and adversarial questions, and enforcement tests that plant a violation and confirm the linter catches it. A smoke test proves code runs; this proves the knowledge is correct, navigable, and honest.

Por que usar Validate Knowledge no TypingMind?

Porque basta instalar uma vez para usar com qualquer modelo. A habilidade Validate Knowledge é escrita em Markdown simples, e não em código específico de um provedor, então a mesma habilidade funciona com GPT-5, Claude, Gemini, Grok ou um modelo local — e é possível trocar de modelo no meio do chat sem que ela deixe de funcionar. No TypingMind, você usa suas próprias chaves de API e paga diretamente aos provedores, em vez de pagar uma assinatura por licença de usuário. Suas habilidades e chats permanecem no seu próprio armazenamento.

Como instalar Validate Knowledge no TypingMind?

Abra Plugins → Habilidades → Instalar do GitHub no TypingMind e cole https://github.com/llopresto87/Cypress/tree/main/skills/validate-knowledge. O TypingMind lê o arquivo SKILL.md e instala a habilidade para que possa ser ativada em cada chat.

Quais modelos de IA podem usar Validate Knowledge?

Qualquer modelo conectado no TypingMind. As habilidades de IA são instruções em Markdown simples, e não código específico de um provedor. Assim, GPT, Claude, Gemini, Grok e modelos locais podem carregar esta habilidade quando uma solicitação corresponder a ela.

Quantos modelos de IA posso usar com Validate Knowledge?

Quantos quiser. Desde que o modelo ofereça suporte a habilidades, é possível usar Validate Knowledge com ele — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama e outros — tudo no TypingMind com suas próprias chaves de API.

A habilidade de IA Validate Knowledge é gratuita?

Sim. A habilidade é publicada no GitHub por llopresto87 sob a licença MIT. O pagamento é feito apenas ao seu provedor de IA pelos tokens usados.

O que são habilidades de IA?

Uma habilidade de IA é um conjunto reutilizável de instruções que ensina um modelo de IA a realizar uma tarefa específica. Ela segue o formato aberto Agent Skills: um arquivo SKILL.md com nome e descrição, além de scripts, templates ou arquivos de referência de que o modelo possa precisar. O modelo lê as instruções apenas quando sua solicitação corresponde à habilidade, então uma habilidade instalada não gera custos até ser usada.

Qual é a diferença entre habilidades de IA e plugins ou servidores MCP?

Um plugin ou servidor MCP oferece ao modelo novas ferramentas que ele pode acionar — código que é executado em algum lugar e retorna um resultado. Já uma habilidade de IA dá ao modelo o conhecimento e as orientações de que ele precisa: como abordar uma tarefa, quais etapas seguir e como deve ser um bom resultado. As habilidades são escritas em Markdown simples, por isso não precisam de servidor, chave de API nem ambiente de execução, e funcionam com qualquer modelo.

Ver lista completa

Crie seu próprio espaço de trabalho com IA agora

Inscreva-se na nossa newsletter para receber avisos sobre novos recursos e futuros sorteios 👇