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.
npx agentmods add skills/wecode-ai/wegent/wegent-knowledgenpx skills add wecode-ai/Wegent --skill wegent-knowledgegit clone --depth 1 https://github.com/wecode-ai/WegentWrote 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.
[](https://agentmods.dev/skills/wecode-ai/wegent/wegent-knowledge)<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="Measured on agentmods" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5 | $0.00051 | $0.01605 |
| Opus 5 | $0.00026 | $0.00803 |
| Sonnet 5 | $0.00010 | $0.00321 |
| Haiku 4.5 | $0.00005 | $0.00161 |
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 4d 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.
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)
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.
- 4d ago First seen · 161 lines · 51 tokens per session scan A 003716ce0171
wegent-knowledge is a skill published in the GitHub repository wecode-ai/Wegent (776 stars, last pushed today), licensed Apache-2.0. It adds 51 tokens to every session and 1,605 once invoked, about $0.0003 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.
Other skills, from other repositories
openlore
Query and publish to an OpenLore knowledge base over SSH using ordinary shell commands. Use when a task needs project documentation, runbooks, shared team knowledge, or a place to publish findings.
openlore-housekeeping
Audit and maintain a shared OpenLore knowledge base. Use on a schedule or on request to find stale docs, broken links, unreviewed inbox items, and missing skill coverage, then publish an audit report.
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 9 skills: Dify, Hermes Agent, OpenClaw, OpenCode, Pi, DocuTranslate, Oh-My-OpenAgent, Superpowers-zh, DeepSeek Harness.
study-companion-en
General study companion for learning, review, exam prep, exam-point analysis, syllabus/exam-outline interpretation, finals speedrun teaching, concept explanation, problem solving, homework coaching, error analysis, active recall, flashcards, study plans, visualizations, animations, simulations, coding practice…
computer-organization-visualization
Use this skill whenever the user wants visual learning for computer organization, data representation, two's complement, floating point, cache mapping, memory hierarchy, instruction format, CPU datapath, control signals, pipeline timing, bus, I/O, DMA, interrupts, or 408 computer organization review.
operating-system-visualization
Use this skill whenever the user wants visual learning for operating systems, process states, CPU scheduling, Gantt charts, synchronization, semaphore/PV problems, deadlock, Banker's algorithm, memory management, paging, address translation, page replacement, file systems, disk scheduling, or 408 OS review.