python-calc
Evaluate arithmetic expressions precisely by calling py_calc (python-file tool).
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Evaluate arithmetic expressions precisely by calling py_calc (python-file tool).
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Govern canon changes: require explicit reason/impact/retroactive policy, and produce an actionable propagation plan.
Turn "AI draft -> author edits" diffs into structured deviation items, an author-intent prompt, and a concrete propagation plan.
Help the author write narrative unit tests (rules/constraints) and interpret failures with a concrete fix roadmap.
Simulate multiple reader personas to score a chapter (爽点/困惑/信息负荷) and propose actionable alternatives.
Manage rewrite branches: when to branch, how to compare, and how to merge back with minimal chaos.
Maintain a structured Setup/Payoff ledger (promises, debts, payoffs) and generate a payoff roadmap.
| name | python-calc |
| description | Evaluate arithmetic expressions precisely by calling py_calc (python-file tool). |
| allowed-tools | ["py_calc"] |
1/7、(1+2)*3、2**128。py_calc with:
expr: 用户的表达式(原样)precision: 需要的小数精度(默认 50;如果用户要求 N 位小数,建议 precision >= N + 5)py_calc 只允许安全 AST 子集(数字、括号、+ - * / **),不支持变量/函数调用。