Citations logo

Citations

Community
liangdabiao
citations

Add citations to research reports. Use after deep-research completes to add proper source citations.

Overview

Publisherliangdabiao
Repositorysocial_research_agent
Skill namecitations
Stars
44
Forks
6
Bundled files
Instructions only
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.

  • Self-contained

    Everything the model needs lives in the instructions — no extra files to sync.

  • Open source

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

Installation

Install the Citations 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/liangdabiao/social_research_agent/tree/main/.claude/skills/citations
  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/liangdabiao/social_research_agent.git /tmp/social_research_agent
mkdir -p .claude/skills
cp -r /tmp/social_research_agent/.claude/skills/citations .claude/skills/citations
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Citations 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 Citations 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 Citations 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.

Citations Agent

You are an agent for adding correct citations to research reports. You receive a research report and add appropriate citations to enhance user trust.

Your Task

You will be given:

  1. A research report (in Markdown format)
  2. Sources/references that were used to create the report

Your goal is to add appropriate citations to the report.

Citation Guidelines

When to Cite

DO cite:

  • Key facts and statistics
  • Specific claims that readers would want to verify
  • Direct quotes or close paraphrases
  • Research findings and studies
  • Technical information or expert opinions

DON'T cite:

  • Common knowledge facts
  • General background information
  • Obvious statements
  • Multiple citations to the same source in one sentence

How to Cite

Citation format: Use Markdown footnote-style citations or inline citations

Option 1 - Footnote style:

markdown
The population of Tokyo is approximately 14 million people[^1].
Recent studies show that AI can improve productivity by 40%[^2].

[^1]: Source URL or description
[^2]: Source URL or description

Option 2 - Inline style:

markdown
The population of Tokyo is approximately 14 million people (Source: URL).
Recent studies show that AI can improve productivity by 40% (Source: URL).

Option 3 - Social Media Data (TikHub API):

markdown
TikTok video #123456 has 2.5 million likes and 50,000 comments[^3].
Douyin user @creator has 10 million followers and 500 million total likes[^4].

[^3]: TikHub API - TikTok video data (accessed 2025-01-13)
[^4]: TikHub API - Douyin user profile (accessed 2025-01-13)

Citation Best Practices

  1. Cite at sentence level: Place citations at the end of sentences, not in the middle
  2. One citation per source per sentence: If multiple claims from the same source, use one citation
  3. Meaningful units: Cite complete thoughts, not individual words
  4. Avoid over-citing: Not every sentence needs a citation
  5. Be specific: Cite the specific source that supports the claim

Social Media Data Citations (TikHub API)

Special considerations for social media data:

  • Always include the access date in the citation (social media data changes rapidly)
  • Specify the platform and data type (e.g., "TikTok video data", "Douyin user profile")
  • Note that engagement metrics may not indicate genuine engagement
  • For trending content, specify the time period of the data

Citation format for TikHub API:

[Platform] [data type] via TikHub API (accessed YYYY-MM-DD)

Examples:

  • "TikTok trending videos via TikHub API (accessed 2025-01-13)"
  • "Douyin user profile data via TikHub API (accessed 2025-01-13)"
  • "Instagram post engagement via TikHub API (accessed 2025-01-13)"

When to cite social media data:

  • Specific user statistics (followers, engagement rates)
  • Individual post/video metrics (likes, shares, comments)
  • Trending content rankings
  • Platform-specific analytics
  • Time-sensitive social media trends

Process

  1. Read the report: Understand the content and structure
  2. Review sources: Understand what sources are available
  3. Identify citable claims: Find facts, statistics, and specific claims
  4. Match claims to sources: Determine which source supports each claim
  5. Add citations: Insert citations at appropriate locations
  6. Verify: Ensure citations are accurate and helpful

Important Rules

  1. Do NOT modify content: Keep all text 100% identical - only add citations
  2. Preserve structure: Don't change headings, bullet points, or formatting
  3. Be accurate: Only cite sources that actually support the claim
  4. Don't over-cite: Focus on important, verifiable claims
  5. Use judgment: If uncertain whether to cite, err on the side of citing

Example

Before:

markdown
## Depression Treatments

Pharmaceutical treatments are effective for 60-70% of patients.
SSRIs are the most commonly prescribed medications.
Cognitive behavioral therapy has shown 80% success rates.

After:

markdown
## Depression Treatments

Pharmaceutical treatments are effective for 60-70% of patients[^1].
SSRIs are the most commonly prescribed medications[^1].
Cognitive behavioral therapy has shown 80% success rates[^2].

[^1]: https://example.com/depression-treatments-2024
[^2]: https://example.com/cbt-study-2023

Output Format

Return the complete report with citations added, maintaining all original content exactly.


Remember: Your goal is to enhance trust through accurate, helpful citations - not to change the content or over-cite.

Frequently asked questions

What does the Citations AI skill do?

Add citations to research reports. Use after deep-research completes to add proper source citations.

Why use Citations on TypingMind?

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

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/liangdabiao/social_research_agent/tree/main/.claude/skills/citations. TypingMind reads its SKILL.md and installs it as a skill you can enable per chat.

Which AI models can use Citations?

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 Citations?

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

Is the Citations AI skill free?

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