Skill flagged — suspicious patterns detected

ClawHub Security flagged this skill as suspicious. Review the scan results before using.

testskill-0410zip1

v1.0.2

用于查看和修改 Knot 平台智能体(Agent)配置的专业技能。当用户需要以下操作时使用:(1) 查看当前对话智能体的草稿配置,(2) 查看指定 agent_id 的草稿配置,(3) 搜索/列出名下有管理权限的 agent,(4) 查看 agent 可用的大模型列表,(5) 基于最新版本重新生成 agent 草...

0· 90·0 current·0 all-time
byyuangui@yinwuzhe

Install

OpenClaw Prompt Flow

Install with OpenClaw

Best for remote or guided setup. Copy the exact prompt, then paste it into OpenClaw for yinwuzhe/editor1.

Previewing Install & Setup.
Prompt PreviewInstall & Setup
Install the skill "testskill-0410zip1" (yinwuzhe/editor1) from ClawHub.
Skill page: https://clawhub.ai/yinwuzhe/editor1
Keep the work scoped to this skill only.
After install, inspect the skill metadata and help me finish setup.
Use only the metadata you can verify from ClawHub; do not invent missing requirements.
Ask before making any broader environment changes.

Command Line

CLI Commands

Use the direct CLI path if you want to install manually and keep every step visible.

OpenClaw CLI

Bare skill slug

openclaw skills install editor1

ClawHub CLI

Package manager switcher

npx clawhub@latest install editor1
Security Scan
VirusTotalVirusTotal
Suspicious
View report →
OpenClawOpenClaw
Suspicious
medium confidence
Purpose & Capability
The scripts (list, get, modify, publish, etc.) match the skill description: they call Knot API endpoints to view and change agent drafts. However the package metadata claimed no required env vars while the code requires KNOT_JWT_TOKEN and KNOT_USERNAME — an inconsistency between declared requirements and actual needs.
Instruction Scope
SKILL.md and the Python scripts stay within the stated purpose (calling Knot endpoints, parsing JWT scene, reading/writing draft fields). The scripts also support reading a system_prompt from arbitrary local file paths (via an @ prefix) and will print the full system_prompt; these behaviors are expected for editing prompts but allow the skill to access local files if given a path.
Install Mechanism
No install spec or remote downloads are present — this is an instruction/code-only skill with local Python scripts, which is the lowest install risk.
!
Credentials
The code requires two environment variables (KNOT_JWT_TOKEN and KNOT_USERNAME) but the registry metadata did not declare any required env vars or primary credential. Requesting the JWT and username is proportional to the API usage, but the metadata omission is misleading. Also, the scripts send the JWT to the platform's get_config endpoint and use returned API tokens — users should treat those tokens as sensitive.
Persistence & Privilege
always is false and the skill does not request to persist or modify other skills or global agent config. Autonomous invocation is allowed (platform default) but not combined with explicit privilege escalation in this package.
What to consider before installing
This skill appears to implement the described Knot agent editor, but exercise caution before installing: - The code actually requires KNOT_JWT_TOKEN and KNOT_USERNAME (the metadata failed to declare them). Do not provide these credentials to an untrusted skill. - The scripts disable SSL verification (requests use verify=False) — this increases the risk of man-in-the-middle tampering of API traffic. Prefer a version that validates TLS. - The modify script can read arbitrary local files when given an @/path; if you allow autonomous invocation, an agent could be instructed to read local files. Only run this skill in a trusted, isolated environment and review the code yourself. - Confirm the BASE_URL (https://knot.woa.com/apigw) is the legitimate Knot API for your organization and that you trust the skill owner. If possible, ask the publisher to update registry metadata to declare required env vars and to remove or justify verify=False. If you need to proceed, run the scripts in a restricted environment (no access to sensitive files), or request a signed/verified release from a known maintainer.

Like a lobster shell, security has layers — review code before you run it.

latestvk97c6h2sfxbbkaz2g4pk42vx4585n5gh
90downloads
0stars
2versions
Updated 23h ago
v1.0.2
MIT-0

Knot Agent Editor

用于查看和修改 Knot 平台智能体配置的工具集。

脚本目录(scripts/

所有能力均已封装为独立 Python 脚本,通过 terminal 工具调用:

脚本功能
get_current_draft.py查看当前对话智能体的草稿配置
get_agent_draft.py查看指定 agent_id 的草稿配置
list_agents.py查询名下有管理权限的 Agent 列表
list_models.py查看指定 Agent 可用的大模型列表
new_draft.py基于最新版本重新生成 Agent 草稿
modify_draft.py修改 Agent 草稿的指定字段
publish_draft.py将草稿发布为正式版本(高危)
common.py公共模块(认证、JWT 解析等,不直接调用)

脚本路径{SKILL_DIR}/scripts/<script_name>.py


功能使用说明

1. 查看当前对话智能体的草稿

python {SKILL_DIR}/scripts/get_current_draft.py

自动从 JWT 解析当前 agent_id,展示草稿的名称、描述、欢迎语、系统提示词、模型、知识库等完整配置。

注意

  • is_stale=true 表示草稿已过期,发布将覆盖最新改动,需提示用户
  • can_edit=false 表示无编辑权限

2. 查看指定 Agent 的草稿

python {SKILL_DIR}/scripts/get_agent_draft.py <agent_id>
  • agent_id:必填,目标 Agent 的 ID(可通过 list_agents.py 获取)
  • 展示指定 Agent 草稿的名称、描述、欢迎语、系统提示词、模型、知识库等完整配置

示例

python {SKILL_DIR}/scripts/get_agent_draft.py 877c45a6f2f542e0b3dadb089f6ef532

3. 查询名下管理的 Agent 列表

python {SKILL_DIR}/scripts/list_agents.py [--agent_id <id>] [--keyword <关键字>]
  • --agent_id:可选,按 agent_id 精确查询
  • --keyword:可选,按名称/描述关键字过滤

4. 查看 Agent 可用的大模型

python {SKILL_DIR}/scripts/list_models.py [agent_id]
  • agent_id:可选,不传则使用当前对话的 agent_id
  • 修改模型前先调用此脚本,获取合法的 model_name

5. 基于最新版本重新生成草稿

python {SKILL_DIR}/scripts/new_draft.py [agent_id]
  • 脚本会在终端提示二次确认(输入 yes 执行)
  • ⚠️ 会覆盖当前未发布的草稿内容,需用户确认后再执行

6. 修改草稿字段

# 修改名称和描述
python {SKILL_DIR}/scripts/modify_draft.py --name "新名称" --desc "新描述"

# 修改系统提示词(直接传值)
python {SKILL_DIR}/scripts/modify_draft.py --system_prompt "你是一个专业助手..."

# 修改系统提示词(从文件读取,适合长提示词)
python {SKILL_DIR}/scripts/modify_draft.py --system_prompt @/path/to/prompt.txt

# 修改默认模型(model_name 从 list_models.py 获取)
python {SKILL_DIR}/scripts/modify_draft.py --model claude-3-5-sonnet

# 指定 agent_id(不指定则使用当前对话 agent)
python {SKILL_DIR}/scripts/modify_draft.py agent_xxx --name "新名称"

支持的参数--name--desc--welcome_msg--system_prompt--model

修改完成后必须提示用户:草稿修改仅在页面调试时生效,若需正式对话生效请将草稿发布成正式版本。


7. 发布草稿(高危操作)

python {SKILL_DIR}/scripts/publish_draft.py [agent_id]
  • 脚本会自动检查草稿是否 is_stale,并在终端提示二次确认(输入 yes 执行)
  • ⚠️ 发布后所有用户的正式对话立即使用新版本
  • is_stale=true,脚本会显示红色警告,建议先运行 new_draft.py
  • 必须获得用户明确确认后再执行此操作

展示规范

  • 展示草稿信息时,以结构化方式呈现各字段,system_prompt 必须完整展示,不得截断
  • 展示 agent 列表时使用表格,包含 id、名称、描述、是否可编辑
  • 展示模型列表时使用表格,包含 display_name、model_name、描述
  • 操作成功/失败均给出明确反馈

详细 API 文档

references/api.md

Comments

Loading comments...