wegent-knowledge

wegent-knowledge is a skill for Claude Code, Codex from wecode-ai/Wegent. It costs 51 tokens per session (1,605 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 51 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,605 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.00051 $0.01605
Opus 5.5 $0.00020 $0.00642
Sonnet 5.5 $0.00010 $0.00321
Haiku 4.5 $0.00005 $0.00161

Measured 1mo ago against content hash 003716ce0171, 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/init_data/skills/wegent-knowledge/SKILL.md · 161 lines

How it starts

The opening of the file, as written. The whole thing — 161 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 · 161 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 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 (872 stars, last pushed yesterday), licensed Apache-2.0. It adds 51 tokens to every session and 1,605 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

Other skills, from other repositories

ai-skills

Use when building LLM applications, RAG knowledge bases, AI agents, terminal coding agents, multi-model orchestration, plugin-based agent harnesses, or file translation. Index of 14 skills: Dify, LangChain, LlamaIndex, Ollama, Transformers, Hermes Agent, OpenClaw, OpenCode, Pi, DocuTranslate, DeepSeek Harness and more.

znlgis/opengis-skills · 81 tokens

knowledge-org

A guide to organising large bodies of knowledge so an AI system can navigate relationships, summaries, and layers instead of searching only flat text chunks. It covers tree indexes, knowledge graphs, file-like structures, incremental updates, and long-term memory layouts.

bojieli/ai-agent-book · 96 tokens

browserwing-executor

Control browser automation through HTTP API. Supports page navigation, element interaction (click, type, select), data extraction, accessibility snapshot analysis, screenshot, JavaScript execution, and batch operations.

MemTensor/MemOS · 42 tokens

llm-wiki

Explain and apply the foundational LLM Wiki architecture and knowledge-management strategy. Use for setup, architecture, schema, or organization decisions; operational ingest/query/lint work uses dedicated skills.

Ar9av/obsidian-wiki · 41 tokens

browserwing-admin

Manage and operate BrowserWing — an intelligent browser automation platform. Install dependencies, configure LLM, create/manage/execute automation scripts, use AI-driven exploration to generate scripts, browse the script marketplace, and troubleshoot issues.

MemTensor/MemOS · 47 tokens

openlore

Query and publish to an OpenLore knowledge repository over SSH using ordinary shell commands. Use when a task needs project documentation, runbooks, shared team knowledge, or a place to publish findings.

aakarim/OpenLore · 42 tokens