# Visited Check

> Manage the global visited URLs list to prevent infinite exploration loops.

- Skill: `gustavo-gardusi/visited-check` (Agent Skill)
- Install (CLI): `npx skillmds@latest add gustavo-gardusi/visited-check`
- Raw SKILL.md: https://api.skillmd.com/api/skills/gustavo-gardusi/visited-check/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Coding & Dev Tools
- Author: gustavo-gardusi (https://skillmd.com/u/gustavo-gardusi)
- Updated: 2026-09-22
- Page: https://skillmd.com/skills/gustavo-gardusi/visited-check

---


# Context: Visited Check

This internal utility manages the global `$HOME/.cursor/research-visited.txt` file.

## Operations

### `check`
Determine if a URL has already been visited.
- **Input**: `url`
- **Logic**: Read the visited file (one URL per line). Return `true` if `url` exists.
- **Note**: URLs should be normalized before checking (e.g., remove `#hashes` unless it's a SPA router).

### `mark`
Mark a URL as visited.
- **Input**: `url`
- **Logic**: Append `url` to the file on a new line.

### `clear`
Reset the visited list.
- **Warning**: This affects ALL workspaces. Use with caution.
