← Back to Skills Marketplace
chen435636097

ts-prompt-optimizer

by chen435636097 · GitHub ↗ · v1.0.1 · MIT-0
cross-platform ⚠ suspicious
88
Downloads
0
Stars
0
Active Installs
2
Versions
Install in OpenClaw
/install ts-prompt-optimizer
Description
冬冬主人定制提示词优化器 - 完全个性化 多模型支持 智能路由集成 使用前缀 "ts:" 触发
Usage Guidance
What to check before installing: - Do not paste high-privilege credentials blindly. Prefer to set API keys yourself in a controlled way (environment variables) and avoid typing them into interactive installers unless you inspect the code first. - The registry metadata looks broken (shows "[object Object]" for required env vars). Ask the publisher or maintainer to fix the package metadata before trusting it. - Review the config_wizard and config_manager source (especially any _set_environment_variable implementation) to see whether API keys are written to plaintext files or shell profiles (~/.bashrc, ~/.profile) and where ts-env-config.json/ts-optimizer-config.yaml are saved. If they are stored unencrypted on disk, consider using ephemeral environment variables instead. - The SKILL.md contains many emoji placeholders and a scan found unicode-control characters. Open the raw files in a hex/hex-aware editor to confirm there are no hidden control characters or obfuscated payloads. - The skill will perform network requests to test model connections; if you are concerned, run it in a sandboxed environment (VM/container) or with a network monitor to observe outbound endpoints. Expected endpoints: DeepSeek, Bailian (Aliyun console) and optionally other model providers; if you see unknown remote endpoints, do not proceed. - Because this package includes executable scripts (not just prose), consider running linting and a quick static scan (grep for suspicious functions: subprocess, os.system, requests.post to unexpected domains, writing to /etc, reading ~/.ssh, etc.) before use. If you want, I can: (a) extract and search the omitted/remaining source files for functions that persist env vars or make network calls, (b) show the _set_environment_variable implementation if present, or (c) point out exact lines that write keys to disk — provide the omitted files and I will analyze them.
Capability Assessment
Purpose & Capability
Name/description (prompt optimizer, multi-model routing) match the included scripts (optimizer, config manager, config wizard). Requiring python3 and optional DEEPSEEK_API_KEY / BAILIAN_API_KEY is coherent with multi-model support. However the registry metadata in the top-level listing is malformed (shows "[object Object]" for required env vars) and the registry claims 'instruction-only' while the package contains multiple executable scripts — these inconsistencies reduce trust.
Instruction Scope
SKILL.md instructs running the included Python scripts (config_wizard.py, ts-config, quick_setup.py) and to provide model API keys to test connections. That scope is appropriate for the stated purpose. Two concerns: (1) the SKILL.md contains many emoji markers and a pre-scan flagged 'unicode-control-chars' which could be an attempt to obfuscate or influence LLM parsers; (2) the config wizard offers to set environment variables and test model connections (network activity) — expected, but worth explicit attention.
Install Mechanism
There is no download/install-from-URL spec in the package—only local Python scripts. No package manager installs or remote archives referenced. This is a lower-risk install mechanism compared with arbitrary downloads.
Credentials
The only API secrets referenced in SKILL.md are DEEPSEEK_API_KEY and BAILIAN_API_KEY which are proportional to multi-model routing. BUT: (1) the registry metadata is malformed and doesn't correctly declare those env vars, which is suspicious; (2) scripts (config_wizard/config_manager) will read/write config under the user's home (~/.openclaw) and may persist API keys (they call a _set_environment_variable helper and write ts-env-config.json and ts-optimizer-config.yaml). Persisting keys to disk (or injecting into shell profiles) in plaintext is a security/privacy risk — verify exactly how and where keys are stored before providing credentials.
Persistence & Privilege
The skill stores configuration and history under the skill tree and in the user's home (~/.openclaw) and memory/ folders. always:false (not force-included). Autonomous invocation is allowed (platform default). No evidence it modifies other skills or system-wide settings beyond writing its own config, but the config wizard can set environment variables which may persist across sessions — review that behavior if you care about secret handling.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install ts-prompt-optimizer
  3. After installation, invoke the skill by name or use /ts-prompt-optimizer
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.1
Version 1.0.1 - Added FINAL_PUBLISH_CHECKLIST.md for final release validation steps. - Added scripts/quick_setup_fixed_v2.py utility script to simplify quick setup.
v1.0.0
ts-prompt-optimizer 1.0.0 初始发布 - 全新冬冬主人定制的提示词优化器,支持完全个性化和多模型智能路由 - 标准/备用多前缀触发(ts:、ts-opt:、优化:),大小写不敏感 - 支持DeepSeek与千问(3.5 Plus/Coder Next)等模型,智能任务分流与故障切换 - 个性化优化规则与持续学习进化,兼容历史优化与用户偏好 - 完善的交互式/命令行配置系统,支持环境变量和分层配置 - 性能优化,优化过程快速且成本受控,错误恢复强健
Metadata
Slug ts-prompt-optimizer
Version 1.0.1
License MIT-0
All-time Installs 0
Active Installs 0
Total Versions 2
Frequently Asked Questions

What is ts-prompt-optimizer?

冬冬主人定制提示词优化器 - 完全个性化 多模型支持 智能路由集成 使用前缀 "ts:" 触发. It is an AI Agent Skill for Claude Code / OpenClaw, with 88 downloads so far.

How do I install ts-prompt-optimizer?

Run "/install ts-prompt-optimizer" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is ts-prompt-optimizer free?

Yes, ts-prompt-optimizer is completely free, licensed under MIT-0. You can download, install and use it at no cost.

Which platforms does ts-prompt-optimizer support?

ts-prompt-optimizer is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created ts-prompt-optimizer?

It is built and maintained by chen435636097 (@chen435636097); the current version is v1.0.1.

💬 Comments