Skip to content
Productivity
Skill

/compare-files

Compare two files and show differences

From plugin
cowork-os
452155 skills
Install
$ npx -y skills add CoWork-OS/CoWork-OS --skill compare-files --agent claude-code

How it fires

How this skill gets triggered: by you, by Claude, or both.

  • Fires itselfAuto-invocation. Claude auto-loads it when your prompt matches the work.Auto-invocation is when the right skill fires by itself at the right moment, driven by a FLOW.md router and a hook, instead of you invoking it by name. It is the difference between a skill being installed and a skill actually getting used.Read the full definition →
  • You can call itInvoke it directly when you want it.
  • Slash command/compare-files

Context preview

The summary Claude sees to decide when to auto-load this skill.

Compare two files and show differences

SKILL.md

compare-files.SKILL.md
name: compare-files
description: "Compare two files and show differences"
version: "1.0.0"
metadata:
  author: CoWork OS Contributors <info@coworkosapp.com>

Compare Files

Purpose

Compare two files and show differences

Routing

  • Use when: Use when the user asks to compare two files and show differences.
  • Do not use when: Do not use when the request is asking for planning documents, high-level strategy, or non-executable discussion; use the relevant planning or design workflow instead.
  • Outputs: Outcome from Compare Files: task-specific result plus concrete action notes.
  • Success criteria: Returns concrete actions and decisions matching the requested task, with no fabricated tool-side behavior.

Trigger Examples

Positive

  • Use the compare-files skill for this request.
  • Help me with compare files.
  • Use when the user asks to compare two files and show differences.
  • Compare Files: provide an actionable result.

Negative

  • Do not use when the request is asking for planning documents, high-level strategy, or non-executable discussion; use the relevant planning or design workflow instead.
  • Do not use compare-files for unrelated requests.
  • This request is outside compare files scope.
  • This is conceptual discussion only; no tool workflow is needed.

Parameters

| Name | Type | Required | Description | |---|---|---|---| | file1 | string | Yes | Path to the first file | | file2 | string | Yes | Path to the second file |

Runtime Prompt

  • Current runtime prompt length: 477 characters.
  • Runtime prompt is defined directly in `../compare-files.json`.
Read more
Ships withcowork-os

Local-first personal agentic OS and everything app for coding, knowledge work, web design, automations, and artifacts.

Get the whole plugin
Stats
450
Stars
77
Forks
Active
Maintenance
TypeScript
Language
MIT
License
4d ago
Last commit
7mo ago
Created

Repo: CoWork-OS/CoWork-OS

Other skills on cowork-os.