wegent-knowledge

wegent-knowledge is a skill for Claude Code, Codex from wecode-ai/Wegent. It costs 60 tokens per session (2,394 once invoked), scanned A, original, Apache-2.0.

Tools for creating, organising, and searching shared collections of documents and reference information. It uses retrieval-based search to find relevant content in those collections.

In plain words
What is it for?
Use it to list, create, update, and search knowledge bases and their documents programmatically.
Why use it?
It removes the need to manually browse large document collections or build separate search and organisation steps.

Skill for Claude CodeCodex

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

Good fit Use it to list, create, update, and search knowledge bases and their documents programmatically.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/wecode-ai/wegent/wegent-knowledge
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 wecode-ai/Wegent --skill wegent-knowledge
Clone the repo
git clone --depth 1 https://github.com/wecode-ai/Wegent

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 wegent-knowledge

README.md
[![agentmods](https://agentmods.dev/badge/skills/wecode-ai/wegent/wegent-knowledge/github.svg)](https://agentmods.dev/skills/wecode-ai/wegent/wegent-knowledge)
Your own site
<a href="https://agentmods.dev/skills/wecode-ai/wegent/wegent-knowledge"><img src="https://agentmods.dev/badge/skills/wecode-ai/wegent/wegent-knowledge/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 wegent-knowledge

Your own site · 80×15
<a href="https://agentmods.dev/skills/wecode-ai/wegent/wegent-knowledge"><img src="https://agentmods.dev/badge/skills/wecode-ai/wegent/wegent-knowledge.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 60 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,394 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.00060 $0.02394
Opus 5.5 $0.00024 $0.00958
Sonnet 5.5 $0.00012 $0.00479
Haiku 4.5 $0.00006 $0.00239

Measured 1mo ago against content hash 92df2395340f, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

wegent-knowledge 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 1mo 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.

backend-rs/init_data/skills/wegent-knowledge/SKILL.md · 196 lines

How it starts

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

Wegent Knowledge Base Skill

You now have access to Wegent Knowledge Base management tools.

Available Tools

  • wegent_kb_list_knowledge_bases: List all knowledge bases accessible to the current user

    • scope: "personal" (your own), "group" (team), "organization", or "all" (default)
    • group_name: Specify group name when scope="group"
    • limit: Maximum number of knowledge bases to return per page
    • offset: Start offset for paginated listing
    • returns: items, total, returned_count, limit, offset, has_more
    • each item includes namespace_level ("personal", "group", or "organization") and namespace_display_name ("personal", group display name, or organization display name)
  • wegent_kb_list_documents: List all documents in a knowledge base

    • knowledge_base_id: ID of the knowledge base
    • folder_id: Optional selected folder ID
    • include_subfolders: Whether to include descendant folders (default: true)
    • limit: Maximum number of documents to return per page
    • offset: Start offset for paginated listing
    • returns: items, total, returned_count, limit, offset, has_more
  • wegent_kb_create_knowledge_base: Create a new knowledge base

    • name: Knowledge base display name
    • description: Optional description
    • namespace: "default" (personal) or a group namespace (requires Maintainer+)
    • kb_type: "notebook" (default) or "classic"
    • summary_enabled: Enable automatic summary generation (default: true)
  • wegent_kb_create_document: Create a new document in a knowledge base

    • knowledge_base_id: Target knowledge base ID
    • name: Document name
    • source_type: "text" (paste content), "file" (base64 encoded), or "web" (URL to scrape)
    • content: Document content when source_type="text"
    • file_base64: Base64 encoded file when source_type="file"
    • file_extension: File extension when source_type="file"
    • url: URL to fetch when source_type="web"
    • trigger_indexing: Whether to trigger RAG indexing (default: true)
    • trigger_summary: Whether to trigger summary generation (default: true)

Read the full file on GitHub · 196 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. 1mo ago Changed · +35 lines · +9 tokens per session 92df2395340f
  2. 3mo ago First seen · 161 lines · 51 tokens per session scan A 003716ce0171

Subscribe to this mod's changes

wegent-knowledge is a skill published in the GitHub repository wecode-ai/Wegent (897 stars, last pushed today), licensed Apache-2.0. It adds 60 tokens to every session and 2,394 once invoked, about $0.0002 per session on Opus 5.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

wegent-knowledge compared with skills from other repositories

wegent-knowledge next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
wegent-knowledgewecode-ai/WegentSkill897todayApache-2.0A60Claude Code, Codex
agent-framework-azure-ai-pyranbot-ai/awesome-skillsSkill15todaynoneA24Claude Code, Codex
ai-video-pricingranbot-ai/awesome-skillsSkill15todaynoneA41Claude Code, Codex
knowledge-orgbojieli/ai-agent-bookSkill61k2d agoApache-2.0A96Claude Code, Codex
browserwing-executorMemTensor/MemOSSkill13ktodayApache-2.0A42Claude Code, Codex
llm-wikiAr9av/obsidian-wikiSkill3.8ktodayMITA41Claude Code
browserwing-adminMemTensor/MemOSSkill13ktodayApache-2.0B47Claude Code, Codex