Agent skill · AI & Agents

enhance-cross-file

Use when checking cross-file consistency: tools vs frontmatter, agent references, duplicate rules, contradictions.

agent-sh404★ · +29/wk · 2 repos on radarProfile →
claude-codecodexcursorMIT
Install
npx skills add agent-sh/agentsys --skill enhance-cross-file --agent claude-code

Same command for any agent — swap --agent for codex, cursor, copilot.

Facts
Files in the skill folder: 1
SKILL.md size: 3 KB
Bundled scripts: none
Version: 5.1.0
Path: .kiro/skills/enhance-cross-file/SKILL.md
Open the folder on GitHub →
Where it comes from
Stars: 923
Language: JavaScript

Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.

From the SKILL.md

# enhance-cross-file Analyze cross-file semantic consistency across agents, skills, and workflows. ## Parse Arguments ```javascript const args = '$ARGUMENTS'.split(' ').filter(Boolean); const targetPath = args.find(a => !a.startsWith('--')) || '.'; ``` ## Purpose Detects issues that span multiple files - things single-file analysis misses: - Tools used in prompt body but not declared in frontmatter - Agent references that don't exist - Duplicate instructions across files (maintenance burden) - Contradictory rules (ALWAYS vs NEVER conflicts) - Orphaned agents not referenced by any workflow - Skill tool mismatches (allowed-tools vs actual usage) ## Workflow 1. **Run Analyzer** - Execute the JavaScript analyzer to get findings: ```bash node -e "const a = require('./lib/enhance/cross-file-analyzer.js'); console.log(JSON.stringify(a.analyze('.'), null, 2));" ``` For a specific path: `a.analyze('./plugins/enhance')` 2. **Parse Results** - The analyzer returns JSON with `summary` and `findings` 3. **Report** - Return findings grouped by category The JavaScript analyzer (`lib/enhance/cross-file-analyzer.js`) implements all cross-file detection. The patterns below are reference documentatio

What's inside
Steps it walks through
  1. Parse Arguments
  2. Purpose
  3. Workflow
  4. Detection Patterns
  5. 1. Tool Consistency (MEDIUM Certainty)
  6. 2. Workflow Consistency (MEDIUM Certainty)
  7. 3. Instruction Consistency (MEDIUM Certainty)
  8. Output Format
  9. Constraints
  10. Pattern Statistics
Commands it runs
node -e "const a = require('./lib/enhance/cross-file-analyzer.js'); console.log(JSON.stringify(a.analyze('.'), null, 2));"
More from agentsys
All skills →
About this skill
What does the enhance-cross-file skill do?

Use when checking cross-file consistency: tools vs frontmatter, agent references, duplicate rules, contradictions.

How do I install it?

Run `npx skills add agent-sh/agentsys --skill enhance-cross-file --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.

Where does this skill come from?

From agent-sh/agentsys, a repository with 923 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.

Is a popular skill a good skill?

Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.

Keep going