
Cross file relationship synthesis
Maps typed, line-anchored relationships across files to ground cross-file conclusions
Cross file relationship synthesis is an open-source agent skill for developer tools. It is available on Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose.
- Scripts
- None
- Platforms
- Claude Code, Codex, Cursor
- GitHub stars
- 227
- Last commit
- License
- MIT
- Listing updated
Similar skills
About Cross file relationship synthesis
This skill guides an agent through analysing a set of files that were read separately but whose conclusion depends on how calls, imports, data writes and reads, schema producers and consumers, or config values pass between them. The agent first states a one-line role for each file in scope, names the edge kinds it will trace, and then records every edge in its actual direction of flow with file and line at both ends.
The workflow separates edges the agent observed in code from edges it only inferred from matching names, treating name matches as leads to verify. It pays particular attention to secondary writers, paths that bypass an abstraction, and consumers that are never registered. From the verified map it identifies cut points and their blast radius as explicit file lists, and it resolves every orphan or dead end as either a missing edge or a genuinely unreachable file.
The skill is written for specialist reviews and requires no scripts or external tools; it works from the source files the agent can read. It is explicitly scoped to mapping repository relationships and does not decide privacy compliance or recommend refactoring.
When your agent uses it
Use when several files have been read independently but a conclusion depends on how control or data crosses them: build a typed, directed, line-anchored map of calls, imports, producer-consumer and config edges; identify cut points, blast radius, orphans, and traversal-backed conclusions. It maps arbitrary repository relationships; it does not settle privacy compliance or prescribe graph surgery.
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 1 file (2 KB) on GitHub on 3 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
Copy the skill folder to ~/.claude/skills/cross-file-relationship-synthesis to use it in all your projects:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/mtarcure/claude-vibe-squad.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/cross-file-relationship-synthesis &&
cp -R "$tmp/.agents/skills/cross-file-relationship-synthesis" ~/.claude/skills/cross-file-relationship-synthesis &&
rm -rf "$tmp"For one project only, put the folder in .claude/skills/cross-file-relationship-synthesis inside it instead.
Copy the skill folder to ~/.agents/skills/cross-file-relationship-synthesis to use it in every repository:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/mtarcure/claude-vibe-squad.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/cross-file-relationship-synthesis &&
cp -R "$tmp/.agents/skills/cross-file-relationship-synthesis" ~/.agents/skills/cross-file-relationship-synthesis &&
rm -rf "$tmp"For one repository only, put the folder in .agents/skills/cross-file-relationship-synthesis inside it instead.
Copy the skill folder to ~/.cursor/skills/cross-file-relationship-synthesis to use it in every project:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/mtarcure/claude-vibe-squad.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/cross-file-relationship-synthesis &&
cp -R "$tmp/.agents/skills/cross-file-relationship-synthesis" ~/.cursor/skills/cross-file-relationship-synthesis &&
rm -rf "$tmp"For one project only, put the folder in .cursor/skills/cross-file-relationship-synthesis inside it instead.
Run in a terminal (add --scope workspace to install it for the current workspace only):
gemini skills install https://github.com/mtarcure/claude-vibe-squad.git --path .agents/skills/cross-file-relationship-synthesisOr copy the folder to ~/.gemini/skills/cross-file-relationship-synthesis yourself.
For GitHub Copilot in VS Code, copy the skill folder to ~/.copilot/skills/cross-file-relationship-synthesis:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/mtarcure/claude-vibe-squad.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/cross-file-relationship-synthesis &&
cp -R "$tmp/.agents/skills/cross-file-relationship-synthesis" ~/.copilot/skills/cross-file-relationship-synthesis &&
rm -rf "$tmp"For one project only, put the folder in .github/skills/cross-file-relationship-synthesis inside it instead.
Get the folder:
git clone --depth 1 https://github.com/mtarcure/claude-vibe-squad.gitThen copy claude-vibe-squad/.agents/skills/cross-file-relationship-synthesis into your agent's skills folder as cross-file-relationship-synthesis. Agents that support SKILL.md read one folder per skill.
What it does
- Typed edge mapping
- Records calls, imports, data flows, schema links and config dependencies as directed edges with file and line anchors.
- Observed versus inferred separation
- Keeps edges confirmed in code apart from guesses drawn from matching names.
- Cut point analysis
- Finds files whose changes propagate furthest and lists the files each one affects.
- Orphan and dead end resolution
- Checks unreachable or unconnected files and decides whether an edge is missing or the file is truly isolated.
- Traversal-backed conclusions
- Requires final claims to be stated as a walk over recorded edges that another reader can repeat.
Good for
- Trace how a config value flows from a settings file to the modules that consume it
- Find every file affected if a shared data schema changes
- Check whether a write path bypasses the main abstraction layer in a codebase
- Identify orphaned modules that nothing in the repository imports or calls
- List the blast radius of changing a central utility file
Cross file relationship synthesis FAQ
Does Cross file relationship synthesis run any scripts or need extra tools?
No. The skill ships a single SKILL.md file with no scripts, and it does not set allowed tools.
What does Cross file relationship synthesis explicitly not cover?
It maps arbitrary repository relationships but does not settle privacy compliance or prescribe graph surgery such as refactoring.
When should an agent use Cross file relationship synthesis?
When several files have been read independently and a conclusion depends on how control or data crosses between them.
How do I install Cross file relationship synthesis in Claude Code?
Copy the skill folder from GitHub to ~/.claude/skills/cross-file-relationship-synthesis to use it in all your projects, or to .claude/skills/cross-file-relationship-synthesis in one project.
Does Cross file relationship synthesis 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 Cross file relationship synthesis?
Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose. Each reads skills in the SKILL.md format from its own folder; the install steps on this page list them.
What are the best alternatives to Cross file relationship synthesis?
The closest alternatives to Cross file relationship synthesis are Trace architecture, Dependency cycle audit, Skill flow, Context map and Improve codebase architecture.
Where this comes from
- Description: from the skill's own SKILL.md.
More from mtarcure/claude-vibe-squad

Writes alt text, timed captions and transcripts for images, footage and audio
- Open source
- 227 GitHub stars
- Design and media

Guides building product agent system prompts with eval-backed boundaries and output
- Open source
- 227 GitHub stars
- AI models and LLM tooling

Guides authorized adversarial testing of autonomous LLM agents for injection and approval
- Open source
- 227 GitHub stars
- Security

Writes a typed game-event to audio-cue map that hands adaptive audio designs to engines
- Open source
- 227 GitHub stars
- Developer tools

Generates missing README, CHANGELOG, LICENSE and agent-context files at project delivery
- Open source
- 227 GitHub stars
- Developer tools

Builds and proves multi-step exploit chains from weak bug-bounty findings
- Open source
- 227 GitHub stars
- Security




