Iwe Knowledge Base logo

Iwe Knowledge Base

Community
Dark-Alex-17
iwe-knowledge-base

Navigate and curate markdown knowledge bases (plan repos, spec repos, companion docs) with IWE graph tools. Load when the workspace is or contains a markdown knowledge base and the task involves finding, reading, or reorganizing plans, specs, designs, or notes. Activates the iwe MCP server rooted at the current directory.

Overview

PublisherDark-Alex-17
Repositorycoyote
Skill nameiwe-knowledge-base
Stars
56
Forks
2
Bundled files
Instructions only
LicenseAGPL-3.0
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.

  • Self-contained

    Everything the model needs lives in the instructions — no extra files to sync.

  • Open source

    Published by Dark-Alex-17 on GitHub. Read the source before you install it.

Installation

Install the Iwe Knowledge Base 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/Dark-Alex-17/coyote/tree/main/assets/skills/iwe-knowledge-base
  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/Dark-Alex-17/coyote.git /tmp/coyote
mkdir -p .claude/skills
cp -r /tmp/coyote/assets/skills/iwe-knowledge-base .claude/skills/iwe-knowledge-base
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Iwe Knowledge Base 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 Iwe Knowledge Base 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 Iwe Knowledge Base 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.

You are working with a markdown knowledge base through IWE, a graph-based knowledge tool. The iwe MCP server is rooted at the current working directory, so the knowledge base is the directory Coyote was launched in. IWE derives structure from links: a link on its own line is an inclusion link (parent-child hierarchy); a link inside text is an inline reference (cross-reference, produces backlinks). The server watches the filesystem, so external edits are picked up automatically — never ask for a restart.

When to use this (and when not)

Use IWE tools when the task involves a corpus of markdown documents: plan repositories, spec/design collections, companion docs repos, meeting notes, PKM vaults.

Do NOT use IWE tools for:

  • Agent memory (.coyote/memory/) — use the memory__* tools; they own the index conventions there.
  • Workspace instructions (COYOTE.md, AGENTS.md, CLAUDE.md, GEMINI.md) — human-curated and read-only; never edit them with IWE write tools.
  • Semantic/similarity search over documents — that is RAG's job. IWE search is fuzzy title/key matching plus structural traversal, not embeddings.
  • Source code — IWE only understands markdown.

If unsure whether the current directory is actually a knowledge base, probe with iwe_stats first. Few or zero documents means this skill does not apply; unload it rather than forcing the tools.

Orientation protocol (always start here)

Never guess document keys. Orient first:

  1. iwe_stats — corpus size and shape. Cheap sanity check.
  2. iwe_find(query="<topic>") — fuzzy search for entry points. Use roots behavior via structural selectors when you want top-level topics only.
  3. iwe_tree(key="<entry>", max_depth=2) — see the hierarchy before reading bodies.
  4. iwe_retrieve(key="<entry>", depth=1, context=1) — read with structure.

Reading efficiently

iwe_retrieve is the workhorse. Control cost explicitly:

  • depth — how many levels of included children to expand. Start at 1-2; increase only if needed.
  • context — parent levels to include, so you know where a document sits. context=1 is usually enough.
  • max_tokens — ALWAYS set a budget (e.g. 2000-4000) on large corpora; results report truncation so you can drill further deliberately.
  • exclude — pass keys you have already read to avoid re-retrieving known content.
  • links / backlinks — include outbound/inbound references when tracing how a topic connects.

Scope searches structurally with selectors on iwe_find/iwe_retrieve/iwe_tree:

  • in — only sub-documents of EVERY listed key (AND)
  • in_any — sub-documents of at least one key (OR)
  • not_in — exclude subtrees (e.g. archives)

Filter by frontmatter with the YAML query language: status: draft, created: {$gte: "2026-01-01"}, tags: {$in: [urgent]}, reviewed: {$exists: true}.

Use iwe_squash(key=...) to flatten a subtree into one linear document — good for producing a full plan readout or summary input.

Writing and refactoring

Write tools: iwe_create (new doc from title + content), iwe_update (replace a doc's content), iwe_delete (remove + clean up references). Refactor tools: iwe_rename (key rename with automatic link updates everywhere), iwe_extract (split a section into its own doc, leaving an inclusion link), iwe_inline (merge a referenced doc back into its parent), iwe_normalize (reformat all docs consistently).

Rules:

  • Preview destructive operations: iwe_rename, iwe_delete, iwe_extract, iwe_inline, and iwe_normalize support dry_run — use it first, show the user what will change, then apply.
  • Never rename or delete by editing files directly; the refactor tools update every referencing document, manual edits break links.
  • When adding a document, link it from an existing parent (inclusion link on its own line) so it joins the hierarchy instead of becoming an orphan.
  • Match the corpus conventions: check an existing document's frontmatter fields before inventing your own schema.
  • Do not run iwe_normalize across someone's knowledge base unprompted — it rewrites every file's formatting.

Anti-patterns

  • Retrieving with depth=5 and no max_tokens "to get everything" — you will flood the context. Iterate: shallow first, drill selectively.
  • Calling iwe_find repeatedly with rephrased queries when structural navigation (iwe_tree, selectors) would locate the document deterministically.
  • Using IWE write tools on .coyote/memory/ files — wrong tier; that corrupts the memory index.
  • Creating documents without linking them into the hierarchy — orphans are invisible to depth-based retrieval.

Frequently asked questions

What does the Iwe Knowledge Base AI skill do?

Navigate and curate markdown knowledge bases (plan repos, spec repos, companion docs) with IWE graph tools. Load when the workspace is or contains a markdown knowledge base and the task involves finding, reading, or reorganizing plans, specs, designs, or notes. Activates the iwe MCP server rooted at the current directory.

Why use Iwe Knowledge Base on TypingMind?

Because you install it once and use it with any model. Iwe Knowledge Base 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 Iwe Knowledge Base in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/Dark-Alex-17/coyote/tree/main/assets/skills/iwe-knowledge-base. TypingMind reads its SKILL.md and installs it as a skill you can enable per chat.

Which AI models can use Iwe Knowledge Base?

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 Iwe Knowledge Base?

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

Is the Iwe Knowledge Base AI skill free?

Yes. It is published on GitHub by Dark-Alex-17 under the AGPL-3.0 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 👇