Agent skill

wiki_submit

Submit wiki documentation sections to Wegent backend API. Simplifies the HTTP POST process for wiki content submission.

Stars 518
Forks 84

Install this agent skill to your Project

npx add-skill https://github.com/wecode-ai/Wegent/tree/main/backend/init_data/skills/wiki_submit

SKILL.md

Wiki Submit Skill

This skill provides a simple command-line tool to submit wiki documentation sections to the Wegent backend.

Usage

Submit a single section from a markdown file

bash
node wiki_submit.js submit \
  --generation-id 123 \
  --type overview \
  --title "Project Overview" \
  --file /path/to/overview.md

Submit section content directly

bash
node wiki_submit.js submit \
  --generation-id 123 \
  --type architecture \
  --title "System Architecture" \
  --content "# Architecture\n\nYour markdown content here..."

Complete the wiki generation

bash
node wiki_submit.js complete \
  --generation-id 123 \
  --structure-order "overview: Project Overview" "architecture: System Architecture" "module: Core Modules"

Mark generation as failed

bash
node wiki_submit.js fail \
  --generation-id 123 \
  --error-message "Failed to analyze repository structure"

Section Types

  • overview: Project overview and objectives
  • architecture: System architecture and design
  • module: Module documentation
  • api: API documentation
  • guide: User guides and tutorials
  • deep: In-depth technical analysis

Authentication

The authorization token is automatically obtained from the TASK_INFO.auth_token environment variable when running inside an executor container. You don't need to specify it manually.

Environment Variables

The following environment variables are automatically available in executor containers:

  • TASK_API_DOMAIN: Backend API domain (e.g., http://wegent-backend:8000). The endpoint is automatically built as {TASK_API_DOMAIN}/api/internal/wiki/generations/contents
  • TASK_INFO: Contains auth_token for API authentication

Optional override:

  • WIKI_ENDPOINT: Full API endpoint URL (overrides auto-built endpoint from TASK_API_DOMAIN)

Expand your agent's capabilities with these related and highly-rated skills.

wecode-ai/Wegent

subscription-manager

Create and manage scheduled subscription tasks. Use when the user wants to set up recurring reminders, periodic reports, scheduled checks, or any automated tasks that run on a schedule. Supports cron expressions, fixed intervals, and one-time executions.

518 84
Explore
wecode-ai/Wegent

conversation_to_prompt

Convert the current conversation into a reusable system prompt draft with strict structure and quality checks.

518 84
Explore
wecode-ai/Wegent

mermaid-diagram

Use this skill when you need to draw diagrams including: Flowchart, Sequence Diagram, Class Diagram, State Diagram, ER Diagram, User Journey, Gantt Chart, Pie Chart, Quadrant Chart, Requirement Diagram, Gitgraph, Mindmap, Timeline, Sankey, XY Chart (Bar/Line), Block Diagram, Packet Diagram, Kanban, Architecture Diagram, C4 Diagram, Radar Chart, Treemap, and ZenUML. You MUST use this skill BEFORE outputting any mermaid code block.

518 84
Explore
wecode-ai/Wegent

wegent-knowledge

Knowledge base management tools for Wegent. Provides capabilities to list, create, and update knowledge bases and documents. Use this skill when the user wants to manage knowledge bases or documents programmatically.

518 84
Explore
wecode-ai/Wegent

sandbox

Provides read_file/write_file/exec/list_files/read_file/write_file for running process and managing filesystems in the sandbox. Ideal for code testing, file management, and command execution. The sub_claude_agent tool is available for advanced use cases. You MUST load this skill BEFORE use sandbox tools.

518 84
Explore
wecode-ai/Wegent

browser

Complete real user web tasks end-to-end via browser-tool, navigate, interact, wait for page state, extract results, and provide evidence when needed.

518 84
Explore

Didn't find tool you were looking for?

Be as detailed as possible for better results