# References sync

> References sync is an open-source agent skill for developer tools. Pulls library reference docs from project manifests into the agent's working context. It is available on Claude Code.

- **Kind:** Skill
- **Pricing:** Open source
- **Platforms:** Claude Code
- **Website:** https://github.com/tansuasici/claude-code-kit/tree/main/.claude/skills/references-sync
- **Repository:** https://github.com/tansuasici/claude-code-kit
- **GitHub stars:** 6
- **License:** MIT
- **Skill name:** references-sync
- **Collection:** https://github.com/tansuasici/claude-code-kit
- **Categories:** [developer tools](https://ai-powered.com/categories/developer-tools)
- **Listing updated:** 2026-12-03

## About

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.

## What it can access

From a static check of the files on GitHub; nothing was run.

- [Instructions only, no scripts](https://github.com/tansuasici/claude-code-kit/tree/HEAD/.claude/skills/references-sync)
- [License: MIT](https://github.com/tansuasici/claude-code-kit/tree/HEAD/.claude/skills/references-sync)

## Features

- **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

## Install

### Claude Code

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):

```sh
/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`:

```sh
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.

### Codex

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

```sh
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.

### Cursor

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

```sh
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.

### Gemini CLI

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

```sh
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.

### VS Code

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

```sh
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.

### Other agents

Get the folder:

```sh
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.

## 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.

## Alternatives

- [Refresh docs](https://ai-powered.com/skills/refresh-docs-ajyadav013): Refresh docs is an open-source agent skill for developer tools.
- [Docs sync edho ferdian](https://ai-powered.com/skills/docs-sync-edho-ferdian): Docs sync edho ferdian is an open-source agent skill for developer tools.
- [Docs sync audit](https://ai-powered.com/skills/docs-sync-audit): Docs sync audit is an open-source agent skill for developer tools.
- [Claude md refactor](https://ai-powered.com/skills/claude-md-refactor): Claude md refactor is an open-source agent skill for developer tools.
- [Source driven development](https://ai-powered.com/skills/source-driven-development): Source driven development is an open-source agent skill for developer tools.
- [Sync SDK skill](https://ai-powered.com/skills/sync-sdk-skill): Sync SDK skill is an open-source agent skill for developer tools.
- [Rust learner](https://ai-powered.com/skills/rust-learner): Rust learner is an open-source agent skill for developer tools.
- [Managing readme docs](https://ai-powered.com/skills/managing-readme-docs): Managing readme docs is an open-source agent skill for developer tools.

---
Source: https://ai-powered.com/skills/references-sync
