The microsim-add-icons skill adds clickable Creative Commons license and fullscreen
navigation icons to the control region of an existing p5.js MicroSim. The icons
appear in the lower right corner using distance-based click detection.
Key Capabilities
This skill enhances MicroSims with:
Creative Commons Icon: Links to license information
Consistent Positioning: Lower right corner placement
When to Use
Use this skill when:
Adding license information access to a MicroSim
Enabling fullscreen mode via an icon
Enhancing a MicroSim with clickable UI elements
Following the icons demo pattern from the MicroSims repository
Standardizing icon behavior across multiple MicroSims
What Gets Added
The skill adds approximately 40 lines of code including:
Icon Variables: Position and size declarations
Draw Functions: Icon rendering in the draw loop
Click Handler: mousePressed() function for icon interaction
Position Updates: Icon repositioning in windowResized()
Prerequisites
The target file should be a p5.js MicroSim following the standard pattern with:
Global variables section
setup() function
draw() function
windowResized() function
Workflow
Identify the target MicroSim JavaScript file
Read the existing file to understand its structure
Add icon variables to the global section
Add icon drawing code to the draw() function
Add or update the mousePressed() function
Update icon positions in windowResized()
Icon Appearance
The icons use simple geometric shapes:
CC Icon: Circle with "CC" text
Fullscreen Icon: Four corner brackets
Both icons change appearance on hover to indicate interactivity.
Integration
This skill is typically used after a MicroSim is functionally complete
to add polish and standard navigation elements before publication.
1---2name: 577-microsim-add-icons-a110cd103description: MicroSim Add Icons4---5# MicroSim Add Icons67The microsim-add-icons skill adds clickable Creative Commons license and fullscreen8navigation icons to the control region of an existing p5.js MicroSim. The icons9appear in the lower right corner using distance-based click detection.1011## Key Capabilities1213This skill enhances MicroSims with:1415- **Creative Commons Icon**: Links to license information16- **Fullscreen Icon**: Enables fullscreen viewing mode17- **Distance-based Click Detection**: Responsive icon interaction18- **Consistent Positioning**: Lower right corner placement1920## When to Use2122Use this skill when:2324- Adding license information access to a MicroSim25- Enabling fullscreen mode via an icon26- Enhancing a MicroSim with clickable UI elements27- Following the icons demo pattern from the MicroSims repository28- Standardizing icon behavior across multiple MicroSims2930## What Gets Added3132The skill adds approximately 40 lines of code including:33341. **Icon Variables**: Position and size declarations352. **Draw Functions**: Icon rendering in the draw loop363. **Click Handler**: `mousePressed()` function for icon interaction374. **Position Updates**: Icon repositioning in `windowResized()`3839## Prerequisites4041The target file should be a p5.js MicroSim following the standard pattern with:4243- Global variables section44- `setup()` function45- `draw()` function46- `windowResized()` function4748## Workflow49501. Identify the target MicroSim JavaScript file512. Read the existing file to understand its structure523. Add icon variables to the global section534. Add icon drawing code to the `draw()` function545. Add or update the `mousePressed()` function556. Update icon positions in `windowResized()`5657## Icon Appearance5859The icons use simple geometric shapes:6061- **CC Icon**: Circle with "CC" text62- **Fullscreen Icon**: Four corner brackets6364Both icons change appearance on hover to indicate interactivity.6566## Integration6768This skill is typically used after a MicroSim is functionally complete69to add polish and standard navigation elements before publication.
Run npx skillmds@latest add tools-only/577-microsim-add-icons-a110cd10 in your terminal (requires Node.js), paste this page's agent-chat prompt into Claude, Cursor, or any MCP-connected agent, or download the SKILL.md file and copy it into your agent's skills directory.
MicroSim Add Icons It is listed under Web & Frontend on SkillMD.
This skill has not completed SkillMD's automated safety review yet. SkillMD never runs a skill's scripts for you; review the SKILL.md before installing.
This skill is tagged as working with Claude Code, Claude.ai, OpenAI Codex. SKILL.md is an open format, so most agents that read a skills directory can load it too.
Yes. Installing skills from SkillMD is free, and the skill stays under its author's original license.
tools-only (@tools-only) published this skill. Their other Agent Skills are listed on their SkillMD profile.