# Janitor Precheck

> Check if a new skill overlaps with existing ones before installing. Deprecated alias — use /janitor-discover with a URL or path.

- Skill: `majiayu000/janitor-precheck` (Agent Skill, multi-file: 2 files)
- Install (CLI): `npx skillmds@latest add majiayu000/janitor-precheck`
- Raw SKILL.md: https://api.skillmd.com/api/skills/majiayu000/janitor-precheck/raw
- Safety review: pending (external: skill-scanner PASS, skillspector PASS)
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Coding & Dev Tools
- Author: majiayu000 (https://skillmd.com/u/majiayu000)
- Updated: 2026-09-09
- Page: https://skillmd.com/skills/majiayu000/janitor-precheck

---


# Pre-Install Overlap Check (Deprecated Alias)

**Renamed in v1.3.** Pre-install check is now part of `/janitor-discover`. Passing a GitHub URL or local path to `/janitor-discover` runs the same overlap analysis. This alias will be removed in v1.4.

When invoked, run `/janitor-discover` with the same argument and mention the rename in one short line at the top.

## How to Run

```bash
bash ~/.claude/skills/skills-janitor/scripts/discover.sh <github-url-or-path> [--json]
```

Examples:
- `discover.sh https://github.com/user/my-skill`
- `discover.sh user/my-skill`
- `discover.sh ~/Downloads/some-skill/`

## Migration

- Pre-install check by URL → `/janitor-discover <url>`
- Pre-install check by path → `/janitor-discover <path>`

The v1.3 check is more accurate than v1.2 because the installed-skills baseline now includes plugin-namespaced skills (`marketing-skills:image`, `figma:figma-use`, etc.) that v1.2 was blind to.

## Related Skills

- `/janitor-discover` — the new combined entry point
- `/janitor-report` — full health check, including existing duplicates

