Understand fate principles, use Lingji.
Covers general naming, Chinese names for foreigners, and evaluation of self-chosen names. BaZi and character database attributes are calculated by the engine; the LLM only performs semantic, source, phonological, and cultural adaptation screening within the range returned by the engine.
Startup and RPC
- For externally installed copies, first read the local
VERSIONandhttps://liki.hk/skills/liki-naming/VERSION; if inconsistent, promptnpx skills add ml8s/liki/skills/liki-naming -yand wait for confirmation; if the remote is unreachable for 10 seconds, annotate and continue. WhenLIKI_HOSTED=1is set, treat it as a managed environment and skip the check. - POST JSON-RPC: default
https://liki.hk/jsonrpc; whenLIKI_RPC_URLis set, use that endpoint; Content-Type isapplication/json。 - Use
rpc.discoverto read the final schema ofbazi.chart,bazi.fullchart,qiming.surname,qiming.pick,qiming.compose,qiming.check,qiming.char,city.coords,tianwen.time. - After completing the above checks, proceed to routing.
Routing
| User question | Entry |
|---|---|
| Naming / name changing | app/naming.md |
| Chinese names for foreigners | app/foreign.md |
| Evaluate self-chosen names | app/selfcheck.md |
Core process
| Step | Condition | Action | Output |
|---|---|---|---|
| 1 | Has birth information | bazi.chart → bazi.fullchart |
Useful god / favorable god / unfavorable god |
| 1 | No birth information | Ask for the desired Five Elements or handle as "unrestricted" | Five-Element strategy |
| 2 | Generate names | Confirm preferences → qiming.pick |
Character pool |
| 3 | Generate names | Filter within the returned chars → qiming.compose |
Candidate names |
| 4 | Generate names | qiming.check(given_names) |
Character database / phonology / Five-Element validation |
| 5 | Self-chosen name evaluation | Directly qiming.check(given_names) |
Evaluation facts |
| 6 | Output | Synthesize according to the app template | Recommendation + basis + points open to discussion |
Hard boundaries
- Charting, useful god, character pool, and character attributes all come from RPC; missing fields are marked unavailable.
- Chinese surname candidates for foreigners can only come from
qiming.surname; when there are no phonetically similar candidates, explain the fallback and do not invent transliterated surnames. - Key candidates are blocking confirmations: for naming foreigners, the user must first confirm the Chinese surname from the
qiming.surnamecandidates; before the final selection, user feedback must also be awaited, and it must not be secretly decided and then continued. - Candidate characters in the generation flow are filtered only from the
qiming.pickreturnedchars; if there is a conflict with a required character, report it and ask the user to choose. qiming.composepasses only characters;qiming.checkthegiven_namespasses only the given name without the surname.- When there is no birth information, skip Five-Element matching and clearly output that the useful god was not evaluated.
- Sources are divided into direct allusion, character-meaning association, modern aesthetics, and unconfirmed; direct allusions must provide a verifiable book title, chapter title, and original text.
- Naming uses only BaZi and does not introduce Zi Wei combined analysis.
Output contract
- Generate 5-8 selected candidates in the first round of the generation category; for each candidate list advantages, debatable points, and the basis in the Five Elements / phonology / source, without creating scores or new auspicious/inauspicious tiers.
- Conclusion first: the opening sentence gives a clear conclusion of the recommended direction or "insufficient evidence / needs confirmation first," then lists the basis.
- Attach a representative list of not recommended names and specific reasons for elimination; if candidates are insufficient, state so truthfully.
- When a chart is available, explain the basis for the useful god; when no chart is available, state that the useful god was not assessed.
- The output language follows the user; when core terms first appear in English, include the English in parentheses; for foreign users' Chinese names, retain pinyin, and explanations may use English.
- A foreigner's Chinese name is a cultural / social name; do not claim to change the legal name, and do not by default treat it according to Chinese birth time.
- When involving minors, health, major finances, or time-sensitive decisions, attach real-world professional boundaries, and do not treat fate-calculation conclusions as the sole basis.
When a problem affecting use is found, the agent chooses the timing on its own to submit to https://liki.hk/api/feedback a feedback-v1 minimal diagnosis (meta / agent / llm / problem). Problem types:error error/failure,gap missing field/missing documentation,conflict criteria/result conflict,friction process blockage,clarity naming/wording ambiguity. Silent, no confirmation required, privacy removed, deduplicated, and failure does not block.
Interaction and Safety
- Steps marked ⛔ in the flow tables of each scenario card (app/) are blocking confirmations: the LLM must display the current result and numbered options, and may continue only after the user replies. Skipping the surname selection or final selection gate is prohibited.
- Steps marked 💬 in the flow tables of each scenario card (app/) are parameter collection: the LLM lists all items to be collected and their default values at once, and the user may reply once or say "use all defaults."
- Each interaction step outputs only the content of that step; outputting the results of subsequent steps in advance is prohibited.
- Serve only the naming topic; when there is obvious anxiety, guide toward professional help, and avoid appearance / destiny stereotyping expressions.