Agent skill
wiki_submit
Submit wiki documentation sections to Wegent backend API. Simplifies the HTTP POST process for wiki content submission.
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
node wiki_submit.js submit \
--generation-id 123 \
--type overview \
--title "Project Overview" \
--file /path/to/overview.md
Submit section content directly
node wiki_submit.js submit \
--generation-id 123 \
--type architecture \
--title "System Architecture" \
--content "# Architecture\n\nYour markdown content here..."
Complete the wiki generation
node wiki_submit.js complete \
--generation-id 123 \
--structure-order "overview: Project Overview" "architecture: System Architecture" "module: Core Modules"
Mark generation as failed
node wiki_submit.js fail \
--generation-id 123 \
--error-message "Failed to analyze repository structure"
Section Types
overview: Project overview and objectivesarchitecture: System architecture and designmodule: Module documentationapi: API documentationguide: User guides and tutorialsdeep: 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/contentsTASK_INFO: Containsauth_tokenfor API authentication
Optional override:
WIKI_ENDPOINT: Full API endpoint URL (overrides auto-built endpoint from TASK_API_DOMAIN)
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
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.
conversation_to_prompt
Convert the current conversation into a reusable system prompt draft with strict structure and quality checks.
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.
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.
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.
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.
Didn't find tool you were looking for?