Refresh Kb logo

Refresh Kb

Organization
hraness
refresh-kb

Refresh and validate a hraness/wordcell Markdown knowledge graph after notes, concepts, typed relationships, attachments, repository scopes, or context mappings change. Use when an agent needs to maintain a managed or authored catalog, inspect graph and lifecycle findings, validate local artifacts and scope hubs, or complete a vault health check.

Overview

Publisherhraness
Repositoryslopcamera
Skill namerefresh-kb
Stars
7
Forks
1
Bundled files
2
LicenseMIT
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • 2 bundled files

    Scripts, templates, and references the model can read while it works. Files are read-only and never executed.

  • Open source

    Published by hraness on GitHub. Read the source before you install it.

Installation

Install the Refresh Kb AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/hraness/slopcamera/tree/main/.agents/skills/refresh-kb
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/hraness/slopcamera.git /tmp/slopcamera
mkdir -p .claude/skills
cp -r /tmp/slopcamera/.agents/skills/refresh-kb .claude/skills/refresh-kb
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Refresh Kb in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Refresh Kb on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Refresh Kb is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

Refresh a knowledge base

Use a refresh-review-check loop. Keep authored prose under deliberate editorial control. A managed vault gives the marked catalog region to the tool; an authored vault leaves its complete front door untouched.

1. Locate the vault

  • Resolve <vault> to the directory containing its managed or authored index.md, then set the shell-local KB_ROOT to that path (KB_ROOT=kb from a typical repository root, or KB_ROOT=. from inside the vault).
  • When the change concerns scopes/ or an kb:context marker, resolve the repository root and set KB_REPO to that path (KB_REPO=. from the repository root).
  • Read the vault's applicable agent instructions and note conventions before editing.
  • Preserve note voice, frontmatter, filenames, and link intent unless a reported finding justifies a specific change.

2. Refresh derived state

When several agents are still editing a managed vault, do not refresh its shared catalog in each lane. Validate the lane's Markdown and graph facts with:

sh
wordcell check --root "$KB_ROOT" --no-catalog

The integrating agent performs the managed refresh once after the lanes join. An authored vault declares kb_catalog: authored in index.md; its refresh has no catalog write and is safe from that shared generated-file hotspot.

Run:

sh
wordcell refresh --root "$KB_ROOT"

In managed mode this command atomically updates only the marked catalog region in index.md. In authored mode it reports the index as authored and leaves the file unchanged. Use wordcell catalog --root "$KB_ROOT" for a disposable exhaustive inventory in either mode. Catalog links are navigation, so they do not count as contextual graph edges.

3. Review the advisories

Open every reported source line and the relevant target notes before deciding whether to edit.

  • Repair a broken wikilink only when its intended target is clear. Otherwise, report the uncertainty.
  • Repair a broken or ambiguous typed relationship only after confirming its exact canonical target and predicate from the source note.
  • Disambiguate a wikilink with a vault-root path only after confirming the author's intent.
  • Treat a contextual orphan as a prompt to inspect the note, not as a demand to add a link.
  • Treat an unlinked title or alias mention as a candidate, not proof that the sentence should link.
  • Add a contextual wikilink only when it improves the meaning or navigation of the sentence.
  • Repair a missing, escaping, ambiguous, case-mismatched, symlinked, or hard-linked local image, PDF, or tldraw target. External URLs remain outside this attachment gate.
  • When a repository-owned wrapper adds lifecycle findings, treat them as migration advisories: active plans should have descriptions and exact repository_scopes, in-progress plans should retain execution evidence, terminal plans should record a result and durable-memory disposition, and maintained notes should declare type: note or type: concept.
  • When a repository-owned scope audit reports an absent active or maintained scope, inspect it as possible stale routing. Future paths may intentionally be absent; terminal records may intentionally retain retired paths. The portable wordcell refresh and wordcell check commands do not impose this lifecycle policy by themselves.

Backlinks are derived from explicit contextual wikilinks and typed relationships. Mention and percolation candidates are derived analysis. Never inject reciprocal, transitive, or similarity-derived relationships or generated backlink sections to improve graph counts. Never mutate authored prose automatically or apply suggestions mechanically in bulk.

Run a bounded percolation review for each materially changed note:

sh
wordcell percolate "<changed-note-id>" --root "$KB_ROOT" --limit 25 --json

Open the cited notes before deciding whether to create a reusable type: concept note or a source-owned typed relationship.

Intentional orphans and unlinked mentions may remain. Record the reason instead of manufacturing a connection.

Review recent captures without maintained disposition when useful:

sh
wordcell inbox --root "$KB_ROOT" --limit 25 --json

The inbox ignores source-to-source and catalog links. It is advisory; an intentional leaf capture needs no manufactured backlink.

4. Validate changed repository-context mappings

If the change adds, removes, renames, or moves a scope hub, changes its type or scope, or edits an kb:context marker, run:

sh
wordcell agents identity "<repository-scope>" --json
wordcell agents check --root "$KB_ROOT" --repo "$KB_REPO"

Use the non-mutating identity command to derive the hub path and exact marker when creating or moving a mapping. The check command verifies canonical IDs, exact repository-relative directory scopes, collisions, repository confinement, real scope directories and guide files, guide shape, and reciprocal markers. A moved scope has a new identity, so update the hub filename and guide marker together. An unmapped AGENTS.md is valid.

Use the audit when the change affects guide structure, inheritance, or repeated rules:

sh
wordcell agents audit --root "$KB_ROOT" --repo "$KB_REPO"

The audit runs the correctness checks and adds deterministic per-guide, per-section, inherited-chain, long-bullet, and exact-duplicate advisories. Review each advisory in context. Length is not correctness: do not move a load-bearing ownership rule, prohibition, command, invariant, or gate out of AGENTS.md merely to satisfy a suggested budget. Guide discovery skips common generated and vendor directories and never follows symbolic-link directories.

5. Re-refresh and check

After any note or link edit, run the refresh command again so derived state and advisories reflect the final content. Then run the read-only gate:

sh
wordcell check --root "$KB_ROOT"

Finish only when the graph check and any required agent-context check succeed, the configured catalog mode is satisfied, and broken or ambiguous links, relationships, and local attachments are resolved. Summarize deliberate concept, relationship, link, scope, and mapping edits plus advisories intentionally left in place.

Bundled files

The model reads these on demand while the skill is loaded. They are exposed as readable files and are never executed.

Frequently asked questions

What does the Refresh Kb AI skill do?

Refresh and validate a hraness/wordcell Markdown knowledge graph after notes, concepts, typed relationships, attachments, repository scopes, or context mappings change. Use when an agent needs to maintain a managed or authored catalog, inspect graph and lifecycle findings, validate local artifacts and scope hubs, or complete a vault health check.

Why use Refresh Kb on TypingMind?

Because you install it once and use it with any model. Refresh Kb is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Refresh Kb in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/hraness/slopcamera/tree/main/.agents/skills/refresh-kb. TypingMind reads its SKILL.md and bundles its files and installs it as a skill you can enable per chat.

Which AI models can use Refresh Kb?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Refresh Kb?

As many as you like. As long as a model supports skills, you can use Refresh Kb with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Refresh Kb AI skill free?

Yes. It is published on GitHub by hraness under the MIT license. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇