360 Secure SkillHub
360 安全技能中心

Answer Book

数字版答案之书:用户心中默想一个是非或求指引的问题,运行本地 Python 脚本随机翻到一页,返回该页的简短答案与页码。支持英文和中文,按用户提问语言选择语言,也可指定具体页数;答案条目写在脚本内可自行扩充。

enihsago
enihsago
热度 33.42
最近更新 2026-05-11 17:46:09
分类:生活依赖:代码执行应用场景:推荐

安装技能

复制下面的话术发给你的 Agent,它会通过 secure-skills 检索并安装该技能。

执行命令安装此 skill: npx secure-skills-cli add answer-book
Metadata
name
answer-book
description
The Answer Book / 答案之书 — hold a question in your mind, flip to a random page, and receive a short philosophical answer. Supports both English and Chinese; pick the language that matches the user's question. Use when the user asks for the answer book, an oracle, guidance, wants to flip to a page, or needs a yes/no/wisdom-style answer. Trigger words:answer book, the book of answers, flip a page, oracle, ask the book, 答案之书, 翻一页, 问问书, 求一个答案, 神谕.

The Answer Book / 答案之书

A digital version of "The Book of Answers" with both English and Chinese pages. Hold a yes/no (or "should I") question in your mind, then flip to a random page.

Language selection (important)

Pick the language that matches the user's question / the language they're chatting in:

  • User wrote in English → use --lang en (or omit, en is default)
  • User wrote in Chinese → use --lang zh
  • Mixed / unclear → default to the language the user used in their most recent message

Never mix languages in a single answer — the book speaks one language per flip.

Usage

# auto English
python3 scripts/get_answer.py

# explicit language
python3 scripts/get_answer.py --lang en
python3 scripts/get_answer.py --lang zh

# specific page (1-100ish, language still required for choice)
python3 scripts/get_answer.py --lang zh 42
python3 scripts/get_answer.py --lang en 42

The script returns a single short answer plus the page number, in the requested language.

How to present the result

  1. State the page number.
  2. Show the answer line, prominently.
  3. Optionally add one short sentence inviting the user to interpret it themselves — don't over-explain.

Extending

Edit scripts/get_answer.py and add new entries to ANSWERS_EN or ANSWERS_ZH. Keep each entry short, declarative, and open to interpretation.