knowledge-base

knowledge-base is a skill for Claude Code, Codex from Open-Curiosity/gini-agent. It costs 119 tokens per session (2,397 once invoked), scanned A, original, MIT.

A private company wiki made from linked Markdown notes stored in the workspace. Markdown is plain text with simple formatting, and wiki links connect related notes so information can be reused and cross-referenced.

In plain words
What is it for?
Use it to start or organise a knowledge base, add information from documents or web pages, answer questions from the stored notes, and check for broken links or orphaned pages.
Why use it?
It gives the team a lasting, searchable place for knowledge instead of leaving important source material buried in chat. It can also reveal missing or disconnected notes.

Skill for Claude CodeCodex

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.

agentmods
npx agentmods add skills/open-curiosity/gini-agent/knowledge-base
Any agent
npx skills add Open-Curiosity/gini-agent --skill knowledge-base
Clone the repo
git clone --depth 1 https://github.com/Open-Curiosity/gini-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/open-curiosity/gini-agent/knowledge-base.svg)](https://agentmods.dev/skills/open-curiosity/gini-agent/knowledge-base)
Your own site
<a href="https://agentmods.dev/skills/open-curiosity/gini-agent/knowledge-base"><img src="https://agentmods.dev/badge/skills/open-curiosity/gini-agent/knowledge-base.svg" alt="Measured on agentmods" height="20"></a>
Per session 119 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,397 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00119 $0.02397
Opus 5 $0.00060 $0.01198
Sonnet 5 $0.00024 $0.00479
Haiku 4.5 $0.00012 $0.00240

Measured 4d ago against content hash aa0a3abcb87d, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, 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 4d ago.

The scan reads SKILL.md. This mod also ships 2 executable files (scripts/__tests__/lint.test.ts, scripts/lint.ts), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

skills/knowledge/knowledge-base/SKILL.md · 197 lines

How it starts

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

Knowledge Base (Wiki)

You maintain a compounding knowledge base: a wiki of interlinked markdown notes that lives in the workspace. Unlike a chat that forgets, the wiki is written once and kept correct — every new source is folded into existing pages and cross-referenced, so the knowledge graph gets denser over time. The files are plain markdown with [[wikilinks]], so the user can also open them in Obsidian or any editor.

When to use

  • "Set up a knowledge base / wiki", "start a company wiki", "organize my notes".
  • "Add this to the wiki", "ingest this article/doc/page", "remember this for the team".
  • A question that the wiki should answer ("what do we know about X?").
  • "Audit / lint / health-check the wiki", "find broken links / orphans".

When NOT to use

  • One-off facts about the user or your own behavior → that's memory (retain), not the wiki.
  • Throwaway scratch work, or content the user doesn't want kept.

Layout

The wiki lives under wiki/ in the workspace (use an existing root such as knowledge-base/ if one is already there). Structure:

wiki/
├── SCHEMA.md     # the domain, conventions, and tag taxonomy — defined once
├── index.md      # catalog of every page, grouped by type, each with a one-line summary
├── log.md        # append-only action log (newest entries at the bottom)
├── raw/          # captured sources, IMMUTABLE — you read these, never edit them
│   ├── articles/
│   ├── docs/
│   └── transcripts/
└── pages/        # the wiki pages (one entity/concept/comparison/query each)

Page filenames are lowercase, hyphenated slugs, no spaces: acme-robotics.md, atlas-robot.md. A [[Display Name]] link resolves to the page whose slug equals the slugified display name, so [[Acme Robotics]] and [[acme-robotics]] both point at pages/acme-robotics.md.

Reading the wiki

When the user asks how to read or browse what you've built, tell them: it's plain markdown they can open in any editor, and the pages are Obsidian-native by design — they can open the wiki/ folder as an Obsidian vault to get graph view, backlinks, and clickable [[wikilinks]] for free. (The files live in the workspace, so point the vault at the workspace wiki/ folder.)

Read the full file on GitHub · 197 lines

Files

What ships with it

2 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 4d ago First seen · 197 lines · 119 tokens per session scan A aa0a3abcb87d

Subscribe to this mod's changes

knowledge-base is a skill published in the GitHub repository Open-Curiosity/gini-agent (1,869 stars, last pushed 1mo ago), licensed MIT. It adds 119 tokens to every session and 2,397 once invoked, about $0.0006 per session on Opus 5. 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

gno

Search local documents, files, notes, and knowledge bases. Index directories, search with BM25/vector/hybrid, get AI answers with citations. Use when user wants to search files, find documents, query notes, look up information in local folders, index a directory, set up document search, build a knowledge base, needs…

gmickel/gno · 86 tokens

gno

Search local documents, files, notes, and knowledge bases. Index directories, search with BM25/vector/hybrid, get AI answers with citations. Use when user wants to search files, find documents, query notes, look up information in local folders, index a directory, set up document search, build a knowledge base, needs…

gmickel/gno · 86 tokens

memory-consolidate

Consolidate L1 memory atoms into L2 scene blocks and L3 persona. Invoked by the memory-consolidator agent, or manually via /memory-consolidate.

baodq97/tencentdb-agent-memory · 41 tokens

tmem-cli

Inspect/manage the local memory store via the tmem CLI — counts, keyword/hybrid search, view persona, list/open scenes (tmem scene ), recent changes, sync vectors, thresholds, and cross-project search (tmem search --all, tmem projects). Trigger on "how many memories", "show my persona", "what scenes exist", "search…

baodq97/tencentdb-agent-memory · 92 tokens

memory-view

Open the memory visualiser in the browser — a health check on the memory store: is it working, what is wrong, and what to run to fix it. Run manually via /memory-view.

baodq97/tencentdb-agent-memory · 0 tokens

memory-seed

Extract L1 memory atoms from Claude Code conversation history. Run manually via /memory-seed.

baodq97/tencentdb-agent-memory · 23 tokens