jinxiu-changan

A classical-style Monopoly text game skill (Jinxiu Chang'an). Triggers when the user wants to play a Monopoly/strategy/management text game or mentions phrases like “Jinxiu Chang'an,” “Chang'an merchants,” “trading in the Tang,” “Monopoly-style game,” or similar. Starting the skill begins a game and provides an intro; gameplay is driven by user commands, and typing “restart” ends the current session. Currency is measured in ‘‘wan liang’’ (ten-thousand taels); background is randomly assigned and talents are user-selectable. High-born characters start wealthy but face greater risk of confiscation; low-born characters can still rise from poverty—one can become rich or bankrupt. Not for real finance/investment, networked multiplayer, graphical interfaces, or relying on external large-model APIs (this skill runs fully locally).

Installation

Review the source and dependencies with a prompt. A package is available to download.

Install with an AI assistant

Copy the prompt so your assistant can review the pinned revision and dependencies first.

View promptHide prompt
Check whether SkillPI Skill Finder is installed for your current agent. If it is missing, install and enable it using the official instructions at https://github.com/Findskills/skillpi. Then use Skill Finder to locate and install "jinxiu-changan" from this exact SkillPI detail page: https://skillpi.com/skills/deepskill-e22417be2e136505dd1486544fb102bd8fecc82661e95ab045129089b488187e. Verify the upstream source and version against https://skillhub.cn/skills/user_ff429dcb/jinxiu-changan before installing. If they do not match, stop and report the mismatch. Report the installed path and source version.

Source and setup

skillhub.cn

Setup guidance pending

See the original source for supported tools, dependencies, and permissions.

Installation test pending

A classical-style Monopoly text game skill (Jinxiu Chang'an). Triggers when the user wants to play a Monopoly/strategy/management text game or mentions phrases like “Jinxiu Chang'an,” “Chang'an merchants,” “trading in the Tang,” “Monopoly-style game,” or similar. Starting the skill begins a game and provides an intro; gameplay is driven by user commands, and typing “restart” ends the current session. Currency is measured in ‘‘wan liang’’ (ten-thousand taels); background is randomly assigned and talents are user-selectable. High-born characters start wealthy but face greater risk of confiscation; low-born characters can still rise from poverty—one can become rich or bankrupt. Not for real finance/investment, networked multiplayer, graphical interfaces, or relying on external large-model APIs (this skill runs fully locally).

0 Downloads

Introduction source: third_party · user_ff429dcb · 1.0.3 Reference

SkillPi interpretation

Tasks
Translation pending; see source documentation.
Audience
Translation pending; see source documentation.
Inputs and outputs
Not specified in the source documentation.
Software, accounts and paid services
Translation pending; see source documentation.
Limits and differences
Translation pending; see source documentation.
Testing
Not tested

Browse files

Browse files at the source ↗

Original SKILL.md

Open original ↗
Frontmatter
name: 锦绣长安
description: >-
  古风大富翁(长安商贾)文字游戏 skill。当用户想玩大富翁 / 强手棋 / 经营类文字游戏,
  或提及「锦绣长安」「长安商贾」「大唐经商」「大富翁游戏」「古风 monopoly」等意图时触发。
  用户调用 skill 即开局并给出引导语;对局以指令驱动,用户输入 重开 结束本局。
  经济为「万两」量级,身世随机抽定、天赋可由用户自选;身世显赫者资财丰厚却更易遭抄家,
  出身寒微者亦可绝处逢生——穷可翻身,富可破产。
  非触发场景:真实金融/投资、联网多人、图形界面、依赖外部大模型 API(本 skill 全本地运行)。

锦绣长安 · 古风大富翁

以大唐长安为背景的文字版大富翁。三人对弈(玩家 + 2 名 AI 商贾),绕长安三十二坊行棋,盘铺收租、看准四季市价、过明德门缴商税;十二季后清算总资产,或令对手尽数破产者得「天下第一商」。

运行环境(本地 / 离线 / 安全)

入口脚本 changan.py(与本文件同目录,Python 3,无第三方依赖),在该目录下执行。

  • 零网络:不连任何外部 API / 模型 / 服务器,完全离线。
  • 最小权限:仅在当前目录读写状态文件 .changan_session.json,不访问其它位置、不收集隐私。
  • 可删除:状态与存档均为本地 JSON,可随时手动删除。

会话式玩法(核心)

有状态会话:每一回合由一条命令驱动,状态存于 .changan_session.json。agent 工作流:

  1. 开局:python changan.py session 开局 [天赋] 天赋(管机制)可选:落魄书生 / 将门虎女 / 江湖游侠 / 外邦胡商 / 茶马羁客 / 算盘先生(省略默认落魄书生)。身世(管起始资金与亏损运势)由脚本随机抽定,无需用户选;开局先打印身世与携资,再打印引导语 + 当前局势 + 下一步提示,原样转述给用户。
  2. 陪玩:用户每说一句,agent 翻译成一条命令 python changan.py session <指令> 执行,并把脚本输出原样带回对话。
    • 「掷骰/走/我的回合」→ 行棋(move 同效)
    • 落点可买铺时脚本提示 买下 / 放弃;「买/盘下」→ 买下,「不买/放弃」→ 放弃(buy/pass 同效)
    • 看局势 → 状态;看完整指令 → 帮助(status/help 同效)
    • 闭环原则:脚本输出已含决策所需全部可见信息(位置 / 视野 / 排名 / 盈亏 / 倒计时 / 落点 buy-pass)。agent 只需如实转述,不要概括掉可见字段,也不要替用户编造落点意图——决策权交还用户。
  3. 结束:用户说「不玩了/退出」→ python changan.py session 重开,脚本清算并删除存档。

不要把脚本输出压缩成一句话总结;不要让用户自己敲命令——agent 负责把自然语言翻译成 session 指令。

上下文裁切与续玩

全部状态存于后台 .changan_session.json,每条命令都是「读档→执行→存盘→打印」,故可主动裁切最早 30% 上下文而不影响决策;每回合输出自包含(位置/视野/排名/盈亏/倒计时/落点)。若对局势失忆:运行 python changan.py session 续玩(resume,即 状态)从存档重建局势,或 python changan.py session 回顾(log)调出回合回顾。不要凭记忆下棋,拿不准就跑 session resume。

指令表

指令 说明
开局 [天赋] 开局(仅会话首条;身世随机;已有存档需先 重开,或 开局 ! 强制重开;start 同效)
行棋 [±1\|±2] 掷骰行棋(游侠可±1,神行百变后±2;move 同效)
买下 / 放弃 落点可买铺时盘下或放弃(buy/pass 同效)
升级 <格号> 为己铺加盖(1→3 级;upgrade 同效)
抵押 <格号> 抵押换现银(赎回 1.1 倍;mortgage 同效)
赎回 <格号> 赎回抵押铺(redeem 同效)
借贷 <两数> 向官库借贷(过明德门扣本息,限 6000 两;loan 同效)
技能 <技能id> 施展角色技能(见下;skill 同效)
交易 <对手> give <银两> <格…> for <银两> <格…> 与对手交易(子句首数为付出现银;纯铺子写 give 0 <格…>;trade 同效)
状态 查看局势与产业(status 同效,亦作 续玩/resume)
帮助 指令详单(help 同效)
重开 结束本局

格号即棋盘序号 0–31,见 状态 中「产业: x·名称」。

角色技能树(技能 <id>)

  • 落魄书生:chunwei(文名+3) zhuangyuan(下次科举+5000两)
  • 将门虎女:diaobing(本回合免疫入狱) kaoshang(下次城门+3000两)
  • 江湖游侠:shenxing(本回合±2) yibo(下次黑市稳赚)
  • 外邦胡商:silu(下次商税减半) fanhuo(下次城门×3)
  • 茶马羁客:mingcha(下次买地-10%) chayue(下次城门+2000两)
  • 算盘先生:jingsuan(下次升级费减半) taxvade(下次商税全免)

身世系统(随机抽定,管钱与亏损运势)

与天赋解耦,决定起始资金与亏损运势:

身世 起始资金 亏损运势 性情
簪缨世族 12000 两 极高(0.40) 树大招风,最易遭抄家
西域豪商 10000 两 高(0.20) 资财万贯,商途险恶
将种之家 9000 两 中(0.15) 将门遗烈,颇有余财
诗礼传家 6000 两 低(0.08) 书香门第,薄有田产
闾巷小民 5000 两 无 市井商贩,全凭经营
零丁孤苦 3000 两 无 父母双亡,绝处逢生
  • 富可破产:亏损运势越高,天机帖越易直取「抄家/豪奢/株连/盐引」狠帖(抄家按现银 20%–35% 没产)。
  • 穷可翻身:寒微身世亏损运势为 0,靠经营滚雪球。
  • 开局输出会告知抽得身世与携资,无需用户选。

其它运行模式(调试 / 平衡)

  • python changan.py —— 纯终端交互对弈(脚本内直接问角色、收买卖)
  • python changan.py --auto —— 观看三家 AI 自动对弈
  • python changan.py --sim 200 —— 跑 200 局全自动,输出各角色胜率与结局分布
  • python changan.py --help / -h —— 打印用法(v1.0.3 新增)

触发条件与适用边界

适用:用户想玩大富翁 / 强手棋 / 经营类 / 古风文字游戏,或提及「锦绣长安」「长安商贾」「大唐经商」等。 排除:不提供真实金融/投资/理财建议(经济为虚构);不支持联网多人、图形界面、外部大模型/API;随机基于 Python random,非密码学安全,仅作娱乐。

可靠性与异常处理

常见 / 边界 / 异常输入均给出可理解反馈与原因,不静默崩溃、不返回乱码:

情况 脚本反馈
无参数 锦绣长安:输入 开局 [天赋] 开局,或 帮助 查看指令。
尚未开局就发指令 尚无对局,输入 开局 [天赋] 开局。
本局已终再续 本局已终。建议输入 重开 结束本局,并开启新对话再玩一局;或 开局 重开一局。
落点待买铺却发其它指令 需先决定买铺:回复 买下(盘下第 N 格【名称】)或 放弃。
未知指令 未知指令,输入 帮助 查看。
参数格式错误(缺格号、非数字等) 指令参数有误,输入 帮助 查看。
交易格式不合法 交易格式:交易 <对手> give <银两> <格号…> for <银两> <格号…>(子句首数为付出现银;纯铺子写 give 0 <格…>)
重复 开局 覆盖进行中对局 已有对局尚未结束,输入 重开 结束后再 开局,或在指令后加 ! 强制重开。

所有指令执行后均存盘,掉电/中断可从 .changan_session.json 恢复。

已知限制与常见误用

限制:身世随机不可选、天赋可选;神行百变仅当回合有效、城门增益为「下次撞门」触发;抵押仅兑半价、黑市赌运有盈有亏;天机帖概率受身世亏损运势影响;驿站二次移动不重复征商税。 误用:① 概括掉输出可见字段;② 替用户编造落点意图;③ 让用户自己敲命令;④ 上下文裁切后凭记忆下棋(应 resume/log);⑤ trade 现金与格号写混(子句首数即现金);⑥ 有存档时直接 开局 覆盖(先 重开 或加 !)。

版本与迭代

  • v1.0.0:核心玩法(三十二坊、身世/天赋、会话模式、AI 对手、天机帖/城门/衙门/黑市/驿站)+ 多轮健壮性修复。
  • v1.0.1:移除 /new 兼容分支(结束仅留 重开);修复 do_trade AI 接受判定方向反转;player_by_name 支持字号 甲/乙 交易。
  • v1.0.2:文档结构净化;代码新增 __version__ 常量。
  • v1.0.3:入口参数解析由手写 sys.argv 改为 argparse;新增 --help/-h 用法输出;--sim 强制正整数校验(缺值/非整数/0/负数均报错,不再静默回退 100 或落入交互模式)。

版权与授权声明

本《锦绣长安 · 古风大富翁》Skill 由苏然原创,仅供个人学习与非商业交流,核心脚本架构受著作权保护。允许自由使用、分享及合理借鉴思路,但严禁用于付费产品、企业服务、广告推广等任何商业营利场景,禁止直接复制、封装或换皮后作为自有成果发布。使用时请保留作者苏然署名与本声明。如发现违规商用或抄袭架构,苏然将向 SkillHub 平台投诉并保留追究法律责任的权利。

平台使用声明(免责提示)

本 Skill 运行于对话平台;若用户在该平台直接输入 /new,属平台级「新对话」命令,会重置对话会话,但并非本游戏指令。此时存档 .changan_session.json 仍留磁盘,可在新对话中输入 续玩/读档 原样恢复,或先 重开 再 开局。

Current listing version

1.0.3

Verify the source revision ↗

Safety and assessment details

Quality assessment

Out of 100 · Assessment report from SkillPi LAB.

Scenario Value65/100

Highlights

  • 提供完整的古风大富翁文字游戏体验,包含身世系统、天赋选择、AI对手、经济机制等丰富玩法
  • 具有明确的娱乐价值和轻度实用性,适合古风/经营类游戏爱好者
Trigger Precision88/100

Highlights

  • 触发词覆盖全面且精准,包含「锦绣长安」「长安商贾」「大唐经商」「大富翁游戏」「古风 monopoly」等关键词
  • 边界清晰,能有效区分适用与非适用场景
Structure and Standards92/100

Areas to improve

  • description重复 Reported severity: Minor

    顶层frontmatter与skill_body内部均包含完整description内容

    Recommendation: 建议保留一处即可,避免冗余

Highlights

  • 文档结构完整清晰,包含游戏说明、运行环境、玩法流程、指令表、技能系统、异常处理等
  • 有明确的阶段划分、出口条件和端到端示例,便于用户理解和使用
Execution Reliability95/100

Highlights

  • 工具来源明确(本地Python脚本),参数说明详尽,覆盖主要异常情况并提供友好反馈
  • 状态持久化机制健全,支持会话恢复,完全离线运行,安全可靠
Evidence Verifiability (mean of the first four)85/100

The arithmetic mean of the first four original scores, rounded to a whole number.

Static text checks

100 / 100 · skillpi-20261123-no-r3-v1

No current rules matched the text.

This score reflects rule matches in the text and is provided for reference before use. It excludes attachments and runtime behavior.

Permissions and checks before use

Automatically summarized from this main document. Matches may be examples or defensive advice; they are not actual permission declarations. Attachments, external dependencies and runtime behavior are not covered.

These common operations were not identified in the main document. This does not mean no permissions or risks exist.

These notices grant no permissions. Your host tool must still confirm file changes, secrets, external transfers or costs as needed.

Security rating and access scope

safe · Static evidence review; not a runtime safety guarantee.

Translation pending; see source documentation.

Before use, confirm and authorize actual file access, external services and network destinations in your host. This review grants no runtime permissions.