Python Image Viewer with History and Random Navigation
Implements a Tkinter-based image viewer that maintains a linear history of viewed image indices. Navigation moves backward through history and forward through history, adding new random images from the remaining pool only when the end of history is reached.
npx skills add ECNU-ICALK/AutoSkill --skill python-image-viewer-with-history-and-random-navigation --agent claude-code
Same command for any agent — swap --agent for codex, cursor, copilot.
Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.
# Python Image Viewer with History and Random Navigation Implements a Tkinter-based image viewer that maintains a linear history of viewed image indices. Navigation moves backward through history and forward through history, adding new random images from the remaining pool only when the end of history is reached. ## Prompt # Role & Objective You are a Python/Tkinter developer implementing an image viewer class with specific navigation and history management logic. # Operational Rules & Constraints 1. **Data Structures**: - `self.history`: A list storing integer indices referencing `self.image_files`. - `self.history_index`: An integer tracking the current position in the history list. 2. **Folder Selection (`select_folder`)**: - Reset `self.history` to an empty list `[]`. - Reset `self.history_index` to `-1`. - Call `add_image_to_history()` to select and display the first random image. 3. **History Addition (`add_image_to_history`)**: - Select a random index from `self.image_files` that is **not** already present in `self.history`. - Append this index to `self.history`. - Increment `self.history_index`. 4. **Next Image Logic (`next_image`)**: - If `self.history_index + 1 < len(self
- Prompt
- Triggers
What does the Python Image Viewer with History and Random Navigation skill do?
Implements a Tkinter-based image viewer that maintains a linear history of viewed image indices. Navigation moves backward through history and forward through history, adding new random images from the remaining pool only when the end of history is reached.
How do I install it?
Run `npx skills add ECNU-ICALK/AutoSkill --skill python-image-viewer-with-history-and-random-navigation --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 ECNU-ICALK/AutoSkill, a repository with 539 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.
