Skip to content
Back to skills

148 Microsim 1ddf78db

ASecurity

The microsim-screen-capture skill automates the capture of high-quality screenshots for MicroSim visualizations using Chrome headless mode. It properly handles dynamic JavaScript content and ensures visualizations fully render before capture.

  • 9 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added October 11, 2026
content-marketingjavascriptjavashellbashdocumentation

Security analysis

A100/100

Scanned October 11, 2026

npx -y skills add tools-only/X-Skills --skill 148-microsim_1ddf78db --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of 148 Microsim 1ddf78db?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for 148 Microsim 1ddf78db
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/tools-only-148-microsim-1ddf78db/badge)](https://www.skillsdirectory.com/skills/tools-only-148-microsim-1ddf78db)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

SKILL.md
# MicroSim Screen Capture

The microsim-screen-capture skill automates the capture of high-quality screenshots
for MicroSim visualizations using Chrome headless mode. It properly handles dynamic
JavaScript content and ensures visualizations fully render before capture.

## Key Capabilities

This skill provides:

- **Headless Chrome Capture**: Automated browser-based screenshots
- **JavaScript Rendering**: Waits for dynamic content to load
- **CDN Library Support**: Handles external libraries (p5.js, vis-network, etc.)
- **Configurable Delay**: Adjustable wait time for complex animations
- **Consistent Output**: Standard image dimensions and format

## When to Use

Use this skill when:

- Creating preview images for MicroSim social media metadata
- Generating screenshots for documentation
- Capturing visualizations for quality assessment
- Working with microsim-standardization for 100/100 quality scores
- Creating thumbnails for MicroSim galleries

## Typical User Requests

- "Create a screenshot of this MicroSim"
- "I need a preview image for the org-chart MicroSim"
- "Generate a social media preview for this visualization"
- "Capture a screenshot of the main.html file"

## Workflow

1. **Validate MicroSim**: Verify directory exists with main.html
2. **Run Capture Script**: Execute shell script with path argument
3. **Wait for Render**: Allow time for JavaScript execution
4. **Save Screenshot**: Output PNG to MicroSim directory

## Prerequisites

- Chrome or Chromium browser installed
- MicroSim directory with main.html file
- MicroSim name following kebab-case convention

## Script Usage

```bash
bash scripts/capture-screenshot.sh <microsim-directory-path>
```

Example:
```bash
bash scripts/capture-screenshot.sh docs/sims/org-chart
```

## Output

The script generates:

- **screenshot.png**: Full-resolution capture in MicroSim directory
- Dimensions: Typically 1200x630 (optimized for social sharing)

## Integration

This skill works with the microsim-standardization skill to ensure
all MicroSims have preview images for social media sharing and documentation.
The screenshot is referenced in the MicroSim's index.md frontmatter.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.