Skip to content
Skill

References sync

Pulls library reference docs from project manifests into the agent's working context

References sync is an open-source agent skill for developer tools. It is available on Claude Code.

Scripts
None
Platforms
Claude Code
GitHub stars
6
Last commit
License
MIT
Listing updated

Similar skills

About References sync

References Sync scans a repository's dependency manifests, such as package.json, pyproject.toml, Cargo.toml and go.mod, and matches direct dependencies against a curated list of vendors that publish llms.txt-style documentation. Matching docs are fetched and saved under docs/references/, with a managed index table recording each package's version and source. Packages without a known source receive a stub file that the user can fill in by hand.

The workflow reuses files younger than 30 days, skips private or workspace packages, and logs failed fetches without stopping the run. It only writes inside docs/references/ and offers to add a short pointer section to CLAUDE.md on the first run. It is designed to be scheduled, for example monthly, in headless mode.

The skill relies on web fetching to retrieve the vendor documents and on the project's own manifests. It is meant for in-repo context rather than publishing, and it does not summarise package READMEs automatically.

When your agent uses it

Sync llms.txt-style dependency reference docs into docs/references/ so the agent has library docs in-context — scans package manifests and fetches known vendor references. Use when working with a third-party library whose docs aren't yet local.

From the skill's SKILL.md. Your agent reads this description to decide when to load the skill.

What it can access

From a static check of its 4 files (16 KB) on GitHub on 4 December 2026. Nothing was run. Read the files before you install a skill: it can tell your agent to run anything its tools allow.

Check another skill before you install it.

Install

This skill ships in the claude-code-kit plugin. In Claude Code, add the marketplace and install the plugin (it may include other skills too):

/plugin marketplace add tansuasici/claude-code-kit
/plugin install claude-code-kit@claude-code-kit

Or copy only this skill to ~/.claude/skills/references-sync:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/tansuasici/claude-code-kit.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/references-sync &&
cp -R "$tmp/.claude/skills/references-sync" ~/.claude/skills/references-sync &&
rm -rf "$tmp"

For one project only, put the folder in .claude/skills/references-sync inside it instead.

Claude Code docs on skills

Copy the skill folder to ~/.agents/skills/references-sync to use it in every repository:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/tansuasici/claude-code-kit.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/references-sync &&
cp -R "$tmp/.claude/skills/references-sync" ~/.agents/skills/references-sync &&
rm -rf "$tmp"

For one repository only, put the folder in .agents/skills/references-sync inside it instead.

Codex docs on skills

Copy the skill folder to ~/.cursor/skills/references-sync to use it in every project:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/tansuasici/claude-code-kit.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/references-sync &&
cp -R "$tmp/.claude/skills/references-sync" ~/.cursor/skills/references-sync &&
rm -rf "$tmp"

For one project only, put the folder in .cursor/skills/references-sync inside it instead.

Cursor docs on skills

Run in a terminal (add --scope workspace to install it for the current workspace only):

gemini skills install https://github.com/tansuasici/claude-code-kit.git --path .claude/skills/references-sync

Or copy the folder to ~/.gemini/skills/references-sync yourself.

Gemini CLI docs on skills

For GitHub Copilot in VS Code, copy the skill folder to ~/.copilot/skills/references-sync:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/tansuasici/claude-code-kit.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/references-sync &&
cp -R "$tmp/.claude/skills/references-sync" ~/.copilot/skills/references-sync &&
rm -rf "$tmp"

For one project only, put the folder in .github/skills/references-sync inside it instead.

VS Code docs on skills

Get the folder:

git clone --depth 1 https://github.com/tansuasici/claude-code-kit.git

Then copy claude-code-kit/.claude/skills/references-sync into your agent's skills folder as references-sync. Agents that support SKILL.md read one folder per skill.

The SKILL.md format

What it does

Manifest dependency scanning
Reads direct dependencies from common manifests across npm, Python, Rust, Go, Ruby and PHP projects.
Curated vendor doc fetching
Downloads llms.txt-style reference files for packages listed in a known-sources registry.
Stub files for unknown packages
Creates placeholder reference files for packages without a known documentation source.
Managed reference index
Maintains a table of synced packages, versions and sources in docs/references/index.md.
Cache and refresh control
Skips files fetched within 30 days and supports a force flag to re-fetch everything.
Scheduled headless mode
Runs non-interactively on a recurring schedule with sensible defaults for each decision point.

Good for

  • Pull the official docs for the libraries in my package.json into the repo
  • Refresh the reference docs after upgrading a dependency to a new major version
  • Set up docs/references for a project I just cloned
  • Create stub reference files for packages that have no published llms.txt

References sync FAQ

Where are the fetched files saved?

Under docs/references/, with one file per package and an index.md table listing each package's version and source.

Does References sync rewrite my code or CLAUDE.md?

It writes only inside docs/references/. CLAUDE.md is touched only on the first run to add a Reference Docs section, and only after asking in interactive mode.

Are transitive dependencies included?

No. Only direct dependencies from the manifests are scanned.

How often are references refreshed?

Cached files are reused for 30 days. Use the force flag to re-fetch, and run it after major version upgrades because those are not detected automatically.

How do I install References sync in Claude Code?

Copy the skill folder from GitHub to ~/.claude/skills/references-sync to use it in all your projects, or to .claude/skills/references-sync in one project. Or install the claude-code-kit plugin, which includes it: /plugin marketplace add tansuasici/claude-code-kit, then /plugin install claude-code-kit@claude-code-kit.

Does References sync run scripts?

No. It is instructions only, with no scripts. This comes from a static check of the files on GitHub; nothing was run. Read the files before you install it.

Which AI agents can use References sync?

Claude Code. It reads skills in the SKILL.md format; the install steps on this page show where to put the folder.

What are the best alternatives to References sync?

The closest alternatives to References sync are Refresh docs, Docs sync edho ferdian, Docs sync audit, Claude md refactor and Source driven development.

Where this comes from

  • Description: from the skill's own SKILL.md.

More from tansuasici/claude-code-kit

  1. Audits UI code against WCAG 2.1 AA for semantics, keyboard use, contrast and ARIA

    • Open source
    • 6 GitHub stars
    • Developer tools
  2. Audits a codebase's structure for SOLID violations, coupling and module boundary issues

    • Open source
    • 6 GitHub stars
    • Developer tools
  3. Lists the skills, agents, hooks and modules installed in a kit-enabled project

    • Open source
    • 6 GitHub stars
    • Developer tools
  4. Audits code for smells, error-handling gaps and maintainability issues with fixes

    • Open source
    • 6 GitHub stars
    • Developer tools
  5. Guides the agent to write and extend a project's golden-principles.yaml rule file

    • Open source
    • 6 GitHub stars
    • Developer tools
  6. Finds unused functions, dead imports, orphan files and unreachable branches in a codebase

    • Open source
    • 6 GitHub stars
    • Developer tools