knowledge-base

knowledge-base is a skill for Claude Code, Codex from Pinvou/pinvou-agent. It costs 0 tokens per session (543 once invoked), scanned A, original, MIT.

A set of instructions for working with IMA knowledge bases, which are organized collections of notes, files, imported web pages, and other source material.

In plain words
What is it for?
Use it to find knowledge bases, search their contents, browse folders, import web URLs, add notes, and inspect source information.
Why use it?
It helps route searches, browsing, uploads, and imports to the correct knowledge-base operation.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to find knowledge bases, search their contents, browse folders, import web URLs, add notes, and inspect source information.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/pinvou/pinvou-agent/knowledge-base
About the project

Pinvou/pinvou-agent is an open-source desktop workspace where an AI agent helps with work, visual design, and software development. People use it to work with files and knowledge, create editable visual artifacts, connect coding agents to projects, and extend the workspace with tools, MCP servers, skills, and workflows; the catalogue skills add capabilities to that environment.

Pinvou/pinvou-agent · 2,597 stars · on GitHub · pinvou.com

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add Pinvou/pinvou-agent --skill knowledge-base
Clone the repo
git clone --depth 1 https://github.com/Pinvou/pinvou-agent

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for knowledge-base

README.md
[![agentmods](https://agentmods.dev/badge/skills/pinvou/pinvou-agent/knowledge-base/github.svg)](https://agentmods.dev/skills/pinvou/pinvou-agent/knowledge-base)
Your own site
<a href="https://agentmods.dev/skills/pinvou/pinvou-agent/knowledge-base"><img src="https://agentmods.dev/badge/skills/pinvou/pinvou-agent/knowledge-base/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for knowledge-base

Your own site · 80×15
<a href="https://agentmods.dev/skills/pinvou/pinvou-agent/knowledge-base"><img src="https://agentmods.dev/badge/skills/pinvou/pinvou-agent/knowledge-base.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 0 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 543 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00000 $0.00543
Opus 5.5 $0.00000 $0.00217
Sonnet 5.5 $0.00000 $0.00109
Haiku 4.5 $0.00000 $0.00054

Measured 29d ago against content hash 3bb2ea9d911e, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

knowledge-base scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 29d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

pinvou3-app/src-tauri/resources/common/skill-marketplace/ima-skills/knowledge-base/SKILL.md · 48 lines

How it starts

The opening of the file, as written. The whole thing — 48 lines — stays where its author put it; the contents beside it link to each section on GitHub.

IMA Knowledge Base

API base path: openapi/wiki/v1.

Use knowledge-base APIs when the user's target is a knowledge-base entry, folder, file, imported URL, or source media.

Do not use shell commands or environment inspection for credentials. Call the native ima_openapi tool (deferred by default: if it is not in your tool list, activate it with tool_search first); credentials are never tool arguments.

Operations

  • Search knowledge bases: search_knowledge_base
  • Get knowledge-base details: get_knowledge_base
  • Browse knowledge-base contents: get_knowledge_list
  • Search within a knowledge base: search_knowledge
  • List addable knowledge bases: get_addable_knowledge_base_list
  • Import web URLs: import_urls
  • Add an existing IMA note to a knowledge base: add_knowledge with media_type: 11
  • Get media source info: get_media_info

Routing Rules

  • If the user names a target knowledge base, search by name with search_knowledge_base; do not use get_addable_knowledge_base_list first.
  • If the user wants to add content but does not specify a knowledge base, call get_addable_knowledge_base_list and ask them to choose.
  • Root folder operations omit folder_id; never pass knowledge_base_id as folder_id.
  • If get_media_info indicates media_type: 11, switch to the notes module and call get_doc_content with the note ID from the response.

Examples

{"api_path":"openapi/wiki/v1/search_knowledge_base","body":{"query":"","cursor":"","limit":20}}
{"api_path":"openapi/wiki/v1/search_knowledge","body":{"query":"排期","knowledge_base_id":"<kb_id>","cursor":""}}
{"api_path":"openapi/wiki/v1/import_urls","body":{"knowledge_base_id":"<kb_id>","urls":["https://example.com/article"]}}

File Upload Guard

Local file upload is not an ima_openapi capability: only web page import via import_urls and collecting existing notes via add_knowledge are supported. Do not promise the user that local files can be uploaded; if the user asks to upload local files, explain this limitation instead.

Read the full file on GitHub · 48 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 29d ago Changed 3bb2ea9d911e
  2. 1mo ago Changed 692d93b9e33f
  3. 1mo ago First seen · 48 lines · 0 tokens per session scan A b179205bb65a

Subscribe to this mod's changes

knowledge-base is a skill published in the GitHub repository Pinvou/pinvou-agent (2,597 stars, last pushed today), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 543 tokens. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

self-optimizing-harness

Use the ResearchSwarm-backed self-optimizing harness to route a coding task, recall lessons from past sessions, and record outcomes so the agent compounds knowledge and improves over time. Trigger when starting a non-trivial task, when you want prior context, or after finishing work to capture what worked or failed.

eli-labz/Godcoder · 69 tokens

plur-create-engrams

Create or improve PLUR engrams from conversations, documents, decisions, observations, and explicit preferences. Use for memory extraction, engram authoring, or reviewing proposed memories, including global, scoped, pinned, retrieved, and provisional knowledge. Ordinary use of existing memories does not require this…

plur-ai/plur · 66 tokens

plur-memory

Persistent learning for AI agents. Open engram format. Your agent learns from corrections, remembers across sessions, and transfers knowledge across domains.

plur-ai/plur · 31 tokens

plur-session-end

Extract durable learnings at the end of a session. Saves corrections, preferences, and codebase patterns as engrams — nothing ephemeral, nothing sensitive.

plur-ai/plur · 35 tokens

plur-memory

Your memory stays on your machine. No cloud, no tracking, no API key. PLUR makes your OpenClaw remember — and shares that memory with every other tool you use.

plur-ai/plur · 41 tokens

knowledge-base

Build and maintain a company knowledge base as a wiki of interlinked markdown notes in the workspace — a private, compounding Wikipedia. Use when the user wants to start or organize a knowledge base / wiki, ingest sources (URLs, documents, pasted notes) into it, ask questions answered from it, or audit (lint) it.…

Open-Curiosity/gini-agent · 119 tokens