Live survey315 models · 14 providers · 23,592 auditsAudited implement · SAFE →What changedHow we verifyllms.txt

Agent skill · Audited from source

Prompt Optimization

skill · wecode-ai/WegentApache-2.0 licenceAudited 14 Oct 2026 · source 09033ba31f34

★ 871pushed todayversion 2.0.0
✓SAFEGrade B · 89/100 · 14 Oct 2026 · 09033ba
871repo stars · whole wecode-ai/Wegent

Is it safe? Yes — SAFE, grade B (89/100). We read this skill's source at commit 09033ba31f34 and found no filesystem, network or shell access and no hard-coded secrets. What it does: Use this skill when the user wants to optimize, modify, or improve the system prompt of an AI agent. This includes requests like 'optimize the prompt', 'make the AI more focused on X', 'change the system prompt',…

Ask an AI about this pageGChatGPTCClaudePPerplexityGeGeminiXGrok
More
Cite

Cite this page

ModelsAtlas. “Prompt Optimization (wecode-ai/Wegent)”. Retrieved 14 Oct 2026. https://modelsatlas.com/skills/wecode-ai/prompt-optimization

2 skills are called “Prompt Optimization”. You are viewing wecode-ai/Wegent.

Trust audit

Audit 0.4.1 · source read 14 Oct 2026

Trust score89/100✓SAFE B
0 critical0 high1 medium3 low0 info

SAFE means nothing in the source contradicts what the skill says it does. Grade B is shared by 17,406 of 18,389 audited skills.

What the source does

  • FilesystemNone observedNo reads or writes in the source
  • NetworkNone observedNo outbound calls in the source
  • ShellNone observedNo commands run in the source
  • DependenciesPinnedNothing floats
  • SecretsNone foundNo keys in source

Five audit layers

LayerWhat we checkResultFindings
L0 ProvenanceRepo owner, licence, archive status, activityWARN3
L1 Static sourceSecrets, path traversal, supply chain, hidden codeNA0
L2 InstructionsPrompt injection, authority framing, hidden directivesPASS0
L3 InventoryThe files and declarations match the sourcePASS1
L4 SandboxRun in isolation and watch behaviourSKIPPED why0

Gates applied: no behavioural pass.

Findings (4)

LOWInventory / provenanceskill.no_frontmatter · SKILL.md:1
F-13 Inventory / provenanceCWE-1104Layer L3
Why
SKILL.md lacks name/description frontmatter
Fix
—

Audit 0.4.1 · source sha 09033ba31f34 · 14 Oct 2026Report an issue or request a re-scan

Provenance

Who published it, and what the verdict is pinned to

  • Publisherwecode-ai GitHub organizationOwner of the repository this skill is read from
  • Source folderwecode-ai/Wegent/backend/init_data/skills/prompt-optimizationThe exact folder we audited
  • LicenceApache-2.0As the repository states it
  • Commit pinned for this verdict09033ba31f34A new audit runs when the source changes
  • Repository statusNot archivedPushed today
  • Sandboxed runNot runSkills are read, not executed; layer L4 is skipped

What it tells the agent

Full source on GitHub ↗

Its description: Use this skill when the user wants to optimize, modify, or improve the system prompt of an AI agent. This includes requests like 'optimize the prompt', 'make the AI more focused on X', 'change the system prompt',…

---
description: "Use this skill when the user wants to optimize, modify, or improve the system prompt of an AI agent. This includes requests like 'optimize the prompt', 'make the AI more focused on X', 'change the system prompt', 'improve the agent behavior', or 'modify how the AI responds'."
displayName: "提示词管理工具"
version: "2.0.0"
author: "Wegent Team"
tags: ["prompt", "optimization", "system-prompt", "agent-config", "ai-tuning"]
bindShells: ["Chat"]
mcpServers:
 wegent-prompt-optimization:
    type: streamable-http
    url: "${{backend_url}}/mcp/prompt-optimization/sse"
    headers:
      Authorization: "Bearer ${{task_token}}"
    timeout: 300
---

# Prompt Optimization Skill

This skill allows you to view and modify the system prompts of the current AI agent (Team).

## Available Tools

- `get_team_prompt()` — Get the current prompt and source mapping for the team
- `submit_prompt_changes(changes)` — Send optimized prompts to the user for review

## Workflow

### Step 1: Get Current Prompts

Call `get_team_prompt()`. It returns:
- `team_id`: The team's database ID
- `assembled_prompt`: The full assembled prompt
- `sources`: Array of prompt sources, each with:
  - `type`: `"ghost"` (base prompt) or `"member"` (team member prompt)
  - `id`: Resource ID (Ghost ID or Team ID)
  - `name`: Display name (Ghost name or Bot name)
  - `field`: Field name (e.g., `"systemPrompt"` or `"prompt"`)
  - `content`: The actual prompt text
  - `index`: Member index (only for `"member"` type)

### Step 2: Analyze and Rewrite

Based on the user's request, determine which source(s) need modification:
- If the user wants to change the agent's core behavior → modify the `ghost` source
- If the user wants to change a specific team member's role → modify the `member` source
- You may modify multiple sources if needed

**Rules:**
- Only modify the sources that are relevant to the user's request
- Preserve the overall structure and intent of unrelated parts
- Write complete, production-quality prompts (not just appending text)
- If the original prompt is in Chinese, write the modification in Chinese
- If the original prompt is in English, write the modification in English

### Step 3: Submit Changes

Call `submit_prompt_changes(changes=[...])` with your changes. Each change must include:

```json
{
  "type": "ghost",          // or "member"
  "id": 561,                // from source.id
  "name": "Ghost名称",      // from source.name, used for display
  "field": "systemPrompt",  // from source.field
  "original": "原始内容",    // from source.content
  "suggested": "修改后内容",  // your optimized version
  "index": 0                // only for "member" type, from source.index
}
```

This will display interactive cards to the user showing the original vs modified prompt.
The user can then apply or cancel each change independently.

## Example

User: "让这个AI更关注Python编程"

```
1. Call get_team_prompt()
   → sources: [{ type: "ghost", id: 561, name: "code-helper", field: "systemPrompt", content: "You are a code assistant." }]

2. Rewrite the prompt:
   "You are a code assistant specializing in Python programming. Focus on Python best practices, common patterns, and debugging Python code."

3. Call submit_prompt_changes(changes=[{
     type: "ghost",
     id: 561,
     name: "code-helper",
     field: "systemPrompt",
     original: "You are a code assistant.",
     suggested: "You are a code assistant specializing in Python programming. Focus on Python best practices, common patterns, and debugging Python code."
   }])
```

## Important Notes

- The user must have Developer+ permission on the target resources to apply changes
- Changes are NOT applied automatically — the user reviews and clicks "Apply" on each card
- After the user applies changes, the tool returns `__silent_exit__` to end silently

Excerpt, first 3,827 characters of SKILL.md, verbatim from the audited commit. It is text from someone else’s repository, quoted so you can judge it before your agent reads it.

Install

Pinned to the audited commit 09033ba

Download folder ↗
git clone https://github.com/wecode-ai/Wegent
git -C Wegent checkout 09033ba31f34

The author documents no install command, so this uses the repository directly. Our verdict covers commit 09033ba31f34 only.

Works in

The author has not said which agents this skill supports, and we have not tested it in any.

Audit history

Every audit, every source change

  1. ✓SAFE B 89 / 100

    first audit · source 09033ba31f34

Similar skills

Questions about Prompt Optimization

What does the Prompt Optimization skill do?
Plan, build, and deliver with an open-source, self-hostable AI workspace for coding, collaboration, and automation.
Is Prompt Optimization safe to install?
The audit found nothing in the source that contradicts what it says it does, and graded it B (89/100). Grade A is held back for packages that have also passed a sandboxed behavioural run, which is why a clean skill reads B.
What can Prompt Optimization access on my machine?
The audit observed no filesystem, network or shell use at all in its source.
How current is this page?
The grade is for one exact copy of the source (09033ba31f34), read on 2026-10-14. The repository is watched, and a new audit runs when it changes — this is the first audit.

Sources

Spotted something wrong? Report a correction · Methodology

Keep going in your AI

Opens with this page as the source. We add nothing else to the prompt.