Smart Prompt Builder

v1.0.0

智能提示构建器 - 根据语料库检索结果生成优化的写作提示。当需要为小说创作场景生成结构化提示词时使用,支持描写/对话/动作/情感 4 种场景类型,可注入 Voice Profile 和上下文信息。

0· 29·0 current·0 all-time
MIT-0
Download zip
LicenseMIT-0 · Free to use, modify, and redistribute. No attribution required.
Security Scan
VirusTotalVirusTotal
Benign
View report →
OpenClawOpenClaw
Benign
medium confidence
Purpose & Capability
Name/description (构建写作提示) match the implemented functionality: building system/user prompts from scene templates, context, corpus results, and an optional Voice Profile; no unrelated capabilities or credentials are requested.
Instruction Scope
SKILL.md and the CLI instruct only local operations (reading a style YAML, parsing JSON context/corpus, formatting output, writing to a file). There are no instructions to read unrelated system files, access environment secrets, or transmit data externally.
Install Mechanism
No install spec and only a small Python script with a minimal requirements.txt (rich). No downloads, no archive extraction, and no external package installation beyond a normal pip requirement file.
Credentials
The skill declares no required environment variables, no credentials, and no config paths. The Voice Profile and corpus inputs are local files/CLI arguments — proportional to the stated purpose.
Persistence & Privilege
Skill is not always-enabled, does not request elevated persistence or modify other skills; it runs as a user-invoked CLI utility. Autonomous invocation is platform-default and not a unique risk here.
Assessment
This skill appears coherent and low-risk: it only formats prompts from local inputs and a style YAML. Before installing/running, consider these simple precautions: - Inspect the full scripts/build_prompt.py (the provided file was large; ensure the remainder contains no network calls, subprocess.exec/os.system usage, or hidden endpoints that could exfiltrate data). - Run it in a sandbox or virtualenv and review scripts/requirements.txt before pip installing dependencies. - Avoid passing sensitive secrets or private data (passwords, API keys, full documents) into the --context or --corpus-results arguments, since output prompts are intended to be consumed by downstream LLMs and could be logged or transmitted by other tools. - If you plan to integrate with other skills (e.g., corpus-search or novel-writer), review those integrations for network endpoints and credential use. If you want, I can scan the remainder of build_prompt.py for any network/subprocess/file-access patterns you should be aware of.

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

latestvk977jd0c99tjbectwg57aa31ss8469bw

License

MIT-0
Free to use, modify, and redistribute. No attribution required.

Comments