Source First logo

Source First

Community
XXiaer
source-first

先有出处:动手前先查真实依据。用于:(1) 文献综述、研究现状、开题文献调研;(2) 上传 PDF/课件/论文提炼与课程笔记整理;(3) 参考文献与 DOI 真伪核验;(4) 课设/毕设/竞赛选题查重与 GitHub 开源骨架复用评估(literature review, related work, citation verification, capstone/open-source repo lookup)。不用于观点文、成稿润色、代写论文正文或整套代码。

Overview

PublisherXXiaer
Repositorysource-first
Skill namesource-first
Stars
100
Forks
3
Bundled files
13
LicenseMIT
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.

  • 13 bundled files

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

  • Open source

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

Installation

Install the Source First 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/XXiaer/source-first/tree/main
  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/XXiaer/source-first.git \
  .claude/skills/source-first
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Source First 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 Source First 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 Source First 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.

先有出处

动手之前先找依据。写内容前先看别人写过什么,写代码前先看有没有现成实现。

两条线的道理一样:先确认东西存不存在,再动手。 区别只在于找的是文献还是代码。

走哪条线

用户在做什么走哪条加载
写综述、整理笔记、核验参考文献、整理上传 PDF/课件、开题研究现状文献线references/study.md
课设、毕设、竞赛选题,问有没有现成项目、能不能复用、要改多少项目线references/project.md

复合需求处理:如果用户同一次提问既要查研究现状/文献又要查现成开源实现(如毕设开题调研),按阶段串行执行:先走文献线完成综述与引用核验,再清空上下文包袱进入项目线查重与骨架评估,各自按阶段加载对应参考文档,不要把文献规则和代码规则混在一起输出。

两条都不像,静默退出,直接按普通任务处理。

什么时候进入

文献线命中任一条:

  • 要写文献综述、研究现状、开题报告的文献部分
  • 要整理课程笔记、读书笔记、专题资料汇总
  • 上传了 PDF、课件、论文,让你“整理一下”“提炼观点”或“核对参考文献真伪”
  • 问某个方向“有哪些研究”“别人怎么做的”
  • 要把一堆资料做成复习材料或汇报大纲

项目线命中任一条:

  • 说了一个课设、毕设、竞赛题目,问“怎么做”“用什么技术”“有没有现成的”
  • 问某个功能“有没有开源实现”“能不能直接用”
  • 担心自己的选题“是不是已经被人做烂了”
  • 已经动手写了一段,怀疑在重复劳动

不进入:

  • 写议论文、观点文、心得体会、公众号推文(这类没有“依据”这回事)
  • 润色已经写好、出处已经标全的成稿(那是改文字,不是找依据)
  • 让 AI 直接写完一段代码,或者代写论文正文核心章节
  • 明确说了不用管出处,只要个大概

退出话术边界:仅当本技能已被加载、随后发现用户核心诉求明确落入代写论文正文或直接代写整套毕设/课设代码时,用一句话说明不走本技能,然后按普通任务处理(只说一句,不讲道理)。日常混合对话中顺手写段代码、润色一句话或完全无关的任务,静默退回普通模式,不要生硬打断。

判断不清时进入,走最轻的那一档。查一遍的成本,远低于写出一堆假东西。

两条线共用的四条

  1. 依据先存在。 引用要能点开,推荐的项目要能打开。凭记忆写出来的东西一律不算。
  2. 搜到的东西不等于对的东西。 标题像不一定是那篇,星数高不一定是你要的。核对了再用。
  3. 有多少说多少。 查到三条就说三条,没查到就说没查到。空白本身是结论,不是失败。
  4. 查够了就停。 连续两次检索没有新结果,收尾,把剩下的不确定性写出来。

附件与脚本

以下路径均相对于本技能目录(下称 <skill_dir>,即本 SKILL.md 所在目录;执行脚本时请务必使用 python <skill_dir>/scripts/...,不要假定当前工作目录就是技能目录):

  • references/study.md — 文献线:引用闸门、三档流程、文献特有的硬规则
  • references/project.md — 项目线:排序逻辑、适配判断、创意查重、项目特有的硬规则
  • references/sources.md — 文献接口地址、参数、实测状态、不可用源
  • references/repos.md — 代码仓库检索方法,含 Gitee 检索策略
  • references/citation-formats.md — GB/T 7714 与 APA 第 7 版,含接口字段映射
  • references/output-templates.md — 两条线的输出模板和填好的例子
  • references/setup-guide.md — 可选环境变量与 Token 配置指南
  • scripts/lookup.py — 文献线只读并发检索脚本(支持多 --doi 批量反查、--year-from、--abstract、--format gbt7714|apa|bibtex、双索引去重)
  • scripts/github_lookup.py — 项目线只读检索脚本(支持关键词搜索与 --repo 单仓体检、Trees API src/ 探测、--readme 摘要与许可证风险标记)
  • scripts/check_environment.py — 只读环境与接口连通性自检脚本

按阶段按需加载(减少读取轮次,降低等待时间;多轮检索时及时用简短中文状态同步当前进度):

  • 文献线:有 Python 环境时,一次并行读取 study.md + output-templates.md 后即可直接运行 python <skill_dir>/scripts/lookup.py(已内置接口参数与 gbt7714/apa/bibtex 格式化);仅在无 Python 环境、接口异常需查备用源或需手拼专著/学位论文格式时,再按需补读 sources.md 或 citation-formats.md。
  • 项目线:有 Python 环境时,一次并行读取 project.md + output-templates.md 后即可直接运行 python <skill_dir>/scripts/github_lookup.py(已内置 capstone 适配排序与 --repo 免配额降级);仅在无 Python 环境或需查 Gitee 细节时补读 repos.md。

交付前自检

  • 走了对的那条线(或复合需求已分阶段串行完成),没有把两条线混写成一锅
  • 确认至少一个检索源正常返回过(非全源请求失败;纯离线第一档整理上传材料除外),否则不能写“研究空白”或覆盖说明
  • 每条引用 / 每个推荐都能点开验证
  • 核对过标题、作者、年份(或仓库名、语言、更新时间、许可证风险)
  • 覆盖情况写清楚了:查了什么、没查什么、哪里是空白
  • 用户自己的判断和查到的结论分开标注了

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 Source First AI skill do?

先有出处:动手前先查真实依据。用于:(1) 文献综述、研究现状、开题文献调研;(2) 上传 PDF/课件/论文提炼与课程笔记整理;(3) 参考文献与 DOI 真伪核验;(4) 课设/毕设/竞赛选题查重与 GitHub 开源骨架复用评估(literature review, related work, citation verification, capstone/open-source repo lookup)。不用于观点文、成稿润色、代写论文正文或整套代码。

Why use Source First on TypingMind?

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

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/XXiaer/source-first/tree/main. 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 Source First?

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 Source First?

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

Is the Source First AI skill free?

Yes. It is published on GitHub by XXiaer under the MIT license. 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 👇