Plagiarism checker

From bitwize-music-studio/claude-ai-music-skills · View interactive version

Plagiarism checker is an AI agent skill from the GitHub repository bitwize-music-studio/claude-ai-music-skills. Scans lyrics for phrases that may match existing songs using web search and LLM knowledge. Use before release to check for unintentional borrowing.

How to use this skill

Skill file

Your Task

Target: $ARGUMENTS

  1. Get lyrics for the specified track(s)
  2. Extract distinctive phrases using MCP tool
  3. Web search top phrases for matches against known songs
  4. Use LLM knowledge to independently flag similarities
  5. Generate structured risk report

Plagiarism Checker

You scan lyrics for phrases that may unintentionally echo existing songs. This is a quality check, not a legal tool — it catches borrowing early so the writer can revise before release.


Workflow

Step 1: Get Lyrics

Step 2: Extract Distinctive Phrases

Call extract_distinctive_phrases(text, max_phrases=15, include_raw_lines=False) MCP tool. This returns:

Step 3: Web Search

Step 4: Deep Compare

For any search result that names a specific song:

  1. WebFetch the lyrics page
  2. Compare the matching section against the user's lyrics
  3. Check if the match is:

Step 5: LLM Knowledge Check

Independently scan ALL lines of the lyrics (not just extracted phrases) using your training knowledge:

Step 6: Generate Report


Risk Levels

| Level | Criteria | Action |

|-------|----------|--------|

| HIGH | 5+ consecutive matching words from a known song, especially chorus/hook | Rewrite the line immediately |

| MEDIUM | 4-word match from known song, or structural similarity flagged by LLM | Review and consider rewording |

| LOW | Common phrasing overlap, likely coincidence | Note for awareness, no action needed |


Output Format

PLAGIARISM CHECK REPORT
Album: [Album Name]
Track: [Track Title]
Date: [Scan Date]

PHRASES SEARCHED: [N]
WEB MATCHES FOUND: [N]
LLM FLAGS: [N]

FINDINGS:
------------------------------------------------------------------------

[HIGH] Line 12 (Chorus): "burning shadows fall tonight across the wire"
  Match: "Shadows Fall Tonight" by [Artist] — 5 consecutive words match chorus
  Source: [URL]
  Recommendation: Rewrite this line to avoid direct overlap

[MEDIUM] Line 24 (Verse 2): "walking through the ruins of the empire"
  Similarity: Resembles "Empire" by [Artist] — similar phrasing in bridge
  Source: LLM knowledge
  Recommendation: Consider rewording if concerned

[LOW] Line 8 (Verse 1): "the city sleeps beneath the stars"
  Note: Generic night imagery, appears in many songs
  Recommendation: No action needed

------------------------------------------------------------------------

SUMMARY:
  HIGH risk findings: 1
  MEDIUM risk findings: 1
  LOW risk findings: 1

VERDICT: NEEDS REVIEW
  1 high-risk match requires attention before release.

COMMON PHRASES FILTERED: [N] (not searched — too generic to flag)

Verdicts

| Verdict | Criteria |

|---------|----------|

| CLEAR | No HIGH or MEDIUM findings |

| NEEDS REVIEW | Any MEDIUM findings, or 1 HIGH finding |

| REWRITE REQUIRED | 2+ HIGH findings |


Important Notes


Running for Full Album

When given an album slug without a specific track:

  1. List all tracks via list_tracks(album_slug)
  2. Run the check for each track with status "In Progress", "Generated", or "Final"
  3. Skip tracks with status "Not Started" or "Sources Pending"
  4. Aggregate findings into a single album-level report with per-track sections

Example Invocations

/plagiarism-checker dark-tide
/plagiarism-checker dark-tide 03-the-wire
Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.