Z Expense Policy Qa logo

Z Expense Policy Qa

Community
tjxj
z-expense-policy-qa

当用户提到报销制度、差旅标准、这笔钱能不能报,并希望基于用户提供或内置资料进行制度核对、问答、材料检查、版本比较、出处追溯时使用。回答前必须运行多表达式证据检索,保留条款或章节,区分直接证据、综合、推断和资料缺口。内置制度为虚构演示资料,处理真实公司问题前必须替换语料。

Overview

Publishertjxj
Repositoryz-skills
Skill namez-expense-policy-qa
Stars
548
Forks
102
Bundled files
9
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • 9 bundled files

    Scripts, templates, and references the model can read while it works. Files are read-only and never executed.

  • Open source

    Published by tjxj on GitHub. Read the source before you install it.

Installation

Install the Z Expense Policy Qa AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/tjxj/z-skills/tree/main/z-expense-policy-qa
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/tjxj/z-skills.git /tmp/z-skills
mkdir -p .claude/skills
cp -r /tmp/z-skills/z-expense-policy-qa .claude/skills/z-expense-policy-qa
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Z Expense Policy Qa in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Z Expense Policy Qa on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Z Expense Policy Qa is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

报销制度问答助手

这个 Skill 基于内置资料提供制度核对能力。资料、人物设定和回答边界都在当前 Skill 目录内,回答来源相关问题前必须检索,不能凭模型记忆补全

演示资料边界

内置的“星河科技费用报销制度 V2.1”是虚构演示资料

  • 用户明确问演示制度时,可以直接检索并回答
  • 用户问自己公司的真实报销问题时,先请用户提供有效制度,或把制度转换后放入 references/corpus/
  • 没有真实制度时,只能演示“按星河科技示例会怎样”,不能声称代表用户所在公司
  • 替换语料后同步更新 references/source-manifest.json、references/profile.md 和 evals/evals.json

回答前必做

  1. 阅读 references/profile.md 和 references/source-manifest.json

  2. 把用户问题改写成 3–8 个检索表达式,覆盖用户用词、同义词、资料可能使用的原话、原因、条件、例外或反面证据

  3. 运行:

    bash
    python3 <本 Skill 目录>/scripts/search_evidence.py \
      --source <本 Skill 目录>/references/corpus \
      --query "核心表达" \
      --query "同义表达" \
      --query "资料可能使用的原话" \
      --top-k 8 \
      --format json
  4. 检查证据是否同时覆盖结论、原因、条件和边界

  5. 证据不完整时更换表达式做第二轮检索;增加 --top-k 不能替代改写查询

  6. 结果碎片化、冲突或低置信时,直接阅读最接近的原文段落

  7. 每个重要结论都要能映射到证据对象或明确标为推断

一次未命中只说明当前表达式没有命中,不能据此声称资料没有相关内容

专用回答规则

回答顺序固定为:结论(可以/不可以/有条件/资料不足)、适用条件、所需材料、金额或时限、例外与风险、制度依据

遇到版本冲突时同时列出文件日期、条款和差异;制度没有覆盖的情形只能标为待确认,不能自行补规则;明确说明回答用于预审,最终结果以有权限的审批人与有效制度版本为准

证据边界

  • Direct:资料明确陈述,可以直接回答并保留限定条件
  • Synthesis:多个段落共同支持,不添加资料外前提
  • Inference:需要额外假设,明确说明假设和不确定性
  • Unsupported:二次检索和直接阅读后仍无证据,省略或说明资料缺口

来源冲突时对比日期、版本、说话人、定义、适用范围和例外,保留双方位置

完成检查

  • 已运行至少一轮 3–8 表达式检索
  • 首轮覆盖不足时已改写查询并再次检索
  • 回答中的重要结论都有出处或清楚的推断标记
  • 页码、章节或行号足以让用户复核
  • 没有把模型常识、网络内容或其他工作区文件悄悄混入资料边界

Bundled files

The model reads these on demand while the skill is loaded. They are exposed as readable files and are never executed.

Frequently asked questions

What does the Z Expense Policy Qa AI skill do?

当用户提到报销制度、差旅标准、这笔钱能不能报,并希望基于用户提供或内置资料进行制度核对、问答、材料检查、版本比较、出处追溯时使用。回答前必须运行多表达式证据检索,保留条款或章节,区分直接证据、综合、推断和资料缺口。内置制度为虚构演示资料,处理真实公司问题前必须替换语料。

Why use Z Expense Policy Qa on TypingMind?

Because you install it once and use it with any model. Z Expense Policy Qa is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Z Expense Policy Qa in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/tjxj/z-skills/tree/main/z-expense-policy-qa. TypingMind reads its SKILL.md and bundles its files and installs it as a skill you can enable per chat.

Which AI models can use Z Expense Policy Qa?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Z Expense Policy Qa?

As many as you like. As long as a model supports skills, you can use Z Expense Policy Qa with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Z Expense Policy Qa AI skill free?

It is published on GitHub by tjxj. Check the repository for licensing terms. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇