Knowledge Analysis logo

Knowledge Analysis

Community
jinchenma94
knowledge-analysis

围绕一个明确问题分析当前完整 AI 对话、已保存的完整材料或用户指定的有限材料组,先生成候选分析与候选个人观点;用户一次确认内化后保存分析页(知识)和观点页。材料不完整或来源无法持久化时只讨论,不写库。

Overview

Publisherjinchenma94
Repositoryjinchenma-knowledge-base
Skill nameknowledge-analysis
Stars
29
Forks
4
Bundled files
1
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.

  • 1 bundled files

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

  • Open source

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

Installation

Install the Knowledge Analysis 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/jinchenma94/jinchenma-knowledge-base/tree/main/skills/knowledge-analysis
  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/jinchenma94/jinchenma-knowledge-base.git /tmp/jinchenma-knowledge-base
mkdir -p .claude/skills
cp -r /tmp/jinchenma-knowledge-base/skills/knowledge-analysis .claude/skills/knowledge-analysis
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Knowledge Analysis 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 Knowledge Analysis 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 Knowledge Analysis 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.

Knowledge Analysis

将当前 Skill 的真实源码目录记为 ${skill_root},其上两级为项目根目录 ${repo_root},同时记为 ${knowledge_base_agent_root}。开始前读取 ${knowledge_base_agent_root}/skills/_shared/knowledge-base-contract.md 和活动 Schema。

输入边界

  • 只处理当前完整 AI 对话、一份已保存的完整材料,或用户明确列出且共同回答一个问题的有限材料组。
  • 不自动扫描知识库补齐材料,也不把搜索摘要、对话预览或模型记忆当成完整来源。
  • 当前或引用的 AI 对话需要通过 read_thread 读取全部分页,确认无截断且范围明确。保存原稿时调用 $ai-dialogue-ingest 的仅原稿模式,不生成整理笔记,不复制它的逐字保存流程。
  • 本地材料必须是完整可读文本;二进制材料先交给对应 Ingest。来源不完整时可以讨论可见部分,但不得进入内化写入。
  • 每次围绕一个主要问题。用户给出多项互不相关的问题时分别分析,不合并成一篇万能总结。

候选模式

默认先在对话中展示,不写文件:

  1. 要分析的问题:说明问题、材料范围和必要前提。
  2. 主要判断:区分用户已经表达的认识,以及 AI 或外部来源提出但尚未归属于用户的判断。
  3. 关系与缺口:指出一致、冲突、条件差异、证据缺口和仍未解决的问题。
  4. 候选分析:删减口语重复和无效绕行,保留用户的判断方式、语气与不确定程度。
  5. 候选个人观点:列出满足观点质量门槛、准备在确认后内化的完整判断;零条也是有效结果。
  6. 仍属外部的判断:列出只作为 AI 或外部输入保留、不会生成个人观点的内容。

不得把外部观点改写成用户已经相信的结论。分析中的事实、他人观点和用户判断就地标明来源,不设置“已确认”“形成中”“未采纳”等固定栏目。

一次确认

候选结果完成后只设置一个确认门,同时展示将保存的分析结论、候选个人观点和仍属外部的判断。用户可以一次修改、删除或补充任意项。

  • 用户确认整组候选后,候选个人观点视为用户明确接受,无需回到原对话逐句确认。
  • 没有列入候选个人观点的 AI 或外部判断继续保持外部归属。
  • 用户只要求查看、尚未确认、拒绝保存来源或来源无法完整持久化时,停在候选模式。
  • 确认不授权改写原始材料,也不授权自动创建主题页或扫描其他知识页面。

内化写入

确认后按以下顺序执行公共写入门:

  1. 确保每份直接来源已经持久化。当前 AI 对话尚未保存时先调用 $ai-dialogue-ingest 的仅原稿模式,避免重复整理;任一来源保存失败则停止,不创建分析或观点。
  2. 在 30-知识/10-笔记/ 查找同来源、同问题或高度相似分析,决定复用、新建或报告冲突。
  3. 创建一页 type: 知识 的分析页,derived_from 只链接本轮直接来源,topics 链接 30-知识/00-主题/ 下的已有主题。
  4. 复读并用 ${knowledge_base_agent_root}/scripts/validate_frontmatter.py --new-page 校验后,每条已确认的候选个人观点写一张 30-知识/11-观点/ 页(type: 观点、topics、derived_from 指向分析页;文件名就是这句判断),并在对应主题页的观点列表里加链接。允许零条、一条或多条观点。
  5. 建立 观点 → 分析 → 原始材料 的直接来源链。不要让观点跳过分析页直接指向原始材料。

分析页使用最小结构:

yaml
---
type: 知识
created: <yyyy-MM-ddTHH:mm:ss>
topics:
  - "[[主题名]]"
derived_from:
  - "[[直接来源]]"
---

标题即文件名,不写 title;其他相关页面写在正文 ## 相关。正文只固定:

markdown
# <标题>

## 要分析的问题

## 分析

## 结论

证据、分歧、限制条件和开放问题按实际需要写入三个章节,不为了形式完整增加空章节。分析页可以在零观点时单独保存。

回执

候选模式报告材料范围、完整性、候选分析、候选观点和外部判断,然后等待一次确认。内化模式使用公共契约回执,并明确报告原始来源、分析页、每张观点页、零产出项、查重结果、来源链和验证结果。

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 Knowledge Analysis AI skill do?

围绕一个明确问题分析当前完整 AI 对话、已保存的完整材料或用户指定的有限材料组,先生成候选分析与候选个人观点;用户一次确认内化后保存分析页(知识)和观点页。材料不完整或来源无法持久化时只讨论,不写库。

Why use Knowledge Analysis on TypingMind?

Because you install it once and use it with any model. Knowledge Analysis 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 Knowledge Analysis in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/jinchenma94/jinchenma-knowledge-base/tree/main/skills/knowledge-analysis. 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 Knowledge Analysis?

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 Knowledge Analysis?

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

Is the Knowledge Analysis AI skill free?

It is published on GitHub by jinchenma94. 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 👇