🔗
AI Engineering

Citation System

by kangarooking

Citation System is an AI Engineering skill for Claude Code, published by kangarooking in system-prompt-skills.

182 stars40 forkson kangarooking/system-prompt-skillsAdded 2026/09/06+3% in starsRepository updated 2026/05/04
agent-designagent-skillsai-agentscangjie-skillcontext-managementprompt-engineeringprompt-injectionsystem-prompttool-use
Install in seconds
Install Citation System
Copy Citation System into your Claude Code skills folder. Run the command in your terminal, or review the source on GitHub before installing.
terminal
npx degit https://github.com/kangarooking/system-prompt-skills/tree/main/citation-system ~/.claude/skills/citation-system

Requires Node.js. Downloads this skill only — not the rest of the repository — into your Claude Code skills folder.

Without Node.js

git clone https://github.com/kangarooking/system-prompt-skills.git

Clones the whole repository, then copy the skill’s own directory into your skills folder yourself.

In this catalog

Source file
citation-system/SKILL.md in kangarooking/system-prompt-skills
Installs to
~/.claude/skills/citation-system
Collection
One of 15 skills cataloged from this repository
Category
AI Engineering3278 skills

What Citation System does

Citation System defines inline citation formats and source-tracking rules for answers that need traceable evidence. Use it for document Q&A, RAG, code references, and other outputs where users must verify where information came from.

Citation System is cataloged under AI Engineering on DirSkills. Citation System comes from a repository tagged agent-design, agent-skills, ai-agents, cangjie-skill and context-management.

Documentation

README

引用与归属系统设计

R — 原文 (Reading)

各厂商采用多样化的内联引用格式:Claude Web 使用 Markdown 锚点链接([text](<citation:comment:{id}>)),GPT-4o 文件搜索采用 【msg_idx:search_idx†source】,NotebookLM 实现逐句引用加段落索引 [i],Warp 使用 XML 结构 <citations><document>,Meta AI 实现实体标签 【entity_hint-...】。核心模式:内联标记、引用保留规则、来源可审计响应。

I — 方法论骨架 (Interpretation)

  1. 内联标记格式:在生成文本中直接嵌入来源标记,用户无需滚动至文末即可定位引用源。
  2. 格式一致性:整个系统提示中严格使用一种引用格式,不混用多种标记语法。
  3. 引用保留规则:在改写、总结、翻译等二次处理中,原始引用标记必须完整保留,不得丢失或篡改。
  4. 来源可审计性:每个事实性声明都必须有可追溯的引用,外部信息(非系统知识库)必须显式标注。
  5. 实体引用系统:除文档引用外,可扩展支持人物、地点、组织等实体的标记与链接。
  6. 日期消歧:对相对时间表达("昨天"、"上周")进行绝对日期解析,消除歧义。

A1 — 案例分析 (Past Application)

This is the opening of the README. Read the full README on GitHub.

Frequently asked about Citation System

  • What else does kangarooking publish alongside Citation System?

    Citation System is one of 15 skills that DirSkills catalogs from kangarooking/system-prompt-skills, the repository it ships in. Its siblings there include Agent Delegation, Code Engineering and Context Management. Each one is a separate skill with its own page in this directory, installs the same way Citation System does, and is maintained by kangarooking in that same repository. The rest of the collection is listed on the kangarooking/system-prompt-skills page.

  • How does Citation System compare to other AI Engineering skills?

    Citation System ranks #3044 by stars among the 3278 AI Engineering skills in this catalog. The most-starred ones next to it are Architecture Decision Records, AI-First Engineering and Agentic OS. DirSkills ranks by the star count of the repository each skill ships in, so that order reflects how popular those repositories are rather than any review of Citation System against them. Open each page to compare what they document and how they install.

More from kangarooking/system-prompt-skills

Citation System is one of 15 skills cataloged on DirSkills from kangarooking/system-prompt-skills.

See all 15 skills
🧩
5h ago

Agent Delegation

Agent Delegation describes how to split work across specialized sub-agents with isolated context, briefing-based handoffs, and validation gates. Use it when designing multi-agent systems, task lifecycles, or cross-tool coordination; not for single-agent routing.
AI Engineering
18240
🛠️
5h ago

Code Engineering

Code Engineering defines system-prompt rules for coding agents that edit files, manage Git workflows, and verify changes. Use it for autonomous or guided code modification tasks, not for pure code Q&A or infrastructure setup.
AI Engineering
18240
🧠
5h ago

Context Management

Context Management helps design token budgets, compression strategies, lazy loading, and persistent memory for long-running AI assistants and multi-session systems. Use it when conversation history, large files, or user preferences need to stay usable without overflowing the context window.
AI Engineering
18240
🧭
5h ago

Conversation Flow

Conversation Flow defines how an AI classifies user intent, routes requests into task-specific paths, and chooses when to ask clarifying questions versus proceed autonomously. Use it for multi-step assistants and agents that need structured dialogue management.
AI Engineering
18240
🛡️
5h ago

Injection Defense

Injection Defense helps design system prompts that resist prompt injection, jailbreaks, social engineering, and trust-boundary breaks. Use it for agents or chatbots that process external content like documents, web pages, email, or memory.
AI Engineering
18240
🧠
5h ago

Memory System

Memory System designs how an AI stores, retrieves, applies, and updates user and project memories across sessions. Use it when building personalization, handling sensitive memories, or deciding when memory should be applied silently.
AI Engineering
18240